Skip to content

Commit

Permalink
Snake atmospherics fixes (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruhlookatthisdood authored Sep 21, 2023
1 parent 0d9ca57 commit e6e336b
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 6 deletions.
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 @@ -3788,6 +3789,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 @@ -3840,8 +3842,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

0 comments on commit e6e336b

Please sign in to comment.