pyanodon / pybugreports

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

Smart_Farm does not work with "alien-biomes" #471

Closed andrey4korop closed 5 months ago

andrey4korop commented 5 months ago

Mod source

Factorio Mod Portal

Which mod are you having an issue with?

Operating system

GNU/Linux

What kind of issue is this?

What is the problem?

When "alien-biomes" mod is used - SmartFarm does not generate resources(plants). After researching the problem, I found where it is. pyalienlife/scripts/smart-farm/smart-farm.lua in function Smart_Farm.events.on_rocket_launched row is 112: if not surface.get_tile(ore_location).collides_with('resource-layer') then Expression return false I don't understand why, but it is.

Steps to reproduce

No response

Additional context

No response

Log file

No response

notnotmelon commented 5 months ago

Fixed. Thank you for the report.

https://github.com/pyanodon/pyalienlife/commit/5564e86761d95ce268e5a42ee94485e3012cbc39