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:
GDN
2023-11-12 20:19:17 +00:00
committed by GitHub
parent f65d120711
commit 35754c77ea
90 changed files with 754 additions and 1609 deletions
+2 -11
View File
@@ -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