Worked on filter strings. Probably more to do.
This commit is contained in:
parent
b61d876e31
commit
a9fc95b163
@ -20,7 +20,6 @@ speak() {
|
||||
sed "${sedStrings[@]}" |
|
||||
spd-say -e ${spd_module} ${spd_pitch} ${spd_rate} ${spd_voice} ${spd_volume} -- > /dev/null 2>&1;
|
||||
}
|
||||
echo "$line"
|
||||
fi
|
||||
done
|
||||
}
|
||||
@ -75,36 +74,12 @@ export antiGrepStrings=(
|
||||
'-E' '-v'
|
||||
'-e' '^[0-9]'
|
||||
'-e' '^P_StartScript:'
|
||||
'-e' '^(Facing|INTRO|MAP[0-9]+|README[0-9]+)'
|
||||
'-e' '^(Facing|INTRO|MAP[0-9]+)'
|
||||
'-e' '^(\[Toby Accessibility Mod\] )?README'
|
||||
'-e' '^ *TITLEMAP'
|
||||
'-e' '^\[Toby Accessibility Mod\] (INTRO|READMe)([0-9]+).*'
|
||||
'-e' 'key card'
|
||||
'-e' '^Computer voice:'
|
||||
'-e' '^Ugh\.\.\. Huh\? What the hell was that\?! Better go check it out\.\.\.$'
|
||||
)
|
||||
|
||||
export grepStrings=(
|
||||
'-E'
|
||||
'-e' '^\[Toby Accessibility Mod\]'
|
||||
'-e' '^[A-Z][0-9A-Za-z]+: .+'
|
||||
'-e' 'is now known as'
|
||||
'-e' '.+ punched .+ to death\.'
|
||||
'-e' 'stood where'
|
||||
'-e' 'was .+ed by'
|
||||
'-e' 'Fraglimit hit\.'
|
||||
'-e' 'chewed on'
|
||||
'-e' 'The maximum'
|
||||
'-e' 'swapped two barrels'
|
||||
'-e' 'swallowed too much of'
|
||||
'-e' 'exited the level'
|
||||
'-e' 'joined the game'
|
||||
'-e' '^[0-9]+\. '
|
||||
'-e' '^"cl_run"'
|
||||
'-e' '^Game saved. '
|
||||
'-e' '^A secret is revealed!$'
|
||||
'-e' '^Player[: ]'
|
||||
'-e' '^Please select a game wad \(or 0 to exit\):'
|
||||
'-e' '^You have no keys in your pocket!$'
|
||||
'-e' "^(As |Computer Voice:|I |I've|Monorail|Ugh|What|Where)"
|
||||
)
|
||||
|
||||
export sedStrings=('-E'
|
||||
@ -118,6 +93,7 @@ export sedStrings=('-E'
|
||||
'-e' 's/"cl_run" = "true"/run/'
|
||||
'-e' 's/"cl_run" = "false"/walk/'
|
||||
#'-e' 's:.*/:Game saved. \(:'
|
||||
'-e' 's/UAC/U A C/'
|
||||
)
|
||||
|
||||
custom_game() {
|
||||
|
Loading…
Reference in New Issue
Block a user