As GetSystem will only be called by Items which declare DynamicMining.GetSystem(this) as their HarvestSystem, there's no reason to have issues.
But your right it is not the nicest way.
Maybe the good way could be
- GetSystem(Item tool) and then some tests => if(tool is BaseAxe) etc...
The easiest way, I think, is just to ask Item as argument in GetSystem method.
So in DynamicMining.cs,
Change : public static HarvestSystem GetSystem(BaseAxe axe)
With : public static HarvestSystem GetSystem(Item axe)
its a long time since I put fingers in that one, please help me to get closer to the bug, could you run the test I propose to ft2085267 one post above ?
You got to insert it in place of existing code in DeepGoGump.cs/CallBack_Levels method, line 172
Hi, you can make a try with LandTarget to select the ground
and something like that to avoid being inside a house :
BaseHouse house = BaseHouse.FindHouseAt(from);
if (house == null)
You can also param FindHouse something like that:
BaseHouse house =...
Hi , really can't say anything about xmlspawner and the minespirit, as I, for along time now, just use coordinates spots to define my ores.
But for the second problem, look at line 24, IronOre is set instead of BaseOre. Try with BaseOre...
I create a GitHub repo, based on Region Editor v2.
My goal was to make easier the definition of big regions with many areas.
In this fork, when expanding a regionnode by 2click, all areas and all subregion-areas are red highlighted.
I needed that, so I did, regardless of any...