diff --git a/.scripts/TobyCustom/.projectbrutalityrc b/.scripts/TobyCustom/.projectbrutalityrc new file mode 100644 index 0000000..87339d0 --- /dev/null +++ b/.scripts/TobyCustom/.projectbrutalityrc @@ -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') diff --git a/.scripts/TobyCustom/Brutal_Death_Match.sh b/.scripts/TobyCustom/Brutal_Death_Match.sh index 8798ed4..b2a5304 100755 --- a/.scripts/TobyCustom/Brutal_Death_Match.sh +++ b/.scripts/TobyCustom/Brutal_Death_Match.sh @@ -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. diff --git a/.scripts/TobyCustom/Project_Brutality_Operation_MDK.sh b/.scripts/TobyCustom/Project_Brutality_Operation_MDK.sh index 09cb771..3f135de 100755 --- a/.scripts/TobyCustom/Project_Brutality_Operation_MDK.sh +++ b/.scripts/TobyCustom/Project_Brutality_Operation_MDK.sh @@ -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. diff --git a/.scripts/TobyCustom/Project_Brutality_Toby_Deluxe.sh b/.scripts/TobyCustom/Project_Brutality_Toby_Deluxe.sh index 7c1be46..9e8cbcd 100755 --- a/.scripts/TobyCustom/Project_Brutality_Toby_Deluxe.sh +++ b/.scripts/TobyCustom/Project_Brutality_Toby_Deluxe.sh @@ -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. diff --git a/.scripts/TobyCustom/Project_Brutality_Toby_Demo.sh b/.scripts/TobyCustom/Project_Brutality_Toby_Demo.sh index 2096eaa..6db0516 100755 --- a/.scripts/TobyCustom/Project_Brutality_Toby_Demo.sh +++ b/.scripts/TobyCustom/Project_Brutality_Toby_Demo.sh @@ -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.