Slime mobs breathe nitrogen and resprite their organs (#20577)

* Slimes breathe nitrogen and resprite their organs

* ups

* mmm
This commit is contained in:
Nim
2023-10-01 17:34:29 +03:00
committed by GitHub
parent 0149814bd5
commit 9c42fa6798
10 changed files with 111 additions and 2 deletions

View 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

View File

@@ -4,6 +4,9 @@
name: sentient slime 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: 6
@@ -35,9 +38,10 @@
description: "Collects nitrogen, which slime cells use for maintenance."
components:
- type: Sprite
sprite: Mobs/Species/Slime/organs.rsi
layers:
- state: lung-l
- state: lung-r
- state: lung-l-slime
- state: lung-r-slime
- type: Lung
- type: Metabolizer
removeEmpty: true

View 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

View File

@@ -94,6 +94,9 @@
type: Local
messages: [ "slime-hurt-by-water-popup" ]
probability: 0.25
- type: Body
prototype: Slimes
requiredLegs: 1
- type: CombatMode
- type: MeleeWeapon
hidden: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

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

View 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"
}
]
}