1 do_after for ore veins (#14083)

* Ore veins

I dislike rocks just providing generic drops and this factors into mining more.

* fixes

* descriptions

* comment

* every flipping time

* Make mining destroy rocks with 1 hit

Having to click 3 times was pretty annoying.

* a
This commit is contained in:
metalgearsloth
2023-02-14 02:32:09 +11:00
committed by GitHub
parent 44a0888c15
commit bfbb1a689f
5 changed files with 33 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ public sealed class MiningSystem : EntitySystem
var toSpawn = _random.Next(proto.MinOreYield, proto.MaxOreYield);
for (var i = 0; i < toSpawn; i++)
{
Spawn(proto.OreEntity, coords.Offset(_random.NextVector2(0.3f)));
Spawn(proto.OreEntity, coords.Offset(_random.NextVector2(0.2f)));
}
}