Don't Starve Together

Don't Starve Together

Starting Items and Recipes
 This topic has been pinned, so it's probably important
lunisolar  [developer] 9 Jan, 2016 @ 2:53am
How to modify/update the mod by yourself
You can modify/update this mod for your own use, but please do not republish it.

New starting recipes
1. Open \SteamApps\common\Don't Starve Together Dedicated Server\mods\workshop-594431975\modmain.lua
Modify "local dev = false" to "local dev = true"
Run this script one time (Host a server and create a new character.)
2. Open \Documents\Klei\DoNotStarveTogetherDedicatedServer\log.txt
Find the part that similar to modoverrides.lua
Copy and paste this part and strip leading and trailing characters by using macro/script.
Compare this part with modoverrides.lua, then you can get new recipes.
3. Add the new recipes to modinfo.lua and modoverrides.lua(You can copy scripts from log.txt)
There's no need to modify modmain.lua except modify "local dev = true" back to "local dev = false".

New starting items
1. modinfo.lua
{
name = "item_flint",
label = "Flint",
hover = "",
options = {
{description = "0", data = 0, hover = ""},
{description = "1", data = 1, hover = ""},
{description = "2", data = 2, hover = ""},
{description = "3", data = 3, hover = ""},
{description = "4", data = 4, hover = ""},
{description = "5", data = 5, hover = ""},
{description = "6", data = 6, hover = ""},
{description = "7", data = 7, hover = ""},
{description = "8", data = 8, hover = ""},
{description = "9", data = 9, hover = ""},
{description = "10", data = 10, hover = ""},
{description = "20", data = 20, hover = ""},
},
default = 0,
},
2. modmain.lua
for i = 1, GetModConfigData("item_flint") do table.insert(items, "flint") end
3. modoverrides.lua
item_flint = 0, --Flint
Last edited by lunisolar; 10 Jan, 2016 @ 1:56am