[0.12.26]Cannot edit selection_box of "straight-rail" entity
Posted: Sun Mar 13, 2016 10:08 pm
Mods can edit all other properties of "straight-rail"-type entities just fine, but edits to the selection_box seem to have no effect. A very simple mod:
Does not have the desired effect at all; the selection box remains the same.
Performing a very similar edit to the collision box:
Works just as expected, though. It seems only the selection_box is bugged.
Code: Select all
data.raw["straight-rail"]["straight-rail"].selection_box = {{-0.2, -0.2}, {0.2, 0.2}}
Performing a very similar edit to the collision box:
Code: Select all
data.raw["straight-rail"]["straight-rail"].collision_box = {{-0.7, -0.99}, {0.7, 0.99}}