[MIRROR] SM, Tesla, and general engineering adjustments [MDB IGNORE] [IDB IGNORE] (#12603)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-26 23:08:54 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent 743a16c74d
commit a62b9ed8fe
83 changed files with 992 additions and 309 deletions
@@ -255,30 +255,30 @@ Thus, the two variables affect pump operation are set in New():
"You hear ratchet.")
deconstruct()
//CHOMPEdit Start - Adds TGStation keybinds to save our engineers some time.
/obj/machinery/atmospherics/binary/pump/click_alt(mob/user)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(allowed(user))
to_chat(user, span_notice("You set the [name] to max output"))
target_pressure = max_pressure_setting
add_fingerprint(user)
else
if(!allowed(user))
to_chat(user, span_warning("Access denied."))
return CLICK_ACTION_BLOCKING
to_chat(user, span_notice("You set the [name] to max output"))
target_pressure = max_pressure_setting
add_fingerprint(user)
return CLICK_ACTION_SUCCESS
/obj/machinery/atmospherics/binary/pump/click_ctrl(mob/user)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(allowed(user))
update_use_power(!use_power)
update_icon()
add_fingerprint(user)
if(use_power)
to_chat(user, span_notice("You toggle the [name] on."))
else
to_chat(user, span_notice("You toggle the [name] off."))
else
if(!allowed(user))
to_chat(user, span_warning("Access denied."))
//CHOMPEdit End
return CLICK_ACTION_BLOCKING
update_use_power(!use_power)
update_icon()
add_fingerprint(user)
to_chat(user, span_notice("You toggle the [name] [use_power ? "on" : "off"]."))
return CLICK_ACTION_SUCCESS
/obj/machinery/atmospherics/binary/pump/high_power
icon = 'icons/atmos/volume_pump.dmi'