Skip to content

Commit

Permalink
adds glowing ghouls (local won't launch)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peptide90 committed Nov 18, 2023
1 parent 19b1783 commit e2b89b6
Show file tree
Hide file tree
Showing 7 changed files with 665 additions and 0 deletions.
188 changes: 188 additions & 0 deletions Resources/Prototypes/Nuclear14/Body/Organs/ghoulglowing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
- type: entity
id: N14BaseGhoulGlowingOrgan
parent: N14BaseGhoulOrgan
abstract: true
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/Human/organs.rsi
- type: Organ
- type: Food
- type: Extractable
grindableSolutionName: organ
- type: SolutionContainerManager
solutions:
organ:
reagents:
- ReagentId: Nutriment
Quantity: 10

- type: entity
id: N14OrganGhoulGlowingBrain
parent: N14BaseGhoulGlowingOrgan
name: brain
description: "The source of incredible, unending intelligence. Honk."
components:
- type: Sprite
state: brain
- type: Organ
- type: Input
context: "ghost"
- type: InputMover
- type: MovementSpeedModifier
baseWalkSpeed: 0
baseSprintSpeed: 0
- type: GhostOnMove
- type: Brain

- type: entity
id: N14OrganGhoulGlowingEyes
parent: N14BaseGhoulGlowingOrgan
name: eyes
description: "I see you!"
components:
- type: Sprite
layers:
- state: eyeball-l
- state: eyeball-r
- type: Organ

- type: entity
id: N14OrganGhoulGlowingTongue
parent: N14BaseGhoulGlowingOrgan
name: tongue
description: "A fleshy muscle mostly used for lying."
components:
- type: Sprite
state: tongue
- type: Organ

- type: entity
id: N14OrganGhoulGlowingAppendix
parent: N14BaseGhoulGlowingOrgan
name: appendix
components:
- type: Sprite
layers:
- state: appendix
- state: appendix-inflamed
visible: false
- type: Organ

- type: entity
id: N14OrganGhoulGlowingEars
parent: N14BaseGhoulGlowingOrgan
name: ears
description: "There are three parts to the ear. Inner, middle and outer. Only one of these parts should normally be visible."
components:
- type: Sprite
state: ears
- type: Organ

- type: entity
id: N14OrganGhoulGlowingLungs
parent: N14BaseGhoulGlowingOrgan
name: lungs
description: "Filters oxygen from an atmosphere, which is then sent into the bloodstream to be used as an electron carrier."
components:
- type: Sprite
layers:
- state: lung-l
- state: lung-r
- type: Organ
- type: Lung
- type: Metabolizer
removeEmpty: true
solutionOnBody: false
solution: "Lung"
metabolizerTypes: [ Human ]
groups:
- id: Gas
rateModifier: 100.0
- type: SolutionContainerManager
solutions:
organ:
reagents:
- ReagentId: Nutriment
Quantity: 10
Lung:
maxVol: 100.0
canReact: false

- type: entity
id: N14OrganGhoulGlowingHeart
parent: N14BaseGhoulGlowingOrgan
name: heart
description: "I feel bad for the heartless bastard who lost this."
components:
- type: Sprite
state: heart-on
- type: Organ
# The heart 'metabolizes' medicines and poisons that aren't filtered out by other organs.
# This is done because these chemicals need to have some effect even if they aren't being filtered out of your body.
# You're technically 'immune to poison' without a heart, but.. uhh, you'll have bigger problems on your hands.
- type: Metabolizer
maxReagents: 2
metabolizerTypes: [Human]
groups:
- id: Medicine
- id: Poison
- id: Narcotic

- type: entity
id: N14OrganGhoulGlowingStomach
parent: N14BaseGhoulGlowingOrgan
name: stomach
description: "Gross. This is hard to stomach."
components:
- type: Sprite
state: stomach
- type: Organ
- type: SolutionContainerManager
solutions:
stomach:
maxVol: 50
- type: Stomach
# The stomach metabolizes stuff like foods and drinks.
# TODO: Have it work off of the ent's solution container, and move this
# to intestines instead.
- type: Metabolizer
# mm yummy
maxReagents: 3
metabolizerTypes: [Human]
groups:
- id: Food
- id: Drink

- type: entity
id: N14OrganGhoulGlowingLiver
parent: N14BaseGhoulGlowingOrgan
name: liver
description: "Pairing suggestion: chianti and fava beans."
components:
- type: Sprite
state: liver
- type: Organ
- type: Metabolizer # The liver metabolizes certain chemicals only, like alcohol.
maxReagents: 1
metabolizerTypes: [Human]
groups:
- id: Alcohol
rateModifier: 0.1 # removes alcohol very slowly along with the stomach removing it as a drink

- type: entity
id: N14OrganGhoulGlowingKidneys
parent: N14BaseGhoulGlowingOrgan
name: kidneys
description: "Filters toxins from the bloodstream."
components:
- type: Sprite
layers:
- state: kidney-l
- state: kidney-r
- type: Organ
# The kidneys just remove anything that doesn't currently have any metabolisms, as a stopgap.
- type: Metabolizer
maxReagents: 5
metabolizerTypes: [Human]
removeEmpty: true
188 changes: 188 additions & 0 deletions Resources/Prototypes/Nuclear14/Body/Parts/ghoulglowing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
# TODO: Add descriptions (many)
# TODO BODY: Part damage
- type: entity
id: N14PartGhoulGlowing
parent: N14PartGhoul
name: ghoul body part
abstract: true
components:
- type: Damageable
damageContainer: Biological
- type: BodyPart
- type: ContainerContainer
containers:
bodypart: !type:Container
ents: []
- type: StaticPrice
price: 100

- type: entity
id: N14TorsoGhoulGlowing
name: ghoul torso
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "torso_m"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "torso_m"
- type: BodyPart
partType: Torso

- type: entity
id: N14HeadGhoulGlowing
name: ghoul head
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "head_m"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/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: N14LeftArmGhoulGlowing
name: left ghoul arm
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "l_arm"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "l_arm"
- type: BodyPart
partType: Arm
symmetry: Left

- type: entity
id: N14RightArmGhoulGlowing
name: right ghoul arm
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "r_arm"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "r_arm"
- type: BodyPart
partType: Arm
symmetry: Right

- type: entity
id: N14LeftHandGhoulGlowing
name: left ghoul hand
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "l_hand"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "l_hand"
- type: BodyPart
partType: Hand
symmetry: Left

- type: entity
id: N14RightHandGhoulGlowing
name: right ghoul hand
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "r_hand"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "r_hand"
- type: BodyPart
partType: Hand
symmetry: Right

- type: entity
id: N14LeftLegGhoulGlowing
name: left ghoul leg
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "l_leg"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "l_leg"
- type: BodyPart
partType: Leg
symmetry: Left
- type: MovementSpeedModifier

- type: entity
id: N14RightLegGhoulGlowing
name: right ghoul leg
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "r_leg"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "r_leg"
- type: BodyPart
partType: Leg
symmetry: Right
- type: MovementSpeedModifier

- type: entity
id: N14LeftFootGhoulGlowing
name: left ghoul foot
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "l_foot"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "l_foot"
- type: BodyPart
partType: Foot
symmetry: Left

- type: entity
id: N14RightFootGhoulGlowing
name: right ghoul foot
parent: N14PartGhoulGlowing
components:
- type: Sprite
netsync: false
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "r_foot"
- type: Icon
sprite: Nuclear14/Mobs/Species/GhoulGlowing/parts.rsi
state: "r_foot"
- type: BodyPart
partType: Foot
symmetry: Right
Loading

0 comments on commit e2b89b6

Please sign in to comment.