Merge pull request #4831 from Citadel-Station-13/upstream-merge-34374

[MIRROR] Rocket Pods now require manual disassembly
This commit is contained in:
deathride58
2018-01-15 06:18:29 +00:00
committed by GitHub
@@ -3,7 +3,7 @@
//------------------------------------BLUESPACE DROP POD-------------------------------------// //------------------------------------BLUESPACE DROP POD-------------------------------------//
/obj/structure/closet/bsdroppod /obj/structure/closet/bsdroppod
name = "Bluespace Drop Pod" name = "Supply Drop Pod"
desc = "A Nanotrasen supply drop pod." desc = "A Nanotrasen supply drop pod."
icon = 'icons/obj/2x2.dmi' icon = 'icons/obj/2x2.dmi'
icon_state = "BDP" icon_state = "BDP"
@@ -43,11 +43,6 @@
SupplyOrder.generate(T)//not called during populateContents as supplyorder generation requires a turf SupplyOrder.generate(T)//not called during populateContents as supplyorder generation requires a turf
update_icon() update_icon()
playsound(src, open_sound, 15, 1, -3) playsound(src, open_sound, 15, 1, -3)
addtimer(CALLBACK(src, .proc/sparks), 30)//3 seconds after opening, make some sparks and delete
/obj/structure/closet/bsdroppod/proc/sparks()//sparks cant be called from addtimer
do_sparks(5, TRUE, src)
qdel(src)//no need for QDEL_IN if we already have a timer
/obj/structure/closet/bsdroppod/Destroy()//make some sparks b4 deletion /obj/structure/closet/bsdroppod/Destroy()//make some sparks b4 deletion
QDEL_NULL(SupplyOrder) QDEL_NULL(SupplyOrder)