Vanilla Look: Krastorio 2

by sakuro

Restores vanilla look of some items, recipes and technologies

Tweaks
1 year, 8 months ago
1.1
188

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

2 years ago
(updated 2 years 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.

2 years ago

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

2 years ago
(updated 2 years ago)

Thanks for reporting!

My use of util is

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

2 years ago

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

2 years 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'.

2 years ago

Fixed in 0.0.3.