Jump to content

Problem with <eof>


Recommended Posts

Im trying to make character to Don't Starve and it says ,,modmain.lua: unecpected symbol near '<'

Here's my modmain's script

 

local STRINGS = GLOBAL.STRINGS

PrefabFiles = {
    "will",
}

Assets = {
    Asset( "IMAGE", "images/saveslot_portraits/will.tex" ),
    Asset( "ATLAS", "images/saveslot_portraits/will.xml" ),

    Asset( "IMAGE", "images/selectscreen_portraits/will.tex" ),
    Asset( "ATLAS", "images/selectscreen_portraits/will.xml" ),

    Asset( "IMAGE", "images/selectscreen_portraits/will_silho.tex" ),
    Asset( "ATLAS", "images/selectscreen_portraits/will_silho.xml" ),

    Asset( "IMAGE", "bigportraits/will.tex" ),
    Asset( "ATLAS", "bigportraits/will.xml" ),

}

table.insert(GLOBAL.CHARACTER_GENDERS.FEMALE, "will")<eof>
end


AddModCharacter("will")

 

Please help.
 

Nowy obraz mapy bitowej.bmp

Link to comment
Share on other sites

change

table.insert(GLOBAL.CHARACTER_GENDERS.FEMALE, "will")<eof>end
to

table.insert(GLOBAL.CHARACTER_GENDERS.FEMALE, "will")
and never attach bmp as screenshot or kitten will die somewhere.

 

 

Now I have problem with crashing mod causes, can I ask for help again?

 

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...