diff --git a/Resources/Prototypes/Entities/Tiles/liquid_plasma.yml b/Resources/Prototypes/Entities/Tiles/liquid_plasma_ice.yml similarity index 95% rename from Resources/Prototypes/Entities/Tiles/liquid_plasma.yml rename to Resources/Prototypes/Entities/Tiles/liquid_plasma_ice.yml index 8d1881375bb..31a342c2703 100644 --- a/Resources/Prototypes/Entities/Tiles/liquid_plasma.yml +++ b/Resources/Prototypes/Entities/Tiles/liquid_plasma_ice.yml @@ -15,6 +15,7 @@ blacklist: tags: - Catwalk + - Ice # starcup - let ice crust cover plasma - type: TileEntityEffect effects: - !type:Flammable diff --git a/Resources/Prototypes/_starcup/Entities/Markers/Spawners/Random/mining.yml b/Resources/Prototypes/_starcup/Entities/Markers/Spawners/Random/mining.yml new file mode 100644 index 00000000000..8346be4dc7c --- /dev/null +++ b/Resources/Prototypes/_starcup/Entities/Markers/Spawners/Random/mining.yml @@ -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 diff --git a/Resources/Prototypes/_starcup/Entities/Tiles/liquid_plasma.yml b/Resources/Prototypes/_starcup/Entities/Tiles/liquid_plasma.yml new file mode 100644 index 00000000000..ea52076d1e8 --- /dev/null +++ b/Resources/Prototypes/_starcup/Entities/Tiles/liquid_plasma.yml @@ -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 diff --git a/Resources/Prototypes/_starcup/Procedural/biome_templates.yml b/Resources/Prototypes/_starcup/Procedural/biome_templates.yml index a7b8faf971b..f14a420554b 100644 --- a/Resources/Prototypes/_starcup/Procedural/biome_templates.yml +++ b/Resources/Prototypes/_starcup/Procedural/biome_templates.yml @@ -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. diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/full.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/full.png new file mode 100644 index 00000000000..7d6d7e0db35 Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/full.png differ diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/meta.json b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/meta.json new file mode 100644 index 00000000000..6190da7d78c --- /dev/null +++ b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/meta.json @@ -0,0 +1,265 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from https://github.com/tgstation/tgstation/tree/f116442e34fe3e941a1df474bb57bb410dd177a3/icons/turf lava sprites, hueshifted and modified by mirrorcult, ice texture taken from https://github.com/tgstation/tgstation/tree/423404b31e36c4605faacec881b324db8997b0a6 and cut in by KoboldCatgirl (github)", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "full" + }, + { + "name": "plasma0", + "directions": 4, + "delays": [ + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ] + ] + }, + { + "name": "plasma1", + "directions": 4, + "delays": [ + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ] + ] + }, + { + "name": "plasma2", + "directions": 4, + "delays": [ + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ] + ] + }, + { + "name": "plasma3", + "directions": 4, + "delays": [ + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ] + ] + }, + { + "name": "plasma4", + "directions": 4, + "delays": [ + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ] + ] + }, + { + "name": "plasma5", + "directions": 4, + "delays": [ + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ] + ] + }, + { + "name": "plasma6", + "directions": 4, + "delays": [ + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ] + ] + }, + { + "name": "plasma7", + "directions": 4, + "delays": [ + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ], + [ + 2, + 2, + 2, + 2 + ] + ] + }, + { + "name": "plasma", + "delays": [ + [ + 2, + 2, + 2, + 2 + ] + ] + } + ] +} diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma.png new file mode 100644 index 00000000000..8666be94463 Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma.png differ diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma0.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma0.png new file mode 100644 index 00000000000..1571aa15c8d Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma0.png differ diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma1.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma1.png new file mode 100644 index 00000000000..6f4bf2de03c Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma1.png differ diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma2.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma2.png new file mode 100644 index 00000000000..1571aa15c8d Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma2.png differ diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma3.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma3.png new file mode 100644 index 00000000000..6f4bf2de03c Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma3.png differ diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma4.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma4.png new file mode 100644 index 00000000000..87454390018 Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma4.png differ diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma5.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma5.png new file mode 100644 index 00000000000..6ef0ba89959 Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma5.png differ diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma6.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma6.png new file mode 100644 index 00000000000..87454390018 Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma6.png differ diff --git a/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma7.png b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma7.png new file mode 100644 index 00000000000..a4ea80197a4 Binary files /dev/null and b/Resources/Textures/_starcup/Tiles/Planet/ice_liquid_plasma.rsi/plasma7.png differ