From bdf08037ff9ba1278c539670a20c87436a464233 Mon Sep 17 00:00:00 2001 From: KorPhaeron Date: Mon, 11 Sep 2017 10:07:49 -0500 Subject: [PATCH] Magic Ladder --- .../mining/lavaland/necropolis_chests.dm | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index bf32c94058..1b2970ce1c 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -11,7 +11,7 @@ desc = "It's watching you suspiciously." /obj/structure/closet/crate/necropolis/tendril/PopulateContents() - var/loot = rand(1,28) + var/loot = rand(1,27) switch(loot) if(1) new /obj/item/device/shared_storage/red(src) @@ -563,7 +563,31 @@ ..() +<<<<<<< HEAD +======= +/obj/item/jacobs_ladder + name = "jacob's ladder" + desc = "A celestial ladder that violates the laws of physics." + icon = 'icons/obj/structures.dmi' + icon_state = "ladder00" + +/obj/item/jacobs_ladder/attack_self(mob/user) + var/turf/T = get_turf(src) + var/ladder_x = T.x + var/ladder_y = T.y + to_chat(user, "You unfold the ladder. It extends much farther than you were expecting.") + for(var/i in 1 to world.maxz) + if(i == ZLEVEL_CENTCOM || i == ZLEVEL_TRANSIT) + continue + new /obj/structure/ladder/unbreakable/jacob(ladder_x, ladder_y, i) + qdel(src) + +/obj/structure/ladder/unbreakable/jacob + name = "jacob's ladder" + desc = "An indestructible celestial ladder that violates the laws of physics." + auto_connect = TRUE +>>>>>>> 7c553c6... Span ///Bosses