-- This information tells other players more about the mod
---name = "3 Player Coop v5.75"
name = "3 Player Coop v6.00"
description = "Play with friends!"
author = "Desblat"
version = "54.000"

forumthread = "11689"

api_version = 6

dont_starve_compatible = true
reign_of_giants_compatible = true
shipwrecked_compatible = true

-- Can specify a custom icon for this mod!
icon_atlas = "modicon.xml"
icon = "modicon.tex"

--[[ 
local alpha = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}
local KEY_A = 97
local keyslist = {}
for i = 1,#alpha do keyslist[i] = {description = alpha[i],data = i + KEY_A - 1} end
--]]


configuration_options =
{
  --[[  {
        name = "Character",
        options =
        {
            {description = "Pick-in-World", data = 1},
			{description = "Pick-in-Config", data = 0},

			
		},
        default = 1,
	},
	
    {
        name = "Player 2 enabled",
        options =
        {
			{description = "true", data = true},
			{description = "false", data = false},
			
		},
        default = true,
	},	
	
    {
        name = "Player 3 enabled",
        options =
        {
			{description = "false", data = false},
			{description = "true", data = true},
			
		},
        default = false,
	},	
	
    {
        name = "Char Name 2",
        options =
        {
			{description = "wilson", data = "wilson"},
			{description = "willow", data = "willow"},
			{description = "wolfgang", data = "wolfgang"},
			{description = "wendy", data = "wendy"},
			{description = "wx78", data = "wx78"},
			{description = "wickerbottom", data = "wickerbottom"},
			{description = "woodie", data = "woodie"},
			{description = "waxwell", data = "waxwell"},
			{description = "wes", data = "wes"},
			
		},
        default = 1,
	},
	
    {
        name = "Char Name 3",
        options =
        {
			{description = "wilson", data = "wilson"},
			{description = "willow", data = "willow"},
			{description = "wolfgang", data = "wolfgang"},
			{description = "wendy", data = "wendy"},
			{description = "wx78", data = "wx78"},
			{description = "wickerbottom", data = "wickerbottom"},
			{description = "woodie", data = "woodie"},
			{description = "waxwell", data = "waxwell"},
			{description = "wes", data = "wes"},
			
		},
        default = 1,
	},	--]]
    {
        name = "fix DLC",
        options =
        {
			{description = "Unused", data = "Unused"},
			{description = "RoG", data = "RoG"},
			{description = "SW", data = "SW"},
			{description = "RoG+SW", data = "RoG+SW"},
			{description = "Vanilla", data = "Vanilla"},
		},
        default = "Pick_in_World",
	},	
    {
        name = "Player 2",
        options =
        {
			{description = "Pick_In_World", data = "Pick_in_World"},
			{description = "wilson", data = "wilson"},
			{description = "willow", data = "willow"},
			{description = "wolfgang", data = "wolfgang"},
			{description = "wendy", data = "wendy"},
			{description = "wx78", data = "wx78"},
			{description = "wickerbottom", data = "wickerbottom"},
			{description = "woodie", data = "woodie"},
			{description = "waxwell", data = "waxwell"},
			{description = "wes", data = "wes"},
			{description = "wigfrid", data = "wathgrithr"},
			{description = "webber", data = "webber"},
			{description = "walani", data = "walani"},
			{description = "wilbur", data = "wilbur"},
			{description = "warly", data = "warly"},
			{description = "woodlegs", data = "woodlegs"},
			{description = "winona", data = "winona"},
			{description = "charlie", data = "charlie"},
			{description = "asparagus", data = "asparagus"},



			{description = "DISABLED", data = "DISABLED"},
		},
        default = "Pick_in_World",
	},	
    {
        name = "Player 3",
        options =
        {
			{description = "DISABLED", data = "DISABLED"},
			{description = "Pick_Both_In_World", data = "Pick_in_World"},
			{description = "wilson", data = "wilson"},
			{description = "willow", data = "willow"},
			{description = "wolfgang", data = "wolfgang"},
			{description = "wendy", data = "wendy"},
			{description = "wx78", data = "wx78"},
			{description = "wickerbottom", data = "wickerbottom"},
			{description = "woodie", data = "woodie"},
			{description = "waxwell", data = "waxwell"},
			{description = "wes", data = "wes"},
			{description = "wigfrid", data = "wathgrithr"},
			{description = "webber", data = "webber"},
			{description = "walani", data = "walani"},
			{description = "wilbur", data = "wilbur"},
			{description = "warly", data = "warly"},
			{description = "woodlegs", data = "woodlegs"},
			{description = "winona", data = "winona"},
			{description = "charlie", data = "charlie"},
			{description = "asparagus", data = "asparagus"},
		},
        default = "DISABLED",
	},
	
	
	{
        name = "Respawn Style",
        options =
        {
            {description = "Ghost form", data = 1},
			{description = "Simple", data = 0},			
        },
        default = 1,
	},	
	
	
    {
        name = "RespPoints(for Simple)",
        options =
        {
            {description = "Infinity", data = 322},
			{description = "3", data = 3},
			{description = "5", data = 5},
			{description = "8", data = 8},
			{description = "12", data = 12},				
        },
        default = 322,
	},	
	
	{
        name = "Heart works with",
        options =
        {
            {description = "skeletons, graves", data = 0},
			{description = "skel,graves,firepit", data = 1},	
        },
        default = 0,
	},	
	---/////////////////////////

    {
        name = "Inv_Position1",
        options =
        {
            {description = "Normal", data = 0},
			{description = "Upper", data = 0.55},
			{description = "Upper Upper", data = 1.1},
			{description = "Lower", data = -.55},
			{description = "Lower Lower", data = -1.1},				
        },
        default = 0,

	},
	
    {
        name = "Inv_Position2",
        options =
        {
            {description = "Normal", data = 0},
			{description = "Left", data = 0.55},
			{description = "Left Left", data = 1.1},
			{description = "Right", data = -.55},
			{description = "Right Right", data = -1.1},			
        },
        default = 0,

	},	

	
	---/////////////////////////
	
	
	---/////////////////////////
    {
        name = "CONTROLLER",
        options =
        {
            {description = "KEYBOARD!!!", data = 0},
			{description = "CONTROLLER!!!", data = 2}
        },
        default = 0,
	},
	---/////////////////////////
	
    -- {
        -- name = "NUMPAD",
        -- options =
        -- {
            -- {description = "HAVE IT!", data = 1},
			-- {description = "Haven't one( ", data = 2}
        -- },
        -- default = 1,
	-- },
    -- {
        -- name = "Ghost_player",
        -- options =
        -- {
            -- {description = "Off", data = 1},
			-- {description = "On ", data = 2}
        -- },
        -- default = 2,
	-- },
    -- {
        -- name = "Coop_Defence",
        -- options =
        -- {
            -- {description = "Off", data = 1},
			-- {description = "On ", data = 2}
        -- },
        -- default = 1,
	-- },
}

---Second Player can be a passenger and boat on one boat with 1st player.
---Shift+Ctrl - drive boat alone or become a passenger.
---Shift+Ctrl - exit boat.

