pyanodon / pybugreports

Central bug-report repository for pymods
The Unlicense
5 stars 1 forks source link

[Optimization] Ocula Behaviour #388

Open naahuc opened 6 months ago

naahuc commented 6 months ago

Mod source

Factorio Mod Portal

Which mod are you having an issue with?

Operating system

=Windows 10

What kind of issue is this?

What is the problem?

While the Oculas are a great feature, I have noticed some issues with their behaviour over time.

Now you've got an Ocula in your inventory. If you just place it back on the map, like you would a bot, it's just going to putter around where you put it down. => If it were possible to mark Oculas (with a delivery at least) as non-pick-upable, it might actually solve all the issues I've had so far.

Expanding from the previous issue, if you just naively put the Oculas into your logistics network and try to insert them back into the Eyepods, any space that is freed up when an Ocula leaves for its task and returns later and finds its slot occupied is going to throw a console notification this time (An Ocula was stranded [gps]), but will still putter around (and wander off over time) all the same as if you'd just dumped it on the map. Adding inserters between the Eyepods just exacerbates the issue as all Eyepods will be filled and it will become almost impossible for an Ocula to return to the Eyepod it left from. => I am going to assume this would involve some major alteration to the pathing logic, with Oculas having to look for free spaces and so on?

Steps to reproduce

No response

Additional context

No response

Log file

No response

kingarthur91 commented 4 months ago

ya this is going to need some major reworking to fit it