Skip to content

Commit

Permalink
- moved the displayed text in strfhelp.o to the string table.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Feb 10, 2019
1 parent 4bacde3 commit 3a440a5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Binary file modified wadsrc/static/filter/game-strife/acs/strfhelp.o
Binary file not shown.
6 changes: 6 additions & 0 deletions wadsrc/static/language.enu
Expand Up @@ -2983,3 +2983,9 @@ TXT_STRIFE_MAP36 = "AREA 36: Castle Clash";
TXT_STRIFE_MAP37 = "AREA 37: Killing Grounds";
TXT_STRIFE_MAP38 = "AREA 38: Ordered Chaos";
TXT_STRIFE_EPI = "Quest for the Sigil";

TXT_NEED_CHALICE = "You need the chalice!";
TXT_NEED_OPASS = "You need the Oracle Pass!";
TXT_FREED_PRISONERS = "You've freed the prisoners!";
TXT_DESTROYED_CONVERTER = "You've destroyed the Converter!";
TXT_COMPLETED_TRAINING = "Congratulations! You have completed the training area";
12 changes: 6 additions & 6 deletions wadsrc/static/strifehelp.acs
Expand Up @@ -268,7 +268,7 @@ script << 0 >> (int type, int tag)
case 213:
if (!CheckInventory ("OfferingChalice"))
{
print (s:"You need the chalice !");
print (l:"TXT_NEED_CHALICE");
activatorsound ("*usefail", 127);
SetResultValue (0);
}
Expand All @@ -281,7 +281,7 @@ script << 0 >> (int type, int tag)
case 232:
if (!CheckInventory ("QuestItem18") && gametype() != GAME_NET_DEATHMATCH)
{
print (s:"You need the Oracle Pass!");
print (l:"TXT_NEED_OPASS");
activatorsound ("*usefail", 127);
SetResultValue (0);
}
Expand All @@ -299,7 +299,7 @@ script << 0 >> (int type, int tag)
case 194:
if (Door_Open (tag, VDOORSPEED))
{
print (s:"You've freed the prisoners!");
print (l:"TXT_FREED_PRISONERS");
GiveInventory ("QuestItem13", 1);
}
else
Expand All @@ -311,7 +311,7 @@ script << 0 >> (int type, int tag)
case 199:
if (Ceiling_LowerAndCrush (tag, 8, 10))
{
print (s:"You've destroyed the Converter!");
print (l:"TXT_DESTROYED_CONVERTER");
GiveInventory ("QuestItem25", 1);
GiveInventory ("UpgradeStamina", 10);
GiveInventory ("UpgradeAccuracy", 1);
Expand All @@ -329,7 +329,7 @@ script << 0 >> (int type, int tag)
}
else
{
print (s:"You need the chalice!");
print (l:"TXT_NEED_CHALICE");
activatorsound ("*usefail", 127);
SetResultValue (0);
}
Expand All @@ -345,7 +345,7 @@ script << 0 >> (int type, int tag)
{
GiveInventory ("UpgradeStamina", 10);
GiveInventory ("UpgradeAccuracy", 1);
print (s:"Congratulations! You have completed the training area");
print (l:"TXT_COMPLETED_TRAINING");
}
else
{
Expand Down

0 comments on commit 3a440a5

Please sign in to comment.