Adds slime people (#3320)
This commit is contained in:
committed by
GitHub
parent
5109d1d853
commit
338d6fe704
270
Resources/Prototypes/Body/Parts/slime_parts.yml
Normal file
270
Resources/Prototypes/Body/Parts/slime_parts.yml
Normal file
@@ -0,0 +1,270 @@
|
||||
# TODO BODY: Part damage
|
||||
- type: entity
|
||||
id: PartSlime
|
||||
parent: BaseItem
|
||||
name: "slime body part"
|
||||
abstract: true
|
||||
|
||||
- type: entity
|
||||
id: TorsoSlime
|
||||
name: "slime torso"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "torso_m"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "torso_m"
|
||||
- type: BodyPart
|
||||
partType: Torso
|
||||
size: 14
|
||||
compatibility: Biological
|
||||
mechanisms:
|
||||
- HeartHuman
|
||||
- LungsHuman
|
||||
- StomachHuman
|
||||
- LiverHuman
|
||||
- KidneysHuman
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
# TODO BODY DettachableDamageableComponent?
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 100
|
||||
# deadThreshold: 150
|
||||
|
||||
- type: entity
|
||||
id: HeadSlime
|
||||
name: "slime head"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "head_m"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "head_m"
|
||||
- type: BodyPart
|
||||
partType: Head
|
||||
size: 7
|
||||
compatibility: Biological
|
||||
isVital: true
|
||||
mechanisms:
|
||||
- BrainHuman
|
||||
- EyesHuman
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 50
|
||||
# deadThreshold: 120
|
||||
- type: Input
|
||||
|
||||
- type: entity
|
||||
id: LeftArmSlime
|
||||
name: "left slime arm"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "l_arm"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "l_arm"
|
||||
- type: BodyPart
|
||||
partType: Arm
|
||||
size: 5
|
||||
compatibility: Biological
|
||||
symmetry: Left
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 40
|
||||
# deadThreshold: 80
|
||||
- type: Extension
|
||||
distance: 2.4
|
||||
|
||||
- type: entity
|
||||
id: RightArmSlime
|
||||
name: "right slime arm"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "r_arm"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "r_arm"
|
||||
- type: BodyPart
|
||||
partType: Arm
|
||||
size: 5
|
||||
compatibility: Biological
|
||||
symmetry: Right
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 40
|
||||
# deadThreshold: 80
|
||||
- type: Extension
|
||||
distance: 2.4
|
||||
|
||||
- type: entity
|
||||
id: LeftHandSlime
|
||||
name: "left slime hand"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "l_hand"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "l_hand"
|
||||
- type: BodyPart
|
||||
partType: Hand
|
||||
size: 3
|
||||
compatibility: Biological
|
||||
symmetry: Left
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 30
|
||||
# deadThreshold: 60
|
||||
- type: Grasp
|
||||
|
||||
- type: entity
|
||||
id: RightHandSlime
|
||||
name: "right slime hand"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "r_hand"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "r_hand"
|
||||
- type: BodyPart
|
||||
partType: Hand
|
||||
size: 3
|
||||
compatibility: Biological
|
||||
symmetry: Right
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 30
|
||||
# deadThreshold: 60
|
||||
- type: Grasp
|
||||
|
||||
- type: entity
|
||||
id: LeftLegSlime
|
||||
name: "left slime leg"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "l_leg"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "l_leg"
|
||||
- type: BodyPart
|
||||
partType: Leg
|
||||
size: 6
|
||||
compatibility: Biological
|
||||
symmetry: Left
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 45
|
||||
# deadThreshold: 90
|
||||
- type: Leg
|
||||
speed: 2.6
|
||||
- type: Extension
|
||||
distance: 3.0
|
||||
|
||||
- type: entity
|
||||
id: RightLegSlime
|
||||
name: "right slime leg"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "r_leg"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "r_leg"
|
||||
- type: BodyPart
|
||||
partType: Leg
|
||||
size: 6
|
||||
compatibility: Biological
|
||||
symmetry: Right
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 45
|
||||
# deadThreshold: 90
|
||||
- type: Leg
|
||||
speed: 2.6
|
||||
- type: Extension
|
||||
distance: 3.0
|
||||
|
||||
- type: entity
|
||||
id: LeftFootSlime
|
||||
name: "left slime foot"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "l_foot"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "l_foot"
|
||||
- type: BodyPart
|
||||
partType: Foot
|
||||
size: 2
|
||||
compatibility: Biological
|
||||
symmetry: Left
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 30
|
||||
# deadThreshold: 60
|
||||
|
||||
- type: entity
|
||||
id: RightFootSlime
|
||||
name: "right slime foot"
|
||||
parent: PartSlime
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "r_foot"
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/Slime/parts.rsi
|
||||
state: "r_foot"
|
||||
- type: BodyPart
|
||||
partType: Foot
|
||||
size: 2
|
||||
compatibility: Biological
|
||||
symmetry: Right
|
||||
- type: BiologicalSurgeryData
|
||||
- type: Damageable
|
||||
damageContainer: biologicalDamageContainer
|
||||
resistances: defaultResistances
|
||||
# criticalThreshold: 30
|
||||
# deadThreshold: 60
|
||||
14
Resources/Prototypes/Body/Presets/slime.yml
Normal file
14
Resources/Prototypes/Body/Presets/slime.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- type: bodyPreset
|
||||
name: "slime"
|
||||
id: SlimePreset
|
||||
partIDs:
|
||||
head: HeadSlime
|
||||
torso: TorsoSlime
|
||||
right arm: RightArmSlime
|
||||
left arm: LeftArmSlime
|
||||
right hand: RightHandSlime
|
||||
left hand: LeftHandSlime
|
||||
right leg: RightLegSlime
|
||||
left leg: LeftLegSlime
|
||||
right foot: RightFootSlime
|
||||
left foot: LeftFootSlime
|
||||
Reference in New Issue
Block a user