Izeick Posted September 2, 2023 Share Posted September 2, 2023 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, } Link to comment Share on other sites More sharing options...
Hugo Qwerty Posted September 2, 2023 Share Posted September 2, 2023 Try swapping the recipe result to Base.Bleach - if that works you will know its your mod causing the issue, if that also shows as non-poisonous then it could be a bug in the game. You could also try dropping PoisonDetectionLevel to zero to see if that has any impact - the name suggests the poison is only visible when some skill (cooking?) is at level 7 or above. Link to comment Share on other sites More sharing options...
excon Posted September 3, 2023 Share Posted September 3, 2023 (edited) start over with the 1:1 copy for bleach. also i noticed the display category poison - that might be an issue also DisplayCategory = Ammo, Will be displayed as the item's category, can be anything but custom Categories need a Translation file. Edited September 3, 2023 by excon Link to comment Share on other sites More sharing options...
Izeick Posted September 3, 2023 Author Share Posted September 3, 2023 12 hours ago, Hugo Qwerty said: Try swapping the recipe result to Base.Bleach - if that works you will know its your mod causing the issue, if that also shows as non-poisonous then it could be a bug in the game. You could also try dropping PoisonDetectionLevel to zero to see if that has any impact - the name suggests the poison is only visible when some skill (cooking?) is at level 7 or above. Hi Hugo! Whats about swapping to Base.Bleach - that works, poison scull shows up. Whats about poison detection level, extract from pz wiki: I tried on "0" and "10" lvl with zero cooking level, and this did not give results. Still thinking about this Link to comment Share on other sites More sharing options...
Izeick Posted September 3, 2023 Author Share Posted September 3, 2023 7 hours ago, excon said: start over with the 1:1 copy for bleach. also i noticed the display category poison - that might be an issue also DisplayCategory = Ammo, Will be displayed as the item's category, can be anything but custom Categories need a Translation file. So, 1:1 copy of bleach works fine. However, displaycategory doesn't matter in this issue Trouble shows up, when I add "IsCookable = TRUE," line Mb pz cant define cookable item as poison? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now