fix and tested
This commit is contained in:
@@ -277,7 +277,7 @@ While using this makes the system rely on OnFire, it still gives options for tim
|
||||
playsound(loc,'sound/effects/tendril_destroyed.ogg', 200, 0, 50, TRUE, TRUE)
|
||||
visible_message("<span class='boldwarning'>[src] begins to convulse violently before beginning to dissipate.</span>")
|
||||
visible_message("<span class='boldwarning'>As [src] closes, something is forced up from down below.</span>")
|
||||
var/obj/structure/closet/crate/necropolis/tendril/lootbox = new /obj/structure/closet/crate/necropolis/tendril(loc)
|
||||
var/obj/structure/closet/crate/necropolis/tendril/lootbox = new mychild.crate_type(loc)
|
||||
if(!boosted)
|
||||
mychild = null
|
||||
activator = null
|
||||
@@ -285,9 +285,9 @@ While using this makes the system rely on OnFire, it still gives options for tim
|
||||
return
|
||||
var/lootpick = rand(1, 2)
|
||||
if(lootpick == 1 && mychild.loot_drop != null)
|
||||
new mychild.crate_type(loc)
|
||||
new mychild.loot_drop(lootbox)
|
||||
else
|
||||
new mychild.crate_type(lootbox)
|
||||
new /obj/item/tumor_shard(lootbox)
|
||||
mychild = null
|
||||
activator = null
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user