Revs (the spooky ones) (#9842)
This commit is contained in:
38
Resources/Prototypes/Actions/revenant.yml
Normal file
38
Resources/Prototypes/Actions/revenant.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
- type: instantAction
|
||||
id: RevenantShop
|
||||
icon: Interface/Actions/shop.png
|
||||
name: Shop
|
||||
description: Opens the ability shop.
|
||||
serverEvent: !type:RevenantShopActionEvent
|
||||
|
||||
- type: instantAction
|
||||
id: RevenantDefile
|
||||
icon: Interface/Actions/defile.png
|
||||
name: Defile
|
||||
description: Costs 30 Essence.
|
||||
serverEvent: !type:RevenantDefileActionEvent
|
||||
useDelay: 15
|
||||
|
||||
- type: instantAction
|
||||
id: RevenantOverloadLights
|
||||
icon: Interface/Actions/overloadlight.png
|
||||
name: Overload Lights
|
||||
description: Costs 40 Essence.
|
||||
serverEvent: !type:RevenantOverloadLightsActionEvent
|
||||
useDelay: 20
|
||||
|
||||
- type: instantAction
|
||||
id: RevenantBlight
|
||||
icon: Interface/Actions/blight.png
|
||||
name: Blight
|
||||
description: Costs 50 Essence.
|
||||
serverEvent: !type:RevenantBlightActionEvent
|
||||
useDelay: 20
|
||||
|
||||
- type: instantAction
|
||||
id: RevenantMalfunction
|
||||
icon: Interface/Actions/malfunction.png
|
||||
name: Malfunction
|
||||
description: Costs 60 Essence.
|
||||
serverEvent: !type:RevenantMalfunctionActionEvent
|
||||
useDelay: 20
|
||||
@@ -12,6 +12,7 @@
|
||||
- category: Buckled
|
||||
- alertType: Pulling
|
||||
- category: Piloting
|
||||
- alertType: Corporeal
|
||||
- alertType: Stun
|
||||
- category: Breathing # Vox gang not calling this oxygen
|
||||
- category: Pressure
|
||||
|
||||
48
Resources/Prototypes/Alerts/revenant.yml
Normal file
48
Resources/Prototypes/Alerts/revenant.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
- type: alert
|
||||
id: Essence
|
||||
category: Health #it's like ghostie health
|
||||
icons:
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence0
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence1
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence2
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence3
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence4
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence5
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence6
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence7
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence8
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence9
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence10
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence11
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence12
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence13
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence14
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence15
|
||||
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
|
||||
state: essence16
|
||||
name: Essence
|
||||
description: The power of souls. It sustains you and is used for abilities. It regenerates slowly over time.
|
||||
minSeverity: 0
|
||||
maxSeverity: 16
|
||||
|
||||
- type: alert
|
||||
id: Corporeal
|
||||
icons: [ /Textures/Mobs/Ghosts/revenant.rsi/icon.png ]
|
||||
name: "Corporeal"
|
||||
description: You have manifested physically. People around you can see and hurt you.
|
||||
32
Resources/Prototypes/Catalog/revenant_catalog.yml
Normal file
32
Resources/Prototypes/Catalog/revenant_catalog.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
#TODO: generic shop system
|
||||
- type: revenantListing
|
||||
id: Defile
|
||||
actionId: RevenantDefile
|
||||
listingName: Defile
|
||||
description: Costs 30 Essence per use. Defiles the surrounding area, ripping up floors, damaging windows, opening containers, and throwing items. Using it leaves you vulnerable to attacks for a short period of time.
|
||||
icon: Interface/Actions/defile.png
|
||||
price: 10
|
||||
|
||||
- type: revenantListing
|
||||
id: OverloadLights
|
||||
actionId: RevenantOverloadLights
|
||||
listingName: Overload Lights
|
||||
description: Costs 40 Essence per use. Overloads all nearby lights, causing the bulbs to shatter and sending out damaging sparks. Using it leaves you vulnerable to attacks for a long period of time.
|
||||
icon: Interface/Actions/overloadlight.png
|
||||
price: 25
|
||||
|
||||
- type: revenantListing
|
||||
id: Blight
|
||||
actionId: RevenantBlight
|
||||
listingName: Blight
|
||||
description: Costs 50 Essence per use. Infects all nearby organisms with an infectious disease that causes poison and tiredness. Using it leaves you vulnerable to attacks for a medium period of time.
|
||||
icon: Interface/Actions/blight.png
|
||||
price: 75
|
||||
|
||||
- type: revenantListing
|
||||
id: Malfunction
|
||||
actionId: RevenantMalfunction
|
||||
listingName: Malfunction
|
||||
description: Costs 60 Essence per use. Makes most nearby electronics stop working properly. Using it leaves you vulnerable to attacks for a long period of time.
|
||||
icon: Interface/Actions/malfunction.png
|
||||
price: 125
|
||||
@@ -18,6 +18,33 @@
|
||||
reagent: Phalanximine
|
||||
min: 15
|
||||
|
||||
- type: disease
|
||||
id: SpectralTiredness
|
||||
name: spectral tiredness
|
||||
infectious: false
|
||||
effects:
|
||||
- !type:DiseaseGenericStatusEffect
|
||||
probability: 0.03
|
||||
key: ForcedSleep
|
||||
component: ForcedSleeping
|
||||
time: 3
|
||||
type: Add
|
||||
- !type:DiseaseSnough
|
||||
probability: 0.025
|
||||
snoughMessage: disease-yawn
|
||||
snoughSound:
|
||||
collection: Yawns
|
||||
- !type:DiseaseHealthChange
|
||||
probability: 0.02
|
||||
damage:
|
||||
types:
|
||||
Poison: 4
|
||||
cures:
|
||||
- !type:DiseaseJustWaitCure
|
||||
maxLength: 240
|
||||
- !type:DiseaseBedrestCure
|
||||
maxLength: 60
|
||||
|
||||
- type: disease
|
||||
id: StageIIIALungCancer
|
||||
name: Stage IIIA Lung Cancer
|
||||
|
||||
100
Resources/Prototypes/Entities/Mobs/NPCs/revenant.yml
Normal file
100
Resources/Prototypes/Entities/Mobs/NPCs/revenant.yml
Normal file
@@ -0,0 +1,100 @@
|
||||
- type: entity
|
||||
id: MobRevenant
|
||||
name: revenant
|
||||
description: A spooky ghostie.
|
||||
components:
|
||||
- type: Mind
|
||||
- type: InputMover
|
||||
- type: MobMover
|
||||
- type: Input
|
||||
context: "ghost"
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 6
|
||||
baseSprintSpeed: 6
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
drawdepth: Ghosts
|
||||
netsync: false
|
||||
sprite: Mobs/Ghosts/revenant.rsi
|
||||
layers:
|
||||
- state: active
|
||||
- type: Clickable
|
||||
- type: StatusEffects
|
||||
allowed:
|
||||
- Stun
|
||||
- Corporeal
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.40
|
||||
mass: 40
|
||||
mask:
|
||||
- GhostImpassable
|
||||
- type: HeatResistance
|
||||
- type: MovementIgnoreGravity
|
||||
- type: Damageable
|
||||
damageContainer: Biological
|
||||
- type: Appearance
|
||||
- type: Examiner
|
||||
- type: NoSlip
|
||||
- type: Actions
|
||||
- type: Eye
|
||||
drawFov: false
|
||||
- type: DoAfter
|
||||
- type: Alerts
|
||||
- type: NameIdentifier
|
||||
group: GenericNumber
|
||||
- type: GhostTakeoverAvailable
|
||||
makeSentient: true
|
||||
name: Revenant
|
||||
description: You are a Revenant. Use your powers to harvest souls and unleash chaos upon the crew. Unlock new abilities with the essence you harvest.
|
||||
rules: You are an antagonist, harvest, defile, and drive the crew insane.
|
||||
- type: Revenant
|
||||
- type: PointLight
|
||||
color: MediumPurple
|
||||
radius: 1.5
|
||||
softness: 0.75
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.RevenantUiKey.Key
|
||||
type: RevenantBoundUserInterface
|
||||
- type: MobState
|
||||
- type: Visibility
|
||||
layer: 2 #ghost vis layer
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: RevenantEctoplasm
|
||||
name: ectoplasm
|
||||
description: A weird bit of goo. You probably shouldn't leave it lying around like this.
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
netsync: false
|
||||
sprite: Mobs/Ghosts/revenant.rsi
|
||||
layers:
|
||||
- state: ectoplasm
|
||||
- type: Eye
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 0
|
||||
baseSprintSpeed: 0
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 5
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: DamageOnLand
|
||||
ignoreResistances: true
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
@@ -18,6 +18,15 @@
|
||||
revertOnCrit: true
|
||||
revertOnDeath: true
|
||||
|
||||
- type: polymorph
|
||||
id: Ectoplasm
|
||||
entity: RevenantEctoplasm
|
||||
forced: true
|
||||
duration: 60
|
||||
inventory: Drop
|
||||
revertOnCrit: false
|
||||
revertOnDeath: false
|
||||
|
||||
- type: polymorph
|
||||
id: WizardForcedCarp
|
||||
entity: MobCarpMagic
|
||||
|
||||
@@ -54,3 +54,15 @@
|
||||
fireColor: Blue
|
||||
texturePath: /Textures/Effects/fire_greyscale.rsi
|
||||
fireStates: 3
|
||||
|
||||
- type: explosion
|
||||
id: RevenantElectric
|
||||
damagePerIntensity:
|
||||
types:
|
||||
Shock: 4
|
||||
tileBreakChance: [0]
|
||||
tileBreakIntensity: [0]
|
||||
lightColor: Plum
|
||||
fireColor: Plum
|
||||
texturePath: /Textures/Effects/fire_greyscale.rsi
|
||||
fireStates: 3
|
||||
|
||||
@@ -41,5 +41,10 @@
|
||||
id: Muted
|
||||
alert: Muted
|
||||
|
||||
- type: statusEffect
|
||||
id: Corporeal
|
||||
alert: Corporeal
|
||||
|
||||
- type: statusEffect
|
||||
id: ForcedSleep #I.e., they will not wake on damage or similar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user