mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
Fixes railings mentioning tables on inspect. (#23554)
* teehee * cinnamonsnowball review * contra review * Update railings.dm * Update code/game/objects/structures.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
@@ -154,6 +154,9 @@
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/obj/structure/proc/get_climb_text()
|
||||
return "<span class='info'>You can <b>Click-Drag</b> yourself to [src] to climb on top of it after a short delay.</span>"
|
||||
|
||||
/obj/structure/examine(mob/user)
|
||||
. = ..()
|
||||
if(!(resistance_flags & INDESTRUCTIBLE))
|
||||
@@ -165,7 +168,7 @@
|
||||
if(examine_status)
|
||||
. += examine_status
|
||||
if(climbable)
|
||||
. += "<span class='info'>You can <b>Click-Drag</b> someone to [src] to put them on the table after a short delay.</span>"
|
||||
. += get_climb_text()
|
||||
|
||||
/obj/structure/proc/examine_status(mob/user) //An overridable proc, mostly for falsewalls.
|
||||
var/healthpercent = (obj_integrity/max_integrity) * 100
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
var/currently_climbed = FALSE
|
||||
var/mover_dir = null
|
||||
|
||||
/obj/structure/railing/get_climb_text()
|
||||
return "<span class='info'>You can <b>Click-Drag</b> yourself to [src] to climb over it after a short delay.</span>"
|
||||
|
||||
/obj/structure/railing/corner //aesthetic corner sharp edges hurt oof ouch
|
||||
icon_state = "railing_corner"
|
||||
density = FALSE
|
||||
|
||||
Reference in New Issue
Block a user