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: AnimationPlayer
- type: RandomSpawner - type: RandomSpawner
deleteSpawnerAfterSpawn: false deleteSpawnerAfterSpawn: false
rareChance: 0.2 rareChance: 0.1
offset: 0.5 offset: 0.3
chance: 1 chance: 1
prototypes: prototypes:
- FoodAmbrosiaVulgaris - FoodAmbrosiaVulgaris
- FoodAmbrosiaDeus
- FoodBlueTomato
- FoodAloe - FoodAloe
- FoodCabbage - FoodCabbage
- FoodCarrot - FoodCarrot
- FoodGalaxythistle - FoodGalaxythistle
- FoodGatfruit
- FoodLemon - FoodLemon
- FoodLemoon
- FoodLime - FoodLime
- FoodPeaPod - FoodPeaPod
- FoodPineapple - FoodPineapple
- FoodOnionRed - FoodOnionRed
- FoodWatermelon - FoodWatermelon
- FoodAmbrosiaVulgaris
- FoodAloe
- FoodCabbage
- FoodCarrot
- FoodGalaxythistle
- FoodLemon
- FoodLime
- FoodPeaPod
- FoodPineapple
- FoodOnionRed
- FoodWatermelon
- FoodGatfruit
rarePrototypes: rarePrototypes:
- MobLuminousEntity - MobLuminousEntity
- MobLuminousObject - MobLuminousObject

View File

@@ -18,8 +18,8 @@
- SimpleHostile - SimpleHostile
- type: MovementIgnoreGravity - type: MovementIgnoreGravity
- type: MovementSpeedModifier - type: MovementSpeedModifier
baseWalkSpeed: 5.5 baseWalkSpeed: 3.5
baseSprintSpeed: 5.5 baseSprintSpeed: 3.5
- type: Sprite - type: Sprite
drawdepth: Mobs drawdepth: Mobs
sprite: Mobs/Elemental/living_light/luminous_person.rsi sprite: Mobs/Elemental/living_light/luminous_person.rsi
@@ -34,6 +34,9 @@
thresholds: thresholds:
0: Alive 0: Alive
50: Dead 50: Dead
- type: SlowOnDamage
speedModifierThresholds:
20: 0.5
- type: DamageStateVisuals - type: DamageStateVisuals
states: states:
Alive: Alive:
@@ -87,16 +90,17 @@
- type: Tag - type: Tag
tags: tags:
- FootstepSound - FootstepSound
- DoorBumpOpener
- type: Destructible - type: Destructible
thresholds: thresholds:
- trigger: - trigger:
!type:DamageTypeTrigger !type:DamageTrigger
damageType: Heat damage: 50
damage: 150 behaviors:
behaviors: - !type:DoActsBehavior
- !type:DoActsBehavior acts: [ "Destruction" ]
acts: [ "Destruction" ] - !type:PlaySoundBehavior
sound:
collection: GlassBreak
- type: entity - type: entity
id: MobLuminousPerson id: MobLuminousPerson
@@ -127,7 +131,7 @@
- type: MobThresholds - type: MobThresholds
thresholds: thresholds:
0: Alive 0: Alive
30: Dead 50: Dead
- type: DamageStateVisuals - type: DamageStateVisuals
states: states:
Alive: Alive:
@@ -140,15 +144,6 @@
damage: damage:
types: types:
Heat: 6 Heat: 6
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 80
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity - type: entity
id: MobLuminousEntity id: MobLuminousEntity
@@ -200,12 +195,3 @@
path: /Audio/Weapons/Guns/Gunshots/laser3.ogg path: /Audio/Weapons/Guns/Gunshots/laser3.ogg
soundEmpty: soundEmpty:
path: /Audio/Items/Lighters/lighter_off.ogg 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 - IgnoreKudzu
- type: RandomSpawner - type: RandomSpawner
deleteSpawnerAfterSpawn: false deleteSpawnerAfterSpawn: false
rareChance: 0.3 rareChance: 0.15
offset: 0.2 offset: 0.2
chance: 0.1 chance: 0.05
prototypes: prototypes:
- FloraTree01 - FloraTree01
- FloraTree02 - FloraTree02
@@ -150,7 +150,7 @@
- type: Kudzu - type: Kudzu
spreadChance: 0.4 spreadChance: 0.4
- type: RandomSpawner - type: RandomSpawner
chance: 0.2 chance: 0.1
rarePrototypes: rarePrototypes:
- AnomalyFloraBulb - AnomalyFloraBulb
- MobLuminousEntity - MobLuminousEntity

View File

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