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

@@ -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