Refactor body component to use slots instead of an army of dictionaries (#3749)
* Refactor body component to use slots instead of an army of dictionaries * Update vox * Replace static method call with extension * Add setpart method, replace dispose with shutdown * Fix tests, fix not listening to slot events when setting a part
This commit is contained in:
@@ -163,7 +163,6 @@
|
||||
- type: Body
|
||||
template: HumanoidTemplate
|
||||
preset: HumanPreset
|
||||
centerSlot: torso
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
- type: Metabolism
|
||||
@@ -336,7 +335,6 @@
|
||||
- type: Body
|
||||
template: HumanoidTemplate
|
||||
preset: HumanPreset
|
||||
centerSlot: torso
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
- type: MobState
|
||||
|
||||
@@ -141,7 +141,6 @@
|
||||
- type: Body
|
||||
template: HumanoidTemplate
|
||||
preset: SlimePreset
|
||||
centerSlot: torso
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
- type: Metabolism
|
||||
|
||||
@@ -82,7 +82,6 @@
|
||||
- type: Body
|
||||
template: HumanoidTemplate
|
||||
preset: VoxPreset
|
||||
centerSlot: torso
|
||||
- type: Metabolism
|
||||
needsGases:
|
||||
Nitrogen: 0.00060763888
|
||||
|
||||
10
Resources/Prototypes/EntityLists/Cow/cow_tools.yml
Normal file
10
Resources/Prototypes/EntityLists/Cow/cow_tools.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- type: entityList
|
||||
id: CowTools
|
||||
entities:
|
||||
- Haycutters
|
||||
- Moodriver
|
||||
- Wronch
|
||||
- Cowbar
|
||||
- Mooltitool
|
||||
- Cowelder
|
||||
- Milkalyzer
|
||||
Reference in New Issue
Block a user