Shadow anomaly returns (#24629)
* content * add cat * ambient * I FORGOT HEARTS! * fix ambient * some fixes * canCollide: false * connect to damageable * pi * remove fx * some fixes * *sad bruh* * hazed * Update base_shadow.yml
This commit is contained in:
@@ -47,3 +47,8 @@
|
||||
- Toxin
|
||||
supportedTypes:
|
||||
- Shock
|
||||
|
||||
- type: damageContainer
|
||||
id: ShadowHaze
|
||||
supportedTypes:
|
||||
- Heat
|
||||
@@ -68,3 +68,26 @@
|
||||
lifetime: 120
|
||||
- type: Portal
|
||||
canTeleportToOtherMaps: true
|
||||
|
||||
- type: entity
|
||||
id: ShadowPortal
|
||||
name: shadow rift
|
||||
description: Looks unstable.
|
||||
parent: [ BasePortal, BaseShadow ]
|
||||
components:
|
||||
- type: Portal
|
||||
arrivalSound: /Audio/Items/hiss.ogg
|
||||
departureSound: /Audio/Items/hiss.ogg
|
||||
- type: Sprite
|
||||
state: portal-artifact
|
||||
color: "#793a80dd"
|
||||
- type: PointLight
|
||||
color: "#793a80dd"
|
||||
radius: 3
|
||||
energy: 1
|
||||
netsync: false
|
||||
- type: AmbientSound
|
||||
range: 6
|
||||
volume: -3
|
||||
sound:
|
||||
path: /Audio/Ambience/anomaly_scary.ogg
|
||||
@@ -19,6 +19,7 @@
|
||||
- RandomRockAnomalySpawner
|
||||
- AnomalyLiquid
|
||||
- AnomalyFlora
|
||||
- AnomalyShadow
|
||||
chance: 1
|
||||
offset: 0.15 # not to put it higher. The anomaly sychnronizer looks for anomalies within this radius, and if the radius is higher, the anomaly can be attracted from a neighboring tile.
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
- type: entity
|
||||
id: ShadowKudzuLootSpawner
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: red
|
||||
- sprite: Structures/Specific/Anomalies/shadow_anom.rsi
|
||||
state: anom
|
||||
- type: RandomSpawner
|
||||
offset: 0.05
|
||||
chance: 0.7
|
||||
prototypes:
|
||||
- CrystalPink
|
||||
- CrystalPink
|
||||
- ShadowPortal
|
||||
- ShadowTree01
|
||||
- ShadowTree02
|
||||
- ShadowTree03
|
||||
- ShadowTree04
|
||||
- ShadowTree05
|
||||
- ShadowTree06
|
||||
rareChance: 0.05
|
||||
rarePrototypes:
|
||||
- MobCatShadow
|
||||
- ArtifactFragment
|
||||
67
Resources/Prototypes/Entities/Mobs/NPCs/shadows.yml
Normal file
67
Resources/Prototypes/Entities/Mobs/NPCs/shadows.yml
Normal file
@@ -0,0 +1,67 @@
|
||||
- type: entity
|
||||
id: BaseShadowMob
|
||||
abstract: true
|
||||
parent: [ BaseMob, BaseShadow ]
|
||||
components:
|
||||
- type: Sprite
|
||||
color: "#793a80dd"
|
||||
- type: PointLight
|
||||
color: "#793a80dd"
|
||||
radius: 1.1
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 2
|
||||
baseSprintSpeed: 2
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.35
|
||||
density: 120
|
||||
mask:
|
||||
- Opaque
|
||||
layer:
|
||||
- None
|
||||
- type: StandingState
|
||||
- type: Tag
|
||||
tags:
|
||||
- DoorBumpOpener
|
||||
- type: NpcFactionMember
|
||||
factions:
|
||||
- SimpleNeutral
|
||||
- type: HTN
|
||||
rootTask:
|
||||
task: IdleCompound
|
||||
- type: SlowOnDamage
|
||||
speedModifierThresholds:
|
||||
60: 0.7
|
||||
80: 0.5
|
||||
|
||||
- type: entity
|
||||
name: shadow cat
|
||||
parent: BaseShadowMob
|
||||
id: MobCatShadow
|
||||
description: A lovely piece of darkness. Hope he doesn't bring you a curse.
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: Mobs/Pets/cat.rsi
|
||||
layers:
|
||||
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||
state: cat
|
||||
- type: Physics
|
||||
- type: ReplacementAccent
|
||||
accent: cat
|
||||
- type: InteractionPopup
|
||||
successChance: 0.01 # you cant pet shadow cat... almost
|
||||
interactSuccessString: petting-success-cat
|
||||
interactFailureString: petting-failure-shadow
|
||||
interactSuccessSpawn: EffectHearts
|
||||
interactSuccessSound:
|
||||
path: /Audio/Animals/cat_meow.ogg
|
||||
- type: Grammar
|
||||
attributes:
|
||||
gender: epicene
|
||||
- type: Tag
|
||||
tags:
|
||||
- VimPilot
|
||||
@@ -1,11 +1,26 @@
|
||||
- type: entity
|
||||
id: Kudzu
|
||||
name: kudzu
|
||||
description: A rapidly growing, dangerous plant. WHY ARE YOU STOPPING TO LOOK AT IT?!
|
||||
id: BaseKudzu
|
||||
abstract: true
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wall
|
||||
components:
|
||||
- type: Appearance
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Physics
|
||||
- type: Kudzu
|
||||
- type: GrowingKudzu
|
||||
- type: ActiveEdgeSpreader
|
||||
- type: EdgeSpreader
|
||||
id: Kudzu
|
||||
|
||||
- type: entity
|
||||
id: Kudzu
|
||||
name: kudzu
|
||||
parent: BaseKudzu
|
||||
description: A rapidly growing, dangerous plant. WHY ARE YOU STOPPING TO LOOK AT IT?!
|
||||
components:
|
||||
- type: MeleeSound
|
||||
soundGroups:
|
||||
@@ -16,12 +31,8 @@
|
||||
sprite: Objects/Misc/kudzu.rsi
|
||||
state: kudzu_11
|
||||
drawdepth: Overdoors
|
||||
- type: Appearance
|
||||
- type: KudzuVisuals
|
||||
- type: Clickable
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
@@ -69,19 +80,14 @@
|
||||
types:
|
||||
Heat: 10
|
||||
- type: AtmosExposed
|
||||
- type: Kudzu
|
||||
growthTickChance: 0.3
|
||||
spreadChance: 0.4
|
||||
- type: GrowingKudzu
|
||||
- type: SlowContacts
|
||||
walkSpeedModifier: 0.2
|
||||
sprintSpeedModifier: 0.2
|
||||
ignoreWhitelist:
|
||||
components:
|
||||
- IgnoreKudzu
|
||||
- type: ActiveEdgeSpreader
|
||||
- type: EdgeSpreader
|
||||
id: Kudzu
|
||||
- type: Food
|
||||
requiredStomachs: 2 # ruminants have 4 stomachs but i dont care to give them literally 4 stomachs. 2 is good
|
||||
delay: 0.5
|
||||
@@ -159,6 +165,7 @@
|
||||
- type: entity
|
||||
id: FleshKudzu
|
||||
name: tendons
|
||||
parent: BaseKudzu
|
||||
description: A rapidly growing cluster of meaty tendons. WHY ARE YOU STOPPING TO LOOK AT IT?!
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
@@ -174,12 +181,8 @@
|
||||
sprite: Objects/Misc/fleshkudzu.rsi
|
||||
state: kudzu_11
|
||||
drawdepth: Overdoors
|
||||
- type: Appearance
|
||||
- type: KudzuVisuals
|
||||
- type: Clickable
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
@@ -233,12 +236,8 @@
|
||||
damage:
|
||||
types:
|
||||
Heat: 3
|
||||
- type: GrowingKudzu
|
||||
growthTickChance: 0.3
|
||||
- type: AtmosExposed
|
||||
- type: ActiveEdgeSpreader
|
||||
- type: EdgeSpreader
|
||||
id: Kudzu
|
||||
- type: SlowContacts
|
||||
walkSpeedModifier: 0.3
|
||||
sprintSpeedModifier: 0.3
|
||||
@@ -261,3 +260,41 @@
|
||||
types:
|
||||
Asphyxiation: -0.25
|
||||
|
||||
- type: entity
|
||||
name: dark haze
|
||||
id: ShadowKudzu
|
||||
parent: [ BaseKudzu, BaseShadow ]
|
||||
components:
|
||||
- type: Physics
|
||||
canCollide: false
|
||||
- type: Occluder
|
||||
- type: Sprite
|
||||
drawdepth: Effects
|
||||
sprite: Effects/spookysmoke.rsi
|
||||
state: spookysmoke
|
||||
color: "#793a80dd"
|
||||
- type: Kudzu
|
||||
growthTickChance: 0.2
|
||||
spreadChance: 0.99
|
||||
- type: RandomSpawner
|
||||
deleteSpawnerAfterSpawn: false
|
||||
rareChance: 0.05
|
||||
offset: 0.2
|
||||
chance: 0.45
|
||||
prototypes:
|
||||
- ShadowBasaltRandom
|
||||
rarePrototypes:
|
||||
- ShadowPortal
|
||||
- ShadowKudzuLootSpawner
|
||||
- type: Tag
|
||||
tags:
|
||||
- HideContextMenu
|
||||
- SpookyFog
|
||||
|
||||
- type: entity
|
||||
name: Haze
|
||||
id: ShadowKudzuWeak
|
||||
parent: ShadowKudzu
|
||||
components:
|
||||
- type: Kudzu
|
||||
spreadChance: 0 #appears during pulsation. It shouldnt spreading.
|
||||
26
Resources/Prototypes/Entities/Objects/base_shadow.yml
Normal file
26
Resources/Prototypes/Entities/Objects/base_shadow.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
- type: entity
|
||||
id: BaseShadow
|
||||
abstract: true
|
||||
components:
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 10
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Items/hiss.ogg
|
||||
params:
|
||||
variation: 0.08
|
||||
- type: Flashable
|
||||
collisionGroup:
|
||||
- None
|
||||
- type: DamagedByFlashing
|
||||
flashDamage:
|
||||
types:
|
||||
Heat: 10
|
||||
- type: Damageable
|
||||
damageContainer: ShadowHaze
|
||||
@@ -791,3 +791,57 @@
|
||||
solution: anomaly
|
||||
- type: InjectableSolution
|
||||
solution: beaker
|
||||
|
||||
- type: entity
|
||||
id: AnomalyShadow
|
||||
parent: BaseAnomaly
|
||||
suffix: Shadow
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Specific/Anomalies/shadow_anom.rsi
|
||||
layers:
|
||||
- state: anom
|
||||
map: ["enum.AnomalyVisualLayers.Base"]
|
||||
- state: pulse
|
||||
map: ["enum.AnomalyVisualLayers.Animated"]
|
||||
visible: false
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 12.5
|
||||
color: "#793a80"
|
||||
- type: AmbientSound
|
||||
range: 5
|
||||
volume: -5
|
||||
sound:
|
||||
path: /Audio/Ambience/anomaly_scary.ogg
|
||||
- type: Anomaly
|
||||
corePrototype: AnomalyCoreShadow
|
||||
coreInertPrototype: AnomalyCoreShadowInert
|
||||
anomalyContactDamage:
|
||||
types:
|
||||
Cold: 10
|
||||
animationTime: 4
|
||||
offset: "-0.1,0.1"
|
||||
- type: EntitySpawnAnomaly
|
||||
entries:
|
||||
- settings:
|
||||
spawnOnPulse: true
|
||||
spawnOnSuperCritical: true
|
||||
minAmount: 10
|
||||
maxAmount: 20
|
||||
maxRange: 4
|
||||
spawns:
|
||||
- ShadowKudzuWeak
|
||||
- settings:
|
||||
spawnOnSuperCritical: true
|
||||
minAmount: 30
|
||||
maxAmount: 40
|
||||
maxRange: 50
|
||||
spawns:
|
||||
- ShadowKudzu
|
||||
- type: Portal
|
||||
arrivalSound: /Audio/Items/hiss.ogg
|
||||
departureSound: /Audio/Items/hiss.ogg
|
||||
- type: Tag
|
||||
tags:
|
||||
- SpookyFog
|
||||
@@ -155,6 +155,19 @@
|
||||
color: "#6270bb"
|
||||
castShadows: false
|
||||
|
||||
- type: entity
|
||||
parent: [ BaseAnomalyCore, BaseShadow ]
|
||||
id: AnomalyCoreShadow
|
||||
suffix: Shadow
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Specific/Anomalies/Cores/shadow_core.rsi
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 2.0
|
||||
color: "#793a80"
|
||||
castShadows: false
|
||||
|
||||
# Inert cores
|
||||
|
||||
- type: entity
|
||||
@@ -288,3 +301,16 @@
|
||||
energy: 2.0
|
||||
color: "#6270bb"
|
||||
castShadows: false
|
||||
|
||||
- type: entity
|
||||
parent: [ BaseAnomalyInertCore, BaseShadow ]
|
||||
id: AnomalyCoreShadowInert
|
||||
suffix: Shadow, Inert
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Specific/Anomalies/Cores/shadow_core.rsi
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 2.0
|
||||
color: "#793a80"
|
||||
castShadows: false
|
||||
|
||||
@@ -7,6 +7,15 @@
|
||||
rules: NearMorgue
|
||||
priority: 4
|
||||
|
||||
- type: ambientMusic
|
||||
id: SpookyFog
|
||||
sound:
|
||||
params:
|
||||
volume: -12
|
||||
collection: AmbienceSpookyFog
|
||||
rules: NearSpookyFog
|
||||
priority: 5
|
||||
|
||||
- type: ambientMusic
|
||||
id: Holy
|
||||
sound:
|
||||
@@ -196,6 +205,24 @@
|
||||
- /Audio/Ambience/ambiruin6.ogg
|
||||
- /Audio/Ambience/ambiruin7.ogg
|
||||
|
||||
- type: soundCollection
|
||||
id: AmbienceSpookyFog
|
||||
files:
|
||||
- /Audio/Ambience/spookyspace1.ogg
|
||||
- /Audio/Ambience/spookyspace2.ogg
|
||||
- /Audio/Ambience/ambimo2.ogg
|
||||
- /Audio/Ambience/ambilava1.ogg
|
||||
- /Audio/Ambience/ambilava2.ogg
|
||||
- /Audio/Ambience/ambiruin2.ogg
|
||||
- /Audio/Ambience/ambiruin3.ogg
|
||||
- /Audio/Ambience/ambiruin4.ogg
|
||||
- /Audio/Ambience/ambiruin5.ogg
|
||||
- /Audio/Ambience/ambiruin6.ogg
|
||||
- /Audio/Ambience/ambiruin7.ogg
|
||||
- /Audio/Ambience/ambidanger.ogg
|
||||
- /Audio/Ambience/ambidanger2.ogg
|
||||
- /Audio/Ambience/ambimine.ogg
|
||||
|
||||
## Background noise on station, separate to ambient music.
|
||||
- type: soundCollection
|
||||
id: AmbienceStation
|
||||
@@ -263,6 +290,16 @@
|
||||
components:
|
||||
- type: Morgue
|
||||
range: 3
|
||||
|
||||
- type: rules
|
||||
id: NearSpookyFog
|
||||
rules:
|
||||
- !type:NearbyEntitiesRule
|
||||
count: 5
|
||||
whitelist:
|
||||
tags:
|
||||
- SpookyFog
|
||||
range: 4
|
||||
|
||||
- type: rules
|
||||
id: OnMapGrid
|
||||
|
||||
@@ -1052,6 +1052,9 @@
|
||||
- type: Tag
|
||||
id: Soup
|
||||
|
||||
- type: Tag
|
||||
id: SpookyFog
|
||||
|
||||
- type: Tag
|
||||
id: Spray
|
||||
|
||||
|
||||
Reference in New Issue
Block a user