Railings Suggestion (#7434)

This commit is contained in:
死烏
2025-12-21 13:22:14 +01:00
committed by GitHub
parent c106ec4686
commit 8d9c2032cf
2 changed files with 7 additions and 6 deletions
+7 -6
View File
@@ -1,7 +1,7 @@
// Based on railing.dmi from https://github.com/Endless-Horizon/CEV-Eris
/obj/structure/railing
name = "railing"
desc = "A standard steel railing. Play stupid games, win stupid prizes."
desc = "A standard steel railing. Play stupid games, win stupid prizes."
icon = 'icons/obj/railing.dmi'
density = TRUE
pass_flags_self = ATOM_PASS_THROWN | ATOM_PASS_CLICK | ATOM_PASS_TABLE | ATOM_PASS_OVERHEAD_THROW | ATOM_PASS_CLICK | ATOM_PASS_BUCKLED
@@ -11,6 +11,7 @@
anchored = TRUE
atom_flags = ATOM_BORDER
icon_state = "railing0"
color = "#975b2a"//"#b36525"
integrity = 150
integrity_max = 150
@@ -19,11 +20,6 @@
var/broken = FALSE
var/check = 0
/obj/structure/railing/grey
name = "grey railing"
desc = "A standard steel railing. Prevents stupid people from falling to their doom."
icon_state = "grey_railing0"
/obj/structure/railing/Initialize(mapload, constructed = FALSE)
. = ..()
// TODO - "constructed" is not passed to us. We need to find a way to do this safely.
@@ -274,3 +270,8 @@
/obj/structure/railing/do_climb_target(mob/living/climber)
return climber.loc == get_turf(src)? get_step(src, dir) : ..()
/obj/structure/railing/grey
name = "grey railing"
desc = "A standard steel railing. Prevents stupid people from falling to their doom."
color = "#979db6"