[0.18.32] LuaAPI documentation for supply area

Bugs that are actually features.
Post Reply
pieppiep
Fast Inserter
Fast Inserter
Posts: 170
Joined: Mon Mar 14, 2016 8:52 am
Contact:

[0.18.32] LuaAPI documentation for supply area

Post 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.

Bilka
Factorio Staff
Factorio Staff
Posts: 3135
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.18.32] LuaAPI documentation for supply area

Post 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.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Not a bug”