[MIRROR] Fixes candy not dropping wrappers when used to make salad [MDB IGNORE] (#15299)

* Fixes candy not dropping wrappers when used to make salad (#68793)

* Food trash element drops trash when used

Makes trash food element drop the trash food (like candy wrappers) when used as an ingredient in stuff, like putting it in a bowl to turn it into a salad.

* Update food_trash.dm

* Fixes candy not dropping wrappers when used to make salad

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-07-30 08:12:10 -07:00
committed by GitHub
co-authored by John Willard
parent 2c60e2e09f
commit f9694edd44
+1
View File
@@ -24,6 +24,7 @@
RegisterSignal(target, COMSIG_FOOD_CROSSED, .proc/food_crossed)
RegisterSignal(target, COMSIG_ITEM_ON_GRIND, .proc/generate_trash)
RegisterSignal(target, COMSIG_ITEM_ON_JUICE, .proc/generate_trash)
RegisterSignal(target, COMSIG_ITEM_USED_AS_INGREDIENT, .proc/generate_trash)
RegisterSignal(target, COMSIG_ITEM_ON_COMPOSTED, .proc/generate_trash)
RegisterSignal(target, COMSIG_ITEM_SOLD_TO_CUSTOMER, .proc/generate_trash)