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 GitHub
parent 9e03d7cc3e
commit 3cf058f9f4
6 changed files with 158 additions and 0 deletions

View File

@@ -204,6 +204,28 @@
resistance: 2 resistance: 2
# Ore veins # 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 - type: entity
id: WallRockGold id: WallRockGold
parent: WallRock parent: WallRock
@@ -401,6 +423,28 @@
- map: [ "enum.EdgeLayer.West" ] - map: [ "enum.EdgeLayer.West" ]
state: rock_wall_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 - type: entity
id: WallRockBasaltGold id: WallRockBasaltGold
parent: WallRockBasalt parent: WallRockBasalt
@@ -597,6 +641,28 @@
- map: [ "enum.EdgeLayer.West" ] - map: [ "enum.EdgeLayer.West" ]
state: rock_snow_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 - type: entity
id: WallRockSnowGold id: WallRockSnowGold
parent: WallRockSnow parent: WallRockSnow
@@ -794,6 +860,28 @@
- map: [ "enum.EdgeLayer.West" ] - map: [ "enum.EdgeLayer.West" ]
state: rock_sand_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 - type: entity
id: WallRockSandGold id: WallRockSandGold
parent: WallRockSand parent: WallRockSand
@@ -990,6 +1078,28 @@
- map: [ "enum.EdgeLayer.West" ] - map: [ "enum.EdgeLayer.West" ]
state: rock_chromite_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 - type: entity
id: WallRockChromiteGold id: WallRockChromiteGold
parent: WallRockChromite parent: WallRockChromite
@@ -1186,6 +1296,28 @@
- map: [ "enum.EdgeLayer.West" ] - map: [ "enum.EdgeLayer.West" ]
state: rock_andesite_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 - type: entity
id: WallRockAndesiteGold id: WallRockAndesiteGold
parent: WallRockAndesite parent: WallRockAndesite

View File

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

View File

@@ -24,6 +24,19 @@
maxGroupSize: 20 maxGroupSize: 20
radius: 4 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 # Medium value
# Gold # Gold
- type: biomeMarkerLayer - type: biomeMarkerLayer

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 B