That includes underground belts and pipes being extended from their vanilla values to a max distance of 50.
My underground belts all work perfectly but I cannot get the underground pipes to extend past their vanilla values.
I have checked the entities.lua file in "base" and found the type to be "pipe-to-ground", the item name to be "pipe-to-ground" and the value I wish to change is: "max_underground_distance".
From my experience with modding Factorio, that would lead me to think the code required to change that to "50" would be as follows:
Code: Select all
data.raw["pipe-to-ground"]["pipe-to-ground"].max_underground_distance = 50
Code: Select all
data.raw["underground-belt"]["underground-belt"].max_distance = 50
data.raw["underground-belt"]["fast-underground-belt"].max_distance = 50
data.raw["underground-belt"]["express-underground-belt"].max_distance = 50
So my questions are:
1) Am I missing something here?
2) How do I fix this?
Thanks!