Add microwave-nukedisk interaction (#36114)

* Add microwave-nukedisk interaction

* popup

* Fix UninitializedSaveTest
This commit is contained in:
Leon Friedrich
2025-05-22 04:06:58 +10:00
committed by GitHub
parent 3385c45d80
commit 38d7949777
5 changed files with 46 additions and 13 deletions

View File

@@ -547,6 +547,10 @@ namespace Content.Server.Kitchen.EntitySystems
var ev = new BeingMicrowavedEvent(uid, user);
RaiseLocalEvent(item, ev);
// TODO MICROWAVE SPARKS & EFFECTS
// Various microwaveable entities should probably spawn a spark, play a sound, and generate a pop=up.
// This should probably be handled by the microwave system, with fields in BeingMicrowavedEvent.
if (ev.Handled)
{
UpdateUserInterfaceState(uid, component);