mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
Meat powerup: convert strings to localized strings
This commit is contained in:
@ -132,6 +132,21 @@ LANG_ENGLISH "Containment zone contested!"
|
||||
REFERENCE ZOMBIE_CONTAINMENT_ZONE_UNCONTROLLED
|
||||
LANG_ENGLISH "Containment zone uncontrolled!"
|
||||
|
||||
REFERENCE ZOMBIE_GRABBED_MEAT
|
||||
LANG_ENGLISH "^8&&1 grabbed the meat"
|
||||
|
||||
REFERENCE ZOMBIE_GRABBED_MEAT_ENEMY
|
||||
LANG_ENGLISH "^9&&1 grabbed the meat"
|
||||
|
||||
REFERENCE ZOMBIE_HAS_MEAT
|
||||
LANG_ENGLISH "^8&&1 has the meat"
|
||||
|
||||
REFERENCE ZOMBIE_HAS_MEAT_ENEMY
|
||||
LANG_ENGLISH "^9&&1 has the meat"
|
||||
|
||||
REFERENCE ZOMBIE_PLAYER_HAS_MEAT
|
||||
LANG_ENGLISH "You have the meat!"
|
||||
|
||||
REFERENCE ZOMBIE_OTHER_TEAM_MEAT
|
||||
LANG_ENGLISH "Enemy team has the meat!"
|
||||
|
||||
|
@ -191,7 +191,7 @@ meat_stink(who)
|
||||
{
|
||||
if (player == who)
|
||||
{
|
||||
player thread scripts\zm\zgrief\zgrief_reimagined::show_grief_hud_msg("You have the meat!");
|
||||
player thread scripts\zm\zgrief\zgrief_reimagined::show_grief_hud_msg(&"ZOMBIE_PLAYER_HAS_MEAT");
|
||||
}
|
||||
else if (player.team == who.team)
|
||||
{
|
||||
@ -476,16 +476,30 @@ print_meat_msg(meat_player, verb)
|
||||
wait 0.05; // must wait to show after any obituaries that happened on the same frame
|
||||
}
|
||||
|
||||
color = "";
|
||||
hint_string = "";
|
||||
|
||||
if (self.team == meat_player.team)
|
||||
{
|
||||
color = "^8";
|
||||
if (verb == "grabbed")
|
||||
{
|
||||
hint_string = &"ZOMBIE_GRABBED_MEAT";
|
||||
}
|
||||
else if (verb == "has")
|
||||
{
|
||||
hint_string = &"ZOMBIE_HAS_MEAT";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
color = "^9";
|
||||
if (verb == "grabbed")
|
||||
{
|
||||
hint_string = &"ZOMBIE_GRABBED_MEAT_ENEMY";
|
||||
}
|
||||
else if (verb == "has")
|
||||
{
|
||||
hint_string = &"ZOMBIE_HAS_MEAT_ENEMY";
|
||||
}
|
||||
}
|
||||
|
||||
self iprintln(color + meat_player.name + " " + verb + " the meat");
|
||||
self iprintln(hint_string, meat_player.name);
|
||||
}
|
Reference in New Issue
Block a user