CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.4k stars 4.15k forks source link

Cured hide and pelt from rotten ingredients #20572

Closed ynemo closed 7 years ago

ynemo commented 7 years ago

Just curious, why we can craft cured hides and pelts from rotten? Is it hardcoded or it's made for game balance reasons?

And how can I change it in my local game? give me some programming tips please.

Zireael07 commented 7 years ago

@ynemo: Being able to craft stuff from rotten ingredients is a long standing bug of the whole crafting system. Fixing it would require overhauling the whole crafting system. That's why it hasn't been fixed yet although it's a known bug.

ynemo commented 7 years ago

Tainted tallow recipe works as intended, it doesn't allow someone to use rotten fat zombie fat. Also, crafting dishes from rotten food is sometimes good for special mutants and other types.

I am asking only about leatherworking from rotten hides, in context with making tallow from fresh fat.

DangerNoodle commented 7 years ago

Handling the situation of what to do if the player has a mix of rotten and unrotten ingredients has also been a hindrance to this, though there is a precedent in that rotten perishable items can be made if rotten ingredients are used.