Page 1 of 1

[Rseding91] [0.14.13] Modding errors

Posted: Thu Oct 06, 2016 5:31 pm
by keyboardhack
While searching for ways to spawn modding error messages to make this post i found a few actual errors.

This crashes the game.

Code: Select all

data.raw["locomotive"]["diesel-locomotive"].pictures.layers[1].direction_count = -1
Either of these two lines makes the game hang at ~40% loading.

Code: Select all

data.raw["locomotive"]["diesel-locomotive"].pictures.layers[1].width = -1
data.raw["locomotive"]["diesel-locomotive"].pictures.layers[1].height = -1

Re: [Rseding91] [0.14.13] Modding errors

Posted: Thu Oct 06, 2016 7:03 pm
by Rseding91
Fixed for 0.14.14. It will now give an appropriate error instead of just freezing/crashing.