{
  "modName": "Devious Devices",
  "displayName": "Devious Devices",
  "minMcmVersion": 2,
  "pluginRequirements": ["Devious Devices.esm"],
	"content": 
	[
		{ 
			"type": "spacer",
			"numLines": 1
		},		
		    {
		"type": "image",
		"libName": "DeviousDevices",
		"className": "s1"
    },
		{
			"text": "<p align='center'><font size='46'><b>Devious Devices</b></p></font>",
			"type": "text",
			"html": true
		},
		{
			"text": "<p align='center'><font size='20'>Fallout 4 edition</p></font>",
			"type": "text",
			"html": true
		},
		{
			"text": "<p align='center'><font size='16'>Version 2.1</p></font>",
			"type": "text",
			"html": true
		}
	],
  "pages": [
    {
      "pageDisplayName": "Settings",
      "content": [
	  	{
			"type": "hiddenSwitcher",
			"groupControl": 1,
			"valueOptions": 
		  {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "MenuLocked"
		  }
		},
		{
			"type": "hiddenSwitcher",
			"groupControl": 2,
			"valueOptions": 
		  {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "MenuUnLocked"
		  }
		},
		{
			"type": "hiddenSwitcher",
			"groupControl": 3,
			"valueOptions": 
		  {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "HasSexAttributes"
		  }
		},
		{
			"type": "hiddenSwitcher",
			"groupControl": 4,
			"valueOptions": 
		  {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "NoSexAttributes"
		  }
		},
		{
			"id": "PipBoySetting:Settings",
			"text": "Always Hide Pipboy",
			"type": "slider",
			"help": "Controls whether the Pipboy is always hidden while bound. -1 disables Pipboy hiding completely, 1 always hides the Pipboy, 0 hides the Pipboy for certain items.",
			"valueOptions": {
				"min": -1,
				"max": 1,
				"step": 1,
				"sourceType": "PropertyValueInt",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "PipBoySetting"
			}
		},
		{
			"groupCondition": 3,
			"id": "ArousalSystem:Settings",
			"text": "Arousal System",
			"type": "dropdown",
			"help": "Used for Plugs.",
			"valueOptions": {
				"sourceType": "PropertyValueInt",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "ShowDDArousalMessages",
				"options": ["Disabled", "DD Arousal - Hide Status", "DD Arousal - Show Status", "Use Sex Attributes"]
			}
		},
		{
			"groupCondition": 4,
			"id": "ArousalSystem:Settings",
			"text": "Arousal System",
			"type": "dropdown",
			"help": "Used for Plugs.",
			"valueOptions": {
				"sourceType": "PropertyValueInt",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "ShowDDArousalMessages",
				"options": ["Disabled", "DD Arousal - Hide Status", "DD Arousal - Show Status"]
			}
		},
		{
			"text": "Difficulty settings",
			"type": "section"
		},
		{
			"groupCondition": 1,
			"text": "<b>Difficulty settings disabled while bound.</b>",
			"type": "text",
			"html": true
		},
		{
			"groupCondition": 2,
			"id": "DifficultyModifier:Settings",
			"text": "Difficulty Modifier",
			"type": "slider",
			"help": "Difficulty setting for escaping from restraints. Zero reduces difficulty by 75%, while nine increases difficulty by 75%.",
			"valueOptions": {
				"min": 0,
				"max": 9,
				"step": 1,
				"sourceType": "PropertyValueInt",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "DifficultyModifier"
			}
		},
		{
			"groupCondition": 2,
			"id": "LockPickMinigame:Settings",
			"text": "Enable Lockpicking Mini-game",
			"type": "switcher",
			"help": "Enables the lockpicking mini-game, instead of the default system based on a random number generator.",
			"valueOptions": {
				"sourceType": "PropertyValueInt",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "LockPickMinigame"
			}
		},
		{	
			"groupCondition": 2,
			"id": "MenuLockedWhenBound:Settings",
			"text": "Lock difficulty when bound",
			"type": "switcher",
			"help": "While bound in devices you can't change the difficulty settings",
			"valueOptions": {
				"sourceType": "PropertyValueBool",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "MenuLockedWhenBound"
			}
		},
		{
		"type": "spacer",
		"numLines": 3
		},
		{
		"text": "Effects",
		"type": "section"
		},
		{
			"groupCondition": 2,
			"id": "BlindfoldStrength:Settings",
			"text": "Set Blindfold Effect Strength",
			"type": "slider",
			"help": "Set to 0 to disable. Does not switch if already worn.",
			"valueOptions": {
				"min": 0.0,
				"max": 1.0,
				"step": 0.01,
				"sourceType": "PropertyValueFloat",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "BlindfoldStrength"
			}
		},
		{
			"groupCondition": 2,
			"id": "HobbleMode:Settings",
			"text": "Set hobble movement mode",
			"type": "dropdown",
			"help": "Does not switch if already worn.",
			"valueOptions": {
				"sourceType": "PropertyValueInt",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "HobbleMode",
				"options": ["Classic Hobble", "Bunnyhop"]
			}
		},
				{
			"groupCondition": 2,
			"id": "HobbleMode:HobbleSlowdown",
			"text": "Set first person hobble movement slowdown",
			"type": "slider",
			"help": "Does not switch if already worn. Only works if classic hobble is selected",
			"valueOptions": {
				"min": 5,
				"max": 95,
				"step": 1,
				"sourceType": "PropertyValueInt",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "HobbleSlowdown"
			}
		},
		{
			"groupCondition": 2,
			"id": "EnableDeviceSounds:Settings",
			"text": "Enable/Disable Device noises (chains/bell)",
			"type": "dropdown",
			"help": "Does not switch if already worn.",
			"valueOptions": {
				"sourceType": "PropertyValueInt",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "EnableDeviceSounds",
				"options": ["Off", "On"]
			}
		},
		{
			"groupCondition": 2,
			"id": "PlugsDisablePlayerControl:Settings",
			"text": "Enable/Disable disabling of playercontrol during plug scenes",
			"type": "switcher",
			"help": "Does not switch if already in vibration scene.",
			"valueOptions": {
				"sourceType": "PropertyValueBool",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "PlugsDisablePlayerControl"
			}
		},
		{
			"groupCondition": 2,
			"id": "HeelsPreventRunning:Settings",
			"text": "Enable/Disable Running while wearing DD heels",
			"type": "switcher",
			"help": "Reload safe if already wearing heels if you switch this.",
			"valueOptions": {
				"sourceType": "PropertyValueBool",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "HeelsPreventRunning"
			}
		}
      ]
    },
	{
      "pageDisplayName": "Events",
      "content": [
	{
		"type": "hiddenSwitcher",
		"groupControl": 1,
		"valueOptions": 
	  {
		"sourceType": "PropertyValueBool",
		"sourceForm": "Devious Devices.esm|1A78FF",
		"propertyName": "EnablePlugEvent"
	  }
	},
	{
		"type": "hiddenSwitcher",
		"groupControl": 2,
		"valueOptions": 
	  {
		"sourceType": "PropertyValueBool",
		"sourceForm": "Devious Devices.esm|1A78FF",
		"propertyName": "EnableArmbinderEvent"
	  }
	},
	{
		"type": "hiddenSwitcher",
		"groupControl": 3,
		"valueOptions": 
	  {
		"sourceType": "PropertyValueBool",
		"sourceForm": "Devious Devices.esm|1A78FF",
		"propertyName": "EnableHandcuffsEvent"
	  }
	},
	{
		"type": "hiddenSwitcher",
		"groupControl": 4,
		"valueOptions": 
	  {
		"sourceType": "PropertyValueBool",
		"sourceForm": "Devious Devices.esm|1A78FF",
		"propertyName": "EnableGagMoanEvent"
	  }
	},
	{
		"type": "hiddenSwitcher",
		"groupControl": 5,
		"valueOptions": 
	  {
		"sourceType": "PropertyValueBool",
		"sourceForm": "Devious Devices.esm|1A78FF",
		"propertyName": "EnableCollarEvent"
	  }
	},
	{
		"type": "hiddenSwitcher",
		"groupControl": 6,
		"valueOptions": 
	  {
		"sourceType": "PropertyValueBool",
		"sourceForm": "Devious Devices.esm|1A78FF",
		"propertyName": "EnableTripEvent"
	  }
	},
	{
		"text": "<b>If an applicable device is worn. Cooldowns wil only update if the event is completed or the device is re-equiped.</b>",
		"type": "text",
		"html": true
	},
	{
		"type": "spacer",
		"numLines": 1
	},
		{
		"text": "Enable Events",
		"type": "section"
	},
	{
		"id": "EnablePlugEvent:Events",
		"text": "Enable Plug Events",
		"type": "switcher",
		"help": "Enables the Plug events to play.",
		"valueOptions": {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "EnablePlugEvent"
		}
	},
	{
		"id": "EnableArmbinderEvent:Events",
		"text": "Enable Armbinder Struggle event",
		"type": "switcher",
		"help": "Enables the armbinder event to play.",
		"valueOptions": {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "EnableArmbinderEvent"
		}
	},
	{
		"id": "EnableHandcuffsEvent:Events",
		"text": "Enable Handcuff Struggle event",
		"type": "switcher",
		"help": "Enables the handcuffs event to play.",
		"valueOptions": {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "EnableHandcuffsEvent"
		}
	},
	{
		"id": "EnableGagMoanEvent:Events",
		"text": "Enable GagMoan events",
		"type": "switcher",
		"help": "Enables the gag moan event to play.",
		"valueOptions": {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "EnableGagMoanEvent"
		}
	},
	{
		"id": "EnableCollarEvent:Events",
		"text": "Enable Collar Struggle event",
		"type": "switcher",
		"help": "Enables the collar struggle event to play.",
		"valueOptions": {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "EnableCollarEvent"
		}
	},
	{
		"id": "EnableTripEvent:Events",
		"text": "Enable Trip event",
		"type": "switcher",
		"help": "Enables the trip event to play.",
		"valueOptions": {
			"sourceType": "PropertyValueBool",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "EnableTripEvent"
		}
	},
	{
		"groupCondition": 1,
		"text": "Plug Events",
		"type": "section"
	},
	{
		"groupCondition": 1,
		"id": "PlugsMin:Events",
		"text": "Minimum Cooldown",
		"type": "slider",
		"help": "Minimum cooldown for the event in seconds. Make sure to use reasonable numbers",
		"valueOptions": {
			"min": 10,
			"max": 3598,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "PlugsMin"
		}
	},
		{
		"groupCondition": 1,
		"id": "PlugsMax:Events",
		"text": "Maximum Cooldown",
		"type": "slider",
		"help": "Maximum cooldown for the event in seconds. The larger the spread between min and max, the more unpredictable the event becomes.",
		"valueOptions": {
			"min": 15,
			"max": 3600,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "PlugsMax"
		}
	},
		{
		"groupCondition": 2,
		"text": "Armbinder Struggle",
		"type": "section"
	},
	{
		"groupCondition": 2,
		"id": "ArmbinderStruggleMin:Events",
		"text": "Minimum Cooldown",
		"type": "slider",
		"help": "Minimum cooldown for the event in seconds. Make sure to use reasonable numbers",
		"valueOptions": {
			"min": 10,
			"max": 3598,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "ArmbinderStruggleMin"
		}
	},
		{
		"groupCondition": 2,
		"id": "ArmbinderStruggleMax:Events",
		"text": "Maximum Cooldown",
		"type": "slider",
		"help": "Maximum cooldown for the event in seconds. The larger the spread between min and max, the more unpredictable the event becomes.",
		"valueOptions": {
			"min": 15,
			"max": 3600,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "ArmbinderStruggleMax"
		}
	},
		{
		"groupCondition": 3,
		"text": "Handcuff Struggle",
		"type": "section"
	},
	{
		"groupCondition": 3,
		"id": "HandcuffStruggleMin:Events",
		"text": "Minimum Cooldown",
		"type": "slider",
		"help": "Minimum cooldown for the event in seconds. Make sure to use reasonable numbers",
		"valueOptions": {
			"min": 10,
			"max": 3598,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "HandcuffStruggleMin"
		}
	},
		{
		"groupCondition": 3,
		"id": "HandcuffStruggleMax:Events",
		"text": "Maximum Cooldown",
		"type": "slider",
		"help": "Maximum cooldown for the event in seconds. The larger the spread between min and max, the more unpredictable the event becomes.",
		"valueOptions": {
			"min": 15,
			"max": 3600,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "HandcuffStruggleMax"
		}
	},
	{
		"groupCondition": 4,
		"text": "Gag Moan",
		"type": "section"
	},
	{
		"groupCondition": 4,
		"id": "GagMoanMin:Events",
		"text": "Minimum Cooldown",
		"type": "slider",
		"help": "Minimum cooldown for the event in seconds. Make sure to use reasonable numbers",
		"valueOptions": {
			"min": 10,
			"max": 3598,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "GagMoanMin"
		}
	},
	{
		"groupCondition": 4,
		"id": "GagMoanMax:Events",
		"text": "Maximum Cooldown",
		"type": "slider",
		"help": "Maximum cooldown for the event in seconds. The larger the spread between min and max, the more unpredictable the event becomes.",
		"valueOptions": {
			"min": 15,
			"max": 3600,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "GagMoanMax"
		}
	},
	{
		"groupCondition": 5,
		"text": "Collar Event",
		"type": "section"
	},
	{
		"groupCondition": 5,
		"id": "CollarStruggleMin:Events",
		"text": "Minimum Cooldown",
		"type": "slider",
		"help": "Minimum cooldown for the event in seconds. Make sure to use reasonable numbers",
		"valueOptions": {
			"min": 10,
			"max": 3598,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "CollarStruggleMin"
		}
	},
	{
		"groupCondition": 5,
		"id": "CollarStruggleMax:Events",
		"text": "Maximum Cooldown",
		"type": "slider",
		"help": "Maximum cooldown for the event in seconds. The larger the spread between min and max, the more unpredictable the event becomes.",
		"valueOptions": {
			"min": 15,
			"max": 3600,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "CollarStruggleMax"
		}
	},
	{
		"groupCondition": 6,
		"text": "Trip Event",
		"type": "section"
	},
	{
		"groupCondition": 6,
		"id": "TripMin:Events",
		"text": "Minimum Cooldown",
		"type": "slider",
		"help": "Minimum cooldown for the event in seconds. Make sure to use reasonable numbers",
		"valueOptions": {
			"min": 10,
			"max": 3598,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "TripMin"
		}
	},
	{
		"groupCondition": 6,
		"id": "TripMax:Events",
		"text": "Maximum Cooldown",
		"type": "slider",
		"help": "Maximum cooldown for the event in seconds. The larger the spread between min and max, the more unpredictable the event becomes.",
		"valueOptions": {
			"min": 15,
			"max": 3600,
			"step": 1,
			"sourceType": "PropertyValueInt",
			"sourceForm": "Devious Devices.esm|1A78FF",
			"propertyName": "TripMax"
		}
	},
	{
		"text": "<p align='center'>Cooldowns are in real time seconds.</p></font>",
		"type": "text",
		"html": true
	}
      ]
    },
	{
		  "pageDisplayName": "Debug",
		  "content": [
		{
			"text": "<b>Use any of these settings with care.</b>",
			"type": "text",
			"html": true
		},
		{
			"text": "Enable Database messages",
			"type": "switcher",
			"help": "Enables in-game messages from the database script.",
			"valueOptions": {
				"sourceType": "PropertyValueInt",
				"sourceForm": "Devious Devices.esm|1A78FF",
				"propertyName": "ShowDatabaseMessages"
			}
		},
		{
			"text": "Refresh Bound Effects",
			"type": "button",
			"help": "Force refresh bound effects on the player.",
			"valueOptions": {
				"type": "CallFunction",
				"form": "Devious Devices.esm|4C50",
				"function": "ProcessBoundEffects"
			}
		},
		{
		  "groupCondition": 69,
		  "text": "Function Checker",
          "type": "button",
          "help": "",
          "action": {
            "type": "CallFunction",
            "form": "Devious Devices.esm|1A78FF",
            "function": "TestSpell"
          }
        }
	]
	}
  ]
}