Finished moving the variable extensions to a single file so that all the Project Brutality stuff can share common code.
This commit is contained in:
parent
3b731e4c69
commit
1ece76a225
31
.scripts/TobyCustom/.projectbrutalityrc
Normal file
31
.scripts/TobyCustom/.projectbrutalityrc
Normal file
@ -0,0 +1,31 @@
|
||||
# Extend the search for new messages to be read.
|
||||
grepStrings+=('-e' '^\*\*\* Brutality Bonus awarded!'
|
||||
'-e' '^A backpack for all your ammo storage needs!$'
|
||||
'-e' '^Area survey map.$'
|
||||
'-e' ' died.'
|
||||
'-e' 'Ectoplasmic Surge!'
|
||||
'-e' '^Game Saved.'
|
||||
'-e' ' has been '
|
||||
'-e' '^(Armor|Health) boosted!'
|
||||
'-e' 'Lesser demon energy'
|
||||
'-e' '^Found '
|
||||
'-e' 'Got the '
|
||||
'-e' ' killed (her|him|it)self(\.|!)'
|
||||
'-e' '^Low-light goggles.$'
|
||||
'-e' '^Picked up '
|
||||
'-e' '^Press '
|
||||
'-e' 'Rescue operations suit.'
|
||||
'-e' '^(Mega|Soul)sphere$'
|
||||
'-e' ' skeleton key secured!$'
|
||||
'-e' ' (SPLATTERED|was) .*(\.|!)'
|
||||
'-e' ' Swiss Cheese '
|
||||
'-e' '^Took '
|
||||
'-e' '^Vanguard of the gods!$'
|
||||
'-e' "You've found "
|
||||
'-e' 'You (collected|got|found|picked up) ')
|
||||
|
||||
antiGrepStrings+=('-e' 'key card'
|
||||
'-e' ' was .*\?'
|
||||
)
|
||||
|
||||
sedStrings+=('-e' 's/*\{3\}//g')
|
@ -103,23 +103,9 @@ elif [[ -e "${doomPath}/DoomMetalVol6.wad" ]]; then
|
||||
gameOption+=" DoomMetalVol6.wad"
|
||||
fi
|
||||
|
||||
# Extend the search for new messages to be read.
|
||||
grepStrings+=('-e' ' died.'
|
||||
'-e' ' Swiss Cheese '
|
||||
'-e' 'Ectoplasmic Surge!'
|
||||
'-e' ' has been '
|
||||
'-e' '^(Armor|Health) boosted!'
|
||||
'-e' 'Lesser demon energy'
|
||||
'-e' '^Found '
|
||||
'-e' 'Got the '
|
||||
'-e' ' killed (her|him|it)self(\.|!)'
|
||||
'-e' 'Picked up '
|
||||
'-e' '^(Mega|Soul)sphere$'
|
||||
'-e' '^Took '
|
||||
'-e' ' (sucked|was) .*(\.|!)'
|
||||
'-e' '^Vanguard of the gods!$'
|
||||
'-e' "You've found "
|
||||
'-e' 'You (collected|got|found|picked up) ')
|
||||
# Source common variable extensions.
|
||||
pbrc="$(find "${0%/*}/" -type f -name '.projectbrutalityrc')"
|
||||
source "${pbrc}"
|
||||
|
||||
# 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.
|
||||
|
@ -19,31 +19,9 @@ elif [[ -e "${doomPath}/DoomMetalVol6.wad" ]]; then
|
||||
gameOption+=("${doomPath}/DoomMetalVol6.wad")
|
||||
fi
|
||||
|
||||
# Extend the search for new messages to be read.
|
||||
grepStrings+=('-e' '^\*\*\* Brutality Bonus awarded!'
|
||||
'-e' ' died.'
|
||||
'-e' 'Ectoplasmic Surge!'
|
||||
'-e' '^Game Saved.'
|
||||
'-e' ' has been '
|
||||
'-e' '^(Armor|Health) boosted!'
|
||||
'-e' 'Lesser demon energy'
|
||||
'-e' '^Found '
|
||||
'-e' 'Got the '
|
||||
'-e' ' killed (her|him|it)self(\.|!)'
|
||||
'-e' 'Picked up '
|
||||
'-e' '^(Mega|Soul)sphere$'
|
||||
'-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) ')
|
||||
|
||||
antiGrepStrings+=('-e' 'key card'
|
||||
'-e' ' was .*\?'
|
||||
)
|
||||
|
||||
sedStrings+=('-e' 's/*\{3\}//g')
|
||||
# Source common variable extensions.
|
||||
pbrc="$(find "${0%/*}/" -type f -name '.projectbrutalityrc')"
|
||||
source "${pbrc}"
|
||||
|
||||
# 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.
|
||||
|
@ -19,31 +19,9 @@ elif [[ -e "${doomPath}/DoomMetalVol6.wad" ]]; then
|
||||
gameOption+=("${doomPath}/DoomMetalVol6.wad")
|
||||
fi
|
||||
|
||||
# Extend the search for new messages to be read.
|
||||
grepStrings+=('-e' '^\*\*\* Brutality Bonus awarded!'
|
||||
'-e' ' died.'
|
||||
'-e' 'Ectoplasmic Surge!'
|
||||
'-e' '^Game Saved.'
|
||||
'-e' ' has been '
|
||||
'-e' '^(Armor|Health) boosted!'
|
||||
'-e' 'Lesser demon energy'
|
||||
'-e' '^Found '
|
||||
'-e' 'Got the '
|
||||
'-e' ' killed (her|him|it)self(\.|!)'
|
||||
'-e' 'Picked up '
|
||||
'-e' '^(Mega|Soul)sphere$'
|
||||
'-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) ')
|
||||
|
||||
antiGrepStrings+=('-e' 'key card'
|
||||
'-e' ' was .*\?'
|
||||
)
|
||||
|
||||
sedStrings+=('-e' 's/*\{3\}//g')
|
||||
# Source common variable extensions.
|
||||
pbrc="$(find "${0%/*}/" -type f -name '.projectbrutalityrc')"
|
||||
source "${pbrc}"
|
||||
|
||||
# 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.
|
||||
|
@ -19,31 +19,9 @@ elif [[ -e "${doomPath}/DoomMetalVol6.wad" ]]; then
|
||||
gameOption+=("${doomPath}/DoomMetalVol6.wad")
|
||||
fi
|
||||
|
||||
# Extend the search for new messages to be read.
|
||||
grepStrings+=('-e' '^\*\*\* Brutality Bonus awarded!'
|
||||
'-e' ' died.'
|
||||
'-e' 'Ectoplasmic Surge!'
|
||||
'-e' '^Game Saved.'
|
||||
'-e' ' has been '
|
||||
'-e' '^(Armor|Health) boosted!'
|
||||
'-e' 'Lesser demon energy'
|
||||
'-e' '^Found '
|
||||
'-e' 'Got the '
|
||||
'-e' ' killed (her|him|it)self(\.|!)'
|
||||
'-e' 'Picked up '
|
||||
'-e' '^(Mega|Soul)sphere$'
|
||||
'-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) ')
|
||||
|
||||
antiGrepStrings+=('-e' 'key card'
|
||||
'-e' ' was .*\?'
|
||||
)
|
||||
|
||||
sedStrings+=('-e' 's/*\{3\}//g')
|
||||
# Source common variable extensions.
|
||||
pbrc="$(find "${0%/*}/" -type f -name '.projectbrutalityrc')"
|
||||
source "${pbrc}"
|
||||
|
||||
# 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.
|
||||
|
Loading…
Reference in New Issue
Block a user