Mining Rocks

Place to get help with not working mods / modding interface.
User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2179
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Mining Rocks

Post by Ranakastrasz »

Code: Select all

data.raw["simple-entity"]["stone-rock"].minable =
{
  count = 25,
  hardness = 0.8,
  mining_particle = "stone-particle",
  mining_time = 5,
  result = "stone"
}
I attempted to create a mod that lets you mine rocks. It actually works great. However, there are two Interface issues.
One, it doesn't show the "expected resources" data when you hover over a rock.
Two, there is no sound when mining it until it is completely mined.
I don't see any data in the Tree Entity on what makes those two things occur, so I think it might be elsewhere. I cannot seem to locate it however.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Post Reply

Return to “Modding help”