Files
Bubberstation/code/datums/wires/atmosshieldgen.dm
jimmyl 089059d7d3 atmospherics shield generator (#91055)
## About The Pull Request

(old video)


https://github.com/user-attachments/assets/4b04c372-05a2-4bab-b4a4-1b2c965061e5

unlocked by holographics research
put two facing eachother and turn one on to make a field that blocks
atmos, if not obstructed by wall
fields cannot be broken or clicked but the generators may (theyre
relatively weak)
requires external airlock access or apc access
uses area power, environmental channel
may be locked
may be screwed open to access wiring, has 1 wire that just toggles it

changes tiny fans on stations to use those

## Why It's Good For The Game

a better and rebuildable alternative to magic tiny fans 

## Changelog
🆑
add: atmospherics shield generator, unlocked by Holographics research
/🆑

---------

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2025-06-10 15:31:43 +02:00

15 lines
375 B
Plaintext

/datum/wires/atmosshieldgen
proper_name = "Atmos Shield Generator"
randomize = FALSE
holder_type = /obj/machinery/atmos_shield_gen
/datum/wires/atmosshieldgen/New(atom/holder)
wires = list(WIRE_ACTIVATE)
return ..()
/datum/wires/atmosshieldgen/on_pulse(wire)
var/obj/machinery/atmos_shield_gen/generator = holder
if(!generator.anchored)
return
generator.toggle()