init
This commit is contained in:
121
Prototypes/Procedural/Magnet/asteroid.yml
Normal file
121
Prototypes/Procedural/Magnet/asteroid.yml
Normal file
@@ -0,0 +1,121 @@
|
||||
# SPDX-FileCopyrightText: 2024 Ed <96445749+TheShuEd@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2024 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2024 Zadeon <loldude9000@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2024 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
# Large asteroids, typically 1
|
||||
- type: dungeonConfig
|
||||
id: BlobAsteroid
|
||||
# Floor generation
|
||||
layers:
|
||||
- !type:NoiseDunGen
|
||||
tileCap: 1000
|
||||
capStd: 32
|
||||
iterations: 3
|
||||
layers:
|
||||
- tile: FloorAsteroidSand
|
||||
threshold: 0.30
|
||||
noise:
|
||||
frequency: 0.020
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
octaves: 2
|
||||
lacunarity: 2
|
||||
|
||||
# Generate biome
|
||||
- !type:BiomeDunGen
|
||||
biomeTemplate: Asteroid
|
||||
- !type:OreDunGen
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockGibtonite
|
||||
count: 8
|
||||
minGroupSize: 0
|
||||
maxGroupSize: 1
|
||||
|
||||
# Multiple smaller asteroids
|
||||
# This is a pain so we generate fewer tiles
|
||||
- type: dungeonConfig
|
||||
id: ClusterAsteroid
|
||||
# Floor generation
|
||||
layers:
|
||||
- !type:NoiseDunGen
|
||||
tileCap: 750
|
||||
capStd: 32
|
||||
layers:
|
||||
- tile: FloorAsteroidSand
|
||||
threshold: 0.10
|
||||
noise:
|
||||
frequency: 0.130
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
octaves: 2
|
||||
lacunarity: 2
|
||||
|
||||
# Generate biome
|
||||
- !type:BiomeDunGen
|
||||
biomeTemplate: Asteroid
|
||||
- !type:OreDunGen
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockGibtonite
|
||||
count: 8
|
||||
minGroupSize: 0
|
||||
maxGroupSize: 1
|
||||
|
||||
# Long and spindly, less smooth than blob
|
||||
- type: dungeonConfig
|
||||
id: SpindlyAsteroid
|
||||
# Floor generation
|
||||
layers:
|
||||
- !type:NoiseDunGen
|
||||
tileCap: 1000
|
||||
capStd: 32
|
||||
layers:
|
||||
- tile: FloorAsteroidSand
|
||||
threshold: -0.50
|
||||
noise:
|
||||
frequency: 0.055
|
||||
noiseType: Cellular
|
||||
fractalType: FBm
|
||||
octaves: 3
|
||||
lacunarity: 2
|
||||
cellularDistanceFunction: Euclidean
|
||||
|
||||
# Generate biome
|
||||
- !type:BiomeDunGen
|
||||
biomeTemplate: Asteroid
|
||||
- !type:OreDunGen
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockGibtonite
|
||||
count: 8
|
||||
minGroupSize: 0
|
||||
maxGroupSize: 1
|
||||
|
||||
# Lots of holes in it
|
||||
- type: dungeonConfig
|
||||
id: SwissCheeseAsteroid
|
||||
# Floor generation
|
||||
layers:
|
||||
- !type:NoiseDunGen
|
||||
tileCap: 1000
|
||||
capStd: 32
|
||||
layers:
|
||||
- tile: FloorAsteroidSand
|
||||
threshold: -0.10
|
||||
noise:
|
||||
frequency: 0.155
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
octaves: 2
|
||||
lacunarity: 2
|
||||
|
||||
# Generate biome
|
||||
- !type:BiomeDunGen
|
||||
biomeTemplate: Asteroid
|
||||
- !type:OreDunGen
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockGibtonite
|
||||
count: 8
|
||||
minGroupSize: 0
|
||||
maxGroupSize: 1
|
||||
102
Prototypes/Procedural/Magnet/asteroid_ore_gens.yml
Normal file
102
Prototypes/Procedural/Magnet/asteroid_ore_gens.yml
Normal file
@@ -0,0 +1,102 @@
|
||||
# SPDX-FileCopyrightText: 2024 Aiden <aiden@djkraz.com>
|
||||
# SPDX-FileCopyrightText: 2024 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
|
||||
# SPDX-FileCopyrightText: 2024 lanse12 <cloudability.ez@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
- type: weightedRandom
|
||||
id: AsteroidOre
|
||||
weights:
|
||||
OreIron: 1.0
|
||||
OreQuartz: 1.0
|
||||
OreCoal: 0.33
|
||||
OreSalt: 0.25
|
||||
OreGold: 0.25
|
||||
OreSilver: 0.25
|
||||
OrePlasma: 0.20
|
||||
OreUranium: 0.20
|
||||
OreArtifactFragment: 0.10
|
||||
OreBananium: 0.10
|
||||
|
||||
- type: oreDunGen
|
||||
id: OreIron
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockTin
|
||||
count: 5
|
||||
minGroupSize: 5
|
||||
maxGroupSize: 7
|
||||
|
||||
- type: oreDunGen
|
||||
id: OreQuartz
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockQuartz
|
||||
count: 5
|
||||
minGroupSize: 5
|
||||
maxGroupSize: 7
|
||||
|
||||
- type: oreDunGen
|
||||
id: OreCoal
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockCoal
|
||||
count: 3
|
||||
minGroupSize: 5
|
||||
maxGroupSize: 7
|
||||
|
||||
- type: oreDunGen
|
||||
id: OreSalt
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockSalt
|
||||
count: 3
|
||||
minGroupSize: 5
|
||||
maxGroupSize: 7
|
||||
|
||||
- type: oreDunGen
|
||||
id: OreGold
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockGold
|
||||
count: 4
|
||||
minGroupSize: 5
|
||||
maxGroupSize: 7
|
||||
|
||||
- type: oreDunGen
|
||||
id: OreSilver
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockSilver
|
||||
count: 4
|
||||
minGroupSize: 5
|
||||
maxGroupSize: 7
|
||||
|
||||
- type: oreDunGen
|
||||
id: OrePlasma
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockPlasma
|
||||
count: 4
|
||||
minGroupSize: 5
|
||||
maxGroupSize: 7
|
||||
|
||||
- type: oreDunGen
|
||||
id: OreUranium
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockUranium
|
||||
count: 4
|
||||
minGroupSize: 5
|
||||
maxGroupSize: 7
|
||||
|
||||
- type: oreDunGen
|
||||
id: OreBananium
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockBananium
|
||||
count: 6
|
||||
minGroupSize: 3
|
||||
maxGroupSize: 6
|
||||
|
||||
- type: oreDunGen
|
||||
id: OreArtifactFragment
|
||||
replacement: AsteroidRock
|
||||
entity: AsteroidRockArtifactFragment
|
||||
count: 5
|
||||
minGroupSize: 1
|
||||
maxGroupSize: 2
|
||||
|
||||
87
Prototypes/Procedural/Magnet/space_debris.yml
Normal file
87
Prototypes/Procedural/Magnet/space_debris.yml
Normal file
@@ -0,0 +1,87 @@
|
||||
# SPDX-FileCopyrightText: 2024 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
|
||||
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
- type: dungeonConfig
|
||||
id: ChunkDebris
|
||||
# Floor generation
|
||||
layers:
|
||||
- !type:NoiseDunGen
|
||||
tileCap: 500
|
||||
capStd: 32
|
||||
iterations: 7
|
||||
layers:
|
||||
- tile: FloorSteel
|
||||
threshold: 0.50
|
||||
noise:
|
||||
frequency: 0.05
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
octaves: 3
|
||||
lacunarity: 3
|
||||
gain: 0.5
|
||||
- tile: Plating
|
||||
threshold: 0.35
|
||||
noise:
|
||||
frequency: 0.05
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
octaves: 3
|
||||
lacunarity: 3
|
||||
gain: 0.3
|
||||
- tile: Lattice
|
||||
threshold: 0.25
|
||||
noise:
|
||||
frequency: 0.05
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
octaves: 3
|
||||
lacunarity: 3
|
||||
gain: 0.5
|
||||
|
||||
# Generate biome
|
||||
- !type:BiomeDunGen
|
||||
biomeTemplate: SpaceDebris
|
||||
|
||||
- type: dungeonConfig
|
||||
id: ChunkDebrisSmall
|
||||
# Floor generation
|
||||
layers:
|
||||
- !type:NoiseDunGen
|
||||
tileCap: 150
|
||||
capStd: 32
|
||||
iterations: 3
|
||||
layers:
|
||||
- tile: FloorSteel
|
||||
threshold: 0.50
|
||||
noise:
|
||||
frequency: 0.05
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
octaves: 3
|
||||
lacunarity: 3
|
||||
gain: 0.5
|
||||
- tile: Plating
|
||||
threshold: 0.35
|
||||
noise:
|
||||
frequency: 0.05
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
octaves: 3
|
||||
lacunarity: 3
|
||||
gain: 0.3
|
||||
- tile: Lattice
|
||||
threshold: 0.25
|
||||
noise:
|
||||
frequency: 0.05
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
octaves: 3
|
||||
lacunarity: 3
|
||||
gain: 0.5
|
||||
|
||||
# Generate biome
|
||||
- !type:BiomeDunGen
|
||||
biomeTemplate: SpaceDebris
|
||||
114
Prototypes/Procedural/Magnet/space_debris_templates.yml
Normal file
114
Prototypes/Procedural/Magnet/space_debris_templates.yml
Normal file
@@ -0,0 +1,114 @@
|
||||
# SPDX-FileCopyrightText: 2024 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
|
||||
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
# Asteroid
|
||||
- type: biomeTemplate
|
||||
id: SpaceDebris
|
||||
layers:
|
||||
- !type:BiomeEntityLayer
|
||||
threshold: 0.20
|
||||
noise:
|
||||
seed: 0
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: Ridged
|
||||
octaves: 4
|
||||
frequency: 0.065
|
||||
gain: 5
|
||||
lacunarity: 1.5
|
||||
allowedTiles:
|
||||
- Plating
|
||||
- FloorSteel
|
||||
entities:
|
||||
- WallSolid
|
||||
- AirlockMaintLocked
|
||||
- Girder
|
||||
- Girder
|
||||
- WallReinforced
|
||||
- WallSolid
|
||||
- WallSolid
|
||||
- !type:BiomeEntityLayer
|
||||
threshold: 0.5
|
||||
noise:
|
||||
seed: 0
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: Ridged
|
||||
octaves: 4
|
||||
frequency: 0.065
|
||||
gain: 2
|
||||
lacunarity: 1.5
|
||||
allowedTiles:
|
||||
- Plating
|
||||
- Lattice
|
||||
entities:
|
||||
- Grille
|
||||
- Grille
|
||||
- Grille
|
||||
- GrilleBroken
|
||||
- !type:BiomeDecalLayer
|
||||
allowedTiles:
|
||||
- FloorSteel
|
||||
threshold: -0.5
|
||||
divisions: 1
|
||||
noise:
|
||||
seed: 1
|
||||
frequency: 1
|
||||
decals:
|
||||
- DirtHeavy
|
||||
- DirtHeavy
|
||||
- DirtHeavy
|
||||
- DirtMedium
|
||||
- DirtMedium
|
||||
- DirtLight
|
||||
- !type:BiomeEntityLayer
|
||||
threshold: 0.45
|
||||
noise:
|
||||
seed: 1
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: Ridged
|
||||
octaves: 4
|
||||
frequency: 0.065
|
||||
gain: 2
|
||||
lacunarity: 1.5
|
||||
allowedTiles:
|
||||
- Plating
|
||||
- FloorSteel
|
||||
entities:
|
||||
- SalvageSpawnerStructuresVarious
|
||||
- !type:BiomeEntityLayer
|
||||
allowedTiles:
|
||||
- FloorSteel
|
||||
- Plating
|
||||
threshold: 0.2
|
||||
noise:
|
||||
seed: 1
|
||||
frequency: 1
|
||||
entities:
|
||||
- SalvageSpawnerScrapValuable
|
||||
- SalvageSpawnerScrapCommon
|
||||
- SalvageSpawnerScrapCommon
|
||||
- SalvageSpawnerScrapCommon
|
||||
- SalvageSpawnerScrapCommon75
|
||||
- !type:BiomeEntityLayer
|
||||
allowedTiles:
|
||||
- FloorSteel
|
||||
- Plating
|
||||
threshold: 0.7
|
||||
noise:
|
||||
seed: 1
|
||||
frequency: 1
|
||||
entities:
|
||||
- SalvageSpawnerTreasure
|
||||
- SalvageSpawnerTreasure
|
||||
- SalvageSpawnerTreasureValuable
|
||||
- !type:BiomeEntityLayer
|
||||
allowedTiles:
|
||||
- FloorSteel
|
||||
- Plating
|
||||
threshold: 0.925
|
||||
noise:
|
||||
seed: 1
|
||||
frequency: 1
|
||||
entities:
|
||||
- SalvageSpawnerMobMagnet75
|
||||
Reference in New Issue
Block a user