Slime mobs breathe nitrogen and resprite their organs (#20577)
* Slimes breathe nitrogen and resprite their organs * ups * mmm
This commit is contained in:
56
Resources/Prototypes/Body/Organs/Animal/slimes.yml
Normal file
56
Resources/Prototypes/Body/Organs/Animal/slimes.yml
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
- type: entity
|
||||||
|
id: SentientSlimesCore
|
||||||
|
parent: [BaseItem, OrganHumanBrain]
|
||||||
|
name: sentient slimes core
|
||||||
|
description: "The source of incredible, unending gooeyness."
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Mobs/Species/Slime/organs.rsi
|
||||||
|
state: brain-slime
|
||||||
|
- type: Stomach
|
||||||
|
- type: Metabolizer
|
||||||
|
maxReagents: 3
|
||||||
|
metabolizerTypes: [ Slime ]
|
||||||
|
removeEmpty: true
|
||||||
|
groups:
|
||||||
|
- id: Food
|
||||||
|
- id: Drink
|
||||||
|
- id: Medicine
|
||||||
|
- id: Poison
|
||||||
|
- id: Narcotic
|
||||||
|
- id: Alcohol
|
||||||
|
rateModifier: 0.2
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
stomach:
|
||||||
|
maxVol: 30.0
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: OrganSlimesLungs
|
||||||
|
parent: BaseHumanOrgan
|
||||||
|
name: slimes gas sacs
|
||||||
|
description: "Collects nitrogen, which slime cells use for maintenance."
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Mobs/Species/Slime/organs.rsi
|
||||||
|
layers:
|
||||||
|
- state: lung-l-slime
|
||||||
|
- state: lung-r-slime
|
||||||
|
- type: Lung
|
||||||
|
- type: Metabolizer
|
||||||
|
removeEmpty: true
|
||||||
|
solutionOnBody: false
|
||||||
|
solution: "Lung"
|
||||||
|
metabolizerTypes: [ Slime ]
|
||||||
|
groups:
|
||||||
|
- id: Gas
|
||||||
|
rateModifier: 100.0
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
organ:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Nutriment
|
||||||
|
Quantity: 10
|
||||||
|
Lung:
|
||||||
|
maxVol: 100.0
|
||||||
|
canReact: false
|
||||||
@@ -4,6 +4,9 @@
|
|||||||
name: sentient slime core
|
name: sentient slime core
|
||||||
description: "The source of incredible, unending gooeyness."
|
description: "The source of incredible, unending gooeyness."
|
||||||
components:
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Mobs/Species/Slime/organs.rsi
|
||||||
|
state: brain-slime
|
||||||
- type: Stomach
|
- type: Stomach
|
||||||
- type: Metabolizer
|
- type: Metabolizer
|
||||||
maxReagents: 6
|
maxReagents: 6
|
||||||
@@ -35,9 +38,10 @@
|
|||||||
description: "Collects nitrogen, which slime cells use for maintenance."
|
description: "Collects nitrogen, which slime cells use for maintenance."
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
|
sprite: Mobs/Species/Slime/organs.rsi
|
||||||
layers:
|
layers:
|
||||||
- state: lung-l
|
- state: lung-l-slime
|
||||||
- state: lung-r
|
- state: lung-r-slime
|
||||||
- type: Lung
|
- type: Lung
|
||||||
- type: Metabolizer
|
- type: Metabolizer
|
||||||
removeEmpty: true
|
removeEmpty: true
|
||||||
|
|||||||
18
Resources/Prototypes/Body/Prototypes/Animal/slimes.yml
Normal file
18
Resources/Prototypes/Body/Prototypes/Animal/slimes.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
- type: body
|
||||||
|
id: Slimes
|
||||||
|
name: "slimes"
|
||||||
|
root: torso
|
||||||
|
slots:
|
||||||
|
torso:
|
||||||
|
part: TorsoSlime
|
||||||
|
connections:
|
||||||
|
- legs
|
||||||
|
organs:
|
||||||
|
core: SentientSlimesCore
|
||||||
|
lungs: OrganSlimesLungs
|
||||||
|
legs:
|
||||||
|
part: LegsAnimal
|
||||||
|
connections:
|
||||||
|
- feet
|
||||||
|
feet:
|
||||||
|
part: FeetAnimal
|
||||||
@@ -94,6 +94,9 @@
|
|||||||
type: Local
|
type: Local
|
||||||
messages: [ "slime-hurt-by-water-popup" ]
|
messages: [ "slime-hurt-by-water-popup" ]
|
||||||
probability: 0.25
|
probability: 0.25
|
||||||
|
- type: Body
|
||||||
|
prototype: Slimes
|
||||||
|
requiredLegs: 1
|
||||||
- type: CombatMode
|
- type: CombatMode
|
||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
hidden: true
|
hidden: true
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 228 B |
Binary file not shown.
|
After Width: | Height: | Size: 220 B |
BIN
Resources/Textures/Mobs/Species/Slime/organs.rsi/brain-slime.png
Normal file
BIN
Resources/Textures/Mobs/Species/Slime/organs.rsi/brain-slime.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 442 B |
Binary file not shown.
|
After Width: | Height: | Size: 271 B |
Binary file not shown.
|
After Width: | Height: | Size: 273 B |
28
Resources/Textures/Mobs/Species/Slime/organs.rsi/meta.json
Normal file
28
Resources/Textures/Mobs/Species/Slime/organs.rsi/meta.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Sprited by Nimfar11 (Github) for Space Station 14",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "brain-slime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "brain-inhand-left",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "brain-inhand-right",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lung-l-slime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lung-r-slime"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user