Make mechanism behaviors properly update, fix eating and drinking (#2472)

* Make mechanisms properly update and fix eating and drinking

* Remove outdated component ignores

* Fix nullable error

* Fix mechanism behavior events

* Remove unnecessary code
This commit is contained in:
DrSmugleaf
2020-11-02 11:37:37 +01:00
committed by GitHub
parent 015539dcdc
commit 6b4a39006e
28 changed files with 326 additions and 306 deletions

View File

@@ -11,7 +11,8 @@
durability: 10
size: 1
compatibility: Biological
- type: Brain
behaviors:
- !type:BrainBehavior {}
- type: entity
id: EyesHuman
@@ -40,7 +41,8 @@
durability: 10
size: 1
compatibility: Biological
- type: Heart
behaviors:
- !type:HeartBehavior {}
- type: entity
id: LungsHuman
@@ -55,7 +57,8 @@
durability: 13
size: 1
compatibility: Biological
- type: Lung
behaviors:
- !type:LungBehavior {}
- type: entity
id: StomachHuman
@@ -70,7 +73,10 @@
durability: 13
size: 1
compatibility: Biological
- type: Stomach
behaviors:
- !type:StomachBehavior
max_volume: 250
digestionDelay: 20
- type: entity
id: LiverHuman