Give animal parts & organs sprites (#19719)

This commit is contained in:
Kara
2023-08-31 20:09:22 -07:00
committed by GitHub
parent 6503c8c50c
commit 16dba2f707
2 changed files with 36 additions and 5 deletions

View File

@@ -16,6 +16,10 @@
name: lungs
noSpawn: true
components:
- type: Sprite
layers:
- state: lung-l
- state: lung-r
- type: Organ
- type: Lung
- type: Metabolizer
@@ -38,6 +42,8 @@
name: stomach
noSpawn: true
components:
- type: Sprite
state: stomach
- type: Organ
- type: SolutionContainerManager
solutions:
@@ -57,6 +63,8 @@
name: liver
noSpawn: true
components:
- type: Sprite
state: liver
- type: Organ
- type: Metabolizer
maxReagents: 1
@@ -71,6 +79,8 @@
name: heart
noSpawn: true
components:
- type: Sprite
state: heart-on
- type: Organ
- type: Metabolizer
maxReagents: 2
@@ -86,6 +96,10 @@
name: kidneys
noSpawn: true
components:
- type: Sprite
layers:
- state: kidney-l
- state: kidney-r
- type: Organ
- type: Metabolizer
maxReagents: 5

View File

@@ -8,6 +8,9 @@
name: "animal body part"
abstract: true
components:
# yes these sprites dont make sense i dont care its better than them being invisible
- type: Sprite
sprite: Mobs/Species/Reptilian/parts.rsi
- type: Damageable
damageContainer: Biological
- type: BodyPart
@@ -28,42 +31,56 @@
- ReagentId: Blood
Quantity: 10
# For primates mainly
- type: entity
id: HandsAnimal
name: "animal hands"
name: animal hands
parent: PartAnimal
noSpawn: true
components:
- type: Sprite
layers:
- state: l_hand
- state: r_hand
- type: BodyPart
partType: Hand
symmetry: Left
- type: entity
id: LegsAnimal
name: "animal legs"
name: animal legs
parent: PartAnimal
noSpawn: true
components:
- type: Sprite
layers:
- state: l_leg
- state: r_leg
- type: BodyPart
partType: Leg
- type: MovementBodyPart
- type: entity
id: FeetAnimal
name: "animal feet"
name: animal feet
parent: PartAnimal
noSpawn: true
components:
- type: Sprite
layers:
- state: r_foot
- state: l_foot
- type: BodyPart
partType: Foot
- type: entity
id: TorsoAnimal
name: "animal torso"
name: animal torso
parent: PartAnimal
noSpawn: true
components:
- type: Sprite
layers:
- state: torso_m
- type: BodyPart
partType: Torso
- type: Damageable