#include "armor.qh"
#ifdef MENUQC
+#include <common/gamemodes/gamemode/duel/duel.qh>
+
METHOD(ArmorSmall, describe, string(ArmorSmall this))
{
TC(ArmorSmall, this);
TC(ArmorMega, this);
return sprintf(_("The %s provides you a huge amount of armor when picked up, "
"protecting you from damage by absorbing incoming hits until it is depleted\n\n"
- "It tends to be one of the most highly contested items on a map, particularly in game modes like Duel"),
- COLORED_NAME(this));
+ "It tends to be one of the most highly contested items on a map, particularly in game modes like %s"),
+ COLORED_NAME(this), COLORED_NAME(MAPINFO_TYPE_DUEL));
}
#endif
#include "health.qh"
#ifdef MENUQC
+#include <common/gamemodes/gamemode/duel/duel.qh>
+
METHOD(HealthSmall, describe, string(HealthSmall this))
{
TC(HealthSmall, this);
TC(HealthMega, this);
return sprintf(_("The %s restores a huge amount of health when picked up, "
"helping you recover from damage taken during combat\n\n"
- "It tends to be one of the most highly contested items on a map, particularly in game modes like Duel"),
- COLORED_NAME(this));
+ "It tends to be one of the most highly contested items on a map, particularly in game modes like %s"),
+ COLORED_NAME(this), COLORED_NAME(MAPINFO_TYPE_DUEL));
}
#endif
+#include <common/gamemodes/gamemode/ctf/ctf.qh>
+
string Buff_CompatName(string buffname)
{
switch(buffname)
{
TC(DisabilityBuff, this);
return sprintf(_("The %s causes your enemies and monsters to slow down for a few seconds when you attack them, while the buff is active\n\n"
- "This is particularly useful against speedy players, especially in Capture The Flag"),
- COLORED_NAME_WITH_CONCAT(this, _("Buff")));
+ "This is particularly useful against speedy players, especially in %s"),
+ COLORED_NAME_WITH_CONCAT(this, _("Buff")), COLORED_NAME(MAPINFO_TYPE_CTF));
}
#endif
ENDCLASS(DisabilityBuff)
{
TC(SwapperBuff, this);
return sprintf(_("The %s allows you to press the ^3drop weapon^7 bind to switch places with a nearby enemy once\n\n"
- "A common usage of this Buff is to jump over the map's void, then swap with an enemy, to cause them to fall into the void"),
+ "A common usage of this buff is to jump over the map's void, then swap with an enemy, to cause them to fall into the void"),
COLORED_NAME_WITH_CONCAT(this, _("Buff")));
}
#endif
#include "items.qh"
#ifdef MENUQC
+#include "instagib.qh"
#include <common/weapons/weapon/vaporizer.qh>
METHOD(VaporizerCells, describe, string(VaporizerCells this))
{
TC(VaporizerCells, this);
- return sprintf(_("The %s is sometimes present on maps when InstaGib is enabled, providing ammo for the %s"),
- COLORED_NAME(this), COLORED_NAME(WEP_VAPORIZER));
+ return sprintf(_("The %s is sometimes present on maps when %s is enabled, providing ammo for the %s"),
+ COLORED_NAME(this), COLORED_NAME(MUTATOR_mutator_instagib), COLORED_NAME(WEP_VAPORIZER));
}
METHOD(ExtraLife, describe, string(ExtraLife this))
{
TC(ExtraLife, this);
- return sprintf(_("The %s powerup acts as armor in InstaGib. "
+ return sprintf(_("The %s powerup acts as armor in %s. "
"If a player is shot while having one or more extra lives, they will survive the shot but suffer strong knockback"),
- COLORED_NAME(this));
+ COLORED_NAME(this), COLORED_NAME(MUTATOR_mutator_instagib));
}
#endif
}
#endif
#ifdef MENUQC
+#include "../../instagib/instagib.qh"
+
METHOD(InvisibilityItem, describe, string(InvisibilityItem this))
{
TC(InvisibilityItem, this);
return sprintf(_("The %s powerup increases your translucency while the powerup is active, making it more difficult for enemies to see you. "
- "This powerup is often present in InstaGib\n\n"
+ "This powerup is often present in %s\n\n"
"Since it is a powerup, it will drop if you die while holding it"),
- COLORED_NAME(this));
+ COLORED_NAME(this), COLORED_NAME(MUTATOR_mutator_instagib));
}
#endif