From 04a9cc6accac95da848b7de2af5123b405a1024f Mon Sep 17 00:00:00 2001 From: Ed Date: Sat, 3 Aug 2024 21:36:50 +0300 Subject: [PATCH] mobs and aura spawners --- .../Spawners/Constrained/test_xeno.yml | 9 +++++-- .../_CP14/Entities/Mobs/NPC/xeno_test.yml | 27 ++++++++++++++++--- .../_CP14/Procedural/biome_template.yml | 17 ++++++++++++ .../Procedural/biomes_template_grasslands.yml | 19 ++++++++++++- 4 files changed, 65 insertions(+), 7 deletions(-) diff --git a/Resources/Prototypes/_CP14/Entities/Markers/Spawners/Constrained/test_xeno.yml b/Resources/Prototypes/_CP14/Entities/Markers/Spawners/Constrained/test_xeno.yml index cde8e0b2c1..2e90b85ab1 100644 --- a/Resources/Prototypes/_CP14/Entities/Markers/Spawners/Constrained/test_xeno.yml +++ b/Resources/Prototypes/_CP14/Entities/Markers/Spawners/Constrained/test_xeno.yml @@ -35,5 +35,10 @@ - type: CP14ConstrainedSpawnerOnTrigger prototypes: - CP14MobXeno - - CP14MobXenoPraetorian - - CP14MobXenoDrone \ No newline at end of file + - CP14MobXenoDrone + - CP14MobSpaceCobra + - CP14MobSmallPurpleSnake + - CP14MobPurpleSnake + - MobLuminousEntity + - MobLuminousObject + - CP14MobWatcherMagmawing \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Entities/Mobs/NPC/xeno_test.yml b/Resources/Prototypes/_CP14/Entities/Mobs/NPC/xeno_test.yml index 26ffe557d4..2e93c2873f 100644 --- a/Resources/Prototypes/_CP14/Entities/Mobs/NPC/xeno_test.yml +++ b/Resources/Prototypes/_CP14/Entities/Mobs/NPC/xeno_test.yml @@ -5,13 +5,32 @@ - type: CP14OutPVSDespawn - type: entity - id: CP14MobXenoPraetorian - parent: MobXenoPraetorian + id: CP14MobXenoDrone + parent: MobXenoDrone components: - type: CP14OutPVSDespawn - type: entity - id: CP14MobXenoDrone - parent: MobXenoDrone + id: CP14MobSpaceCobra + name: cobra + parent: MobCobraSpace + components: + - type: CP14OutPVSDespawn + +- type: entity + id: CP14MobPurpleSnake + parent: MobPurpleSnake + components: + - type: CP14OutPVSDespawn + +- type: entity + id: CP14MobSmallPurpleSnake + parent: MobSmallPurpleSnake + components: + - type: CP14OutPVSDespawn + +- type: entity + id: CP14MobWatcherMagmawing + parent: MobWatcherMagmawing components: - type: CP14OutPVSDespawn \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Procedural/biome_template.yml b/Resources/Prototypes/_CP14/Procedural/biome_template.yml index 3f2a9eaea9..d45472f547 100644 --- a/Resources/Prototypes/_CP14/Procedural/biome_template.yml +++ b/Resources/Prototypes/_CP14/Procedural/biome_template.yml @@ -86,6 +86,23 @@ - CP14FloorBase entities: - CP14GatherableLumiMushroom + - !type:BiomeEntityLayer # lumishroom sage + threshold: 0.8 + noise: + seed: 8 + noiseType: OpenSimplex2 + fractalType: Ridged + frequency: 0.85 + octaves: 3 + lacunarity: 1.8 + gain: 0.7 + domainWarpType: OpenSimplex2 + domainWarpAmp: 120 + allowedTiles: + - CP14FloorBase + entities: + - CP14ConstrainedSpawnerXeno + - CP14AuraNodeBase # Lakes start - !type:BiomeEntityLayer allowedTiles: diff --git a/Resources/Prototypes/_CP14/Procedural/biomes_template_grasslands.yml b/Resources/Prototypes/_CP14/Procedural/biomes_template_grasslands.yml index d8feae1b32..950283b444 100644 --- a/Resources/Prototypes/_CP14/Procedural/biomes_template_grasslands.yml +++ b/Resources/Prototypes/_CP14/Procedural/biomes_template_grasslands.yml @@ -168,6 +168,23 @@ - CP14FloorGrass entities: - CP14GatherableWildSage + - !type:BiomeEntityLayer # Mobs and aura + threshold: 0.7 + noise: + seed: 8 + noiseType: OpenSimplex2 + fractalType: Ridged + frequency: 0.85 + octaves: 3 + lacunarity: 1.8 + gain: 0.7 + domainWarpType: OpenSimplex2 + domainWarpAmp: 120 + allowedTiles: + - CP14FloorGrass + entities: + - CP14ConstrainedSpawnerXeno + - CP14AuraNodeBase # Подбиомы лугов @@ -177,7 +194,7 @@ - !type:BiomeMetaLayer template: CP14Grassland - !type:BiomeEntityLayer # More Trees - threshold: 0.5 + threshold: 0.2 noise: seed: 4 noiseType: OpenSimplex2