MrManGo Posted October 30, 2013 Share Posted October 30, 2013 I have error in My Character for Don't starveI launch my mod and I see error : /common/dont_starve/mods/MrManGo/modmain.lua:13:'<name>' expected near '<eof>' !In the Modmain:PrefabFiles = {"MrManGo",}Assets = {Asset( "IMAGE", "images/saveslot_portraits/MrManGo.tex" ),Asset( "IMAGE", "images/selectscreen_portraits/MrManGo.tex" ),Asset( "IMAGE", "images/selectscreen_portraits/MrManGo_silho.tex" ),Asset( "IMAGE", "bigportraits/MrManGo.tex" ).AddModCharacter("MrManGo")Help! Link to comment Share on other sites More sharing options...
Malacath Posted October 30, 2013 Share Posted October 30, 2013 This is either really easy or you copied something wrong (or I'm a big dummy). You didn't close your ASSETS table with a } and you put a dot after the last element of that list.Those kind of errors are really basic and you should be able to fix that yourself in the future. Link to comment Share on other sites More sharing options...
MrManGo Posted October 30, 2013 Author Share Posted October 30, 2013 This is either really easy or you copied something wrong (or I'm a big dummy). You didn't close your ASSETS table with a } and you put a dot after the last element of that list.Those kind of errors are really basic and you should be able to fix that yourself in the future.Now I have PrefabFiles = { "MrManGo", }Assets = { Asset( "IMAGE", "images/saveslot_portraits/MrManGo.tex" ), Asset( "IMAGE", "images/selectscreen_portraits/MrManGo.tex" ), Asset( "IMAGE", "images/selectscreen_portraits/MrManGo_silho.tex" ), Asset( "IMAGE", "bigportraits/MrManGo.tex" ).} AddModCharacter("MrManGo"). But I still get the error Link to comment Share on other sites More sharing options...
simplex Posted October 30, 2013 Share Posted October 30, 2013 You were supposed to remove the dot, not add yet another one! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.