Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snake atmospherics fixes #2513

Merged
merged 12 commits into from
Sep 21, 2023
31 changes: 25 additions & 6 deletions _maps/map_files/Snake/snake_lower.dmm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions nsv13.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3660,6 +3660,7 @@
#include "interface\interface.dm"
#include "interface\stylesheet.dm"
#include "interface\skin.dmf"
#include "nsv13\code\__DEFINES\atmospherics.dm"
#include "nsv13\code\__DEFINES\components.dm"
#include "nsv13\code\__DEFINES\fleets.dm"
#include "nsv13\code\__DEFINES\ftl.dm"
Expand Down Expand Up @@ -3787,6 +3788,7 @@
#include "nsv13\code\game\machinery\plasma_loader.dm"
#include "nsv13\code\game\machinery\refillable_chem_dispenser.dm"
#include "nsv13\code\game\machinery\computer\_ship.dm"
#include "nsv13\code\game\machinery\computer\atmos_control.dm"
#include "nsv13\code\game\machinery\computer\boarding_pin.dm"
#include "nsv13\code\game\machinery\computer\helm.dm"
#include "nsv13\code\game\machinery\computer\munitions.dm"
Expand Down Expand Up @@ -3839,8 +3841,10 @@
#include "nsv13\code\modules\antagonists\boarders\boarders.dm"
#include "nsv13\code\modules\antagonists\boarders\pirate_boarders.dm"
#include "nsv13\code\modules\atmospherics\gasmixtures\reactions.dm"
#include "nsv13\code\modules\atmospherics\machinery\components\unary_devices\outlet_injector.dm"
#include "nsv13\code\modules\atmospherics\machinery\components\binary_devices\constrictor.dm"
#include "nsv13\code\modules\atmospherics\machinery\components\unary_devices\tank.dm"
#include "nsv13\code\modules\atmospherics\machinery\components\unary_devices\vent_pump.dm"
#include "nsv13\code\modules\cargo\mission_rewards.dm"
#include "nsv13\code\modules\cargo\objective_cargo.dm"
#include "nsv13\code\modules\cargo\packs.dm"
Expand Down
3 changes: 3 additions & 0 deletions nsv13/code/__DEFINES/atmospherics.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#define ATMOS_GAS_MONITOR_INPUT_NUCLEIUM "nucleium_in"
#define ATMOS_GAS_MONITOR_OUTPUT_NUCLEIUM "nucleium_out"
#define ATMOS_GAS_MONITOR_SENSOR_NUCLEIUM "nucleium_sensor"
11 changes: 11 additions & 0 deletions nsv13/code/game/machinery/computer/atmos_control.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/obj/machinery/computer/atmos_control/tank/nucleium_tank //NSV added nucleium tank console
name = "Nucleium Supply Monitor"
input_tag = ATMOS_GAS_MONITOR_INPUT_NUCLEIUM
output_tag = ATMOS_GAS_MONITOR_OUTPUT_NUCLEIUM
sensors = list(ATMOS_GAS_MONITOR_SENSOR_NUCLEIUM = "Nucleium Tank")
circuit = /obj/item/circuitboard/computer/atmos_control/tank/nucleium_tank

/obj/machinery/air_sensor/atmos/nucleium_tank //nucleium stuff
name = "nucleium tank gas sensor"
id_tag = ATMOS_GAS_MONITOR_SENSOR_NUCLEIUM

6 changes: 6 additions & 0 deletions nsv13/code/game/objects/items/nsv_circuitboards.dm
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,12 @@
/obj/item/stack/sheet/glass = 1)
needs_anchored = FALSE

//Atmospheric consoles
/obj/item/circuitboard/computer/atmos_control/tank/nucleium_tank
name = "nucleium supply control (Computer Board)"
build_path = /obj/machinery/computer/atmos_control/tank/nucleium_tank

//Bot navbeacon
/obj/item/circuitboard/machine/navbeacon
name = "Bot Navigational Beacon"
icon_state = "science"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/obj/machinery/atmospherics/components/unary/outlet_injector/atmos/nucleium_input
name = "nucleium tank input injector"
id = ATMOS_GAS_MONITOR_INPUT_NUCLEIUM
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/obj/machinery/atmospherics/components/unary/vent_pump/siphon/atmos/nucleium_output
name = "nucleium tank output inlet"
id_tag = ATMOS_GAS_MONITOR_OUTPUT_NUCLEIUM
Loading