This commit is contained in:
Nim
2024-10-06 17:12:31 +03:00
committed by GitHub
parent 98c921aa94
commit a6532a2801
3 changed files with 107 additions and 15 deletions

View File

@@ -0,0 +1,95 @@
- type: entity
id: CP14TorsoZombie
parent: CP14TorsoHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
state: torso
- type: entity
id: CP14HeadZombie
parent: CP14HeadHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
state: head
- type: entity
id: CP14LeftArmZombie
parent: CP14LeftArmHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
- type: entity
id: CP14RightArmZombie
parent: CP14RightArmHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
- type: entity
id: CP14LeftHandZombie
parent: CP14LeftHandHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
- type: entity
id: CP14RightHandZombie
parent: CP14RightHandHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
- type: entity
id: CP14LeftLegZombie
name: "left zombie leg"
parent: CP14LeftLegHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
state: "l_leg"
- type: Icon
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
state: "l_leg"
- type: BodyPart
partType: Leg
symmetry: Left
- type: MovementBodyPart
walkSpeed: 3
sprintSpeed: 3
acceleration: 10
- type: entity
id: CP14RightLegZombie
name: "right zombie leg"
parent: CP14RightLegHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
state: "r_leg"
- type: Icon
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
state: "r_leg"
- type: BodyPart
partType: Leg
symmetry: Right
- type: MovementBodyPart
walkSpeed: 3
sprintSpeed: 3
acceleration: 10
- type: entity
id: CP14LeftFootZombie
parent: CP14LeftFootHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi
- type: entity
id: CP14RightFootZombie
parent: CP14RightFootHuman
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Zombie/parts.rsi

View File

@@ -4,7 +4,7 @@
root: torso
slots:
head:
part: CP14HeadHuman
part: CP14HeadZombie
connections:
- torso
organs:
@@ -24,26 +24,26 @@
liver: OrganHumanLiver
kidneys: OrganHumanKidneys
right_arm:
part: CP14RightArmHuman
part: CP14RightArmZombie
connections:
- right_hand
left_arm:
part: CP14LeftArmHuman
part: CP14LeftArmZombie
connections:
- left_hand
right_hand:
part: CP14RightHandHuman
part: CP14RightHandZombie
left_hand:
part: CP14LeftHandHuman
part: CP14LeftHandZombie
right_leg:
part: CP14RightLegHuman
part: CP14RightLegZombie
connections:
- right_foot
left_leg:
part: CP14LeftLegHuman
part: CP14LeftLegZombie
connections:
- left_foot
right_foot:
part: CP14RightFootHuman
part: CP14RightFootZombie
left_foot:
part: CP14LeftFootHuman
part: CP14LeftFootZombie

View File

@@ -20,9 +20,6 @@
- type: Body
prototype: CP14Zombie
requiredLegs: 2
- type: MovementSpeedModifier
baseWalkSpeed: 2
baseSprintSpeed: 2.5
- type: MobState
allowedStates:
- Alive
@@ -30,11 +27,11 @@
- type: MobThresholds
thresholds:
0: Alive
150: Dead
140: Dead
- type: SlowOnDamage
speedModifierThresholds:
80: 0.8
120: 0.4
110: 0.4
- type: StatusEffects
allowed:
- KnockedDown
@@ -63,7 +60,7 @@
- type: PassiveDamage
allowedStates:
- Alive
damageCap: 140
damageCap: 130
damage:
groups:
Brute: -0.3