Space Sharkminnow (#20658)

* sharkminnow

* fix

* salvage
This commit is contained in:
Nim
2023-11-13 02:42:48 +02:00
committed by GitHub
parent ed84aa11eb
commit 9bbdbb9212
14 changed files with 222 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ ghost-role-information-salvage-carp-description = Defend the loot inside the sal
ghost-role-information-sentient-carp-name = Sentient Carp
ghost-role-information-sentient-carp-description = Help the dragon flood the station with carps!
ghost-role-information-salvage-shark-name = Space sharkminnow on salvage wreck
ghost-role-information-salvage-shark-description = Help the younger fellow carp protect their prey. Smell the blood!
ghost-role-information-willow-name = Willow the kangaroo
ghost-role-information-willow-description = You're a kangaroo named willow! willow likes to box.

View File

@@ -0,0 +1,26 @@
- type: entity
id: OrganBloodsuckerStomach
parent: OrganAnimalStomach
name: stomach
noSpawn: true
components:
- type: Metabolizer
metabolizerTypes: [ Bloodsucker ]
- type: entity
id: OrganBloodsuckerLiver
parent: OrganAnimalLiver
name: liver
noSpawn: true
components:
- type: Metabolizer
metabolizerTypes: [ Bloodsucker ]
- type: entity
id: OrganBloodsuckerHeart
parent: OrganAnimalHeart
name: heart
noSpawn: true
components:
- type: Metabolizer
metabolizerTypes: [ Bloodsucker ]

View File

@@ -0,0 +1,21 @@
- type: body
id: Bloodsucker
name: "bloodsucker"
root: torso
slots:
torso:
part: TorsoAnimal
connections:
- legs
organs:
lungs: OrganAnimalLungs
stomach: OrganBloodsuckerStomach
liver: OrganBloodsuckerLiver
heart: OrganBloodsuckerHeart
kidneys: OrganAnimalKidneys
legs:
part: LegsAnimal
connections:
- feet
feet:
part: FeetAnimal

View File

@@ -5,6 +5,10 @@
id: Animal
name: animal
- type: metabolizerType
id: Bloodsucker
name: bloodsucker
- type: metabolizerType
id: Dragon
name: dragon

View File

@@ -147,6 +147,9 @@
- sprite: Mobs/Aliens/Carps/space.rsi
state: icon
- type: RandomSpawner
rarePrototypes:
- MobSharkSalvage
rareChance: 0.2
prototypes:
- MobCarpSalvage
- MobCarpSalvage
@@ -196,6 +199,9 @@
suffix: 75
components:
- type: RandomSpawner
rarePrototypes:
- MobSharkSalvage
rareChance: 0.2
prototypes:
- MobCarpSalvage
- MobCarpSalvage

View File

@@ -322,6 +322,20 @@
prototypes:
- MobCarpHolo
- type: entity
name: Space Sharkminnow Spawner
id: SpawnMobShark
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: icon
sprite: Mobs/Aliens/Carps/sharkminnow.rsi
- type: ConditionalSpawner
prototypes:
- MobShark
- type: entity
name: Hamster Hamlet Spawner
id: SpawnMobHamsterHamlet

View File

@@ -191,3 +191,69 @@
damage:
types:
Slash: 6
- type: entity
name: sharkminnow
parent: BaseMobCarp
id: MobShark
description: A dangerous shark from the blackness of endless space, who loves to drink blood.
components:
- type: Sprite
sprite: Mobs/Aliens/Carps/sharkminnow.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: mouth
shader: unshaded
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.40
density: 100
mask:
- FlyingMobMask
layer:
- FlyingMobLayer
- type: MobThresholds
thresholds:
0: Alive
180: Dead
- type: Stamina
critThreshold: 150
- type: DamageStateVisuals
states:
Alive:
Base: alive
BaseUnshaded: mouth
Dead:
Base: dead
BaseUnshaded: dead_mouth
- type: Body
prototype: Bloodsucker
requiredLegs: 1
- type: Butcherable
spawned:
- id: FoodMeatFish
amount: 4
- type: MeleeWeapon
damage:
types:
Slash: 12
Bloodloss: 5
- type: entity
id: MobSharkSalvage
parent: MobShark
suffix: "Salvage Ruleset"
components:
- type: GhostRole
prob: 0.2
name: ghost-role-information-salvage-shark-name
allowMovement: true
allowSpeech: true
description: ghost-role-information-salvage-shark-description
- type: GhostTakeoverAvailable
- type: SalvageMobRestrictions

View File

@@ -22,6 +22,16 @@
- !type:AdjustReagent
reagent: UncookedAnimalProteins
amount: 0.5
Medicine:
effects:
- !type:HealthChange
conditions:
- !type:OrganType
type: Bloodsucker
damage:
groups:
Brute: -4
Burn: -2
plantMetabolism:
- !type:PlantAdjustWater
amount: 0.5

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,72 @@
{
"version": 1,
"size": {
"x": 48,
"y": 48
},
"license": "CC-BY-SA-3.0",
"copyright": "Sprited by Nimfar11 (Github) for Space Station 14",
"states": [
{
"name": "icon"
},
{
"name": "mouth",
"directions": 4,
"delays": [
[
0.3,
0.3,
0.3
],
[
0.3,
0.3,
0.3
],
[
0.3,
0.3,
0.3
],
[
0.3,
0.3,
0.3
]
]
},
{
"name": "dead_mouth"
},
{
"name": "dead"
},
{
"name": "alive",
"directions": 4,
"delays": [
[
0.3,
0.3,
0.3
],
[
0.3,
0.3,
0.3
],
[
0.3,
0.3,
0.3
],
[
0.3,
0.3,
0.3
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B