mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 19:15:11 +01:00
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:
@@ -39,7 +39,7 @@ GLOBAL_LIST_EMPTY(shutoff_valves)
|
||||
return TRUE
|
||||
|
||||
// Alt+Click now toggles the open/close function, when the autoseal is disabled
|
||||
/obj/machinery/atmospherics/valve/shutoff/AltClick(var/mob/user)
|
||||
/obj/machinery/atmospherics/valve/shutoff/click_alt(var/mob/user)
|
||||
if(isliving(user))
|
||||
if(close_on_leaks)
|
||||
to_chat(user, "You try to manually [open ? "close" : "open"] the valve, but it [open ? "opens" : "closes"] automatically again.")
|
||||
|
||||
@@ -200,7 +200,7 @@
|
||||
"You hear a ratchet.")
|
||||
deconstruct()
|
||||
|
||||
/obj/machinery/atmospherics/unary/outlet_injector/CtrlClick(mob/user)
|
||||
/obj/machinery/atmospherics/unary/outlet_injector/click_ctrl(mob/user)
|
||||
if (volume_rate == ATMOS_DEFAULT_VOLUME_PUMP + 500 || use_power == USE_POWER_OFF)
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user