Search the Community
Showing results for tags 'poison'.
-
Good time of day, faced with one problem when modding I added one item that has a poison flag. However, if I craft it, it does not show its poisonous properties. But if I add it via the console, then everything is fine. What can it be related to? Does anyone know? As always, code is pasted below items.txt item poisbottle { DisplayName = poisbottle, DisplayCategory = Poison, Type = Food, CustomContextMenu = Drink, ReplaceOnUse = Base.BottleEmpty, Poison = true, PoisonDetectionLevel = 7, PoisonPower = 150, UseForPoison = 35, Weight = 1, Icon = poisbottle, CookingSound = BoilingFood, IsCookable = TRUE, UseWhileEquipped = FALSE, WorldStaticModel = poisbottle, MinutesToCook = 60, ReplaceOnCooked = POIS.poisbottle2, Tooltip = Tooltip_PoisBottle } recipes.txt recipe cook poison { Base.BottleEmpty, POIS.comp1, POIS.comp2, keep Base.Spoon, Result: POIS.poisbottle, Time: 200, Category: Poison, }
-
I have problem with setSickenss() function player:getStats():setSickness(player:getStats():getSickness()+ 0.5); or player:getStats():setSickness(0.5); When this function was started, poison level wasnt changed, but if i use Bleach the level of sickenss is changing. For debugging i use print("Sickness: " ..player:getStats():getSickness()); Can someone help me with it?
-
Should be able to Throw up bleach into a toilet/sink. Or at least keeping very well fed to stabilise health and taking pills until the poisoning passes. Just so I can let my character attempt to kill himself and then go through the ordeal of surviving it, to teach the prick a lesson. Or incase someone changes their mind after trying to die... or for noobs to grasp for the second change after a spastic mistake.