Skip to content

Commit

Permalink
Mining asteroids overhaul (#1373)
Browse files Browse the repository at this point in the history
* More crabs

* Add to meta

* Add more crabspawn

* Create meta.json

* Add golems

* Rename iron_golem.png to steel_golem.png

* Rename steel_golem.png to iron_golem.png

* Add crabs and elementals

* Add golem spawn

* Golem spawn

Why did they just a one folder for all mobspawn? Weird.

* Add crabs and elementals to mobspawn

* Added walls with crabs and golems

* Add crabs and golems to random spawners

* New pretty asteroids

* Whoops, don't think you need magmite right now

* And now asteroids spawn

* Add crabs to wallspawn

* More wallspawns for new AnomalyRock

* AnomalyRock for every crab

* Add new Rock anomaly to random spawn

* Metacrabs fix

* Ok i got it

* Move orecrabs and golems to ore.yml

* Moved crabs and golems from asteroid.yml

* Fix some YAMLL errors

* It's never happening, you didn't seen this

* You don't need this

* Not an ironcrab, tin crab, bruh

* Fix some YAMLL errors

* Rebase to NF folder

* You're not supposed to be here

* God Help Me

* Update ore.yml

* Update anomalies.yml

* Cleanup

* Cleanup 2

* Update wallspawn.yml

* Update wallspawn.yml

* Update asteroid.yml

* Update ore.yml

* Update ore.yml

* Update ore.yml

* Update elemental.yml

* cleanup

---------

Co-authored-by: Dvir <[email protected]>
Co-authored-by: Checkraze <[email protected]>
  • Loading branch information
3 people authored May 24, 2024
1 parent f59430f commit 0a1c109
Show file tree
Hide file tree
Showing 39 changed files with 4,291 additions and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@
- AnomalyRockSilver
- AnomalyRockQuartz
- AnomalyRockUranium
- AnomalyRockBananium # Frontier
- AnomalyRockCoal # Frontier
- AnomalyRockGold # Frontier
- AnomalyRockPlasma # Frontier
- AnomalyRockSalt # Frontier
chance: 1
offset: 0.15
offset: 0.15
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Mobs/NPCs/elemental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -530,4 +530,4 @@
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive
color: "#3e901c"
color: "#3e901c"
Original file line number Diff line number Diff line change
Expand Up @@ -1845,4 +1845,4 @@
state: rock_andesite_north
- map: [ "enum.EdgeLayer.West" ]
state: rock_andesite_west
- state: rock_salt
- state: rock_salt
54 changes: 13 additions & 41 deletions Resources/Prototypes/Entities/World/Debris/asteroids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,56 +14,39 @@
- type: SimpleFloorPlanPopulator
entries:
FloorAsteroidSand:
- id: RandomArtifactSpawner20
prob: 0.03
orGroup: rock
- id: WallRock
prob: 0.3
prob: 0.5
orGroup: rock
- id: WallRockCoal
prob: 0.15
orGroup: rock
- id: WallRockTin
prob: 0.2
prob: 0.15
orGroup: rock
- id: WallRockQuartz
prob: 0.1
prob: 0.15
orGroup: rock
- id: WallRockSalt
prob: 0.15
orGroup: rock
- id: WallRockGold
prob: 0.06
prob: 0.05
orGroup: rock
- id: WallRockSilver
prob: 0.04
prob: 0.05
orGroup: rock
- id: WallRockPlasma
prob: 0.07
prob: 0.05
orGroup: rock
- id: WallRockUranium
prob: 0.04
prob: 0.02
orGroup: rock
- id: WallRockBananium
prob: 0.03
prob: 0.02
orGroup: rock
- id: WallRockArtifactFragment
prob: 0.03
orGroup: rock
- id: SalvageMobSpawner
prob: 0.001
orGroup: rock
- id: SpawnMobBearSalvage
prob: 0.001
prob: 0.01
orGroup: rock
- id: SpawnMobSpiderSalvage
prob: 0.001
orGroup: rock
- id: SpawnMobKangarooSalvage
prob: 0.001
orGroup: rock
- type: GCAbleObject
queue: SpaceDebris
- type: IFF
flags: HideLabel
color: "#d67e27"
Expand All @@ -86,7 +69,7 @@
components:
- type: MapGrid
- type: BlobFloorPlanBuilder
floorPlacements: 24
floorPlacements: 16

- type: entity
id: AsteroidDebrisLarge
Expand All @@ -96,7 +79,7 @@
components:
- type: MapGrid
- type: BlobFloorPlanBuilder
floorPlacements: 36
floorPlacements: 24

- type: entity
id: AsteroidDebrisLarger
Expand All @@ -107,18 +90,7 @@
- type: MapGrid
- type: BlobFloorPlanBuilder
radius: 12
floorPlacements: 48

- type: entity
id: AsteroidDebrisHuge
parent: BaseAsteroidDebris
name: Asteroid Debris Huge
noSpawn: true
components:
- type: MapGrid
- type: BlobFloorPlanBuilder
radius: 28
floorPlacements: 108
floorPlacements: 36

- type: entity
id: AsteroidSalvageSmall
Expand Down Expand Up @@ -166,4 +138,4 @@
- type: BlobFloorPlanBuilder
blobDrawProb: 0.66
radius: 23
floorPlacements: 250
floorPlacements: 250
21 changes: 5 additions & 16 deletions Resources/Prototypes/World/Biomes/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,20 @@
densityNoiseChannel: Density
- type: SimpleDebrisSelector
debrisTable:
##- id: AsteroidDebrisSmall
- id: AsteroidDebrisSmall
- id: AsteroidDebrisMedium
- id: AsteroidDebrisLarge
prob: 0.6
prob: 0.7
- id: AsteroidDebrisLarger
prob: 0.3
- id: AsteroidDebrisHuge
prob: 0.15
prob: 0.4
- type: NoiseDrivenDebrisSelector
noiseChannel: Wreck
debrisTable:
- id: ScrapDebrisSmall
prob: 1
- id: ScrapDebrisMedium
prob: 1
- id: ScrapDebrisLarge
prob: 0.6
- id: ScrapDebrisExtraLarge
prob: 0.3
- id: ScrapDebrisExtraLargeScattered
prob: 0.3
- id: ScrapDebrisHuge
prob: 0.15

prob: 0.5
- type: NoiseRangeCarver
ranges:
- 0.4, 0.6
noiseChannel: Carver
noiseChannel: Carver
2 changes: 1 addition & 1 deletion Resources/Prototypes/World/worldgen_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
biomes:
- AsteroidsFallback
- Failsafe
- AsteroidsStandard
- AsteroidsStandardNF # Frontier - AsteroidsStandard<AsteroidsStandardNF
Loading

0 comments on commit 0a1c109

Please sign in to comment.