Put items inside cakes! (#31015)

* First commit

* I'm silly

* Please be it

* Some more fixes

* Cleanup

* fine!

* removed = false

* review

---------

Co-authored-by: Milon <milonpl.git@proton.me>
This commit is contained in:
beck-thompson
2025-04-23 20:00:50 -07:00
committed by GitHub
parent 7fded8c8c5
commit 186cef25ca
10 changed files with 60 additions and 1 deletions

View File

@@ -336,6 +336,9 @@ public sealed class FoodSystem : EntitySystem
if (ev.Cancelled)
return;
var afterEvent = new AfterFullyEatenEvent(user);
RaiseLocalEvent(food, ref afterEvent);
var dev = new DestructionEventArgs();
RaiseLocalEvent(food, dev);