Nuke spaceshroom ore (#28110)

nuke spaceshroom ore
This commit is contained in:
Ed
2024-05-18 19:17:46 +03:00
committed by GitHub
parent 8bbd2394ef
commit 225a05ecdb
6 changed files with 41 additions and 39 deletions

View File

@@ -19,14 +19,12 @@
!type:PhysShapeCircle
radius: 0.2
- type: InteractionOutline
# TODO: Nuke this shit
- type: OreVein
oreChance: 1.0
currentOre: SpaceShrooms
- type: Gatherable
whitelist:
toolWhitelist:
components:
- Hands
loot:
All: SpaceshroomGather
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
@@ -39,6 +37,13 @@
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entityLootTable
id: SpaceshroomGather
entries:
- id: FoodSpaceshroom
amount: 1
maxAmount: 1
- type: entity
name: spaceshroom
parent: FoodProduceBase

View File

@@ -375,7 +375,7 @@
noRot: true
- type: SoundOnGather
- type: Gatherable
whitelist:
toolWhitelist:
tags:
- Pickaxe
- type: Damageable

View File

@@ -1,9 +1,5 @@
# TODO: Kill ore veins
# Split it into 2 components, 1 for "spawn XYZ on destruction" and 1 for "randomly select one of these for spawn on destruction"
# You could even just use an entityspawncollection instead.
- type: ore
id: SpaceShrooms
oreEntity: FoodSpaceshroom
# High yields
- type: ore