Start of TG Click Code Port (#18734)

* click code start

* snake_span

* Update click.dm

* Update click.dm

* Update click.dm

* Update click.dm

* Fixes borg ctrl_click

Also implements allowing  blocking of items being ctrl_clicked

* Makes the statpanel not annihilate peoples ratelimiter

Statpanel calls aren't really user controlled (and 180 of them get sent upon loading, as each verb counts as a topic calls when it calls Send-Tabs) so let's not count it towards the user when they log in.
This commit is contained in:
Cameron Lennox
2025-12-06 01:13:12 -05:00
committed by GitHub
parent a1b9121b5f
commit 4924a73ba2
96 changed files with 602 additions and 305 deletions
+1 -1
View File
@@ -101,7 +101,7 @@
scan_time = 0.5 SECONDS
exact = TRUE
/obj/item/mining_scanner/advanced/AltClick(mob/user)
/obj/item/mining_scanner/advanced/click_alt(mob/user)
change_size()
/obj/item/mining_scanner/advanced/verb/change_size()
+1 -1
View File
@@ -153,7 +153,7 @@
var/digspeed = 40
var/grave_mode = FALSE
/obj/item/shovel/AltClick(mob/user)
/obj/item/shovel/click_alt(mob/user)
grave_mode = !grave_mode
to_chat(user, span_notice("You'll now dig [grave_mode ? "out graves" : "for loot"]."))
. = ..()