Skip to content

Commit

Permalink
Organs and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxoTrystan committed Sep 25, 2024
1 parent b1b2a54 commit f90ec24
Show file tree
Hide file tree
Showing 37 changed files with 249 additions and 29 deletions.
110 changes: 110 additions & 0 deletions Resources/Prototypes/Body/Organs/shadowkin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
- type: entity
id: OrganShadowkinBrain
parent: OrganHumanBrain
components:
- type: Sprite
sprite: Mobs/Species/Shadowkin/organs.rsi
state: brain

- type: entity
id: OrganShadowkinEyes
parent: OrganHumanEyes
description: I see beyond anything you ever will!
components:
- type: Sprite
sprite: Mobs/Species/Shadowkin/organs.rsi
state: eyes

- type: entity
id: OrganShadowkinEars
parent: OrganHumanEars
description: Hey, listen!
components:
- type: Sprite
sprite: Mobs/Species/Shadowkin/organs.rsi
state: ears

- type: entity
id: OrganShadowkinTongue
parent: OrganHumanTongue
components:
- type: Sprite
sprite: Mobs/Species/Shadowkin/organs.rsi
state: tongue


- type: entity
id: OrganShadowkinAppendix
parent: OrganHumanAppendix
components:
- type: Sprite
sprite: Mobs/Species/Shadowkin/organs.rsi
state: appendix


- type: entity
id: OrganShadowkinHeart
parent: OrganHumanHeart
components:
- type: Sprite
sprite: Mobs/Species/Shadowkin/organs.rsi
state: heart
- type: Metabolizer
maxReagents: 2
metabolizerTypes: [Shadowkin]
groups:
- id: Medicine
- id: Poison
- id: Narcotic

- type: entity
id: OrganShadowkinStomach
parent: OrganHumanStomach
description: '"Yummy!", says the stomach, although you are unable to hear it.'
components:
- type: Sprite
sprite: Mobs/Species/Shadowkin/organs.rsi
state: stomach
- type: SolutionContainerManager
solutions:
stomach:
maxVol: 40
food:
maxVol: 5
reagents:
- ReagentId: UncookedAnimalProteins
Quantity: 5
- type: Metabolizer
maxReagents: 3
metabolizerTypes: [Shadowkin]
groups:
- id: Food
- id: Drink

- type: entity
id: OrganShadowkinLiver
parent: OrganHumanLiver
description: "Live 'er? I hardly know 'er!"
components:
- type: Sprite
sprite: Mobs/Species/Shadowkin/organs.rsi
state: liver
- type: Metabolizer
maxReagents: 1
metabolizerTypes: [Shadowkin]
groups:
- id: Alcohol
rateModifier: 0.1

- type: entity
id: OrganShadowkinKidneys
parent: OrganHumanKidneys
description: Give the kid their knees back, please, this is the third time this week.
components:
- type: Sprite
sprite: Mobs/Species/Shadowkin/organs.rsi
state: kidneys
- type: Metabolizer
maxReagents: 5
metabolizerTypes: [Shadowkin]
removeEmpty: true
4 changes: 2 additions & 2 deletions Resources/Prototypes/Body/Parts/shadowkin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
- type: Icon
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
- type: Damageable
damageContainer: Biological
- type: BodyPart
Expand Down
15 changes: 7 additions & 8 deletions Resources/Prototypes/Body/Prototypes/shadowkin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,20 @@
connections:
- torso
organs:
brain: OrganHumanBrain
eyes: OrganHumanEyes
brain: OrganShadowkinBrain
eyes: OrganShadowkinEyes
torso:
part: TorsoShadowkin
connections:
- left arm
- right arm
- left leg
- right leg
organs: # placeholders
heart: OrganHumanHeart
# lungs: OrganLungs
stomach: OrganHumanStomach
liver: OrganHumanLiver
kidneys: OrganHumanKidneys
organs:
heart: OrganShadowkinHeart
stomach: OrganShadowkinStomach
liver: OrganShadowkinLiver
kidneys: OrganShadowkinKidneys
right arm:
part: RightArmShadowkin
connections:
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/Chemistry/metabolizer_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@
- type: metabolizerType
id: LiquorLifeline
name: liquorlifeline

- type: metabolizerType
id: Shadowkin
name: shadowkin
57 changes: 55 additions & 2 deletions Resources/Prototypes/Entities/Mobs/Species/shadowkin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- type: HumanoidAppearance
species: Shadowkin
- type: Icon
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: full
- type: Body
prototype: Shadowkin
Expand Down Expand Up @@ -65,7 +65,59 @@
layer:
- MobLayer
- type: Sprite
netsync: false
noRot: true
drawdepth: Mobs
scale: 0.85, 0.85
layers:
- map: ["enum.HumanoidVisualLayers.Chest"]
- map: ["enum.HumanoidVisualLayers.Head"]
- map: ["enum.HumanoidVisualLayers.Snout"]
- map: ["enum.HumanoidVisualLayers.Eyes"]
shader: unshaded
- map: ["enum.HumanoidVisualLayers.RArm"]
- map: ["enum.HumanoidVisualLayers.LArm"]
- map: ["enum.HumanoidVisualLayers.RLeg"]
- map: ["enum.HumanoidVisualLayers.LLeg"]
- shader: StencilClear
sprite: Mobs/Species/Human/parts.rsi
state: l_leg
- shader: StencilMask
map: ["enum.HumanoidVisualLayers.StencilMask"]
sprite: Mobs/Customization/masking_helpers.rsi
state: full
visible: false
- map: ["enum.HumanoidVisualLayers.LFoot"]
- map: ["enum.HumanoidVisualLayers.RFoot"]
- map: ["socks"]
- map: ["underpants"]
- map: ["undershirt"]
- map: ["jumpsuit"]
- map: ["enum.HumanoidVisualLayers.LHand"]
- map: ["enum.HumanoidVisualLayers.RHand"]
- map: ["enum.HumanoidVisualLayers.Handcuffs"]
color: "#ffffff"
sprite: Objects/Misc/handcuffs.rsi
state: body-overlay-2
visible: false
- map: ["id"]
- map: ["gloves"]
- map: ["shoes"]
- map: ["ears"]
- map: ["outerClothing"]
- map: ["eyes"]
- map: ["belt"]
- map: ["neck"]
- map: ["back"]
- map: ["enum.HumanoidVisualLayers.FacialHair"]
- map: ["enum.HumanoidVisualLayers.Hair"]
- map: ["enum.HumanoidVisualLayers.HeadSide"]
- map: ["enum.HumanoidVisualLayers.HeadTop"]
- map: ["mask"]
- map: ["head"]
- map: ["pocket1"]
- map: ["pocket2"]
- map: ["enum.HumanoidVisualLayers.Tail"]
- type: MeleeWeapon
soundHit:
collection: AlienClaw
Expand Down Expand Up @@ -105,7 +157,7 @@
components:
- type: HumanoidAppearance
species: Shadowkin
- type: Sprite # sprite again because we want different layer ordering
- type: Sprite
netsync: false
noRot: true
drawdepth: Mobs
Expand All @@ -115,6 +167,7 @@
- map: ["enum.HumanoidVisualLayers.Head"]
- map: ["enum.HumanoidVisualLayers.Snout"]
- map: ["enum.HumanoidVisualLayers.Eyes"]
shader: unshaded
- map: ["enum.HumanoidVisualLayers.RArm"]
- map: ["enum.HumanoidVisualLayers.LArm"]
- map: ["enum.HumanoidVisualLayers.RLeg"]
Expand Down
6 changes: 6 additions & 0 deletions Resources/Prototypes/Reagents/toxins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,12 @@
shouldHave: true
reagent: Protein
amount: 0.5
- !type:AdjustReagent
conditions:
- !type:OrganType
type: Shadowkin
reagent: Protein
amount: 0.5

- type: reagent
id: Allicin
Expand Down
30 changes: 15 additions & 15 deletions Resources/Prototypes/Species/shadowkin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,89 +91,89 @@
- type: humanoidBaseSprite
id: MobShadowkinHead
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: head_m

- type: humanoidBaseSprite
id: MobShadowkinHeadMale
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: head_m

- type: humanoidBaseSprite
id: MobShadowkinHeadFemale
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: head_f

- type: humanoidBaseSprite
id: MobShadowkinTorso
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: torso_m

- type: humanoidBaseSprite
id: MobShadowkinTorsoMale
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: torso_m

- type: humanoidBaseSprite
id: MobShadowkinTorsoFemale
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: torso_f

- type: humanoidBaseSprite
id: MobShadowkinLLeg
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: l_leg

- type: humanoidBaseSprite
id: MobShadowkinLHand
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: l_hand

- type: humanoidBaseSprite
id: MobShadowkinEyes
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: eyes

- type: humanoidBaseSprite
id: MobShadowkinLArm
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: l_arm

- type: humanoidBaseSprite
id: MobShadowkinLFoot
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: l_foot

- type: humanoidBaseSprite
id: MobShadowkinRLeg
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: r_leg

- type: humanoidBaseSprite
id: MobShadowkinRHand
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: r_hand

- type: humanoidBaseSprite
id: MobShadowkinRArm
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: r_arm

- type: humanoidBaseSprite
id: MobShadowkinRFoot
baseSprite:
sprite: Mobs/Species/shadowkin.rsi
sprite: Mobs/Species/shadowkin/parts.rsi
state: r_foot
2 changes: 1 addition & 1 deletion Resources/ServerInfo/Guidebook/Mobs/shadowkin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Fluffy lil' guys.
- Can travel to and from The Dark at will
- Dims nearby lights when in the The Dark
- When too low on energy, they may fall into a powerful sleep
- Can "speak" in the Empathy chat (~), which only other Shadowkin can understand
- Can "speak" in the Empathy, which only other Shadowkin can understand
- Slightly less blunt damage
- A bit more slash damage
- Slightly more piercing damage
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f90ec24

Please sign in to comment.