Больше приколов креатуре (#164)

This commit is contained in:
BIGZi0348
2024-11-08 20:55:38 +03:00
committed by GitHub
parent 6695651e92
commit 0f35e94fa2
5 changed files with 38 additions and 12 deletions

View File

@@ -1,27 +1,24 @@
- type: entity - type: entity
name: нечто ужасное name: нечто ужасное
parent: [ SimpleMobBase, MobCombat ] parent: [ SimpleMobBase, MobCombat, MobFlammable ]
id: MobLaCreatura id: MobLaCreatura
description: Отвратительный кошмар. description: Отвратительный кошмар.
suffix: Admeme suffix: Admeme
components: components:
- type: InputMover - type: InputMover
- type: TimedDespawn
lifetime: 10
- type: CombatMode - type: CombatMode
- type: Sprite - type: Sprite
drawdepth: Mobs
sprite: _Honk/Mobs/la_creatura.rsi sprite: _Honk/Mobs/la_creatura.rsi
layers: layers:
- map: ["enum.DamageStateVisualLayers.Base", "movement"] - map: ["enum.DamageStateVisualLayers.Base", "movement"]
state: abomination state: abomination-moving
- type: SpriteMovement - type: SpriteMovement # It's useless, unless moved by player
movementLayers: movementLayers:
movement: movement:
state: abomination state: abomination-moving
noMovementLayers: noMovementLayers:
movement: movement:
state: abomination state: abomination-moving
- type: NpcFactionMember - type: NpcFactionMember
factions: factions:
- SimpleHostile - SimpleHostile
@@ -51,7 +48,7 @@
- type: MobThresholds - type: MobThresholds
thresholds: thresholds:
0: Alive 0: Alive
10000: Dead 100: Dead
- type: Stamina - type: Stamina
critThreshold: 100 critThreshold: 100
- type: MovementSpeedModifier - type: MovementSpeedModifier
@@ -63,9 +60,6 @@
- type: Bloodstream - type: Bloodstream
bloodMaxVolume: 100 bloodMaxVolume: 100
- type: NonSpreaderZombie - type: NonSpreaderZombie
- type: FireVisuals
sprite: Mobs/Effects/onfire.rsi
normalState: Mouse_burning
- type: Tool - type: Tool
speed: 2 speed: 2
qualities: qualities:
@@ -91,3 +85,31 @@
volume: 20 volume: 20
sound: sound:
path: /Audio/_Honk/la_creatura/scary.ogg path: /Audio/_Honk/la_creatura/scary.ogg
- type: TriggerOnMobstateChange
mobState:
- Dead
- type: DeleteOnTrigger
- type: entity
id: MobLaCreatura5
parent: MobLaCreatura
suffix: Admeme 5
components:
- type: TimedDespawn
lifetime: 5
- type: entity
id: MobLaCreatura10
parent: MobLaCreatura
suffix: Admeme 10
components:
- type: TimedDespawn
lifetime: 10
- type: entity
id: MobLaCreatura30
parent: MobLaCreatura
suffix: Admeme 30
components:
- type: TimedDespawn
lifetime: 30

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -9,6 +9,10 @@
"states": [ "states": [
{ {
"name": "abomination", "name": "abomination",
"directions": 4
},
{
"name": "abomination-moving",
"directions": 4, "directions": 4,
"delays": [ "delays": [
[ [