Flora anom hotfix (#24364)

* fix

* less entities

* ф
This commit is contained in:
Ed
2024-01-21 13:50:01 +03:00
committed by GitHub
parent 7a41b58fd2
commit 86700e1334
4 changed files with 35 additions and 41 deletions

View File

@@ -80,25 +80,33 @@
- type: AnimationPlayer
- type: RandomSpawner
deleteSpawnerAfterSpawn: false
rareChance: 0.2
offset: 0.5
rareChance: 0.1
offset: 0.3
chance: 1
prototypes:
- FoodAmbrosiaVulgaris
- FoodAmbrosiaDeus
- FoodBlueTomato
- FoodAloe
- FoodCabbage
- FoodCarrot
- FoodGalaxythistle
- FoodGatfruit
- FoodLemon
- FoodLemoon
- FoodLime
- FoodPeaPod
- FoodPineapple
- FoodOnionRed
- FoodWatermelon
- FoodAmbrosiaVulgaris
- FoodAloe
- FoodCabbage
- FoodCarrot
- FoodGalaxythistle
- FoodLemon
- FoodLime
- FoodPeaPod
- FoodPineapple
- FoodOnionRed
- FoodWatermelon
- FoodGatfruit
rarePrototypes:
- MobLuminousEntity
- MobLuminousObject

View File

@@ -18,8 +18,8 @@
- SimpleHostile
- type: MovementIgnoreGravity
- type: MovementSpeedModifier
baseWalkSpeed: 5.5
baseSprintSpeed: 5.5
baseWalkSpeed: 3.5
baseSprintSpeed: 3.5
- type: Sprite
drawdepth: Mobs
sprite: Mobs/Elemental/living_light/luminous_person.rsi
@@ -34,6 +34,9 @@
thresholds:
0: Alive
50: Dead
- type: SlowOnDamage
speedModifierThresholds:
20: 0.5
- type: DamageStateVisuals
states:
Alive:
@@ -87,16 +90,17 @@
- type: Tag
tags:
- FootstepSound
- DoorBumpOpener
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 150
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- type: entity
id: MobLuminousPerson
@@ -127,7 +131,7 @@
- type: MobThresholds
thresholds:
0: Alive
30: Dead
50: Dead
- type: DamageStateVisuals
states:
Alive:
@@ -140,15 +144,6 @@
damage:
types:
Heat: 6
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 80
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: MobLuminousEntity
@@ -200,12 +195,3 @@
path: /Audio/Weapons/Guns/Gunshots/laser3.ogg
soundEmpty:
path: /Audio/Items/Lighters/lighter_off.ogg
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]

View File

@@ -125,9 +125,9 @@
- IgnoreKudzu
- type: RandomSpawner
deleteSpawnerAfterSpawn: false
rareChance: 0.3
rareChance: 0.15
offset: 0.2
chance: 0.1
chance: 0.05
prototypes:
- FloraTree01
- FloraTree02
@@ -150,7 +150,7 @@
- type: Kudzu
spreadChance: 0.4
- type: RandomSpawner
chance: 0.2
chance: 0.1
rarePrototypes:
- AnomalyFloraBulb
- MobLuminousEntity

View File

@@ -317,10 +317,10 @@
Slash: 0
- type: TileSpawnAnomaly
floorTileId: FloorAstroGrass
spawnRange: 10
spawnRange: 6
- type: EntitySpawnAnomaly
maxSpawnAmount: 30
spawnRange: 10
maxSpawnAmount: 15
spawnRange: 6
superCriticalSpawns:
- KudzuFlowerAngry
spawns: