Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
blacklist:
tags:
- Catwalk
- Ice # starcup - let ice crust cover plasma
- type: TileEntityEffect
effects:
- !type:Flammable
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
- type: entity
parent: MarkerBase
id: RandomWallRockSnowOreSpawner
name: snowdrift ore spawner
components:
- type: Sprite
sprite: Structures/Walls/rock.rsi
state: rock_snow
- type: EntityTableSpawner
table: !type:NestedSelector
tableId: RandomSnowdriftOreTable

- type: entityTable
id: RandomSnowdriftOreTable
table: !type:GroupSelector
children:
- id: WallRockSnowCoal
weight: 0.5
- id: WallRockSnowTin
weight: 0.5
- id: WallRockSnowQuartz
weight: 0.5
- id: WallRockSnowPlasma
weight: 0.4 # plasma is extra-common on yssmoon
- id: WallRockSnowSilver
weight: 0.1
- id: WallRockSnowGold
weight: 0.05
- id: WallRockSnowUranium
weight: 0.05
- id: WallRockSnowBananium
weight: 0.025
- id: WallRockSnowDiamond
weight: 0.025
- id: WallRockSnowArtifactFragment
weight: 0.025
16 changes: 16 additions & 0 deletions Resources/Prototypes/_starcup/Entities/Tiles/liquid_plasma.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- type: entity
parent: FloorLiquidPlasmaEntity
id: FloorIceLiquidPlasmaEntity
suffix: Ice
name: liquid plasma
description: Sweet, expensive nectar. Don't consume.
components:
- type: Sprite
sprite: _starcup/Tiles/Planet/ice_liquid_plasma.rsi
drawdepth: BelowFloor
layers:
- state: plasma
shader: unshaded
- type: Icon
sprite: _starcup/Tiles/Planet/ice_liquid_plasma.rsi
state: full
160 changes: 160 additions & 0 deletions Resources/Prototypes/_starcup/Procedural/biome_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,163 @@
fractalType: None
entities:
- FloorMuteWaterEntity


# Snow
- type: biomeTemplate
id: SnowPtarmigan
layers:
# Sparse vegetation
- !type:BiomeDecalLayer
allowedTiles:
- FloorSnow
divisions: 2
threshold: -0.50
noise:
seed: 0
noiseType: Cellular
frequency: 1
decals:
- grasssnowa1
- grasssnowa2
- grasssnowa3
- grasssnowb1
- grasssnowb2
- grasssnowb3
- grasssnowc1
- grasssnowc2
- grasssnowc3
# Dense, bland grass
- !type:BiomeDecalLayer
allowedTiles:
- FloorSnow
divisions: 1
threshold: -0.35
noise:
seed: 0
noiseType: Cellular
frequency: 0.2
fractalType: FBm
octaves: 5
lacunarity: 2
cellularDistanceFunction: Euclidean
cellularReturnType: Distance2
decals:
- grasssnow
- grasssnow01
- grasssnow02
- grasssnow03
- grasssnow04
- grasssnow05
- grasssnow06
- grasssnow07
- grasssnow08
- grasssnow09
- grasssnow10
- grasssnow11
- grasssnow12
- grasssnow13
# Little bit of colored grass
- !type:BiomeDecalLayer
allowedTiles:
- FloorSnow
divisions: 1
threshold: -0.0
noise:
seed: 0
noiseType: Cellular
frequency: 1
fractalType: None
cellularDistanceFunction: Euclidean
cellularReturnType: Distance2
decals:
- bushsnowa1
- bushsnowa2
- bushsnowa3
- bushsnowb3
- bushsnowb2
- bushsnowb3
- !type:BiomeEntityLayer
threshold: 0.5
noise:
seed: 0
noiseType: OpenSimplex2
fractalType: FBm
frequency: 2
allowedTiles:
- FloorSnow
entities:
- FloraTreeSnow
# Rock formations
- !type:BiomeEntityLayer
allowedTiles:
- FloorSnow
threshold: -0.30
noise:
seed: 0
noiseType: Cellular
frequency: 0.05
lacunarity: 2
fractalType: FBm
octaves: 5
cellularDistanceFunction: Euclidean
cellularReturnType: Distance2
entities:
- WallRockSnow
# Ore Veins
- !type:BiomeEntityLayer
allowedTiles:
- FloorSnow
threshold: -0.18
noise:
seed: 0
noiseType: Cellular
frequency: 0.05
lacunarity: 2.5
fractalType: FBm
octaves: 5
cellularDistanceFunction: Euclidean
cellularReturnType: Distance2
entities:
- RandomWallRockSnowOreSpawner
# Ice tiles
- !type:BiomeTileLayer
tile: FloorIce
threshold: -0.9
noise:
seed: 0
noiseType: Cellular
frequency: 0.03
lacunarity: 2
fractalType: FBm
octaves: 5
cellularDistanceFunction: Euclidean
cellularReturnType: Distance2
# Liquid plasma rivers. Ice moon baby
- !type:BiomeEntityLayer
allowedTiles:
- FloorSnow
- FloorIce
threshold: 0.95
noise:
seed: 3
noiseType: OpenSimplex2
frequency: 0.003
lacunarity: 1.50
fractalType: Ridged
octaves: 1
entities:
- FloorLiquidPlasmaEntity
- !type:BiomeDummyLayer
id: Loot
- !type:BiomeTileLayer
threshold: -0.7
tile: FloorSnow
noise:
seed: 0
frequency: 0.02
fractalType: None

# making a special biome like this is purely a temporary stopgap;
# ideally we change Ptarmigan to use the mining planet system eventually,
# but that requires expertise I lack.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading