mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[MIRROR] Icebox QoL minus features (#3459)
* Icebox QoL minus features (#56472) * Icebox QoL minus features Co-authored-by: Whoneedspacee <yougotreallyowned@gmail.com>
This commit is contained in:
@@ -80,6 +80,10 @@ GLOBAL_LIST_INIT(ore_probability, list(
|
||||
light_range = 1
|
||||
light_color = COLOR_SOFT_RED
|
||||
|
||||
/obj/structure/spawner/ice_moon/demonic_portal/Initialize()
|
||||
. = ..()
|
||||
AddComponent(/datum/component/gps, "Netheric Signal")
|
||||
|
||||
/obj/structure/spawner/ice_moon/demonic_portal/clear_rock()
|
||||
for(var/turf/F in RANGE_TURFS(3, src))
|
||||
if(abs(src.x - F.x) + abs(src.y - F.y) > 5)
|
||||
|
||||
@@ -5,10 +5,12 @@
|
||||
icon = 'icons/obj/structures.dmi'
|
||||
icon_state = "ladder11"
|
||||
anchored = TRUE
|
||||
obj_flags = CAN_BE_HIT | BLOCK_Z_OUT_DOWN
|
||||
var/obj/structure/ladder/down //the ladder below this one
|
||||
var/obj/structure/ladder/up //the ladder above this one
|
||||
var/crafted = FALSE
|
||||
obj_flags = CAN_BE_HIT | BLOCK_Z_OUT_DOWN
|
||||
/// Optional travel time for ladder in deciseconds
|
||||
var/travel_time = 0
|
||||
|
||||
/obj/structure/ladder/Initialize(mapload, obj/structure/ladder/up, obj/structure/ladder/down)
|
||||
..()
|
||||
@@ -70,8 +72,11 @@
|
||||
|
||||
/obj/structure/ladder/proc/travel(going_up, mob/user, is_ghost, obj/structure/ladder/ladder)
|
||||
if(!is_ghost)
|
||||
show_fluff_message(going_up, user)
|
||||
ladder.add_fingerprint(user)
|
||||
if(!do_after(user, travel_time, target = src))
|
||||
return
|
||||
show_fluff_message(going_up, user)
|
||||
|
||||
|
||||
var/turf/T = get_turf(ladder)
|
||||
var/atom/movable/AM
|
||||
|
||||
Reference in New Issue
Block a user