Finding "any" entity on a position
Finding "any" entity on a position
Finding "any entity" on a specific position is rather hard. Either need a new function, something like "find_any_entity(position)" or need to overload "find_entity(entityName, position)" to also work without passing any entity names. Currently, need to use more complex functions, like "find_entities(...)" or "find_entities_filtered(...)", and both requires an area. In order to check a 1x1 "dot", an easier solution would be better & preferred.
Re: Finding "any" entity on a position
I can make the entity part of "find_entity" optional - would that work for what you're after?
If you want to get ahold of me I'm almost always on Discord.
Re: Finding "any" entity on a position
Yup yup, avoiding area whenever possible would definitely be much more useful!
Re: Finding "any" entity on a position
You can just use find_entities({position, position}) for now.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!