mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Refactors how air sensors & atmos monitors connect (#92849)
## About The Pull Request **1. Qol** - Air sensors(maploaded & hand crafted) now auto connect to any input ports & output valves that are within a 4 tile radius from it meaning there is no need for these ports to have unique IDs attached to them & you don't need a multitool to link them together if you first placed those ports & then placed the air sensor close to them - Atmos control monitors now finds all air sensors that are closest to it within the same z level meaning you can have/place multiple air sensors of the same type on the same z level & the monitor will locate them correctly without any ambiguity **2. Refactor** - Removed var `chamber_id` from both injectors & vents meaning you don't need to have unique ids assigned to them. As long as mappers/players put them within 4 tile radius from the air sensor it will auto connect to them - Removed var `GLOB.map_loaded_sensors` ## Changelog 🆑 qol: hand crafted air sensors now auto connect to input & output ports if they are located within a 4 tile radius from it qol: atmos control monitors now locate all air sensors nearest to in on that same z level meaning you can have multiple air sensors of the same type on the same map refactor: refactored how air sensors & atmos monitors connect to each other. Please report any atmos computers that have missing input valves/output ports on their connected air sensors or those that don't list any air sensors at all on github /🆑 --------- Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
co-authored by
LemonInTheDark
parent
eb876887fd
commit
27e868a3da
@@ -0,0 +1,3 @@
|
||||
/obj/machinery/atmospherics/components/unary/vent_pump/@SUBTYPES{chamber_id=@ANY} : /obj/machinery/atmospherics/components/unary/vent_pump/@SUBTYPES{@OLD;chamber_id=@SKIP}
|
||||
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/@SUBTYPES{chamber_id=@ANY} : /obj/machinery/atmospherics/components/unary/outlet_injector/monitored/@SUBTYPES{@OLD;chamber_id=@SKIP}
|
||||
|
||||
Reference in New Issue
Block a user