Refactor magic speak system to be a component added to actions (#36328)
This commit is contained in:
@@ -74,5 +74,3 @@
|
||||
- BlockMovement
|
||||
- Item
|
||||
- MeleeRequiresWield
|
||||
speech: action-speech-spell-animate
|
||||
doSpeech: false
|
||||
|
||||
@@ -158,7 +158,8 @@
|
||||
orGroup: Guns
|
||||
- id: RevolverCapGunFake
|
||||
orGroup: Guns
|
||||
speech: action-speech-spell-summon-guns
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-summon-guns
|
||||
|
||||
- type: entity
|
||||
id: ActionSummonMagic
|
||||
@@ -205,4 +206,5 @@
|
||||
orGroup: Magics
|
||||
- id: RGBStaff
|
||||
orGroup: Magics
|
||||
speech: action-speech-spell-summon-magic
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-summon-magic
|
||||
|
||||
@@ -14,4 +14,5 @@
|
||||
event: !type:InstantSpawnSpellEvent
|
||||
prototype: WallForce
|
||||
posData: !type:TargetInFront
|
||||
speech: action-speech-spell-forcewall
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-forcewall
|
||||
|
||||
@@ -12,4 +12,5 @@
|
||||
sprite: Objects/Magic/magicactions.rsi
|
||||
state: knock
|
||||
event: !type:KnockSpellEvent
|
||||
speech: action-speech-spell-knock
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-knock
|
||||
|
||||
@@ -18,4 +18,5 @@
|
||||
sprite: Mobs/Species/Human/organs.rsi
|
||||
state: brain
|
||||
event: !type:MindSwapSpellEvent
|
||||
speech: action-speech-spell-mind-swap
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-mind-swap
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
state: fireball
|
||||
event: !type:ProjectileSpellEvent
|
||||
prototype: ProjectileFireball
|
||||
speech: action-speech-spell-fireball
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-fireball
|
||||
- type: ActionUpgrade
|
||||
effectedLevels:
|
||||
2: ActionFireballII
|
||||
@@ -41,7 +42,8 @@
|
||||
state: fireball
|
||||
event: !type:ProjectileSpellEvent
|
||||
prototype: ProjectileFireball
|
||||
speech: action-speech-spell-fireball
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-fireball
|
||||
|
||||
- type: entity
|
||||
id: ActionFireballIII
|
||||
@@ -61,4 +63,5 @@
|
||||
state: fireball
|
||||
event: !type:ProjectileSpellEvent
|
||||
prototype: ProjectileFireball
|
||||
speech: action-speech-spell-fireball
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-fireball
|
||||
|
||||
@@ -15,4 +15,5 @@
|
||||
- id: MobCarpMagic
|
||||
amount: 3
|
||||
offset: 0, 1
|
||||
speech: action-speech-spell-summon-magicarp
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-summon-magicarp
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
sprite: Objects/Magic/magicactions.rsi
|
||||
state: gib
|
||||
event: !type:SmiteSpellEvent
|
||||
speech: action-speech-spell-smite
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-smite
|
||||
- type: Magic
|
||||
requiresClothes: true
|
||||
|
||||
@@ -47,9 +48,10 @@
|
||||
sprite: Clothing/Mask/cluwne.rsi
|
||||
state: icon
|
||||
event: !type:ChangeComponentsSpellEvent
|
||||
speech: action-speech-spell-cluwne
|
||||
toAdd:
|
||||
- type: Cluwne
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-cluwne
|
||||
- type: Magic
|
||||
requiresClothes: true
|
||||
|
||||
@@ -72,10 +74,11 @@
|
||||
sprite: Objects/Specific/Janitorial/soap.rsi
|
||||
state: omega-4
|
||||
event: !type:ChangeComponentsSpellEvent
|
||||
speech: action-speech-spell-slip
|
||||
toAdd:
|
||||
- type: Slippery
|
||||
- type: StepTrigger
|
||||
requiredTriggeredSpeed: -1
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-slip
|
||||
- type: Magic
|
||||
requiresClothes: true
|
||||
|
||||
@@ -11,4 +11,5 @@
|
||||
state: nothing
|
||||
event: !type:ChargeSpellEvent
|
||||
charge: 1
|
||||
speech: DI'RI CEL!
|
||||
- type: SpeakOnAction
|
||||
sentence: action-speech-spell-charge
|
||||
|
||||
Reference in New Issue
Block a user