Stomach YAML tweaks (short-term satiety) (#9326)

This commit is contained in:
Kara
2022-07-01 13:42:29 -07:00
committed by GitHub
parent e40a03ec48
commit de6db8cb21
10 changed files with 24 additions and 41 deletions

View File

@@ -147,8 +147,6 @@
stomach:
maxVol: 250
- type: Stomach
maxVolume: 250
digestionDelay: 20
# The stomach metabolizes stuff like foods and drinks.
# TODO: Have it work off of the ent's solution container, and move this
# to intestines instead.

View File

@@ -6,3 +6,10 @@
- type: Metabolizer
metabolizerTypes: [ Rat ]
- type: entity
id: OrganRatStomach
parent: OrganAnimalStomach
suffix: "rat"
components:
- type: Stomach
maxVolume: 50 # they're hungry

View File

@@ -13,8 +13,6 @@
compatibility: Slime
- type: Brain
- type: Stomach
maxVolume: 250
digestionDelay: 20
- type: Metabolizer
maxReagents: 6
metabolizerTypes: [ Slime ]

View File

@@ -105,8 +105,7 @@
stomach:
maxVol: 100
- type: Stomach
maxVolume: 100
digestionDelay: 20
maxVolume: 10
- type: Metabolizer
maxReagents: 3
metabolizerTypes: [Animal]

View File

@@ -12,28 +12,9 @@
compatibility: Biological
mechanisms:
- OrganRatLungs
- OrganHumanStomach
- OrganHumanLiver
- OrganHumanHeart
- OrganHumanKidneys
- OrganRatStomach
- OrganAnimalLiver
- OrganAnimalHeart
- OrganAnimalKidneys
- type: Damageable
damageContainer: Biological
- type: entity
id: OrganRatLungs
parent: BaseAnimalOrgan
name: lungs
noSpawn: true
components:
- type: Mechanism
size: 1
compatibility: Biological
- type: Lung
- type: Metabolizer
removeEmpty: true
solutionOnBody: false
solution: "Lung"
metabolizerTypes: [ Rat ]
groups:
- id: Gas
rateModifier: 100.0

View File

@@ -123,7 +123,7 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
maxVol: 20
reagents:
- ReagentId: Dexalin
Quantity: 15
@@ -136,7 +136,7 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
maxVol: 20
reagents:
- ReagentId: Dylovene
Quantity: 15
@@ -149,7 +149,7 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
maxVol: 20
reagents:
- ReagentId: Hyronalin
Quantity: 15
@@ -162,7 +162,7 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
maxVol: 20
reagents:
- ReagentId: Iron
Quantity: 15
@@ -175,7 +175,7 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
maxVol: 20
reagents:
- ReagentId: Kelotane
Quantity: 15
@@ -188,7 +188,7 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
maxVol: 20
reagents:
- ReagentId: SpaceDrugs
Quantity: 15
@@ -201,7 +201,7 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
maxVol: 20
reagents:
- ReagentId: Tricordrazine
Quantity: 15
@@ -214,7 +214,7 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
maxVol: 20
reagents:
- ReagentId: Romerol
Quantity: 10

View File

@@ -272,7 +272,7 @@
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
maxVol: 20
- type: SolutionSpiker
sourceSolution: food
- type: DeleteOnTrigger