mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
Updates machines to use default_apply_parts()
This commit is contained in:
@@ -31,13 +31,11 @@
|
||||
********************/
|
||||
|
||||
/obj/machinery/microwave/Initialize()
|
||||
. = ..()
|
||||
reagents = new/datum/reagents(100)
|
||||
reagents.my_atom = src
|
||||
|
||||
component_parts = list()
|
||||
component_parts += new /obj/item/weapon/stock_parts/console_screen(src)
|
||||
component_parts += new /obj/item/weapon/stock_parts/motor(src)
|
||||
component_parts += new /obj/item/weapon/stock_parts/capacitor(src)
|
||||
default_apply_parts()
|
||||
|
||||
if (!available_recipes)
|
||||
available_recipes = new
|
||||
@@ -60,9 +58,7 @@
|
||||
acceptable_items |= /obj/item/device/soulstone
|
||||
acceptable_items |= /obj/item/weapon/fuel_assembly/supermatter
|
||||
|
||||
RefreshParts()
|
||||
soundloop = new(list(src), FALSE)
|
||||
return ..()
|
||||
|
||||
/obj/machinery/microwave/Destroy()
|
||||
QDEL_NULL(soundloop)
|
||||
|
||||
Reference in New Issue
Block a user