tChanged fight arrival message for cops, to more closely match the original - v… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 465a428ba85ded0d990b43f54e12df35c4e44971 | |
parent c31fa3d09f2d3758cb7f5544bdb3fb3f92534ce3 | |
Author: Ben Webb <[email protected]> | |
Date: Sun, 7 Jan 2001 16:02:47 +0000 | |
Changed fight arrival message for cops, to more closely match the original | |
Diffstat: | |
M src/message.c | 17 ++++++++++++++--- | |
1 file changed, 14 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/src/message.c b/src/message.c | |
t@@ -1153,8 +1153,19 @@ void FormatFightMessage(Player *To,GString *text,Player… | |
ArmPercent<80 ? _("heavily armed") : | |
_("armed to the teeth"); | |
if (DefendName[0]) { | |
- dpg_string_sprintfa(text,_("%s arrives with %d %tde, %s!"), | |
- DefendName,Bitches,BitchesName,Armament); | |
+ if (IsCop(Defender)) { | |
+ if (Bitches==0) { | |
+ dpg_string_sprintfa(text,_("%s, %s, is chasing you, man!"), | |
+ DefendName,Armament); | |
+ } else { | |
+ dpg_string_sprintfa(text, | |
+ _("%s and %d %tde, %s, are chasing you, man!"), | |
+ DefendName,Bitches,BitchesName,Armament); | |
+ } | |
+ } else { | |
+ dpg_string_sprintfa(text,_("%s arrives with %d %tde, %s!"), | |
+ DefendName,Bitches,BitchesName,Armament); | |
+ } | |
} | |
break; | |
case F_STAND: | |
t@@ -1225,7 +1236,7 @@ void FormatFightMessage(Player *To,GString *text,Player … | |
g_string_append(text,_(" You loot the body!")); | |
} | |
} | |
- if (Health>0) g_string_sprintfa(text,_(" (Health: %d)"),Health); | |
+/* if (Health>0) g_string_sprintfa(text,_(" (Health: %d)"),Health);*/ | |
break; | |
} | |
} |