You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A putrid heart, acquired by dissecting a dead Jabberwock, may be eaten or activated to gain mutations. However, activating it doesn't consume the heart, meaning it can be activated again to mutate more.
I tested it and the same thing happens with seeping heart, mutated arm, mutated leg, etc. Basically all the comestibles with type food and use_action mutagen
The problem is in avatar_functions.cpp in the void use_item( avatar &you, item &used ) function
A mutagen like lupine mutagen is inside a flask, so the item is glass flask, and the glass flask returns false on used.type->has_use() so the item goes here and it gets consumed
And that causes it to consume charges as it should but then it doesn't show the message that says "You eat your x", and I don't know how to fix it properly
Edit: I think I got it but I'm gonna wait on another PR
Describe the bug
A putrid heart, acquired by dissecting a dead Jabberwock, may be eaten or activated to gain mutations. However, activating it doesn't consume the heart, meaning it can be activated again to mutate more.
The heart should only work once.
Steps To Reproduce
Screenshots
No response
Versions and configuration
Bright Nights [bn],
Disable NPC Needs [no_npc_food],
Simplified Nutrition [novitamins],
No Rail Stations [No_Rail_Stations],
Item Category Overhaul [Item_Category_Overhaul]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: