Ethereal Jaunt Spell for Wizard & Jaunt ECS (#33201)
* Act * Adds Jaunt ECS and related prototypes * Adds jaunt sounds * Adds enter and exit sound support to polymorphs * Updates jaunt description * Adds jaunt action sprite and changes jaunt polymorph to use it * Adds Jaunt and upgrade to the wizard grimoire * Makes base mob jaunt parent off of incorporeal and basemob, adds blue ghost sprite for ethereal jaunt * Update Resources/Locale/en-US/store/spellbook-catalog.ftl Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Resources/Prototypes/Entities/Mobs/Player/jaunt_mobs.yml Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Resources/Prototypes/Entities/Mobs/Player/jaunt_mobs.yml Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Resources/Prototypes/Entities/Mobs/Player/jaunt_mobs.yml Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Content.Shared/Polymorph/PolymorphPrototype.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Content.Shared/Polymorph/PolymorphPrototype.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * removes meta changes * removes other meta changes * adds context menu and a description to basemobjaunt * comments for jaunt component and adds on component shutdown method * Update Content.Shared/Jaunt/JauntComponent.cs * Update Content.Shared/Jaunt/JauntComponent.cs * Update Content.Shared/Jaunt/JauntComponent.cs * Update Resources/Prototypes/Catalog/spellbook_catalog.yml --------- Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com> Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -40,3 +40,53 @@
|
||||
icon:
|
||||
sprite: Objects/Fun/immovable_rod.rsi
|
||||
state: icon
|
||||
|
||||
- type: entity
|
||||
id: ActionPolymorphJaunt
|
||||
name: Ethereal Jaunt
|
||||
description: Melt into the Ethereal Plane for a quick getaway!
|
||||
components:
|
||||
- type: Magic
|
||||
- type: InstantAction
|
||||
useDelay: 30
|
||||
event: !type:PolymorphActionEvent
|
||||
protoId: Jaunt
|
||||
itemIconStyle: NoItem
|
||||
icon:
|
||||
sprite: Objects/Magic/magicactions.rsi
|
||||
state: jaunt
|
||||
# TODO: Effect ECS (from cardboard box)
|
||||
- type: ActionUpgrade
|
||||
effectedLevels:
|
||||
2: ActionPolymorphJauntII
|
||||
3: ActionPolymorphJauntIII
|
||||
|
||||
- type: entity
|
||||
id: ActionPolymorphJauntII
|
||||
parent: ActionPolymorphJaunt
|
||||
name: Ethereal Jaunt II
|
||||
description: Melt into the Ethereal Plane for an even quicker getaway!
|
||||
components:
|
||||
- type: InstantAction
|
||||
useDelay: 25
|
||||
event: !type:PolymorphActionEvent
|
||||
protoId: Jaunt
|
||||
itemIconStyle: NoItem
|
||||
icon:
|
||||
sprite: Objects/Magic/magicactions.rsi
|
||||
state: jaunt
|
||||
|
||||
- type: entity
|
||||
id: ActionPolymorphJauntIII
|
||||
parent: ActionPolymorphJaunt
|
||||
name: Ethereal Jaunt III
|
||||
description: Are you even tangible anymore?
|
||||
components:
|
||||
- type: InstantAction
|
||||
useDelay: 20
|
||||
event: !type:PolymorphActionEvent
|
||||
protoId: Jaunt
|
||||
itemIconStyle: NoItem
|
||||
icon:
|
||||
sprite: Objects/Magic/magicactions.rsi
|
||||
state: jaunt
|
||||
|
||||
@@ -77,6 +77,20 @@
|
||||
- !type:ListingLimitedStockCondition
|
||||
stock: 1
|
||||
|
||||
- type: listing
|
||||
id: SpellbookJaunt
|
||||
name: spellbook-ethereal-jaunt-name
|
||||
description: spellbook-ethereal-jaunt-description
|
||||
productAction: ActionPolymorphJaunt
|
||||
productUpgradeId: SpellbookJauntUpgrade
|
||||
cost:
|
||||
WizCoin: 2
|
||||
categories:
|
||||
- SpellbookUtility
|
||||
conditions:
|
||||
- !type:ListingLimitedStockCondition
|
||||
stock: 1
|
||||
|
||||
# Equipment
|
||||
- type: listing
|
||||
id: SpellbookWandDoor
|
||||
@@ -138,3 +152,22 @@
|
||||
# manual for now
|
||||
- !type:ListingLimitedStockCondition
|
||||
stock: 2
|
||||
|
||||
- type: listing
|
||||
id: SpellbookJauntUpgrade
|
||||
productUpgradeId: SpellbookJauntUpgrade
|
||||
name: spellbook-upgrade-jaunt-name
|
||||
description: spellbook-upgrade-jaunt-description
|
||||
icon:
|
||||
sprite: Objects/Magic/magicactions.rsi
|
||||
state: jaunt
|
||||
cost:
|
||||
WizCoin: 2
|
||||
categories:
|
||||
- SpellbookUtility
|
||||
conditions:
|
||||
- !type:BuyBeforeCondition
|
||||
whitelist:
|
||||
- SpellbookJaunt
|
||||
- !type:ListingLimitedStockCondition
|
||||
stock: 2
|
||||
|
||||
40
Resources/Prototypes/Entities/Mobs/Player/jaunt_mobs.yml
Normal file
40
Resources/Prototypes/Entities/Mobs/Player/jaunt_mobs.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
- type: entity
|
||||
name: jaunt
|
||||
parent: [Incorporeal, BaseMob]
|
||||
id: BaseMobJaunt
|
||||
description: Faint traces of a humanoid figure linger here
|
||||
suffix: Ethereal
|
||||
components:
|
||||
- type: ContentEye
|
||||
maxZoom: 1.44,1.44
|
||||
- type: Eye
|
||||
drawFov: false
|
||||
- type: Input
|
||||
context: "ghost"
|
||||
- type: InputMover
|
||||
- type: MovementSpeedModifier
|
||||
baseSprintSpeed: 12
|
||||
baseWalkSpeed: 8
|
||||
- type: Visibility
|
||||
layer: 2
|
||||
- type: Spectral
|
||||
|
||||
# Should be slow, for balance
|
||||
- type: entity
|
||||
name: jaunt
|
||||
parent: BaseMobJaunt
|
||||
id: EtherealJaunt
|
||||
suffix: Wizard
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Mobs/Ghosts/ghost_human.rsi
|
||||
color: "#60f7eb"
|
||||
layers:
|
||||
- state: animated
|
||||
shader: unshaded
|
||||
noRot: true
|
||||
overrideContainerOcclusion: true
|
||||
drawdepth: Ghosts
|
||||
- type: MovementSpeedModifier
|
||||
baseSprintSpeed: 6
|
||||
baseWalkSpeed: 4
|
||||
@@ -186,3 +186,19 @@
|
||||
forced: true
|
||||
revertOnCrit: false
|
||||
revertOnDeath: false
|
||||
|
||||
# Temporary Jaunt
|
||||
# Don't make permanent jaunts until action system can be reworked to allow do afters and cooldown pausing
|
||||
- type: polymorph
|
||||
id: Jaunt
|
||||
configuration:
|
||||
entity: EtherealJaunt
|
||||
transferName: true
|
||||
inventory: None
|
||||
forced: true
|
||||
revertOnDeath: true
|
||||
revertOnCrit: true
|
||||
allowRepeatedMorphs: false
|
||||
polymorphSound: /Audio/Magic/ethereal_enter.ogg
|
||||
exitPolymorphSound: /Audio/Magic/ethereal_exit.ogg
|
||||
duration: 3
|
||||
|
||||
Reference in New Issue
Block a user