Jump to content

Recommended Posts

I'm new to making mods adn when I made my first mod, (it's hidden) I used Don't starve mod tools to upload it. It worked fine and I added configuration options. But now, I can't upload anything; the mod tools keeps saying that my mod info file is invalid or missing (it's not missing, I checked). Whenever I manually add the mod to the game to test it the mod crashes. What am I doing wrong? 

Here's the mod info file that I'm trying to upload

name = "Super Wilson"
description = ""
author = "goldenflower"
version = "1"
api_version = 10 
forumthread = ""
icon = "modicon.tex"
icon_atlas = "modicon.xml"
dst_compatible = true
dont_starve_compatible = false
reign_of_giants_compatible = true


configuration_options = 

{
name = "WALKING"
label = "Wilson's walking speed"
options = 
{
{description = "4 (Default)", data = 4 },
{description = "5", data = 5 },
{description = "6", data = 6 },
{description = "7", data = 7}
},
default = 4,
},
{
name = "RUNNING"
description = "Wilson's running speed"
options =
{
{description = "6 (Default)", data = 6},
{description = "8", data = 8},
{description = "10", data = 10},
{description = "12", data = 12},
},
default = 6,
},
{
name = "HEALTH"
description = "Wilson's maximum health"
options =
{
{description = "150 (Default)", data = 150},
{description = "200", data = 200},
{description = "250", data = 250},
{description = "300", data = 300},
},
default = 150,
},
{
name = "SANITY"
description = "Wilson's maximum sanity"
options =
{
{description = "200 (Default)", data = 200},
{description = "250", data = 250},
{description = "300", data = 300,
{description = "350", data = 350},
},
default = 200,
},
{
name = "ATTACK"
description = "Wilson's attack delay"
options =
{
{description = "0.1 (Default)", data = 0.1},
{description = "0.05", data = 0.005},
{description = "0.025", data = 0.025},
{description = "0.0125", data = 0.0125},
},
default = 0.1,
},
{
name = "HUNGER"
description = "Wilson's maximum hunger"
options =
{
{description = "150 (Default)", data = 150},
{description = "200", data = 200},
{description = "250", data = 250},
{description = "300", data = 300},
},
default = 150,
},
{
name = "BURNRATE"
description = "How fast Wilson's hunger goes down"
options =
{
{description = "75 per day (Default)", data = 75},
{description = "50 per day", data = 50},
{description = "25 per day", data = 25},
{description = "0 per day (will never starve)", data = 0},
},
default = 75,
}
}

Link to comment
https://forums.kleientertainment.com/forums/topic/66355-mod-infolua-invalid/
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...