Added thresholds and new stomatch for mice (#22143)

Co-authored-by: Lazzi0706 <lazzikrytskiy0706@gmail.com>
This commit is contained in:
Lazzi0706
2023-12-05 17:39:09 +07:00
committed by GitHub
parent 1f6b76af01
commit bef727249f
3 changed files with 41 additions and 0 deletions

View File

@@ -81,6 +81,17 @@
- id: Food
- id: Drink
- type: entity
id: OrganMouseStomach
parent: OrganAnimalStomach
name: stomach
noSpawn: true
components:
- type: SolutionContainerManager
solutions:
stomach:
maxVol: 30
- type: entity
id: OrganAnimalLiver
parent: BaseAnimalOrgan

View File

@@ -19,3 +19,25 @@
- feet
feet:
part: FeetAnimal
- type: body
id: Mouse
name: "mouse"
root: torso
slots:
torso:
part: TorsoAnimal
connections:
- legs
organs:
lungs: OrganAnimalLungs
stomach: OrganMouseStomach
liver: OrganAnimalLiver
heart: OrganAnimalHeart
kidneys: OrganAnimalKidneys
legs:
part: LegsAnimal
connections:
- feet
feet:
part: FeetAnimal

View File

@@ -1158,6 +1158,8 @@
id: MobMouse
description: Squeak!
components:
- type: Body
prototype: Mouse
- type: GhostRole
makeSentient: true
allowSpeech: true
@@ -1226,6 +1228,12 @@
Base: splat-0
- type: Food
- type: Hunger
thresholds:
Overfed: 35
Okay: 25
Peckish: 15
Starving: 10
Dead: 0
baseDecayRate: 0.5 # I'm very hungry! Give me. The cheese.
- type: Extractable
grindableSolutionName: food