Skip to content

Commit

Permalink
Cherry-Pick Delta-V Asteroids (#526)
Browse files Browse the repository at this point in the history
# Description
Cherry-picks DeltaV-Station/Delta-v#1079

Credit to IamVelcroboy

# Changelog
:cl: Velcroboy
- tweak: Changed asteroids to have more ore...and some danger

Co-authored-by: Velcroboy <[email protected]>
Co-authored-by: Velcroboy <[email protected]>
  • Loading branch information
3 people committed Jul 8, 2024
1 parent a6073ef commit 2440284
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
15 changes: 13 additions & 2 deletions Resources/Prototypes/DeltaV/Entities/Structures/Walls/mountain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion Resources/Prototypes/Procedural/biome_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@
allowedTiles:
- FloorAsteroidSand
entities:
- AsteroidRock
- RandomRockSpawner #Delta V - Makes Asteroids Great-ish Again
- !type:BiomeTileLayer
threshold: -1.0
tile: FloorAsteroidSand

0 comments on commit 2440284

Please sign in to comment.