Add coal distribution to progen (#22755)

* Add coal distribution to progen

* Add sprite

---------

Co-authored-by: Jeff <velcroboy333@hotmail.com>
This commit is contained in:
Velcroboy 2023-12-20 17:46:20 -06:00 committed by Debug
parent 69fbfb7278
commit a04b02bc62
6 changed files with 158 additions and 0 deletions

View File

@ -204,6 +204,28 @@
resistance: 2
# Ore veins
- type: entity
id: WallRockCoal
parent: WallRock
description: An ore vein rich with coal.
suffix: Coal
components:
- type: OreVein
oreChance: 1.0
currentOre: OreCoal
- type: Sprite
layers:
- state: rock
- map: [ "enum.EdgeLayer.South" ]
state: rock_south
- map: [ "enum.EdgeLayer.East" ]
state: rock_east
- map: [ "enum.EdgeLayer.North" ]
state: rock_north
- map: [ "enum.EdgeLayer.West" ]
state: rock_west
- state: rock_coal
- type: entity
id: WallRockGold
parent: WallRock
@ -401,6 +423,28 @@
- map: [ "enum.EdgeLayer.West" ]
state: rock_wall_west
- type: entity
id: WallRockBasaltCoal
parent: WallRockBasalt
description: An ore vein rich with coal.
suffix: Coal
components:
- type: OreVein
oreChance: 1.0
currentOre: OreCoal
- type: Sprite
layers:
- state: rock_wall
- map: [ "enum.EdgeLayer.South" ]
state: rock_wall_south
- map: [ "enum.EdgeLayer.East" ]
state: rock_wall_east
- map: [ "enum.EdgeLayer.North" ]
state: rock_wall_north
- map: [ "enum.EdgeLayer.West" ]
state: rock_wall_west
- state: rock_coal
- type: entity
id: WallRockBasaltGold
parent: WallRockBasalt
@ -597,6 +641,28 @@
- map: [ "enum.EdgeLayer.West" ]
state: rock_snow_west
- type: entity
id: WallRockSnowCoal
parent: WallRockSnow
description: An ore vein rich with coal.
suffix: Coal
components:
- type: OreVein
oreChance: 1.0
currentOre: OreCoal
- type: Sprite
layers:
- state: rock_snow
- map: [ "enum.EdgeLayer.South" ]
state: rock_snow_south
- map: [ "enum.EdgeLayer.East" ]
state: rock_snow_east
- map: [ "enum.EdgeLayer.North" ]
state: rock_snow_north
- map: [ "enum.EdgeLayer.West" ]
state: rock_snow_west
- state: rock_coal
- type: entity
id: WallRockSnowGold
parent: WallRockSnow
@ -794,6 +860,28 @@
- map: [ "enum.EdgeLayer.West" ]
state: rock_sand_west
- type: entity
id: WallRockSandCoal
parent: WallRockSand
description: An ore vein rich with coal.
suffix: Coal
components:
- type: OreVein
oreChance: 1.0
currentOre: OreCoal
- type: Sprite
layers:
- state: rock_sand
- map: [ "enum.EdgeLayer.South" ]
state: rock_sand_south
- map: [ "enum.EdgeLayer.East" ]
state: rock_sand_east
- map: [ "enum.EdgeLayer.North" ]
state: rock_sand_north
- map: [ "enum.EdgeLayer.West" ]
state: rock_sand_west
- state: rock_coal
- type: entity
id: WallRockSandGold
parent: WallRockSand
@ -990,6 +1078,28 @@
- map: [ "enum.EdgeLayer.West" ]
state: rock_chromite_west
- type: entity
id: WallRockChromiteCoal
parent: WallRockChromite
description: An ore vein rich with coal.
suffix: Coal
components:
- type: OreVein
oreChance: 1.0
currentOre: OreCoal
- type: Sprite
layers:
- state: rock_chromite
- map: [ "enum.EdgeLayer.South" ]
state: rock_chromite_south
- map: [ "enum.EdgeLayer.East" ]
state: rock_chromite_east
- map: [ "enum.EdgeLayer.North" ]
state: rock_chromite_north
- map: [ "enum.EdgeLayer.West" ]
state: rock_chromite_west
- state: rock_coal
- type: entity
id: WallRockChromiteGold
parent: WallRockChromite
@ -1186,6 +1296,28 @@
- map: [ "enum.EdgeLayer.West" ]
state: rock_andesite_west
- type: entity
id: WallRockAndesiteCoal
parent: WallRockAndesite
description: An ore vein rich with coal.
suffix: Coal
components:
- type: OreVein
oreChance: 1.0
currentOre: OreCoal
- type: Sprite
layers:
- state: rock_andesite
- map: [ "enum.EdgeLayer.South" ]
state: rock_andesite_south
- map: [ "enum.EdgeLayer.East" ]
state: rock_andesite_east
- map: [ "enum.EdgeLayer.North" ]
state: rock_andesite_north
- map: [ "enum.EdgeLayer.West" ]
state: rock_andesite_west
- state: rock_coal
- type: entity
id: WallRockAndesiteGold
parent: WallRockAndesite

View File

@ -17,6 +17,9 @@
- id: WallRock
prob: 0.5
orGroup: rock
- id: WallRockCoal
prob: 0.15
orGroup: rock
- id: WallRockTin
prob: 0.15
orGroup: rock

View File

@ -24,6 +24,19 @@
maxGroupSize: 20
radius: 4
- type: biomeMarkerLayer
id: OreCoal
entityMask:
WallRock: WallRockCoal
WallRockBasalt: WallRockBasaltCoal
WallRockChromite: WallRockChromiteCoal
WallRockSand: WallRockSandCoal
WallRockSnow: WallRockSnowCoal
maxCount: 30
minGroupSize: 10
maxGroupSize: 20
radius: 4
# Medium value
# Gold
- type: biomeMarkerLayer

View File

@ -125,6 +125,13 @@
- !type:BiomeMarkerLoot
proto: OreTin
- type: salvageLoot
id: OreCoal
guaranteed: true
loots:
- !type:BiomeMarkerLoot
proto: OreCoal
- type: salvageLoot
id: OreQuartz
guaranteed: true

View File

@ -97,6 +97,9 @@
{
"name": "rock_carbon"
},
{
"name": "rock_coal"
},
{
"name": "rock_copper"
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 B