Slimes breathe nitrogen (#9001)
* Slimes breathe nitrogen * max respiration
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
compatibility: Slime
|
||||
mechanisms:
|
||||
- SentientSlimeCore
|
||||
- OrganSlimeLungs
|
||||
# criticalThreshold: 100
|
||||
# deadThreshold: 150
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -139,6 +139,10 @@
|
||||
conditions:
|
||||
- !type:OrganType
|
||||
type: Vox
|
||||
- !type:Oxygenate
|
||||
conditions:
|
||||
- !type:OrganType
|
||||
type: Slime
|
||||
# Converts Nitrogen into CO2
|
||||
- !type:ModifyLungGas
|
||||
conditions:
|
||||
|
||||
Reference in New Issue
Block a user