SuppaCow Posted December 24, 2015 Share Posted December 24, 2015 I'm not really a modder but decided a few days ago that I would like to have a try at making my own character for Don't Starve and it's been going pretty good and I have all the files set up from a template but whenever I try to activate the mod to test it, it crashes. x86)/Steam/steamapps/common/don't_starve/data../mods/Sir Loin/modmain.lua:25: '=' expected near 'loin' Any kind of help would be much appreciated I've linked my file if you want to look it over, and thank you for your time. -Suppa Cowmodmain.lua Link to comment https://forums.kleientertainment.com/forums/topic/61311-custom-character-crash-issue/ Share on other sites More sharing options...
ZupaleX Posted December 24, 2015 Share Posted December 24, 2015 As the error log says, it expects a symbol equal ( = ) near the string "loin" at the line 25.A look at you modmain show thatGLOBAL.STRINGS.CHARACTER_TITLES.sir loin = "The Cowardly"GLOBAL.STRINGS.CHARACTER_NAMES.sir loin "Sir Loin" -- Note! This line is especially important as some parts of the game require -- the character to have a valid name.GLOBAL.STRINGS.CHARACTER_DESCRIPTIONS.sir loin = "* Can tame wild beefalo."GLOBAL.STRINGS.CHARACTER_QUOTES.sir loin = "\"Oh no, the hounds are back!\""You cannot put random spacing like that in a code because then it's interpreted as two different entities.you have to write it likeGLOBAL.STRINGS.CHARACTER_TITLES.SIR_LOIN = "The Cowardly"and rename your lua file for your character sir_loin.lua And do the same for all the other places where this issue arise, and there is a lot in your modmain.lua Link to comment https://forums.kleientertainment.com/forums/topic/61311-custom-character-crash-issue/#findComment-701553 Share on other sites More sharing options...
SuppaCow Posted December 24, 2015 Author Share Posted December 24, 2015 That's what I thought it was but as I said before I've never really worked with any kind of code, thank you so much you've been very helpful! Link to comment https://forums.kleientertainment.com/forums/topic/61311-custom-character-crash-issue/#findComment-701709 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now