mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
## 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>
15 lines
375 B
Plaintext
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()
|