diff --git a/english/localizedstrings/reimagined.str b/english/localizedstrings/reimagined.str index bb0b3fb8..f3ee5826 100644 --- a/english/localizedstrings/reimagined.str +++ b/english/localizedstrings/reimagined.str @@ -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!" diff --git a/scripts/zm/replaced/zgrief.gsc b/scripts/zm/replaced/zgrief.gsc index c6de40d7..c6bf552d 100644 --- a/scripts/zm/replaced/zgrief.gsc +++ b/scripts/zm/replaced/zgrief.gsc @@ -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); } \ No newline at end of file