Hello,
i wanted to say dyworld changed all resource categories from 'basic-' to "resource--tier-x" like "resource-solid-tier-1". With the hardcoded 'basic-solid' everywhere AD doesnt work with such mods. You should take the resource_categories of the drill or the on_resource_depleted event.entity.prototype when you run check_drill. Also remove the watchdog for basic-solid in on_resource_depleted.
Since i am not much of a lua programmer, i just removed the checks vs solid-basic and it does work now. I assume if a fluid resource overlaps a solid one, or if there is a resource not mineable by the drill in its vicinity, it will fail, but thats a trade off i am willing to pay.
Hello,
i wanted to say dyworld changed all resource categories from 'basic-' to "resource--tier-x" like "resource-solid-tier-1". With the hardcoded 'basic-solid' everywhere AD doesnt work with such mods. You should take the resource_categories of the drill or the on_resource_depleted event.entity.prototype when you run check_drill. Also remove the watchdog for basic-solid in on_resource_depleted.
Since i am not much of a lua programmer, i just removed the checks vs solid-basic and it does work now. I assume if a fluid resource overlaps a solid one, or if there is a resource not mineable by the drill in its vicinity, it will fail, but thats a trade off i am willing to pay.