Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Insectoid Species #25

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
25 changes: 25 additions & 0 deletions Resources/Prototypes/Body/Organs/insectoid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- type: entity
id: OrganInsectoidStomach
parent: [OrganAnimalStomach, OrganHumanStomach]
categories: [ HideSpawnMenu ]
components:
- type: Stomach
specialDigestible:
tags:
- ClothMade
- Paper
- Fruit
- ReptilianFood
- Meat
- Pill
- Crayon
- Paper
- type: SolutionContainerManager
solutions:
stomach:
maxVol: 50
food:
maxVol: 5
reagents:
- ReagentId: UncookedAnimalProteins
Quantity: 5
120 changes: 120 additions & 0 deletions Resources/Prototypes/Body/Parts/insectoid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# TODO: Add descriptions (many)
# TODO BODY: Part damage
- type: entity
id: PartInsectoid
parent: [BaseItem, BasePart]
name: "insectoid body part"
abstract: true
components:
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Fat
Quantity: 3
- ReagentId: Blood
Quantity: 10

- type: entity
id: TorsoInsectoid
name: "insectoid torso"
parent: [PartInsectoid, BaseTorso]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "torso_m"
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Fat
Quantity: 10
- ReagentId: Blood
Quantity: 20


- type: entity
id: HeadInsectoid
name: "insectoid head"
parent: [PartInsectoid, BaseHead]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "head_m"
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Fat
Quantity: 5
- ReagentId: Blood
Quantity: 10

- type: entity
id: LeftArmInsectoid
name: "left insectoid arm"
parent: [PartInsectoid, BaseLeftArm]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "l_arm"

- type: entity
id: RightArmInsectoid
name: "right insectoid arm"
parent: [PartInsectoid, BaseRightArm]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "r_arm"

- type: entity
id: LeftHandInsectoid
name: "left insectoid hand"
parent: [PartInsectoid, BaseLeftHand]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "l_hand"

- type: entity
id: RightHandInsectoid
name: "right insectoid hand"
parent: [PartInsectoid, BaseRightHand]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "r_hand"

- type: entity
id: LeftLegInsectoid
name: "left insectoid leg"
parent: [PartInsectoid, BaseLeftLeg]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "l_leg"

- type: entity
id: RightLegInsectoid
name: "right insectoid leg"
parent: [PartInsectoid, BaseRightLeg]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "r_leg"

- type: entity
id: LeftFootInsectoid
name: "left insectoid foot"
parent: [PartInsectoid, BaseLeftFoot]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "l_foot"

- type: entity
id: RightFootInsectoid
name: "right insectoid foot"
parent: [PartInsectoid, BaseRightFoot]
components:
- type: Sprite
sprite: Mobs/Species/Insectoid/parts.rsi
state: "r_foot"
49 changes: 49 additions & 0 deletions Resources/Prototypes/Body/Prototypes/insectoid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
- type: body
id: Insectoid
name: "insectoid"
root: torso
slots:
head:
part: HeadInsectoid
connections:
- torso
organs:
brain: OrganHumanBrain
eyes: OrganHumanEyes # ToDo night vision for bugs
torso:
part: TorsoInsectoid
organs:
heart: OrganAnimalHeart
lungs: OrganHumanLungs
stomach: OrganInsectoidStomach
liver: OrganAnimalLiver
kidneys: OrganHumanKidneys
connections:
- right arm
- left arm
- right leg
- left leg
right arm:
part: RightArmInsectoid
connections:
- right hand
left arm:
part: LeftArmInsectoid
connections:
- left hand
right hand:
part: RightHandInsectoid
left hand:
part: LeftHandInsectoid
right leg:
part: RightLegInsectoid
connections:
- right foot
left leg:
part: LeftLegInsectoid
connections:
- left foot
right foot:
part: RightFootInsectoid
left foot:
part: LeftFootInsectoid
13 changes: 13 additions & 0 deletions Resources/Prototypes/Damage/modifier_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,19 @@
Radiation: 0.0 # hehe funny cockroach immune to rads
Caustic: 1.0

- type: damageModifierSet
id: Insectoid
coefficients:
Blunt: 1.0
Slash: 1.0
Piercing: 1.0
Heat: 0.9 # Per /vg/13 bugs
Cold: 1.5 # My unasked for balance tweak
Poison: 0.5 # Per /vg/13 bugs
Cellular: 1.0
Radiation: 0.5 # Per /vg/13 bugs
Caustic: 1.0

# Massive heat damage, presumably to kill with lasers
- type: damageModifierSet
id: LivingLight
Expand Down
Loading
Loading