mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 01:24:21 +01:00
[MIRROR] Machines now store their components in their contents. (#966)
* Machines now store their components in their contents. (#52970) Machine parts are now located in the machine instead of nullspace. * Machines now store their components in their contents. Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user