So I have learned there is an event that is JustTookPill, and this appears to be in the base BodyDamage.class meaning there is no real way to simulate this same type of action. However, is there any way I can add a custom tooltip? I heard something about a Translate File and have added one that has the following info, but it does not appear to be working.
Translate File:
Tooltip_EN = {
Tooltip_zombieCure = "This will cure you of a zombie infection... or so it appears."
}
Script File:
module ZombieCure{
imports {
Base
}
item ZombieCurePill {
Weight = 0.1,
Type = Food,
UseWhileEquipped = FALSE,
ReduceInfectionPower = 50,
CustomContextMenu = Take,
CantBeFrozen = TRUE,
OnEat = zombieInfectionRemove,
Tooltip = Tooltip_zombieCure,
DisplayName = Zombie Cure
}
Any help is definitely appreciated!