The glowing forest anomaly (#24351)
* sans * Papyrus * add to game * tweak stick * fixes * Update Resources/Prototypes/Entities/Objects/Misc/kudzu.yml Co-authored-by: Kara <lunarautomaton6@gmail.com> * Update Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml Co-authored-by: Kara <lunarautomaton6@gmail.com> --------- Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
@@ -57,4 +57,48 @@
|
||||
sprite: /Textures/Effects/mobspawn.rsi
|
||||
state: crab_uranium
|
||||
- type: SpawnOnDespawn
|
||||
prototype: MobUraniumCrab
|
||||
prototype: MobUraniumCrab
|
||||
|
||||
- type: entity
|
||||
id: EffectAnomalyFloraBulb
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: TimedDespawn
|
||||
lifetime: 0.4
|
||||
- type: Sprite
|
||||
drawdepth: Effects
|
||||
noRot: true
|
||||
layers:
|
||||
- shader: unshaded
|
||||
map: ["enum.EffectLayers.Unshaded"]
|
||||
sprite: Effects/emp.rsi
|
||||
state: emp_disable
|
||||
- type: EffectVisuals
|
||||
- type: Tag
|
||||
tags:
|
||||
- HideContextMenu
|
||||
- type: AnimationPlayer
|
||||
- type: RandomSpawner
|
||||
deleteSpawnerAfterSpawn: false
|
||||
rareChance: 0.2
|
||||
offset: 0.5
|
||||
chance: 1
|
||||
prototypes:
|
||||
- FoodAmbrosiaVulgaris
|
||||
- FoodAmbrosiaDeus
|
||||
- FoodBlueTomato
|
||||
- FoodAloe
|
||||
- FoodCabbage
|
||||
- FoodCarrot
|
||||
- FoodGalaxythistle
|
||||
- FoodGatfruit
|
||||
- FoodLemon
|
||||
- FoodLemoon
|
||||
- FoodLime
|
||||
- FoodPeaPod
|
||||
- FoodPineapple
|
||||
- FoodOnionRed
|
||||
- FoodWatermelon
|
||||
rarePrototypes:
|
||||
- MobLuminousEntity
|
||||
- MobLuminousObject
|
||||
@@ -18,5 +18,6 @@
|
||||
- AnomalyIce
|
||||
- AnomalyRock
|
||||
- AnomalyLiquid
|
||||
- AnomalyFlora
|
||||
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.
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
- type: MobThresholds
|
||||
thresholds:
|
||||
0: Alive
|
||||
100: Dead
|
||||
50: Dead
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
@@ -70,15 +70,15 @@
|
||||
types:
|
||||
Heat: -0.2
|
||||
- type: NoSlip
|
||||
- type: Pullable
|
||||
- type: ZombieImmune
|
||||
- type: NameIdentifier
|
||||
group: GenericNumber
|
||||
- type: GhostTakeoverAvailable
|
||||
- type: PointLight
|
||||
color: "#e4de6c"
|
||||
radius: 8
|
||||
softness: 2
|
||||
energy: 5
|
||||
radius: 3.0
|
||||
energy: 4.5
|
||||
color: "#6270bb"
|
||||
- type: FootstepModifier
|
||||
footstepSoundCollection:
|
||||
collection: FootstepBells
|
||||
@@ -105,7 +105,7 @@
|
||||
- type: MeleeWeapon
|
||||
damage:
|
||||
types:
|
||||
Heat: 16
|
||||
Heat: 10
|
||||
animation: WeaponArcFist
|
||||
- type: StaminaDamageOnHit
|
||||
damage: 16
|
||||
@@ -127,7 +127,7 @@
|
||||
- type: MobThresholds
|
||||
thresholds:
|
||||
0: Alive
|
||||
50: Dead
|
||||
30: Dead
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
@@ -139,7 +139,7 @@
|
||||
- type: MeleeWeapon
|
||||
damage:
|
||||
types:
|
||||
Heat: 8
|
||||
Heat: 6
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
@@ -167,7 +167,7 @@
|
||||
- type: MobThresholds
|
||||
thresholds:
|
||||
0: Alive
|
||||
60: Dead
|
||||
40: Dead
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
@@ -181,7 +181,7 @@
|
||||
types:
|
||||
Heat: 5
|
||||
- type: HitscanBatteryAmmoProvider
|
||||
proto: Pulse
|
||||
proto: RedLaser
|
||||
fireCost: 140
|
||||
- type: Battery
|
||||
maxCharge: 1000
|
||||
|
||||
@@ -103,6 +103,59 @@
|
||||
- type: Kudzu
|
||||
spreadChance: 0.3
|
||||
|
||||
- type: entity
|
||||
id: KudzuFlowerFriendly
|
||||
name: floral carpet
|
||||
suffix: Friendly, Floral Anomaly
|
||||
description: A colorful carpet of flowers sprawling in every direction. You're not sure whether to take it down or leave it up.
|
||||
parent: Kudzu
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: FloorObjects
|
||||
sprite: Objects/Misc/kudzuflower.rsi
|
||||
state: kudzu_11
|
||||
- type: Kudzu
|
||||
spriteVariants: 5
|
||||
spreadChance: 0.01
|
||||
- type: SlowContacts
|
||||
walkSpeedModifier: 0.8
|
||||
sprintSpeedModifier: 0.8
|
||||
ignoreWhitelist:
|
||||
components:
|
||||
- IgnoreKudzu
|
||||
- type: RandomSpawner
|
||||
deleteSpawnerAfterSpawn: false
|
||||
rareChance: 0.3
|
||||
offset: 0.2
|
||||
chance: 0.1
|
||||
prototypes:
|
||||
- FloraTree01
|
||||
- FloraTree02
|
||||
- FloraTree03
|
||||
- FloraTree04
|
||||
- FloraTree05
|
||||
- FloraTree06
|
||||
- FloraTreeLarge01
|
||||
- FloraTreeLarge02
|
||||
- FloraTreeLarge03
|
||||
- CrystalCyan
|
||||
rarePrototypes:
|
||||
- AnomalyFloraBulb
|
||||
|
||||
- type: entity
|
||||
id: KudzuFlowerAngry
|
||||
suffix: Angry, Floral Anomaly
|
||||
parent: KudzuFlowerFriendly
|
||||
components:
|
||||
- type: Kudzu
|
||||
spreadChance: 0.4
|
||||
- type: RandomSpawner
|
||||
chance: 0.2
|
||||
rarePrototypes:
|
||||
- AnomalyFloraBulb
|
||||
- MobLuminousEntity
|
||||
- MobLuminousObject
|
||||
|
||||
- type: entity
|
||||
id: FleshKudzu
|
||||
name: tendons
|
||||
|
||||
@@ -208,7 +208,6 @@
|
||||
types:
|
||||
Radiation: 10
|
||||
|
||||
|
||||
- type: entity
|
||||
id: AnomalyIce
|
||||
parent: BaseAnomaly
|
||||
@@ -290,6 +289,86 @@
|
||||
- WallSpawnAsteroid
|
||||
- SpawnMobOreCrab
|
||||
|
||||
- type: entity
|
||||
id: AnomalyFlora
|
||||
parent: BaseAnomaly
|
||||
suffix: Flora
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: Structures/Specific/Anomalies/flora_anom.rsi
|
||||
layers:
|
||||
- state: anom
|
||||
map: ["enum.AnomalyVisualLayers.Base"]
|
||||
- state: pulse
|
||||
map: ["enum.AnomalyVisualLayers.Animated"]
|
||||
visible: false
|
||||
- type: PointLight
|
||||
radius: 8.0
|
||||
energy: 8.5
|
||||
color: "#6270bb"
|
||||
- type: Anomaly
|
||||
animationTime: 6
|
||||
offset: 0.05, 0
|
||||
corePrototype: AnomalyCoreFlora
|
||||
coreInertPrototype: AnomalyCoreFloraInert
|
||||
anomalyContactDamage:
|
||||
types:
|
||||
Slash: 0
|
||||
- type: TileSpawnAnomaly
|
||||
floorTileId: FloorAstroGrass
|
||||
spawnRange: 10
|
||||
- type: EntitySpawnAnomaly
|
||||
maxSpawnAmount: 30
|
||||
spawnRange: 10
|
||||
superCriticalSpawns:
|
||||
- KudzuFlowerAngry
|
||||
spawns:
|
||||
- KudzuFlowerFriendly
|
||||
|
||||
- type: entity
|
||||
id: AnomalyFloraBulb
|
||||
name: strange glowing berry
|
||||
parent: BaseStructure
|
||||
description: It's a beautiful strange glowing berry. It seems to have something growing inside it...
|
||||
suffix: Flora Anomaly
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.2
|
||||
- type: InteractionOutline
|
||||
- type: Damageable
|
||||
damageContainer: Biological
|
||||
damageModifierSet: Diona
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 1
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
EffectAnomalyFloraBulb:
|
||||
min: 1
|
||||
max: 1
|
||||
- type: PointLight
|
||||
radius: 2.0
|
||||
energy: 4.5
|
||||
color: "#6270bb"
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
sprite: Structures/Specific/Anomalies/flora_anom.rsi
|
||||
state: bulb
|
||||
|
||||
- type: entity
|
||||
id: AnomalyLiquid
|
||||
parent: BaseAnomaly
|
||||
|
||||
@@ -135,6 +135,19 @@
|
||||
castShadows: false
|
||||
- type: Electrified
|
||||
|
||||
- type: entity
|
||||
parent: BaseAnomalyCore
|
||||
id: AnomalyCoreFlora
|
||||
suffix: Flora
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Specific/Anomalies/Cores/flora_core.rsi
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 2.0
|
||||
color: "#6270bb"
|
||||
castShadows: false
|
||||
|
||||
# Inert cores
|
||||
|
||||
- type: entity
|
||||
@@ -255,3 +268,16 @@
|
||||
energy: 2.0
|
||||
color: "#ffffaa"
|
||||
castShadows: false
|
||||
|
||||
- type: entity
|
||||
parent: BaseAnomalyInertCore
|
||||
id: AnomalyCoreFloraInert
|
||||
suffix: Flora, Inert
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Specific/Anomalies/Cores/flora_core.rsi
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 2.0
|
||||
color: "#6270bb"
|
||||
castShadows: false
|
||||
|
||||
Reference in New Issue
Block a user