Jump to content

I have error in My Character for Don't starve


MrManGo

Recommended Posts

I have error in My Character for Don't starve
I 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! :lemo:
Link to comment
Share on other sites

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

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

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.

×
  • Create New...