Files
Bubberstation/code/datums/components/food
SkyratBot 8725db7a25 [MIRROR] De-hardcodes the decomposition examine proc, and makes the decompose time editable [MDB IGNORE] (#11968)
* De-hardcodes the decomposition examine proc, and makes the decompose time editable (#65284)

Makes the decomposition examine proc, which handles the little examine warning telling you how close to decomposing a piece of food is, not hardcoded anymore. Doing this allowed me to also...

Adds a variable to food that lets them edit the decomposition timer. By default it's set to 0, which makes food automatically get its timer based off its flags. By setting the decomposition_time variable in a /obj/item/food to anything other than 0 (using SECONDS or MINUTES), it will take that amount of time to decompose instead.

* De-hardcodes the decomposition examine proc, and makes the decompose time editable

Co-authored-by: Wallem <66052067+Wallemations@users.noreply.github.com>
2022-03-08 23:24:06 -07:00
..