mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Climbable Element (#11096)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
573e286496
commit
eaca591b85
@@ -110,6 +110,7 @@
|
||||
cell = new cell(src)
|
||||
default_apply_parts()
|
||||
faultreporter = new /obj/item/radio/intercom{channels=list("Supply")}(null)
|
||||
AddElement(/datum/element/climbable)
|
||||
|
||||
/obj/machinery/mining/drill/Destroy()
|
||||
qdel_null(faultreporter)
|
||||
@@ -426,6 +427,7 @@
|
||||
/obj/machinery/mining/brace/Initialize(mapload)
|
||||
. = ..()
|
||||
default_apply_parts()
|
||||
AddElement(/datum/element/climbable)
|
||||
|
||||
/obj/machinery/mining/brace/RefreshParts()
|
||||
..()
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
icon = 'icons/obj/outcrop.dmi'
|
||||
density = TRUE
|
||||
throwpass = 1
|
||||
climbable = TRUE
|
||||
anchored = TRUE
|
||||
icon_state = "outcrop"
|
||||
var/mindrop = 5
|
||||
@@ -15,6 +14,7 @@
|
||||
. = ..()
|
||||
if(prob(1))
|
||||
add_overlay("[initial(icon_state)]-egg")
|
||||
AddElement(/datum/element/climbable)
|
||||
|
||||
/obj/structure/outcrop/diamond
|
||||
name = "shiny outcrop"
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
ORE_VERDANTIUM = 0,
|
||||
ORE_RUTILE = 0)
|
||||
|
||||
/obj/structure/ore_box/Initialize(mapload)
|
||||
. = ..()
|
||||
AddElement(/datum/element/climbable)
|
||||
|
||||
/obj/structure/ore_box/attackby(obj/item/W as obj, mob/user as mob)
|
||||
if (istype(W, /obj/item/ore))
|
||||
|
||||
Reference in New Issue
Block a user