Vanilla Look: Krastorio 2

by sakuro

Restores vanilla look of some items, recipes and technologies

Tweaks
1 year, 1 month ago
1.1
182

g Don't name your script "util.lua"

1 year, 6 months ago
(updated 1 year, 6 months ago)

Wrong title, should be "don't name your global table 'util'"

apparently this conflicts with the util that comes with the game by default, causing incompatibilities with other mods.

1 year, 6 months ago

looks like any mod that starts with a letter after v would crash the game when using util in data-final-fixes

1 year, 6 months ago
(updated 1 year, 6 months ago)

Thanks for reporting!

My use of util is

So declaring such non local util as local would fix the issue. correct?

1 year, 6 months ago

Seems so, but I don't have a computer right now to test it out, sorry for that

1 year, 6 months ago

After adding local the game doesn't crash now. I'm definitely not a fan of lua requiring 'local' as a keyword instead of something like 'global'.

1 year, 6 months ago

Fixed in 0.0.3.