mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 22:25:46 +01:00
Merge pull request #12105 from Fox-McCloud/ports-tendril-loot
Adds Book of Babel and Jacob's Ladder
This commit is contained in:
@@ -77,6 +77,21 @@
|
||||
|
||||
add_fingerprint(M)
|
||||
|
||||
//Book of Babel
|
||||
|
||||
/obj/item/book_of_babel
|
||||
name = "Book of Babel"
|
||||
desc = "An ancient tome written in countless tongues."
|
||||
icon = 'icons/obj/library.dmi'
|
||||
icon_state = "book1"
|
||||
w_class = 2
|
||||
|
||||
/obj/item/book_of_babel/attack_self(mob/user)
|
||||
to_chat(user, "You flip through the pages of the book, quickly and conveniently learning every language in existence. Somewhat less conveniently, the aging book crumbles to dust in the process. Whoops.")
|
||||
user.grant_all_languages()
|
||||
new /obj/effect/decal/cleanable/ash(get_turf(user))
|
||||
qdel(src)
|
||||
|
||||
//Potion of Flight: as we do not have the "Angel" species this currently does not work.
|
||||
|
||||
/obj/item/reagent_containers/glass/bottle/potion
|
||||
@@ -117,6 +132,30 @@
|
||||
H.emote("scream")
|
||||
..()*/
|
||||
|
||||
/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, "<span class='notice'>You unfold the ladder. It extends much farther than you were expecting.</span>")
|
||||
var/last_ladder = null
|
||||
for(var/i in 1 to world.maxz)
|
||||
if(is_admin_level(i) || is_away_level(i))
|
||||
continue
|
||||
var/turf/T2 = locate(ladder_x, ladder_y, i)
|
||||
last_ladder = new /obj/structure/ladder/unbreakable/jacob(T2, null, last_ladder)
|
||||
qdel(src)
|
||||
|
||||
// Inherit from unbreakable but don't set ID, to suppress the default Z linkage
|
||||
/obj/structure/ladder/unbreakable/jacob
|
||||
name = "jacob's ladder"
|
||||
desc = "An indestructible celestial ladder that violates the laws of physics."
|
||||
|
||||
//Boat
|
||||
|
||||
/obj/vehicle/lavaboat
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
if(!add_loot)
|
||||
return
|
||||
|
||||
var/loot = rand(1,25)
|
||||
var/loot = rand(1, 26)
|
||||
switch(loot)
|
||||
if(1)
|
||||
new /obj/item/shared_storage/red(src)
|
||||
@@ -48,7 +48,7 @@
|
||||
if(11)
|
||||
new /obj/item/clothing/suit/space/hardsuit/ert/paranormal/berserker(src)
|
||||
if(12)
|
||||
new /obj/item/sord(src)
|
||||
new /obj/item/jacobs_ladder(src)
|
||||
if(13)
|
||||
new /obj/item/nullrod/scythe/talking(src)
|
||||
if(14)
|
||||
@@ -78,6 +78,8 @@
|
||||
if(24)
|
||||
new /obj/item/spellbook/oneuse/summonitem(src)
|
||||
if(25)
|
||||
new /obj/item/book_of_babel(src)
|
||||
if(26)
|
||||
new /obj/item/borg/upgrade/modkit/lifesteal(src)
|
||||
new /obj/item/bedsheet/cult(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user