Page 1 of 1

Minable Rock

Posted: Mon Jul 20, 2015 8:25 pm
by Ranakastrasz
Simple mod that lets you mine stone outcroppings.

Created because I got irritated early game with having to work around them, or shoot them once I got a sufficiently powerful shotgun.
Additionally acts as a minor source of stone.
--
Need help to figure out how to add sound effect, and expected resources count.
Minable Rock_0.0.1.zip

Re: Minable Rock

Posted: Tue Jul 28, 2015 2:42 am
by Peter34
There's already a Lootable Rocks mod for alpha 11, where you attack rocks (e.g. w. SMG or Shotgun) and when you've destroyed it, it drops some Stone, I think something like 30-60 total. So you could go and look at how that mod calculates the amount (or what fixed amount it regards as reasonable) and then base your mod off that.

Really, though, I think a sounder method is to go by time/income. Posit a ratio, which could be 4 Stone/second, and the apply that consistently in your mod, so that a rock that takes 4 seconds to mine away gives 16 Stone.

Re: Minable Rock

Posted: Wed Jul 29, 2015 10:46 am
by Ranakastrasz
Not sure why that is significant. I just added this so that you could remove stone entities and get stone out of it.