Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
I really dont know what to do anymore. After editing some item Luas, everytime i try to open my project, an error occurs as seen on the screenshot below. I searched the items_firearms.lua for typos but found nothing. I tried to unload the items_firearms.lua in the init.lua via the -- command, but then I got another error message for not finding definitions of the items that i have placed in my dungeon ... and so on ...
Inspect the items_firearms.lua script. Most likely you've added a line in a definition, that doesn't have a comma after it. Check around line 291. It would help to use an external text editor that can do syntax highlighting, and count lines; but windows notepad can be used.