Removed the star characters from brutality bonus announcement.
This commit is contained in:
parent
b4b4067821
commit
fce04adc54
@ -31,8 +31,9 @@ grepStrings+=('-e' '^\*\*\* Brutality Bonus awarded!'
|
||||
'-e' 'Got the '
|
||||
'-e' 'Picked up '
|
||||
'-e' '^(Mega|Soul)sphere$'
|
||||
'-e' '^Took '
|
||||
'-e' ' skeleton key secured!$'
|
||||
'-e' ' (SPLATTERED|was) .*(\.|!)'
|
||||
'-e' '^Took '
|
||||
'-e' '^Vanguard of the gods!$'
|
||||
'-e' "You've found "
|
||||
'-e' 'You (collected|got|found|picked up) ')
|
||||
@ -41,6 +42,8 @@ antiGrepStrings+=('-e' 'key card'
|
||||
'-e' ' was .*\?'
|
||||
)
|
||||
|
||||
sedStrings+=('-e' 's/*\{3\}//g')
|
||||
|
||||
# Launch the game and pipe things to be spoken through speech-dispatcher.
|
||||
# This also leaves the console output intact for people who may want to read it.
|
||||
exec stdbuf -oL ${gzdoom} ${gameOption[@]} | while IFS= read -r l ; do echo "$l" | { grep "${grepStrings[@]}" | grep "${antiGrepStrings[@]}" | sed "${sedStrings[@]}" | spd-say -e ${spd_module} ${spd_pitch} ${spd_rate} ${spd_voice} ${spd_volume} -- > /dev/null 2>&1; }; echo "$l";done
|
||||
|
Loading…
Reference in New Issue
Block a user