mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Verb cleanup (#22224)
* Verb cleanup * rest of the object verbs * little more object cleanup * more changes * last of it * this too * tgui * code review * time to go
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
QUEUE_SMOOTH_NEIGHBORS(src)
|
||||
if(smoothing_flags & SMOOTH_CORNERS)
|
||||
icon_state = ""
|
||||
if(climbable)
|
||||
verbs += /obj/structure/proc/climb_on
|
||||
if(SSticker)
|
||||
GLOB.cameranet.updateVisibility(src)
|
||||
|
||||
@@ -52,15 +50,6 @@
|
||||
ADD_TRAIT(loc, TRAIT_TURF_COVERED, UNIQUE_TRAIT_SOURCE(src))
|
||||
return TRUE
|
||||
|
||||
/obj/structure/proc/climb_on()
|
||||
|
||||
set name = "Climb structure"
|
||||
set desc = "Climbs onto a structure."
|
||||
set category = null
|
||||
set src in oview(1)
|
||||
|
||||
do_climb(usr)
|
||||
|
||||
/obj/structure/MouseDrop_T(atom/movable/C, mob/user as mob)
|
||||
if(..())
|
||||
return TRUE
|
||||
@@ -186,6 +175,8 @@
|
||||
var/examine_status = examine_status(user)
|
||||
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>"
|
||||
|
||||
/obj/structure/proc/examine_status(mob/user) //An overridable proc, mostly for falsewalls.
|
||||
var/healthpercent = (obj_integrity/max_integrity) * 100
|
||||
|
||||
Reference in New Issue
Block a user