Slimes breathe nitrogen (#9001)

* Slimes breathe nitrogen

* max respiration
This commit is contained in:
Rane
2022-06-21 12:32:31 -04:00
committed by GitHub
parent bee053a38c
commit 62034e7b9b
4 changed files with 36 additions and 0 deletions

View File

@@ -25,3 +25,26 @@
- id: Medicine
- id: Poison
- id: Narcotic
- type: entity
id: OrganSlimeLungs
parent: BaseHumanOrgan
name: slime gas sacs
description: "Collects nitrogen, which slime cells use for maintenance."
components:
- type: Sprite
layers:
- state: lung-l
- state: lung-r
- type: Mechanism
size: 1
compatibility: Biological
- type: Lung
- type: Metabolizer
removeEmpty: true
solutionOnBody: false
solution: "Lung"
metabolizerTypes: [ Slime ]
groups:
- id: Gas
rateModifier: 100.0

View File

@@ -26,6 +26,7 @@
compatibility: Slime
mechanisms:
- SentientSlimeCore
- OrganSlimeLungs
# criticalThreshold: 100
# deadThreshold: 150

View File

@@ -147,6 +147,14 @@
spawned:
- id: FoodMeatSlime
amount: 5
- type: Respirator
damage:
types:
Asphyxiation: 0.2
damageRecovery:
types:
Asphyxiation: -1.0
maxSaturation: 15
- type: entity
save: false

View File

@@ -139,6 +139,10 @@
conditions:
- !type:OrganType
type: Vox
- !type:Oxygenate
conditions:
- !type:OrganType
type: Slime
# Converts Nitrogen into CO2
- !type:ModifyLungGas
conditions: