Files
SyncIt21 27e868a3da 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>
2025-09-10 01:06:36 -07:00

89 lines
3.5 KiB
Plaintext

/obj/machinery/atmospherics/components/unary/outlet_injector/monitored
on = TRUE
volume_rate = MAX_TRANSFER_RATE
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/layer2
piping_layer = 2
icon_state = "inje_map-2"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/layer4
piping_layer = 4
icon_state = "inje_map-4"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/plasma_input
name = "plasma tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/oxygen_input
name = "oxygen tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/nitrogen_input
name = "nitrogen tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/mix_input
name = "mix tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/nitrous_input
name = "nitrous oxide tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/air_input
name = "air mix tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/carbon_input
name = "carbon dioxide tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/bz_input
name = "bz tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/freon_input
name = "freon tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/halon_input
name = "halon tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/healium_input
name = "healium tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/hydrogen_input
name = "hydrogen tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/hypernoblium_input
name = "hypernoblium tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/miasma_input
name = "miasma tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/nitrium_input
name = "nitrium tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/pluoxium_input
name = "pluoxium tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/proto_nitrate_input
name = "proto-nitrate tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/tritium_input
name = "tritium tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/water_vapor_input
name = "water vapor tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/zauker_input
name = "zauker tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/helium_input
name = "helium tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/antinoblium_input
name = "antinoblium tank input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/incinerator_input
name = "incinerator chamber input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/ordnance_burn_chamber_input
on = FALSE
name = "ordnance burn chamber input injector"
/obj/machinery/atmospherics/components/unary/outlet_injector/monitored/ordnance_freezer_chamber_input
on = FALSE
name = "ordnance freezer chamber input injector"