Magic and gamerule tweaks (#363)

* - tweak: Wiz hardsuit tweaks.

* - tweak: Gamemode tweaks.

* - add: Mindswap spell.

* - add: Transfer wizard component on mindswap.

* - add: Wizard is blight immune.
This commit is contained in:
Aviu00
2024-06-18 14:55:21 +00:00
committed by GitHub
parent 99629a2ba3
commit f25ad286b9
23 changed files with 238 additions and 37 deletions

View File

@@ -16,6 +16,7 @@ scroll-component-silence = тишину
scroll-component-recall = призыв
scroll-component-teleport = телепортацию
scroll-component-smite = кару
scroll-component-mindswap = подмену сознания
ent-BaseScroll = магический свиток
.desc = Этот древний пергамент, ставший реликвией в арканных преданиях, хранит в себе бесчисленные мистические заклятия и забытые заклинания.
@@ -49,3 +50,5 @@ ent-ScrollTeleport = свиток телепортации
.desc = { ent-BaseScroll.desc }
ent-ScrollSmite = свиток кары
.desc = { ent-BaseScroll.desc }
ent-ScrollMindswap = свиток подмены сознания
.desc = { ent-BaseScroll.desc }

View File

@@ -40,6 +40,9 @@ spellbook-recall-desc = { ent-ActionInstantRecallSpell.desc }
spellbook-smite-name = { ent-ActionSmite }
spellbook-smite-desc = { ent-ActionSmite.desc }
spellbook-mindswap-name = { ent-ActionMindswapSpell }
spellbook-mindswap-desc = { ent-ActionMindswapSpell.desc }
spellbook-hardsuit-name = Скафандр волшебника
spellbook-hardsuit-desc = Украшенный магическими драгоценными камнями скафандр, функционирующий так же, как и обычная мантия волшебника, но в то же время является пригодным для использования в космосе и бронированным. Небольшое замедление. Теперь вы можете произносить заклинания в космосе и местах с низкой температурой! Имеет функцию энергетического щита,который защищает от всех снарядов. Щит разряжается при получении урона и автоматически заряжается.

View File

@@ -42,3 +42,6 @@ ent-ActionKnock = Стук
ent-ActionSmite = Кара
.desc = Заряжает вашу руку мерзкой энергией, которую можно использовать для взрыва жертв. Заклинание требует, чтобы вы коснулись своей цели, поэтому вы не сможете использовать его в наручниках или будучи оглушённым. Не работает без волшебной мантии и шляпы.
ent-ActionMindswapSpell = Подмена сознания
.desc = Позволяет заклинателю переключаться между телами с целью. Вы должны быть рядом с целью, в которую хотите перейти, после чего вы оба будете нокаутированы. Не работает на культистов, генокрадов и революционеров.

View File

@@ -685,17 +685,19 @@
toggleable-clothing: !type:ContainerSlot
- type: PowerCellSlot
cellSlotId: cell_slot
fitsInCharger: false
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default
startingItem: PowerCellMicroreactor
disableEject: true
whitelist:
tags:
- PowerCell
- PowerCellSmall
- type: EnergyDomeGenerator
damageEnergyDraw: 5
damageEnergyDraw: 20
domePrototype: EnergyDomeSmallPink
- type: ClothingSpeedModifier
walkModifier: 0.9

View File

@@ -4,6 +4,8 @@
description: This spell opens nearby doors.
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: InstantAction
useDelay: 8
itemIconStyle: BigAction

View File

@@ -38,6 +38,8 @@
name: Force
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: WorldTargetAction
itemIconStyle: BigAction
useDelay: 60
@@ -100,6 +102,8 @@
name: Cards
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: WorldTargetAction
itemIconStyle: BigAction
useDelay: 60
@@ -167,6 +171,8 @@
name: Blink
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: InstantAction
useDelay: 6
itemIconStyle: BigAction
@@ -216,6 +222,8 @@
name: Cluwne Curse
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: EntityTargetAction
whitelist:
components:
@@ -235,6 +243,8 @@
name: Banana Touch
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: EntityTargetAction
whitelist:
components:
@@ -254,6 +264,8 @@
name: Mime Touch
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: EntityTargetAction
whitelist:
components:
@@ -273,6 +285,8 @@
name: Instant Recall
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: InstantRecall
- type: InstantAction
useDelay: 10
@@ -288,6 +302,8 @@
name: Teleport
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: InstantAction
checkCanInteract: false
useDelay: 60
@@ -297,3 +313,25 @@
state: teleport
event: !type:TeleportSpellEvent
speech: "SCYAR FIDE!"
- type: entity
id: ActionMindswapSpell
name: Mindswap
noSpawn: true
components:
- type: Magic
requiresClothes: false
- type: EntityTargetAction
whitelist:
components:
- MindContainer
- ActionContainer
canTargetSelf: false
checkCanInteract: false
useDelay: 60
itemIconStyle: BigAction
icon:
sprite: Objects/Magic/magicactions.rsi
state: mindswap
event: !type:MindswapSpellEvent
speech: "GIN'YU CAPAN!"

View File

@@ -151,3 +151,12 @@
- type: Scroll
actionId: ActionSmite
learnPopup: scroll-component-smite
- type: entity
id: ScrollMindswap
parent: BaseScroll
name: "Mindswap scroll"
components:
- type: Scroll
actionId: ActionMindswapSpell
learnPopup: scroll-component-mindswap

View File

@@ -222,13 +222,29 @@
- !type:ListingLimitedStockCondition
stock: 1
- type: listing
id: SpellBookMindswap
name: spellbook-mindswap-name
description: spellbook-mindswap-desc
productEntity: ScrollMindswap
icon:
sprite: Objects/Magic/magicactions.rsi
state: mindswap
cost:
SpellPoint: 2
categories:
- UtilitySpells
conditions:
- !type:ListingLimitedStockCondition
stock: 1
- type: listing
id: SpellBookHardsuit
name: spellbook-hardsuit-name
description: spellbook-hardsuit-desc
productEntity: ClothingOuterHardsuitWizard
cost:
SpellPoint: 4
SpellPoint: 5
categories:
- MagicItems
conditions:

View File

@@ -57,6 +57,9 @@
},
{
"name": "icebeam_active"
},
{
"name": "mindswap"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B