Machines now store their components in their contents. (#52970)

Machine parts are now located in the machine instead of nullspace.
This commit is contained in:
Timberpoes
2020-09-24 13:51:40 +02:00
committed by GitHub
parent b4921765c7
commit c2b8b5c0ce
25 changed files with 213 additions and 119 deletions
@@ -92,9 +92,15 @@
return
return ..()
/obj/machinery/skill_station/dropContents(list/subset)
/obj/machinery/skill_station/drop_contents()
. = ..()
inserted_skillchip = null
/obj/machinery/skill_station/drop_stored_items(list/subset = null)
// Don't drop the skillchip, it's directly inserted into the machine.
// drop_contents() will drop everything including the skillchip.
subset = contents - inserted_skillchip
return ..() //This is kinda annoying
return ..()
/obj/machinery/skill_station/proc/toggle_open(mob/user)
state_open ? close_machine() : open_machine()