From 244028440be633fd9158a41d0e13079f67599d05 Mon Sep 17 00:00:00 2001 From: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com> Date: Mon, 8 Jul 2024 10:03:39 +0300 Subject: [PATCH] Cherry-Pick Delta-V Asteroids (#526) # Description Cherry-picks https://github.com/DeltaV-Station/Delta-v/pull/1079 Credit to IamVelcroboy # Changelog :cl: Velcroboy - tweak: Changed asteroids to have more ore...and some danger Co-authored-by: Velcroboy <107660393+IamVelcroboy@users.noreply.github.com> Co-authored-by: Velcroboy --- .../Markers/Spawners/Random/miningrock.yml | 22 +++++++++++++++++-- .../Entities/Structures/Walls/mountain.yml | 15 +++++++++++-- .../Prototypes/Procedural/biome_templates.yml | 2 +- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/miningrock.yml b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/miningrock.yml index f4aef8284b8..204901d8bda 100644 --- a/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/miningrock.yml +++ b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/miningrock.yml @@ -17,14 +17,17 @@ - Barricade - MountainRockMining - MountainRock - - RandomCrystalSpawner + - RandomStalagmiteOrCrystal - RandomWallRockSpawner - RandomBasaltRockSpawner + - AsteroidRockOreCrab + - RandomWoodenStructure rareChance: 0.15 - type: entity name: Crystal Spawner id: RandomCrystalSpawner + suffix: 100% parent: MarkerBase components: - type: Sprite @@ -81,4 +84,19 @@ - WallRockBasaltTin - WallRockBasaltUranium - WallRockBasaltArtifactFragment -#Might add chance for no crystal later?? + +- type: entity + id: RandomWoodenStructure + name: wooden wall or support spawner + parent: MarkerBase + components: + - type: Sprite + layers: + - state: red + - sprite: Objects/Decoration/mines.rsi + state: support_wall_broken + - type: RandomSpawner + prototypes: + - RandomWoodenWall + - RandomWoodenSupport + chance: 0.9 diff --git a/Resources/Prototypes/DeltaV/Entities/Structures/Walls/mountain.yml b/Resources/Prototypes/DeltaV/Entities/Structures/Walls/mountain.yml index 43d56751716..575687336ad 100644 --- a/Resources/Prototypes/DeltaV/Entities/Structures/Walls/mountain.yml +++ b/Resources/Prototypes/DeltaV/Entities/Structures/Walls/mountain.yml @@ -69,7 +69,7 @@ id: MountainRock parent: BaseStructure name: mountain rock - suffix: un-mineable + suffix: Un-mineable description: A craggy mountain wall. It is too hard to mine. components: - type: Sprite @@ -107,7 +107,7 @@ id: AsteroidAltRockMining parent: AsteroidAltRock name: asteroid rock - suffix: higher ore yield + suffix: Higher Ore Yield description: A rocky asteroid. components: - type: Gatherable @@ -117,3 +117,14 @@ - type: OreVein oreChance: 0.33 oreRarityPrototypeId: RandomOreDistributionStandard + +- type: entity + id: AsteroidRockOreCrab + parent: AsteroidAltRock + name: asteroid rock + suffix: Ore Crab + description: A rocky asteroid. + components: + - type: OreVein + oreChance: 0.33 + oreRarityPrototypeId: OreCrab diff --git a/Resources/Prototypes/Procedural/biome_templates.yml b/Resources/Prototypes/Procedural/biome_templates.yml index 88979316443..425bcd824ab 100644 --- a/Resources/Prototypes/Procedural/biome_templates.yml +++ b/Resources/Prototypes/Procedural/biome_templates.yml @@ -620,7 +620,7 @@ allowedTiles: - FloorAsteroidSand entities: - - AsteroidRock + - RandomRockSpawner #Delta V - Makes Asteroids Great-ish Again - !type:BiomeTileLayer threshold: -1.0 tile: FloorAsteroidSand