rientelfon
-
Posts
4 -
Joined
-
Last visited
Posts posted by rientelfon
-
-
I actually figured this one out on my own, and decided to post the answer here in case anyone else has the same issue. Essentially name your Translate file Tooltip_EN.txt and place it in the following location: <modname>/media/lua/shared/Translate/EN.
This fixed my issue!
-
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!
-
Hey everyone,
I am extremely new to modding and I have been successfully doing a few things here and there utilizing tutorials and other things I have managed to find online. However, I am confused on how taking pills works, looking at the item properties for pain killers I notice there is no "PainReduce=X" property. How does this aspect work? I am also curious on how to add new type of actions to the context menu when looking at your health from the UI.
I have added the PainKiller Item info below:
item Pills { Weight = 0.2, Type = Drainable, UseDelta = 0.1, UseWhileEquipped = FALSE, DisplayName = Painkillers, Icon = PillsPainkiller, Tooltip = Tooltip_Painkillers, }
Any help on how all this works would definitely be appreciated!
[Build 41.65 MP - Dedicated] - Farming Stage Reset Bug
in Bug Reports
Posted
Issue:
Growth Stage is Resetting on Crops when I restart my Dedicated Server
Steps to Replicate:
Create a dedicated server with no mods
Get a trowel
Get some seeds
Dig a furrow
Plant some seeds
Water until well watered
Wait 2-3 hours
Have Farming 8
Check Growth Stage Progress
Restart Server
Check Growth Stage Progress Again (see time has actually doubled from last time and Last Watered shows -2 Hours)
Growth Stage time resets