Adds Hellspawn (Nar'Sie demon mob) (#20291)
* HellSpawn Mob * added spawner * summary for the namespace * larger collider, cannot enter single tile corridors. * fix * remove duplicate from yml, fix attributions. * moved action to shared, moved comp to shared, networked comp, separated heal, fixed attributions * removed flammable from hellspawn removed the healing effect from firestarter ability (healing can be separate ability). * Update attributions.yml fix attributions * fix * fix
This commit is contained in:
@@ -291,6 +291,18 @@
|
||||
event: !type:ActivateImplantEvent
|
||||
useDelay: 1
|
||||
|
||||
- type: entity
|
||||
id: ActionFireStarter
|
||||
name: Ignite
|
||||
description: Ignites enemies in a radius around you.
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
priority: -1
|
||||
useDelay: 30
|
||||
icon: Interface/Actions/firestarter.png
|
||||
event: !type:FireStarterActionEvent
|
||||
|
||||
- type: entity
|
||||
id: ActionToggleEyes
|
||||
name: Open/Close eyes
|
||||
@@ -302,3 +314,4 @@
|
||||
iconOn: Interface/Actions/eyeclose.png
|
||||
event: !type:ToggleEyesActionEvent
|
||||
useDelay: 1 # so u cant give yourself and observers eyestrain by rapidly spamming the action
|
||||
|
||||
|
||||
@@ -237,6 +237,14 @@
|
||||
Radiation: 0.2
|
||||
Caustic: 0.0
|
||||
|
||||
- type: damageModifierSet
|
||||
id: HellSpawn
|
||||
coefficients:
|
||||
Heat: 0.0
|
||||
Radiation: 0.0
|
||||
Shock: 0.8
|
||||
Bloodloss: 0.4
|
||||
|
||||
- type: damageModifierSet
|
||||
id: Cockroach
|
||||
coefficients:
|
||||
|
||||
@@ -778,7 +778,22 @@
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobPenguin
|
||||
|
||||
|
||||
|
||||
- type: entity
|
||||
name: Hellspawn Spawner
|
||||
id: SpawnMobHellspawn
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: green
|
||||
- state: hellspawn
|
||||
sprite: Markers/mobs.rsi
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobHellspawn
|
||||
|
||||
- type: entity
|
||||
name: ore crab spawner
|
||||
id: SpawnMobOreCrab
|
||||
|
||||
99
Resources/Prototypes/Entities/Mobs/NPCs/hellspawn.yml
Normal file
99
Resources/Prototypes/Entities/Mobs/NPCs/hellspawn.yml
Normal file
@@ -0,0 +1,99 @@
|
||||
- type: entity
|
||||
name: hellspawn
|
||||
parent:
|
||||
- BaseSimpleMob
|
||||
- MobCombat
|
||||
- MobBloodstream
|
||||
id: MobHellspawn
|
||||
description: An unstoppable force of carnage.
|
||||
components:
|
||||
- type: GhostRole
|
||||
allowMovement: true
|
||||
makeSentient: true
|
||||
name: ghost-role-information-hellspawn-name
|
||||
description: ghost-role-information-hellspawn-description
|
||||
- type: RotationVisuals
|
||||
defaultRotation: 90
|
||||
horizontalRotation: 90
|
||||
- type: GhostTakeoverAvailable
|
||||
- type: HTN
|
||||
rootTask:
|
||||
task: SimpleHostileCompound
|
||||
- type: NpcFactionMember
|
||||
factions:
|
||||
- SimpleHostile
|
||||
- type: Body
|
||||
prototype: Animal
|
||||
- type: Damageable
|
||||
damageContainer: Biological
|
||||
damageModifierSet: HellSpawn
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 2
|
||||
baseSprintSpeed: 3
|
||||
- type: Sprite
|
||||
sprite: Mobs/Demons/hellspawn.rsi
|
||||
layers:
|
||||
- map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
state: alive
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
Base: alive
|
||||
Dead:
|
||||
Base: dead
|
||||
- type: Firestarter
|
||||
- type: NameIdentifier
|
||||
group: GenericNumber
|
||||
- type: SlowOnDamage
|
||||
speedModifierThresholds:
|
||||
60: 0.7
|
||||
80: 0.5
|
||||
- type: MobPrice
|
||||
price: 1000 # Living critters are valuable in space.
|
||||
- type: Perishable
|
||||
- type: Reflect
|
||||
reflectProb: 0.7
|
||||
reflects:
|
||||
- Energy
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.9
|
||||
density: 300
|
||||
mask:
|
||||
- MobMask
|
||||
layer:
|
||||
- MobLayer
|
||||
- type: MobState
|
||||
- type: Tag
|
||||
tags:
|
||||
- CannotSuicide
|
||||
- DoorBumpOpener
|
||||
- FootstepSound
|
||||
- type: MobThresholds
|
||||
thresholds:
|
||||
0: Alive
|
||||
450: Dead
|
||||
- type: Butcherable
|
||||
spawned:
|
||||
- id: ArtifactFragment
|
||||
amount: 4
|
||||
- type: MeleeWeapon
|
||||
attackRate: 0.6
|
||||
hidden: true
|
||||
soundHit:
|
||||
path: /Audio/Weapons/Xeno/alien_claw_flesh3.ogg
|
||||
damage:
|
||||
types:
|
||||
Blunt: 150
|
||||
Structural: 70
|
||||
- type: FootstepModifier
|
||||
footstepSoundCollection:
|
||||
collection: FootstepThud
|
||||
- type: PointLight
|
||||
radius: 2
|
||||
energy: 4.5
|
||||
color: "#ff4242"
|
||||
castShadows: false
|
||||
@@ -159,6 +159,11 @@
|
||||
- /Audio/Effects/Footsteps/clownspiderstep1.ogg
|
||||
- /Audio/Effects/Footsteps/clownspiderstep2.ogg
|
||||
|
||||
- type: soundCollection
|
||||
id: FootstepThud
|
||||
files:
|
||||
- /Audio/Effects/Footsteps/largethud.ogg
|
||||
|
||||
- type: soundCollection
|
||||
id: FootstepSnake
|
||||
files:
|
||||
|
||||
Reference in New Issue
Block a user