Spells stuff (#153)

* -add: Create and remove blood spells using verbs.

* - add: Blood spells now have charges and disappear.

* - add: Localize spells.

* - add: New blood spells.
This commit is contained in:
Aviu00
2024-03-01 17:44:27 +09:00
committed by GitHub
parent 9b5dd4481d
commit 71ca698a7c
20 changed files with 498 additions and 43 deletions

View File

@@ -10,3 +10,28 @@ wraith-phase-action-name = Фазовый Сдвиг
wraith-phase-action-description = Это заклинание позволяет проходить сквозь стены, подобно бесплотному полету волшебника.
juggernaut-create-wall-action-name = Щит
juggernaut-create-wall-action-description = Это заклинание создает временное, невидимое, силовое поле для защиты себя и союзников от подавляющего огня.
ent-ActionCultTwistedConstruction = Искажённое Воздействие
.desc = Зловещее заклинание, которое используют для превращения металла в рунический металл.
ent-ActionCultTeleport = Телепорт
.desc = Полезное заклинание, которое телепортирует культистов в выбранное место.
ent-ActionCultSummonCombatEquipment = Призыв Боевого Снаряжения
.desc = Важное заклинание, которое позволяет вам вызвать полный набор боевого снаряжения.
ent-InstantActionSummonCultDagger = Призыв Ритуального Кинжала
.desc = Призывает ритуальный кинжал.
ent-InstantActionBloodRites = Кровавые Обряды
.desc = Высасывает кровь и исцеляет вас.
ent-ActionCultStun = Оглушение
.desc = Сильное заклинание, которое оглушает и обезмолвливает жертв.
ent-ActionCultShadowShackles = Теневые Узы
.desc = Бесшумное заклинание, которое наложит на человека теневые наручники и заставит вашу жертву замолчать на 10 секунд.
ent-InstantActionEmpPulse = Электромагнитный Импульс
.desc = Большое заклинание, которое позволяет пользователю направлять темную энергию в ЭМИ.

View File

@@ -0,0 +1,9 @@
verb-categories-cult = Культ
verb-spell-create-text = Создать заклинание крови
verb-spell-create-message = Вы можете создать одно заклинание крови без руны могущества.
verb-spell-create-too-much = Начертите руну могущества, чтобы создать больше одного заклинания крови.
verb-spell-remove-text = Удалить заклинание крови
verb-spell-remove-message = Убрать любое из созданных заклинаний крови.
verb-spell-remove-no-spells = Заклинания крови отсутствуют.

View File

@@ -212,6 +212,10 @@
type: TeleportRunesListWindowBUI
- key: enum.SummonCultistUiKey.Key
type: SummonCultistListWindowBUI
- key: enum.CultEmpowerUiKey.Key
type: SpellSelectorBUI
- key: enum.CultEmpowerRemoveUiKey.Key
type: SpellRemoverBUI
# WD-EDIT END
- type: Puller
- type: Butcherable

View File

@@ -41,6 +41,10 @@
type: TeleportRunesListWindowBUI
- key: enum.SummonCultistUiKey.Key
type: SummonCultistListWindowBUI
- key: enum.CultEmpowerUiKey.Key
type: SpellSelectorBUI
- key: enum.CultEmpowerRemoveUiKey.Key
type: SpellRemoverBUI
# WD-EDIT END
- type: Sprite
scale: 0.9, 0.9

View File

@@ -5,13 +5,15 @@
noSpawn: true
components:
- type: EntityTargetAction
useDelay: 50
canTargetSelf: false
icon:
sprite: /Textures/Objects/Materials/Sheets/metal.rsi
state: steel
event: !type:CultTwistedConstructionActionEvent
itemIconStyle: BigAction
charges: 1
temporary: true
removeOnNoCharges: true
- type: entity
id: ActionCultTeleport
@@ -20,7 +22,6 @@
noSpawn: true
components:
- type: EntityTargetAction
useDelay: 30
whitelist:
components:
- HumanoidAppearance
@@ -33,6 +34,9 @@
state: teleport
event: !type:CultTeleportTargetActionEvent
itemIconStyle: BigAction
charges: 1
temporary: true
removeOnNoCharges: true
- type: entity
id: ActionCultSummonCombatEquipment
@@ -41,7 +45,6 @@
noSpawn: true
components:
- type: EntityTargetAction
useDelay: 300
whitelist:
components:
- HumanoidAppearance
@@ -54,6 +57,53 @@
state: armor
event: !type:CultSummonCombatEquipmentTargetActionEvent
itemIconStyle: BigAction
charges: 1
temporary: true
removeOnNoCharges: true
- type: entity
id: ActionCultStun
name: Stun
description: A potent spell that will stun and mute victims.
noSpawn: true
components:
- type: EntityTargetAction
whitelist:
components:
- HumanoidAppearance
canTargetSelf: false
deselectOnMiss: true
repeat: false
icon:
sprite: /Textures/White/Cult/actions_cult.rsi
state: stun
event: !type:CultStunTargetActionEvent
itemIconStyle: BigAction
charges: 1
temporary: true
removeOnNoCharges: true
- type: entity
id: ActionCultShadowShackles
name: Shadow Shackles
description: A stealthy spell that will summon shadowy handcuffs on a person, and temporarily silence your victim for 10 seconds.
noSpawn: true
components:
- type: EntityTargetAction
whitelist:
components:
- HumanoidAppearance
canTargetSelf: false
deselectOnMiss: true
repeat: false
icon:
sprite: /Textures/White/Cult/actions_cult.rsi
state: shackles
event: !type:CultShadowShacklesTargetActionEvent
itemIconStyle: BigAction
charges: 4
temporary: true
removeOnNoCharges: true
- type: entity
id: InstantActionSummonCultDagger
@@ -66,7 +116,9 @@
sprite: /Textures/White/Cult/interface.rsi
state: icon
event: !type:CultSummonDaggerActionEvent
useDelay: 200
charges: 1
temporary: true
removeOnNoCharges: true
- type: entity
id: InstantActionBloodRites
@@ -79,4 +131,21 @@
sprite: /Textures/White/Cult/actions_cult.rsi
state: blood_rites
event: !type:CultBloodRitesInstantActionEvent
useDelay: 35
charges: 4
temporary: true
removeOnNoCharges: true
- type: entity
id: InstantActionEmpPulse
name: Electromagnetic Pulse
description: A large spell that allows a user to channel dark energy into an EMP.
noSpawn: true
components:
- type: InstantAction
icon:
sprite: /Textures/White/Cult/actions_cult.rsi
state: emp
event: !type:CultElectromagneticPulseInstantActionEvent
charges: 1
temporary: true
removeOnNoCharges: true

View File

@@ -0,0 +1,12 @@
- type: entity
name: shadow shackles
description: Shackles that bind the wrists with sinister magic.
id: ShadowShackles
parent: Handcuffs
components:
- type: Handcuff
breakoutTime: 15
color: black
breakOnRemove: true
- type: Sprite
color: black