Makes asteroids low yield, adds normal yield variant for mining (#8701)

* Adds low yield mining loot table

* adds low yield variant of asteroids
This commit is contained in:
Peptide90
2022-06-12 03:58:34 +01:00
committed by GitHub
parent ab860c04b6
commit 3b5d2a4e13
2 changed files with 38 additions and 3 deletions

View File

@@ -2,14 +2,14 @@
id: AsteroidRock
parent: BaseStructure
name: asteroid rock
description: An asteroid.
description: A rocky asteroid.
components:
- type: Gatherable
whitelist:
tags:
- Pickaxe
loot:
Pickaxe: MiningLootTable
Pickaxe: MiningLootTableLowYield
- type: Sprite
sprite: Structures/Walls/asteroid_rock.rsi
state: full
@@ -41,3 +41,16 @@
- type: IconSmooth
key: walls
base: rock_
- type: entity
id: AsteroidRockMining
parent: BaseStructure
name: asteroid rock
description: An asteroid.
components:
- type: Gatherable
whitelist:
tags:
- Pickaxe
loot:
Pickaxe: MiningLootTable

View File

@@ -18,4 +18,26 @@
orGroup: Asteroid
- id: UraniumOre1
prob: 0.025
orGroup: Asteroid
orGroup: Asteroid
- type: entityLootTable
id: MiningLootTableLowYield
entries:
- id: SteelOre1
prob: 0.05
orGroup: Asteroid
- id: GoldOre1
prob: 0.01
orGroup: Asteroid
- id: SpaceQuartz1
prob: 0.05
orGroup: Asteroid
- id: PlasmaOre1
prob: 0.025
orGroup: Asteroid
- id: SilverOre1
prob: 0.02
orGroup: Asteroid
- id: UraniumOre1
prob: 0.02
orGroup: Asteroid