Under the Twin Suns: the S'rand'marr Sector (#15295)

This commit is contained in:
Alberyk
2023-02-02 14:51:06 -03:00
committed by GitHub
parent a0fc71c1ee
commit ff229569ae
162 changed files with 41866 additions and 465 deletions
+15
View File
@@ -329,3 +329,18 @@
. = get_turf(src) // by default, we pop into the turf the railing's on
if(get_turf(user) == . || !(get_dir(src, user) & dir)) // if the user's inside our turf or behind us, go in front of us
. = get_step(src, dir)
//fence
/obj/structure/railing/fence
name = "fence"
color = "#824B28"
anchored = TRUE
/obj/structure/railing/fence/Initialize()
. = ..()
color = "#824B28"
/obj/structure/railing/fence/New(var/newloc, var/material_key = MATERIAL_WOOD)
material = material_key
..(newloc)