mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Fleshes out wire panel skill behavior and signaler management. Electrical Engineering 4 was very OP for revealing all wire labels of all machines, and it was super fun while it lasted. Wire panels now have associated skills with their use, and increased skill ranks will increase the proportion of wires (chosen at random) that are easily recognizable on sight for certain types of wiring panels. **Professional:** 75% revealed **Trained:** 50% revealed **Familiar:** 30% revealed _(note: having both Electrical and Mechanical engineering at least Trained gives you that baseline 30%, reflecting how your knowledge can probably translate to decent guesswork.)_ The following wire panels are affected: **Electrical Engineering:** - APCs - Cameras - IFF Beacons - Radios - Smartfridges - SMES Units **Mechanical Engineering** - Airlocks - Disposal Units - Fabricators - Vending Machines **Atmospherics Systems** - Air Alarms **Reactor Systems** - Particle Accelerator Control Boxes (lol) **Robotics** - Hardsuits - Suit Storage Units (sharing the love is all) - Robots - Tag Scanners **Xenobiology** - Stasis Cages Also, I made it possible to blow out all the lights in an APC's area by snipping the power regulator cable and then pulsing the lights wire. Great for signalers. Speaking of signalers, new app deployed to all Engineering, Research, and Robotics personal modular computers: <img width="816" height="722" alt="Screenshot 2026-07-14 144049" src="https://github.com/user-attachments/assets/3d588712-ebfd-47ac-b699-7cdac2c04907" /> Self-explanatory. Please only use corporate-provided software for behavior within your contract regulations.
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
/datum/wires/suit_storage_unit
|
|
proper_name = "Suit Storage Unit"
|
|
holder_type = /obj/structure/machinery/suit_cycler
|
|
associated_skill = ROBOTICS_SKILL_COMPONENT
|
|
|
|
/datum/wires/suit_storage_unit/New()
|
|
wires = list(
|
|
WIRE_SAFETY,
|
|
WIRE_SHOCK,
|
|
WIRE_LOCKDOWN
|
|
)
|
|
add_duds(1)
|
|
..()
|
|
|
|
/datum/wires/suit_storage_unit/interactable(mob/user)
|
|
if(!..())
|
|
return FALSE
|
|
var/obj/structure/machinery/suit_cycler/S = holder
|
|
if(S.panel_open)
|
|
return TRUE
|
|
return FALSE
|
|
|
|
/datum/wires/suit_storage_unit/get_status()
|
|
var/obj/structure/machinery/suit_cycler/S = holder
|
|
. += ..()
|
|
. += "The orange light is [S.electrified ? "off" : "on"]."
|
|
. += "The red light is [S.safeties ? "off" : "blinking"]."
|
|
. += "The yellow light is [S.locked ? "on" : "off"]."
|
|
|
|
/datum/wires/suit_storage_unit/on_pulse(wire, user)
|
|
var/obj/structure/machinery/suit_cycler/S = holder
|
|
switch(wire)
|
|
if(WIRE_SAFETY)
|
|
S.safeties = !S.safeties
|
|
if(WIRE_SHOCK)
|
|
if(ismob(user))
|
|
S.shock(user, 50)
|
|
S.electrified = 30
|
|
if(WIRE_LOCKDOWN)
|
|
S.locked = !S.locked
|
|
|
|
/datum/wires/suit_storage_unit/on_cut(wire, mend, source)
|
|
var/obj/structure/machinery/suit_cycler/S = holder
|
|
switch(wire)
|
|
if(WIRE_SAFETY)
|
|
S.safeties = mend
|
|
if(WIRE_SHOCK)
|
|
S.locked = mend
|
|
if(WIRE_LOCKDOWN)
|
|
if(mend)
|
|
S.electrified = 0
|
|
else
|
|
S.electrified = -1
|