Files
Bubberstation/code/datums/elements/_element.dm
SkyratBot 494935c2c0 [MIRROR] Fixes some bad AddElements, Fixes incompatible element runtime error text [MDB IGNORE] (#18355)
* Fixes some bad AddElements, Fixes incompatible element runtime error text (#72188)

## About The Pull Request

- `/datum/element/squish` cannot be applied to non-carbons, and the
falling hazard element works on all livings.
- It seems like squish could easily be changed to apply to all livings,
but out of scope.
- `/datum/element/fried_item` and `/datum/element/griled_item` weren't
being applied to the new item correctly
   - This one's my bad
- Changes "Incompatible element" `CRASH` to print the element type
rather than the mob's name mistakenly
- I think this was intended, but always used the wrong arguments, and no
one noticed?

## Why It's Good For The Game

Less runtimes, features work as expected, and a more clearer runtime for
element errors

## Changelog

🆑 Melbert
fix: Silver foods correctly spawn things grilled and fried
/🆑

* Fixes some bad AddElements, Fixes incompatible element runtime error text

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-12-28 07:44:36 -08:00

2.4 KiB