mirror of
https://github.com/mapbase-source/mapbase-game-src.git
synced 2025-02-23 03:51:17 +03:00
26 lines
861 B
Plaintext
26 lines
861 B
Plaintext
|
//============================================================================================================
|
||
|
//
|
||
|
// Concepts
|
||
|
criterion "ConceptTalkDie" "Concept" "TLK_DEATH" required
|
||
|
|
||
|
// Contexts
|
||
|
criterion "PainSoundsAllowed" "nopainsound" "<1" required
|
||
|
criterion "DeathSoundsAllowed" "nodeathsound" "<1" required
|
||
|
criterion "HasCustomDeathSound" "customdeathsound" "!=" required weight 1337
|
||
|
//============================================================================================================
|
||
|
|
||
|
response "CustomDeathSound"
|
||
|
{
|
||
|
speak "$customdeathsound"
|
||
|
}
|
||
|
|
||
|
rule "CustomDeathSound"
|
||
|
{
|
||
|
criteria ConceptTalkDie HasCustomDeathSound
|
||
|
response "CustomDeathSound"
|
||
|
}
|
||
|
|
||
|
//----------------------------------------------------------------------------
|
||
|
|
||
|
//============================================================================================================
|