Fixed a problem with reading things not needed from the console.

This commit is contained in:
Storm Dragon 2024-04-18 11:42:35 -04:00
parent 770f92da89
commit 698be8e8dc
3 changed files with 5 additions and 3 deletions

View File

@ -7,6 +7,7 @@ pushd "${doomPath}"
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
-not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
-not -iname "TobyV${tobyVersion%%-*}_Monsters.pk3"
-not -iname "TobyV${tobyVersion%%-*}_Guns.pk3"
)
# Set up the pk3 and wad files
@ -14,6 +15,7 @@ gameOption=(
"$(find /usr/share/games/ -name 'Project_Brutality-master.pk3')"
"${doomPath}/TobyAccMod_V${tobyVersion}.pk3"
${addons[@]}
"${doomPath}/PB-Toby-Compatibility-Addon.pk3"
"${doomPath}/OpMDK.wad"
)
@ -28,7 +30,7 @@ grepStrings+=('-e' 'New PDA Entry:'
'-e' ' has been '
'-e' 'Lesser demon energy'
'-e' 'Got the '
'-e' ' was '
'-e' '^\([^?]*\)\(was\)\([^?]*\)$'
'-e' "You've found "
'-e' 'Slot ')

View File

@ -28,7 +28,7 @@ grepStrings+=('-e' 'New PDA Entry:'
'-e' ' has been '
'-e' 'Lesser demon energy'
'-e' 'Got the '
'-e' ' was '
'-e' '^\([^?]*\)\(was\)\([^?]*\)$'
'-e' "You've found "
'-e' 'Slot ')

View File

@ -28,7 +28,7 @@ grepStrings+=('-e' 'New PDA Entry:'
'-e' ' has been '
'-e' 'Lesser demon energy'
'-e' 'Got the '
'-e' ' was '
'-e' '^\([^?]*\)\(was\)\([^?]*\)$'
'-e' "You've found "
'-e' 'Slot ')