Deathgasp + last words / succumbing / fake deathgasp as crit actions (#18993)

This commit is contained in:
Kara
2023-08-11 22:56:34 -07:00
committed by GitHub
parent eff36d2fe9
commit 7b51cebfea
20 changed files with 459 additions and 35 deletions

View File

@@ -0,0 +1,34 @@
# Actions added to mobs in crit.
- type: instantAction
id: CritSuccumb
name: action-name-crit-succumb
description: action-description-crit-succumb
itemIconStyle: NoItem
checkCanInteract: false
icon:
sprite: Mobs/Ghosts/ghost_human.rsi
state: icon
serverEvent: !type:CritSuccumbEvent
- type: instantAction
id: CritFakeDeath
name: action-name-crit-fake-death
description: action-description-crit-fake-death
itemIconStyle: NoItem
checkCanInteract: false
icon:
sprite: Interface/Actions/actions_crit.rsi
state: fakedeath
serverEvent: !type:CritFakeDeathEvent
useDelay: 30
- type: instantAction
id: CritLastWords
name: action-name-crit-last-words
description: action-description-crit-last-words
itemIconStyle: NoItem
checkCanInteract: false
icon:
sprite: Interface/Actions/actions_crit.rsi
state: lastwords
serverEvent: !type:CritLastWordsEvent

View File

@@ -933,6 +933,13 @@
layer:
- SmallMobLayer
- type: MobState
- type: Deathgasp
- type: MobStateActions
actions:
Critical:
- CritSuccumb
- CritFakeDeath
- CritLastWords
- type: MobThresholds
thresholds:
0: Alive
@@ -2233,6 +2240,13 @@
layer:
- SmallMobLayer
- type: MobState
- type: Deathgasp
- type: MobStateActions
actions:
Critical:
- CritSuccumb
- CritFakeDeath
- CritLastWords
- type: MobThresholds
thresholds:
0: Alive

View File

@@ -91,6 +91,13 @@
types:
Heat : 0.1 #per second, scales with temperature & other constants
- type: MobState
- type: Deathgasp
- type: MobStateActions
actions:
Critical:
- CritSuccumb
- CritFakeDeath
- CritLastWords
- type: MobThresholds
thresholds:
0: Alive

View File

@@ -72,6 +72,11 @@
layer:
- FlyingMobLayer
- type: MobState
- type: MobStateActions
actions:
Critical:
- CritSuccumb
- CritLastWords
- type: MobThresholds
thresholds:
0: Alive

View File

@@ -198,6 +198,13 @@
thermalRegulationTemperatureThreshold: 25
- type: Internals
- type: MobState
- type: Deathgasp
- type: MobStateActions
actions:
Critical:
- CritSuccumb
- CritFakeDeath
- CritLastWords
- type: MobThresholds
thresholds:
0: Alive

View File

@@ -124,7 +124,7 @@
- chittered
- chittered.
- chittered!
- type: emote
id: Squeak
category: Vocal
@@ -184,3 +184,8 @@
- salutes.
- salutes!
- type: emote
id: DefaultDeathgasp
chatMessages: ["emote-deathgasp"]
chatTriggers:
- deathgasp