forked from Sandstorm-Station/Sandstorm-Station-13
-
-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1010 from Satile1/Vox
[MODULAR] Vox breathe nitrogen
- Loading branch information
Showing
10 changed files
with
66 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ | |
|
||
#undef PIXEL_SHIFT_MAXIMUM | ||
#define PIXEL_SHIFT_MAXIMUM 32 | ||
|
||
#define BREATH_NITROGEN /datum/breathing_class/nitrogen |
17 changes: 17 additions & 0 deletions
17
modular_splurt/code/game/objects/items/tanks/tank_types.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/obj/item/tank/internals/nitrogen | ||
name = "nitrogen internals tank" | ||
desc = "An enlarged internals tank. This one is full of nitrogen. If you don't breathe nitrogen, you shouldn't use this." | ||
icon_state = "nitrogen_belt" | ||
icon = 'modular_splurt/icons/obj/items_and_weapons.dmi' | ||
lefthand_file = 'modular_splurt/icons/mob/inhands/items_lefthand.dmi' | ||
righthand_file = 'modular_splurt/icons/mob/inhands/items_righthand.dmi' | ||
distribute_pressure = TANK_DEFAULT_RELEASE_PRESSURE | ||
flags_1 = CONDUCT_1 | ||
slot_flags = ITEM_SLOT_BELT | ||
w_class = WEIGHT_CLASS_SMALL | ||
force = 4 | ||
volume = 6 | ||
|
||
/obj/item/tank/internals/nitrogen/populate_gas() | ||
air_contents.set_moles(GAS_N2, (12*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C)) //Double the normal, since these are likely gonna be a nightmare to get refilled | ||
return |
11 changes: 11 additions & 0 deletions
11
modular_splurt/code/modules/atmospherics/auxgm/breathing_classes.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/datum/breathing_class/nitrogen | ||
gases = list( | ||
GAS_N2 = 1, | ||
) | ||
products = list( | ||
GAS_CO2 = 1, | ||
) | ||
low_alert_category = "not_enough_N2" | ||
low_alert_datum = /atom/movable/screen/alert/not_enough_nitro | ||
high_alert_category = "too_much_N2" | ||
high_alert_datum = /atom/movable/screen/alert/too_much_nitro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/datum/outfit/vox | ||
name = "Vox" | ||
r_hand = /obj/item/tank/internals/plasmaman/belt/full | ||
r_hand = /obj/item/tank/internals/nitrogen | ||
l_hand = /obj/item/tank/internals/doublenitrogen | ||
mask = /obj/item/clothing/mask/breath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters