Page 1 of 1

[0.18.32] LuaAPI documentation for supply area

Posted: Wed Jun 24, 2020 9:48 am
by pieppiep
I was trying this code in a little test mod

Code: Select all

data.raw["roboport"]["roboport"].construction_radius = 500
data.raw["roboport"]["roboport"].logistic_radius = 500
The construction area became 1000 so that's correct, but the supply area stayed the same.
https://lua-api.factorio.com/latest/Lua ... tic_radius
Using logistics_radius did work, so the s is missing in the documentation.

Re: [0.18.32] LuaAPI documentation for supply area

Posted: Wed Jun 24, 2020 10:47 am
by Bilka
As you are dealing with data.raw, you are in the data stage and the documentation for that is here: https://wiki.factorio.com/Prototype/Roboport, not on lua-api.factorio.com.