Skip to content

Commit

Permalink
yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nixsilvam404 committed Jul 4, 2024
1 parent 250efd8 commit 78f5957
Show file tree
Hide file tree
Showing 9 changed files with 866 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Resources/Prototypes/ADT/Body/Organs/demon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- type: entity
id: OrganDemonStomach
parent: OrganAnimalStomach
noSpawn: true
components:
- type: Stomach
maxVol: 50

- type: entity
id: OrganDemonHeart
parent: OrganAnimalHeart
components:
- type: Metabolizer
maxReagents: 2
metabolizerTypes: [ Demon ]
groups:
- id: Medicine
- id: Poison
- id: Narcotic
193 changes: 193 additions & 0 deletions Resources/Prototypes/ADT/Body/Parts/demon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
# TODO: Add descriptions (many)
# TODO BODY: Part damage
- type: entity
id: PartDemon
parent: BaseItem
name: "demon body part"
abstract: true
components:
- type: Damageable
damageContainer: Biological
- type: BodyPart
- type: ContainerContainer
containers:
bodypart: !type:Container
ents: []
- type: Tag
tags:
- Trash

- type: entity
id: TorsoDemon
name: "demon torso"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "torso_m"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "torso_m"
- type: BodyPart
partType: Torso

- type: entity
id: HeadDemon
name: "demon head"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "head_m"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "head_m"
- type: BodyPart
partType: Head
vital: true
- type: Input
context: "ghost"
- type: MovementSpeedModifier
baseWalkSpeed: 0
baseSprintSpeed: 0
- type: InputMover
- type: GhostOnMove
- type: Tag
tags:
- Head

- type: entity
id: LeftArmDemon
name: "left demon arm"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "l_arm"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "l_arm"
- type: BodyPart
partType: Arm
symmetry: Left

- type: entity
id: RightArmDemon
name: "right demon arm"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "r_arm"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "r_arm"
- type: BodyPart
partType: Arm
symmetry: Right

- type: entity
id: LeftHandDemon
name: "left demon hand"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "l_hand"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "l_hand"
- type: BodyPart
partType: Hand
symmetry: Left

- type: entity
id: RightHandDemon
name: "right demon hand"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "r_hand"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "r_hand"
- type: BodyPart
partType: Hand
symmetry: Right

- type: entity
id: LeftLegDemon
name: "left demon leg"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "l_leg"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "l_leg"
- type: BodyPart
partType: Leg
symmetry: Left
- type: MovementBodyPart
walkSpeed : 2.5
sprintSpeed : 4.5

- type: entity
id: RightLegDemon
name: "right demon leg"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "r_leg"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "r_leg"
- type: BodyPart
partType: Leg
symmetry: Right
- type: MovementBodyPart
walkSpeed : 2.5
sprintSpeed : 4.5

- type: entity
id: LeftFootDemon
name: "left demon foot"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "l_foot"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "l_foot"
- type: BodyPart
partType: Foot
symmetry: Left

- type: entity
id: RightFootDemon
name: "right demon foot"
parent: PartDemon
components:
- type: Sprite
netsync: false
sprite: ADT/Mobs/Demon/parts.rsi
state: "r_foot"
- type: Icon
sprite: ADT/Mobs/Demon/parts.rsi
state: "r_foot"
- type: BodyPart
partType: Foot
symmetry: Right
49 changes: 49 additions & 0 deletions Resources/Prototypes/ADT/Body/Prototypes/demon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
- type: body
name: "demon"
id: Demon
root: torso
slots:
head:
part: HeadDemon
connections:
- torso
organs:
brain: OrganHumanBrain
eyes: OrganHumanEyes
torso:
part: TorsoDemon
organs:
heart: OrganDemonHeart
lungs: OrganHumanLungs
stomach: OrganDemonStomach
liver: OrganAnimalLiver
kidneys: OrganHumanKidneys
connections:
- left arm
- right arm
- left leg
- right leg
right arm:
part: RightArmDemon
connections:
- right hand
left arm:
part: LeftArmDemon
connections:
- left hand
right hand:
part: RightHandDemon
left hand:
part: LeftHandDemon
right leg:
part: RightLegDemon
connections:
- right foot
left leg:
part: LeftLegDemon
connections:
- left foot
right foot:
part: RightFootDemon
left foot:
part: LeftFootDemon
Loading

0 comments on commit 78f5957

Please sign in to comment.