Skip to content

Issues with mods changing resource categories #13

@Myricaulus

Description

@Myricaulus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions