{
  "modName": "SleepIntimate",
  "displayName": "Sleep Intimate",
  "minMcmVersion": 2,
  "pluginRequirements": ["SleepIntimate.esp"], 
  "content": [
    {
      "text": "Sleep Intimate R-X version 3 - immersive sleep and romance",
      "align": "center",
      "type": "text"
    },
	{
      "text": "by DracoTorre - www.dracotorre.com/mods/sleepintimate/",
      "align": "center",
      "type": "text"
    },
	{
      "text": "hug and kiss animations by TheRealRufgt used with permission",
      "align": "center",
      "type": "text"
    },
    {
      "type": "spacer"
    },
	{
		"id": "MCM_SettingModMCMCtl:Main",
		"text": "Sleep Intimate Start/Stop",
		"type": "dropdown",
		"help": "main mod stop and start - to stop exit MCM and in game confirm",
		"valueOptions": {
			"options": ["Stopped", "Started"],
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|1673D7",
			"propertyName": "DTSleep_SettingModMCMCtl"
			
		}
	},
    {
      "type": "spacer"
    },
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher for mod on",
	  "groupControl": 3,
	  "valueOptions": 
	  {
		"sourceType": "GlobalValue",
		"sourceForm": "SleepIntimate.esp|1673D7",
		"propertyName": "DTSleep_SettingModMCMCtl"
	  }
	},
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher undress system ready",
	  "groupControl": 2,
	  "valueOptions": 
	  {
		"sourceType": "PropertyValueInt",
		"sourceForm": "SleepIntimate.esp|A56A2",
		"propertyName": "MCMUndressReady"
	  }
	},
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher undress system not ready",
	  "groupControl": 1,
	  "valueOptions": 
	  {
		"sourceType": "PropertyValueInt",
		"sourceForm": "SleepIntimate.esp|A56A2",
		"propertyName": "MCMUndressNeedInit"
	  }
	},
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher adult ready",
	  "groupControl": 10,
	  "valueOptions": 
	  {
		"sourceType": "PropertyValueInt",
		"sourceForm": "SleepIntimate.esp|A56A2",
		"propertyName": "MCMAdultModsOn"
	  }
	},
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher adult not found",
	  "groupControl": 9,
	  "valueOptions": 
	  {
		"sourceType": "PropertyValueInt",
		"sourceForm": "SleepIntimate.esp|A56A2",
		"propertyName": "MCMAdultModsOff"
	  }
	},
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher xoxo mods found",
	  "groupControl": 19,
	  "valueOptions": 
	  {
		"sourceType": "PropertyValueInt",
		"sourceForm": "SleepIntimate.esp|A56A2",
		"propertyName": "MCMEmbraceModsOn"
	  }
	},
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher xoxo mods not found",
	  "groupControl": 18,
	  "valueOptions": 
	  {
		"sourceType": "PropertyValueInt",
		"sourceForm": "SleepIntimate.esp|A56A2",
		"propertyName": "MCMEmbraceModsOff"
	  }
	},
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher AAF ready",
	  "groupControl": 13,
	  "valueOptions": 
	  {
		"sourceType": "PropertyValueInt",
		"sourceForm": "SleepIntimate.esp|A56A2",
		"propertyName": "MCMAAFReady"
	  }
	},
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher AAF enabled",
	  "groupControl": 15,
	  "valueOptions": 
	  {
		"sourceType": "PropertyValueInt",
		"sourceForm": "SleepIntimate.esp|A56A2",
		"propertyName": "MCMAAFEnabled"
	  }
	},
	{
	  "type": "hiddenSwitcher",
	  "text": "Invisible switcher AAF disabled",
	  "groupControl": 14,
	  "valueOptions": 
	  {
		"sourceType": "PropertyValueInt",
		"sourceForm": "SleepIntimate.esp|A56A2",
		"propertyName": "MCMAAFDisabled"
	  }
	},
    {
	  "text": "*** Hug/Kiss/Cuddle animation packs ready ***",
      "type": "text",
	  "align": "center",
	  "groupCondition": 19
    },
    {
	  "text": "*** no Cuddle animation packs available -- using basic hug and kiss ***",
      "type": "text",
	  "align": "center",
	  "groupCondition": 18
    },
    {
	  "text": "*** no adult animation packs available ***",
      "type": "text",
	  "align": "center",
	  "groupCondition": 9
    },
    {
	  "text": "*** adult animation packs ready ***",
      "type": "text",
	  "align": "center",
	  "groupCondition": 10
    },
    {
	  "text": "*** AAF installed - using Standard Player ***",
      "type": "text",
	  "align": "center",
	  "groupCondition": {"AND": [10, 13, 14]}
    },
    {
	  "text": "*** AAF installed - using AAF Player ***",
      "type": "text",
	  "align": "center",
	  "groupCondition": {"AND": [10, 13, 15]}
    },
	{
	  "type": "spacer"
	},
	{
	  "text": "(~Scan Mods For Content~)",
	  "type": "button",
	  "help": "if recently installed new mod check to see if has recognized armor, clothing, or locations - return to game to scan",
	  "groupCondition": 3,
	  "action": {
		"type": "CallFunction",
		"form": "SleepIntimate.esp|A56A2",
		"scriptName": "DTSleep_MCMQuest",   
		"function": "ScanModsForGear",
		"params": [1.0]
	  }
	},
    {
      "type": "spacer"
    },
	{
	  "text": "How to get started and initialize undress system",
	  "type": "section",
	  "groupCondition": 1
	},
    {
	  "text": "Choose 'Rest' on bed to get started. Build workshop custom storage quick-dress to change outfit, or build an intimate bed with storage for sleep outfit. You may also initialize Undress System now using the button below.",
      "type": "text",
	  "align": "left",
	  "groupCondition": 1
    },
    {
      "type": "spacer",
	  "groupCondition": 1
    },
	{
	  "text": "(~Initialize Undress System~)",
	  "type": "button",
	  "help": "this will remove equipped gear and make your character naked to initialize Undress System",
	  "groupCondition": {"AND": [1, 3]},
	  "action": {
		"type": "CallFunction",
		"form": "SleepIntimate.esp|A56A2",
		"scriptName": "DTSleep_MCMQuest",   
		"function": "GoPlayerNaked",
		"params": [1.0]
	  }
	},
	{
	  "text": "Undress system initialized and ready!",
	  "type": "section",
	  "groupCondition": 2
	},
	{
	  "type": "spacer"
	},
	{
	  "text": "What is Sex Appeal?",
	  "type": "section"
	},
	{
	  "text": "Skill based on charisma, health (addictions and disease), perks, and intimacy experience (number of intimate scenes).",
	  "type": "text",
	  "align": "left"
	},
	{
	  "type": "spacer"
	}
  ],
  "pages": [
    {
      "pageDisplayName": "Preference Settings",
	  "content": [
		{
			"text": "basic preferences - see holotape for advanced settings",
			"type": "text"
		},
		{
			"type": "spacer",
			"numLines": 1
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for mod on",
		  "groupControl": 3,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|1673D7",
			"propertyName": "DTSleep_SettingModMCMCtl"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher adult ready",
		  "groupControl": 10,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMAdultModsOn"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher AAF ready",
		  "groupControl": 13,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMAAFReady"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher adult not found",
		  "groupControl": 9,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMAdultModsOff"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher adult seats on",
		  "groupControl": 11,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMAdultSexSeatsOn"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher adult seats off",
		  "groupControl": 12,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMAdultSexSeatsOff"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher Sleep-or-Save on",
		  "groupControl": 14,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMSoSActiveOn"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher Sleep-or-Save off",
		  "groupControl": 15,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMSoSActiveOff"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher NNES on",
		  "groupControl": 16,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMNNESActiveOn"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher NNES off",
		  "groupControl": 17,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMNNESActiveOff"
		  }
		},
		{
		  "text": "(~Restore Default Settings~)",
		  "type": "button",
		  "help": "restore most settings to their default values - return to game to confirm",
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "SetRestoreDefaults",
			"params": [1.0]
		  }
		},
		{
			"type": "spacer",
			"numLines": 1
		},
		{
			"text": "General / Main",
			"type": "section"
		},
		{
			"id": "MCM_SettingCamera:Main",
			"text": "Custom Camera",
			"type": "dropdown",
			"help": "bed-lowered camera - if using another custom camera then disable this",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|3006C",
				"propertyName": "DTSleep_SettingCamera"
			}
		},
		{
			"id": "MCM_SettingChemCraft:Main",
			"text": "Chemistry Craft Sleepwear",
			"type": "dropdown",
			"help": "craft sleep clothes at chem station",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|53333",
				"propertyName": "DTSleep_SettingChemCraft"
			}
		},
		{
			"id": "MCM_SettingNotifications:Main",
			"text": "Notifications",
			"type": "dropdown",
			"help": "most notifications",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|5DA83",
				"propertyName": "DTSleep_SettingNotifications"
			}
		},
		{
			"id": "MCM_SettingSortHolotape:Main",
			"text": "Sort Holotape",
			"type": "dropdown",
			"help": "sort holotape near bottom or top of Misc",
			"valueOptions": {
				"options": ["Bottom", "Top"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|BA50E",
				"propertyName": "DTSleep_SettingSortHolotape"
			}
		},
		{
			"id": "MCM_SettingTestMode:Main",
			"text": "Test Mode",
			"type": "dropdown",
			"help": "for extra features or specific tests -- keep disabled for performance",
			"groupControl": 1,
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|40AAC",
				"propertyName": "DTSleep_SettingTestMode"
			}
		},
		{
			"text": "Sleep and Undress for Bed",
			"type": "section"
		},
		{
			"id": "MCM_SettingNapOnly:Rest",
			"text": "Immersive Rest",
			"type": "dropdown",
			"help": "watch sleep recovery with chance for interruption, or disable to use sleep menu then wake in bed",
			"valueOptions": {
				"options": ["Disabled", "constant-time", "fast-time", "fast-wait-time", "fast-wait-skip"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|814DF",
				"propertyName": "DTSleep_SettingNapOnly"
			}
		},
		{
			"id": "MCM_SettingFastSleepEffect:Rest",
			"text": "Immersive Rest fast-time Effect",
			"type": "dropdown",
			"help": "night-vision screen effect to remind time passes faster.",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|E5125",
				"propertyName": "DTSleep_SettingFastSleepEffect"
			}
		},
		{
			"id": "MCM_SettingHealthRecover:Rest",
			"text": "Rest Health Recover",
			"type": "dropdown",
			"help": "during rest recover health per hour - about the same as normal sleep",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|19A916",
				"propertyName": "DTSleep_SettingHealthRecover"
			}
		},
		{
			"id": "MCM_SettingNapRecover:Rest",
			"text": "Rest Fatigue Recover",
			"type": "dropdown",
			"help": "during Immersive Rest on Survival recover fatigue",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|81fE0",
				"propertyName": "DTSleep_SettingNapRecover"
			}
		},
		{
			"id": "MCM_SettingNapComp:Rest",
			"text": "Companion go to bed",
			"type": "dropdown",
			"help": "companion search for available supported bed to sleep (Immersive Rest) - some custom beds not supported",
			"valueOptions": {
				"options": ["After Intimacy", "Always"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|9E48F",
				"propertyName": "DTSleep_SettingNapComp"
			}
		},
		{
			"id": "MCM_SettingBedOwn:Rest",
			"text": "Twin/Double-Bed owned",
			"type": "dropdown",
			"help": "When with companion warn if double-bed or vault twin-beds (side-by-side) assigned to another, or claim ownership",
			"valueOptions": {
				"options": ["Disabled", "Warn-only", "Warn-and-claim"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|DA258",
				"propertyName": "DTSleep_SettingBedOwn"
			}
		},
		{
			"id": "MCM_SettingUndress:Rest",
			"text": "Undress for Rest",
			"type": "dropdown",
			"help": "disable also disables intimacy; Redress after Rest or not (player-character)",
			"valueOptions": {
				"options": ["Disabled", "Situational", "undress-always", "Situational-No Redress", "always-No Redress"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|F99",
				"propertyName": "DTSleep_SettingUndress"
			}
		},
		{
			"id": "MCM_SettingUndressPipboy:Rest",
			"text": "Undress Pip-boy",
			"type": "dropdown",
			"help": "keep/show or remove Pip-boy",
			"valueOptions": {
				"options": ["Show", "Show in bed", "Always remove"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|53ACD",
				"propertyName": "DTSleep_SettingUndressPipboy"
			}
		},
		{
			"id": "MCM_SettingUndressWeapon:Rest",
			"text": "Undress Weapon Sleep/Relax",
			"type": "dropdown",
			"help": "remove main weapon for sleep--useful for show-holstered mods (weapon always removed for animations)",
			"valueOptions": {
				"options": ["Disabled", "Companion", "Player", "All"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1A48AC",
				"propertyName": "DTSleep_SettingUndressWeapon"
			}
		},
		{
			"id": "MCM_SettingIncludeExtSlots:Rest",
			"text": "Undress Extended Slots",
			"type": "dropdown",
			"help": "Set to Never to ignore armor body slots 55-61, or set to Situation to includes these slots unless an exception for the situation",
			"valueOptions": {
				"options": ["Never", "Situational"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|14BAEA",
				"propertyName": "DTSleep_SettingIncludeExtSlots"
			}
		},
		{
			"id": "MCM_SettingSave:Rest",
			"text": "Save-on-exit Bed",
			"type": "dropdown",
			"help": "Immersive Rest only: Auto-save after exit bed with minimum hour-count limited once every 8 hours",
			"valueOptions": {
				"options": ["Disabled", "2+ hours sleep", "5+ hours sleep"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|A309C",
				"propertyName": "DTSleep_SettingSave"
			}
		},
		{
			"id": "MCM_SettingNapExit:Rest",
			"text": "Immersive Rest Done",
			"type": "dropdown",
			"help": "Immersive Rest only: get out of bed on maximum sleep or keep napping with hourly reminder",
			"valueOptions": {
				"options": ["Keep napping", "Get up!"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|90823",
				"propertyName": "DTSleep_SettingNapExit"
			}
		},
		{
			"id": "MCM_SettingBedDecor:Rest",
			"text": "Bed Decor",
			"type": "dropdown",
			"help": "chance for pillow, teddy bear, addiction chems, or gifts from lover",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|A65D6",
				"propertyName": "DTSleep_SettingBedDecor"
			}
		},
		{
			"id": "MCM_SettingRadCheck:Rest",
			"text": "Rad Check",
			"type": "dropdown",
			"help": "high radiation resistance skips pre-Rest check and reduces chance for sleep interruption",
			"valueOptions": {
				"options": ["Disabled", "Low-20", "Default-40", "Mid-60", "High-100"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1A5F79",
				"propertyName": "DTSleep_SettingRadCheck"
			}
		},
		{
		  "text": "(~Sleep-or-Save Disable for Rest~)",
		  "type": "button",
		  "help": "disable Sleep-or-Save to show Rest on bed",
		  "groupCondition": 14,
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "SleepOrSaveToggle",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Sleep-or-Save Enable~)",
		  "type": "button",
		  "help": "enable Sleep-or-Save which will hide Rest on bed",
		  "groupCondition": 15,
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "SleepOrSaveToggle",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~NNES-Bed-Reserver Disable for Rest~)",
		  "type": "button",
		  "help": "disable Bed-Reserver to show Rest on bed",
		  "groupCondition": 16,
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "NNESToggle",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~NNES-Bed-Reserver Enable~)",
		  "type": "button",
		  "help": "enable Bed-Reserver which will hide Rest on bed",
		  "groupCondition": 17,
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "NNESToggle",
			"params": [1.0]
		  }
		},
		{
			"text": "Intimacy ",
			"type": "section"
		},
		{
			"id": "MCM_SettingIntimate:Intimacy",
			"text": "Intimate Scenes",
			"type": "dropdown",
			"help": "Disable for sleep-only. Extra NPCs: includes non-romance companions - require companion perk. May force XOXO-mode",
			"valueOptions": {
				"options": ["Disabled", "Enabled", "Extra NPCs", "Enabled-XOXO", "Extra NPCs-XOXO"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|F9A",
				"propertyName": "DTSleep_SettingIntimate"
			}
		},
		{
			"id": "MCM_SettingLover2:Intimacy",
			"text": "Second Lover",
			"type": "dropdown",
			"help": "include second lover for sleep and supported intimate animations",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|10745A",
				"propertyName": "DTSleep_SettingLover2"
			}
		},
		{
			"id": "MCM_SettingTourEnabled:Intimacy",
			"text": "Intimate Destinations Tour",
			"type": "dropdown",
			"help": "include tour quest - may be re-enabled to continue progress later",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|7A2DC",
				"propertyName": "DTSleep_SettingTourEnabled"
			}
		},
		{
			"id": "MCM_SettingChairsEnabled:Intimacy",
			"text": "Seat Scenes",
			"type": "dropdown",
			"help": "include benches, chairs, and sofas as places to embrace your love",
			"groupCondition": {"AND": [10, 11]},
			"valueOptions": {
				"options": ["Disabled", "Enabled-Embrace", "Enabled-Intimate"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|104E52",
				"propertyName": "DTSleep_SettingChairsEnabled"
			}
		},
		{
			"id": "MCM_SettingChairsEnabled:Intimacy",
			"text": "Seat Scenes",
			"type": "dropdown",
			"help": "include benches, chairs, and sofas as places to embrace your love",
			"groupCondition": 12,
			"valueOptions": {
				"options": ["Disabled", "Enabled-Embrace"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|104E52",
				"propertyName": "DTSleep_SettingChairsEnabled"
			}
		},
		{
			"id": "MCM_SettingDoorsEnabled:Intimacy",
			"text": "Door Scenes",
			"type": "dropdown",
			"help": "include jail doors for intimacy -- requires Savage Cabbage's pack 1.2",
			"groupCondition": {"AND": [10, 11]},
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|199244",
				"propertyName": "DTSleep_SettingChairsEnabled"
			}
		},
		{
			"id": "MCM_SettingPilloryEnabled:Intimacy",
			"text": "Torture Devices",
			"type": "dropdown",
			"help": "include pillory or other torture devices",
			"groupCondition": 10,
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1046B5",
				"propertyName": "DTSleep_SettingPilloryEnabled"
			}
		},
		{
			"id": "MCM_SettingProps:Intimacy",
			"text": "Prop Search",
			"type": "dropdown",
			"help": "when Relax+ on chair do you want to search for nearby props (tables, counters, motorcycles, showers)?",
			"groupCondition": {"AND": [10, 11]},
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|19A179",
				"propertyName": "DTSleep_SettingProps"
			}
		},
		{
			"id": "MCM_SettingGenderPref:Intimacy",
			"text": "Gender Preference",
			"type": "dropdown",
			"help": "gender of companion to limit intimacy or only single companion (faithful / 3+ scenes).",
			"valueOptions": {
				"options": ["Male", "Female", "Both"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|FB64F",
				"propertyName": "DTSleep_SettingGenderPref"
			}
		},
		{
			"id": "MCM_SettingSwapRoles:Intimacy",
			"text": "Same-Gender Role",
			"type": "dropdown",
			"help": "generally for same-gender scenes to swap roles",
			"valueOptions": {
				"options": ["Default", "Opposite"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1CD647",
				"propertyName": "DTSleep_SettingSwapRoles"
			}
		},
		{
			"id": "MCM_SettingShowIntimateCheck:Intimacy",
			"text": "Prompt for Intimacy",
			"type": "dropdown",
			"help": "Prompt: Default: places characters. Pick Scene allows choosing a style or position which includes pick a spot.",
			"valueOptions": {
				"options": ["Disabled / Auto", "Default", "Pick Scene"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|55933",
				"propertyName": "DTSleep_SettingShowIntimateCheck"
			}
		},
		{
			"id": "MCM_SettingWarnLoverBusy:Intimacy",
			"text": "Companion Busy Reminder",
			"type": "dropdown",
			"help": "Prompt to Cancel or Rest if companion is too busy for intimacy (such as sitting or using workstation)",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|9BE8B",
				"propertyName": "DTSleep_SettingWarnLoverBusy"
			}
		},
		{
			"id": "MCM_SettingDoAffinity:Intimacy",
			"text": "Companion Affinity",
			"type": "dropdown",
			"help": "same rule as flirting: nearby, romanced (and awake) companion may hate getting intimate with another lover",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|F6A53",
				"propertyName": "DTSleep_SettingDoAffinity"
			}
		},
		{
			"id": "MCM_SettingSpectate:Intimacy",
			"text": "Spectators",
			"type": "dropdown",
			"help": "chance nearby spectators",
			"valueOptions": {
				"options": ["Disabled", "Companions and Guards", "All"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|19096C",
				"propertyName": "DTSleep_SettingSpectate"
			}
		},
		{
			"id": "MCM_SettingCrime:Intimacy",
			"text": "Crime Violence",
			"type": "dropdown",
			"help": "guards may attack after intimate scene (and a 2-second warning) for indecent act",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|114949",
				"propertyName": "DTSleep_SettingCrime"
			}
		},
		{
			"id": "MCM_SettingScaleActorKiss:Intimacy",
			"text": "Kiss Actor Align",
			"type": "dropdown",
			"help": "kiss and animations alignment; for custom-height companion choose default",
			"valueOptions": {
				"options": ["Disabled", "Enabled-Default", "Enabled-Custom"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1B6973",
				"propertyName": "DTSleep_SettingScaleActorKiss"
			}
		},
		{
			"id": "MCM_SettingCollsion:Intimacy",
			"text": "Scene View Look-view Camera",
			"type": "dropdown",
			"help": "camera pushed by NPC or not by setting player collision--if conflicts with another mod set to Solid",
			"valueOptions": {
				"options": ["Solid", "Ghost"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1BA641",
				"propertyName": "DTSleep_SettingCollsion"
			}
		},
		{
			"id": "MCM_SettingAAF:Intimacy",
			"text": "Intimate AAF Scenes",
			"type": "dropdown",
			"help": "play Advanced Animation Framework (AAF) API instead of standard player - requires extra files",
			"groupCondition": {"AND": [10, 13]},
			"valueOptions": {
				"options": ["Disabled / Standard", "Enabled", "No-fade scene", "ignore PA-glitch"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|C0043",
				"propertyName": "DTSleep_SettingAAF"
			}
		},
		{
			"id": "MCM_SettingUseLeitoGun:Intimacy",
			"text": "Leito EVB best-fit Male",
			"type": "dropdown",
			"help": "male nude-suit swap - leave enabled unless you are customizing for AAF morphs",
			"groupCondition": 10,
			"valueOptions": {
				"options": ["Disabled", "Enabled-Basic", "Enabled-All (default)"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|42927",
				"propertyName": "DTSleep_SettingUseLeitoGun"
			}
		},
		{
			"id": "MCM_SettingUseBT2Gun:Intimacy",
			"text": "BodyTalk ",
			"type": "dropdown",
			"help": "for male nude-suit swap - use BodySlide to build 3 suits: SI-BodyTalk2-V2-Erect, SI-BodyTalk2-V2-ErectDown, SI-BodyTalk2-V2-ErectUp",
			"groupCondition": 10,
			"valueOptions": {
				"options": ["Disabled", "nude-suit Enabled", "Morph Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|13A94F",
				"propertyName": "DTSleep_SettingUseBT2Gun"
			}
		},
		{
			"id": "MCM_SettingAltFemBody:Intimacy",
			"text": "Female nude-suit",
			"type": "dropdown",
			"help": "enable to use alternate female body for sex scenes - see web instructions to build nude body",
			"groupCondition": 10,
			"valueOptions": {
				"options": ["Disabled", "All Scenes", "ZeX-only Scenes"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|13FCED",
				"propertyName": "DTSleep_SettingAltFemBody"
			}
		},
		{
			"id": "MCM_SettingUseSMMorph:Intimacy",
			"text": "Super Mutant Body Morph",
			"type": "dropdown",
			"help": "enable for super mutant body use morph; disabled will use body swap",
			"groupCondition": 10,
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1A137A",
				"propertyName": "DTSleep_SettingUseSMMorph"
			}
		},
		{
			"id": "MCM_SettingFadeEndScene:Intimacy",
			"text": "Go-to-Bed (Immersive Rest)",
			"type": "dropdown",
			"help": "after scene go to bed if tired - disable for prompt or stay awake",
			"valueOptions": {
				"options": ["Disabled / Prompt", "Tired or prompt"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|A56A1",
				"propertyName": "DTSleep_SettingFadeEndScene"
			}
		},
		{
			"id": "MCM_SettingCancelScene:Intimacy",
			"text": "Scene Cancel with Pip-Boy",
			"type": "dropdown",
			"help": "open and close Pip-Boy to cancel - only for extended intimate scenes, not brief hugs or AAF",
			"valueOptions": {
				"options": ["Disabled", "Enabled"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|4478D",
				"propertyName": "DTSleep_SettingCancelScene"
			}
		},
		{
			"id": "MCM_SettingSynthHuman:Intimacy",
			"text": "Synth Romanced Body",
			"type": "dropdown",
			"help": "body style to use for romanced Valentine - EVB by ezfreee included; build BodyTalk2",
			"groupCondition": 10,
			"valueOptions": {
				"options": ["Gen-2 (default)", "EVB", "BodyTalk2"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|153C1A",
				"propertyName": "DTSleep_SettingSynthHuman"
			}
		}
	  ]
	},
	{
      "pageDisplayName": "Backpack",
      "content": [
        {
		  "text": "When undressing for Rest or Relax, removal of recognized backpack or pouch will prevent becomming over-encumbered and optionally the pack will be placed on ground. Sleep Intimate recognizes several custom backpack mods, or you may add another using the mark button.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for mod on",
		  "groupControl": 3,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|1673D7",
			"propertyName": "DTSleep_SettingModMCMCtl"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system ready",
		  "groupControl": 2,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressReady"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system not ready",
		  "groupControl": 1,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressNeedInit"
		  }
		},
        {
          "text": "Not ready - Rest in bed or use quick-dress container to initialize",
          "type": "section",
		  "groupCondition": 1
        },
        {
          "text": "Is pack or pouch recognized?",
          "type": "section",
		  "groupCondition": 2
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for backpack visibility",
		  "groupControl": 4,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|3AF47",
			"propertyName": "DTSleep_PlayerEquipBackpackCount"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for backpack visibility",
		  "groupControl": 5,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMBackpackNotFound"
		  }
		},
		{
		  "text": "Your character has a backpack or pouch equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 4]}
		},
		{
		  "text": "No recognized backpack or pouch equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 5]}
		},
        {
          "type": "spacer"
        },
		{
          "text": "Setup pack or pouch",
          "type": "section"
        },
		{
		  "text": "(~Mark Pack~)",
		  "type": "button",
		  "help": "select this, return to game and equip your pack or pouch.",
		  "groupCondition": {"AND": [2, 3, 5]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkBackpack",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Un-Mark Pack~)",
		  "type": "button",
		  "help": "select this, exit MCM to un-mark equipped pack.",
		  "groupCondition": {"AND": [2, 3, 4]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkBackpack",
			"params": [1.0]
		  }
		},
        {
          "type": "spacer"
        },
		{
			"id": "MCM_UndressCarryBonus:Backpack",
			"text": "Rest carry bonus",
			"type": "dropdown",
			"help": "backpack capacity to compensate when undressing for Rest",
			"valueOptions": {
				"options": ["50", "100", "300", "1000"],
				"sourceType": "PropertyValueInt",
				"sourceForm": "SleepIntimate.esp|A56A2",
				"propertyName": "MCMBackpackCarry"
			}
		},
        {
          "type": "spacer"
        },
		{
			"id": "MCM_SettingPackOnGround:Backpack",
			"text": "Place on ground",
			"type": "dropdown",
			"help": "place fake pack near feet, at bed, or beside chair",
			"valueOptions": {
				"options": ["Disabled", "Sleep", "Bed and Chair"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|12901C",
				"propertyName": "DTSleep_SettingPackOnGround"
			}
		},
        {
          "type": "spacer"
        },
		{
			"id": "MCM_SettingPackUseGO:Backpack",
			"text": "Placed Custom use model",
			"type": "dropdown",
			"help": "if your custom marked pack includes a ground object, set to itself",
			"valueOptions": {
				"options": ["Green bag", "itself"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1C8A40",
				"propertyName": "DTSleep_SettingPackUseGO"
			}
		}
	  ]
	},
	{
      "pageDisplayName": "Sleep Clothes",
      "content": [
        {
		  "text": "Rest on bed may automatically change into sleep clothes from inventory and redress after sleep. Lacy Underwear, Sporty Underwear, TBOS Sweatpants, and more recognized or assign your own outfit. Main body outfit works best.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for mod on",
		  "groupControl": 3,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|1673D7",
			"propertyName": "DTSleep_SettingModMCMCtl"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system ready",
		  "groupControl": 2,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressReady"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system not ready",
		  "groupControl": 1,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressNeedInit"
		  }
		},
        {
          "text": "Not ready - Rest in bed or use quick-dress container to initialize",
          "type": "section",
		  "groupCondition": 1
        },
        {
          "text": "Sleep clothes status",
          "type": "section",
		  "groupCondition": 2
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher sleep clothes equipped",
		  "groupControl": 4,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|39872",
			"propertyName": "DTSleep_PlayerEquipSleepwearCount"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher intimate outfit equipped",
		  "groupControl": 5,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|3D552",
			"propertyName": "DTSleep_PlayerEquipIntimateItemCount"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher no sleep clothes detected",
		  "groupControl": 6,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMSleepClothesNotFound"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher adult ready",
		  "groupControl": 10,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMAdultModsOn"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher player female",
		  "groupControl": 12,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMPlayerFemale"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher strap-on found",
		  "groupControl": 7,
		  "groupCondition": {"AND": [2, 3, 10, 12]},
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|3D551",
			"propertyName": "DTSleep_PlayerEquipStrapOnCount"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher no strap-on",
		  "groupControl": 8,
		  "groupCondition": {"AND": [2, 3, 10, 12]},
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMStrapOnNotFound"
		  }
		},
		{
		  "text": "Sleep clothes equipped",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 3, 4]}
		},
		{
		  "text": "Intimate outfit equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 3, 5]}
		},
		{
		  "text": "No equipped sleep clothes found.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 3, 6]}
		},
		{
		  "text": "strap-on item equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 3, 7, 10, 12]}
		},
		{
		  "text": "no strap-on item equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 3, 8, 10, 12]}
		},
        {
          "type": "spacer"
        },
		{
          "text": "Assign or un-mark sleep clothing",
          "type": "section"
        },
		{
		  "text": "(~Mark Sleep Clothing~)",
		  "type": "button",
		  "help": "select this, exit MCM and equip your sleep outfit",
		  "groupCondition": {"AND": [2, 3, 6]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkSleepOutfit",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Un-Mark Equipped Sleep Clothing~)",
		  "type": "button",
		  "help": "select this and exit MCM to finish un-mark currently equipped sleep outfit (does not un-mark bathrobes)",
		  "groupCondition": {"AND": [2, 3, 4]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkSleepOutfit",
			"params": [1.0]
		  }
		},
        {
          "type": "spacer"
        },
		{
		  "text": "(~Mark Intimate Outfit~)",
		  "type": "button",
		  "help": "Intimate outfit stays equipped for sex scenes. Most jewelry remains worn, so check your jewelry first. Exit MCM and equip your intimate outfit.",
		  "groupCondition": {"AND": [2, 3, 6, 10]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkIntimateOutfit",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Un-Mark Intimate Outfit~)",
		  "type": "button",
		  "help": "Select this, exit MCM to un-mark equipped intimate item",
		  "groupCondition": {"AND": [2, 3, 5, 10]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkIntimateOutfit",
			"params": [1.0]
		  }
		},
        {
          "type": "spacer"
        },
		{
		  "text": "(~Mark Strap-On Item~)",
		  "type": "button",
		  "help": "a strap-on device will be auto-equipped when necessary for scene. Select, exit MCM and equip item to mark.",
		  "groupCondition": {"AND": [2, 3, 8, 10, 12]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkItemAsStrapOn",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Un-Mark Strap-On Item~)",
		  "type": "button",
		  "help": "Select this, exit MCM to un-mark equipped strap-on item",
		  "groupCondition": {"AND": [2, 3, 7, 10, 12]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkItemAsStrapOn",
			"params": [1.0]
		  }
		},
		{
          "text": "preferences",
          "type": "section"
        },
		{
			"id": "MCM_SettingClothesBody:Undress",
			"text": "display clothes for body",
			"type": "dropdown",
			"help": "use to limit clothes in menus by body style",
			"valueOptions": {
				"options": ["None", "CBBE", "Fusion Girl", "All"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1843B1",
				"propertyName": "DTSleep_SettingClothesBody"
			}
		}
	  ]
	},
	{
      "pageDisplayName": "Overcoat / Jacket / Cloak",
      "content": [
        {
		  "text": "Assign custom jacket (not part of main outfit) to unsure removes for Rest, and based on undress situational preference may remain for Relax outdoors depending on weather. Some custom jackets automatically recognized by Sleep Intimate.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
		  "text": "Ensure coat recognized here, especially jacket using non-standard body slot so undress system removes it as needed for scenes. Vest as torso armor should not need to be marked. If trouble with other armors, see Undress Check.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for mod on",
		  "groupControl": 3,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|1673D7",
			"propertyName": "DTSleep_SettingModMCMCtl"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system ready",
		  "groupControl": 2,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressReady"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system not ready",
		  "groupControl": 1,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressNeedInit"
		  }
		},
        {
          "text": "Not ready - Rest in bed or use quick-dress container to initialize",
          "type": "section",
		  "groupCondition": 1
        },
        {
          "text": "Is jacket or coat recognized?",
          "type": "section",
		  "groupCondition": 2
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher one jacket found",
		  "groupControl": 4,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMJacketOneFound"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for no jacket found",
		  "groupControl": 5,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMJacketNotFound"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher two jacket found",
		  "groupControl": 6,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMJacketTwoFound"
		  }
		},
		{
		  "text": "Overcoat, jacket, or cloak equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 4]}
		},
		{
		  "text": "multiple overcoat, jacket, or cloak equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 6]}
		},
		{
		  "text": "No recognized overcoat or jacket equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 5]}
		},
        {
          "type": "spacer"
        },
		{
          "text": "Setup Overcoat or Jacket or Cloak",
          "type": "section"
        },
		{
			"id": "MCM_SettingMultiJacketOn:Undress",
			"text": "Multiple Coats Equipped",
			"type": "dropdown",
			"help": "allow multiple coats, cloaks, or jackets worn together, or prevent to auto-remove former jacket in different slot",
			"valueOptions": {
				"options": ["Prevent", "Allow", "Ignore"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|16B844",
				"propertyName": "DTSleep_SettingMultiJacketOn"
			}
		},
        {
          "type": "spacer"
        },
		{
		  "text": "(~Mark Overcoat or Jacket or Cloak~)",
		  "type": "button",
		  "help": "select this, return to game and equip your overcoat.",
		  "groupCondition": {"AND": [2, 3, 5]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkJacket",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Un-Mark Overcoat or Jacket or Cloak~)",
		  "type": "button",
		  "help": "select this, exit MCM to un-mark equipped overcoat.",
		  "groupCondition": {"AND": [2, 3, 4]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkJacket",
			"params": [1.0]
		  }
		}
	  ]
	},
	{
      "pageDisplayName": "Mask, Eye-wear, Accessories",
      "content": [
        {
		  "text": "Assign mask as desired, review recognized jewelry and extra parts, set preferences, and set eye-wear preference.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
		  "text": "What are Extra Parts? Armor items using non-standard slots may not remove for sleep. Undress Check confirms undress and allows you to add more items to the Extra Parts list.",
		  "type": "text",
		  "align": "left"
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for mod on",
		  "groupControl": 3,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|1673D7",
			"propertyName": "DTSleep_SettingModMCMCtl"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system ready",
		  "groupControl": 2,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressReady"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system not ready",
		  "groupControl": 1,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressNeedInit"
		  }
		},
        {
          "text": "Not ready - Rest in bed or use quick-dress container to initialize",
          "type": "section",
		  "groupCondition": 1
        },
        {
          "text": "Review recognized accessories",
          "type": "section",
		  "groupCondition": 2
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for mask",
		  "groupControl": 4,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|42189",
			"propertyName": "DTSleep_PlayerEquipMaskCount"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for no mask found",
		  "groupControl": 5,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMMaskNotFound"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for necklace found",
		  "groupControl": 6,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMNecklaceEquipped"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for no necklace",
		  "groupControl": 7,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMNecklaceNotFound"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for extra parts equipped",
		  "groupControl": 8,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMExtraPartsEquipped"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for zero extra parts",
		  "groupControl": 9,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMExtraPartsNotFound"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher player female",
		  "groupControl": 12,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMPlayerFemale"
		  }
		},
		{
		  "text": "Mask equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 4]}
		},
		{
		  "text": "No mask equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 5]}
		},
		{
		  "text": "Chokers or Necklaces worn (small Sex Appeal bonus).",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 6, 12]}
		},
		{
		  "text": "No recognized choker or necklace worn.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 7, 12]}
		},
		{
		  "text": "One or more extra parts or accessories equipped and will be removed for sleep.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 8]}
		},
		{
		  "text": "No extra parts equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 9]}
		},
        {
          "type": "spacer"
        },
		{
          "text": "Setup mask, adjust eye-wear preference",
          "type": "section"
        },
		{
		  "text": "(~Mark Mask~)",
		  "type": "button",
		  "help": "select this, return to game and equip your mask.",
		  "groupCondition": {"AND": [2, 3, 5]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkMask",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Un-Mark Mask~)",
		  "type": "button",
		  "help": "select this, exit MCM to un-mark equipped mask.",
		  "groupCondition": {"AND": [2, 3, 4]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkMask",
			"params": [1.0]
		  }
		},
        {
          "type": "spacer"
        },
		{
			"id": "MCM_SettingUndressGlasses:Rest",
			"text": "Remove Eye-wear",
			"type": "dropdown",
			"help": "Remove recognized eye-glasses, goggles, etc for bed-only, bed and intimate scenes, or never",
			"valueOptions": {
				"options": ["Never", "Bed-only", "Always"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|7E744",
				"propertyName": "DTSleep_SettingUndressGlasses"
			}
		}
	  ]
	},
	{
      "pageDisplayName": "Footwear",
      "content": [
        {
		  "text": "If desired keep recognized stockings equipped for bed, or keep shoes equipped for intimate scenes away from bed",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for mod on",
		  "groupControl": 3,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|1673D7",
			"propertyName": "DTSleep_SettingModMCMCtl"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system ready",
		  "groupControl": 2,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressReady"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system not ready",
		  "groupControl": 1,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressNeedInit"
		  }
		},
        {
          "text": "Not ready - Rest in bed or use quick-dress container to initialize",
          "type": "section",
		  "groupCondition": 1
        },
        {
          "text": "Review recognized footwear",
          "type": "section",
		  "groupCondition": 2
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for shoes equipped",
		  "groupControl": 4,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMShoesEquipped"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for no-shoes",
		  "groupControl": 5,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMShoesNotFound"
		  }
		},
		{
		  "text": "Shoes equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 4]}
		},
		{
		  "text": "No shoes equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 5]}
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for stockings",
		  "groupControl": 6,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMStockingsEquipped"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for no-stockings",
		  "groupControl": 7,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMStockingsNotFound"
		  }
		},
		{
		  "text": "Stockings equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 6]}
		},
		{
		  "text": "No stockings equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 7]}
		},
        {
          "type": "spacer"
        },
		{
          "text": "Setup Shoes and Stockings",
          "type": "section"
        },
		{
		  "text": "(~Mark Shoes~)",
		  "type": "button",
		  "help": "select this, return to game and equip your shoes.",
		  "groupCondition": {"AND": [2, 3, 5]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkShoesMark",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Un-Mark Shoes~)",
		  "type": "button",
		  "help": "select this, exit MCM to un-mark equipped shoes.",
		  "groupCondition": {"AND": [2, 3, 4]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkShoesUnmark",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Mark Stockings~)",
		  "type": "button",
		  "help": "select this, return to game and equip your stockings.",
		  "groupCondition": {"AND": [2, 3, 7]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkStockingsMark",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Un-Mark Stockings~)",
		  "type": "button",
		  "help": "select this, exit MCM to un-mark equipped stockings.",
		  "groupCondition": {"AND": [2, 3, 6]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "MarkStockingsUnmark",
			"params": [1.0]
		  }
		},
        {
          "type": "spacer"
        },
		{
			"id": "MCM_SettingUndressShoes:Intimate",
			"text": "Shoes undress",
			"type": "dropdown",
			"help": "Always undress (default) or keep equipped for some scenes",
			"valueOptions": {
				"options": ["Always remove", "remove for bed", "keep equipped"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1C91DA",
				"propertyName": "DTSleep_SettingUndressShoes"
			}
		},
		{
			"id": "MCM_SettingUndressStockings:Intimate",
			"text": "Stockings undress",
			"type": "dropdown",
			"help": "Always remove stockings or keep equipped; depends on shoes",
			"valueOptions": {
				"options": ["Always remove", "remove for bed", "keep equipped"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|1C91DB",
				"propertyName": "DTSleep_SettingUndressShoes"
			}
		}
	  ]
	},
	{
      "pageDisplayName": "Undress Check",
      "content": [
        {
		  "text": "Perform a complete undress. For any items still equipped you would like to remove for sleep, en-equip to add item to the Extra Parts list. Jewelry normally remains equipped, but you may mark it to force it off. A nearby romantic companion can be checked, too.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for mod on",
		  "groupControl": 3,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|1673D7",
			"propertyName": "DTSleep_SettingModMCMCtl"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress system ready",
		  "groupControl": 2,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressReady"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for capture parts on",
		  "groupControl": 10,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressCheckStarted"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for capture parts off",
		  "groupControl": 11,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressCheckStopped"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for extra parts equipped",
		  "groupControl": 8,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMExtraPartsEquipped"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for zero extra parts",
		  "groupControl": 9,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMExtraPartsNotFound"
		  }
		},
		{
		  "text": "1. be near an empty bed",
		  "type": "text",
		  "align": "left",
		  "groupCondition": {"AND": [3, 11]}
		},
		{
		  "text": "2. click the Start Undress Check button below",
		  "type": "text",
		  "align": "left",
		  "groupCondition": {"AND": [3, 11]}
		},
		{
		  "text": "3. exit MCM and on bed, activate Undress Check",
		  "type": "text",
		  "align": "left",
		  "groupCondition": {"AND": [3, 11]}
		},
		{
		  "text": "4. review prompt for instructions",
		  "type": "text",
		  "align": "left",
		  "groupCondition": {"AND": [3, 11]}
		},
		{
		  "text": "5. to finish and redress, activate Undress Check on bed again or return here and click Stop Undress Check",
		  "type": "text",
		  "align": "left",
		  "groupCondition": {"AND": [3, 11]}
		},
        {
          "type": "spacer"
        },
        {
          "text": "Extra Parts recognized?",
          "type": "section",
		  "groupCondition": 2
        },
		{
		  "text": "One or more extra parts or accessories equipped and will be removed for sleep.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 8]}
		},
		{
		  "text": "No extra parts equipped.",
		  "type": "text",
		  "align": "left",
          "groupCondition": {"AND": [2, 9]}
		},
        {
          "type": "spacer"
        },
		{
          "text": "Check Undress Tool - your character and companion",
          "type": "section"
        },
		{
		  "text": "(~Start Undress Check~)",
		  "type": "button",
		  "help": "exit MCM and activate bed Undress Check.",
		  "groupCondition": {"AND": [3, 11]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "StartUndressCheck",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Stop Undress Check~)",
		  "type": "button",
		  "help": "exit MCM to let character redress.",
		  "groupCondition": {"AND": [3, 10]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "StopUndressCheck",
			"params": [1.0]
		  }
		}
	  ]
	},
	{
      "pageDisplayName": "Test Features",
      "content": [
        {
		  "text": "Alternate settings and features that may help find an issue. Some buttons require Test Mode enabled (General). Click once and return to game.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for mod on",
		  "groupControl": 3,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|1673D7",
			"propertyName": "DTSleep_SettingModMCMCtl"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for Test Mode",
		  "groupControl": 1,
		  "valueOptions": 
		  {
			"sourceType": "GlobalValue",
			"sourceForm": "SleepIntimate.esp|40AAC",
			"propertyName": "DTSleep_SettingTestMode"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher undress ready",
		  "groupControl": 4,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMUndressReady"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for player dressed",
		  "groupControl": 2,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMPlayerDressed"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for companion dressed",
		  "groupControl": 5,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMCompanionDressed"
		  }
		},
		{
		  "type": "hiddenSwitcher",
		  "text": "Invisible switcher for companion undressed",
		  "groupControl": 6,
		  "valueOptions": 
		  {
			"sourceType": "PropertyValueInt",
			"sourceForm": "SleepIntimate.esp|A56A2",
			"propertyName": "MCMCompanionUndressed"
		  }
		},
        {
          "type": "spacer"
        },
		{
			"text": "TEST settings ",
			"type": "section"
		},
		{
			"id": "MCM_SettingFastTime:Test",
			"text": "Immersive Rest fast-time Rate",
			"type": "dropdown",
			"help": "Changes fast-time rate TimeScale. Also increases faster-wait-time rate. Select total real-time minutes for 6-hour sleep",
			"valueOptions": {
				"options": ["10 minutes - default", "8 minutes", "7 minutes", "5 minutes"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|DF5EE",
				"propertyName": "DTSleep_SettingFastTime"
			}
		},
		{
			"id": "MCM_SettingAACV:Test",
			"text": "Standard Scene View (not AAF)",
			"type": "dropdown",
			"help": "Force Orbit-view is for testing. If issues using default, try -strict which on furniture clones player for Look-view without shake and better for alignement.",
			"valueOptions": {
				"options": ["Force Orbit-view", "Orbit-or-Look-default", "Orbit-or-Look-strict", "Look-view only"],
				"sourceType": "GlobalValue",
				"sourceForm": "SleepIntimate.esp|10D73C",
				"propertyName": "DTSleep_SettingAACV"
			}
		},
		{
		  "type": "spacer",
		  "groupCondition": 3
		},
		{
			"text": "TEST buttons (Test Mode enabled)",
			"type": "section",
			"groupCondition": {"AND": [1, 3]}
		},
		{
		  "text": "(~Get Naked!~)",
		  "type": "button",
		  "help": "test if removes desired armor items - if not, see Undress Check",
		  "groupCondition": {"AND": [1, 2, 3]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "GoPlayerNaked",
			"params": [1.0]
		  }
		},
		{
		  "type": "spacer"
		},
		{
		  "text": "(~Undress Lover for Sleep~)",
		  "type": "button",
		  "help": "test if companion undress and equips sleep outfit then return here to Redress Lover",
		  "groupCondition": {"AND": [1, 2, 3, 4, 5]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "GoCompanionNaked",
			"params": [1.0]
		  }
		},
		{
		  "text": "(~Redress Lover~)",
		  "type": "button",
		  "help": "redress companion",
		  "groupCondition": {"AND": [1, 3, 6]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "GoCompanionRedress",
			"params": [1.0]
		  }
		},
		{
		  "type": "spacer"
		},
		{
		  "text": "(~Is Romanced Companion power-armor glitched?~)",
		  "type": "button",
		  "help": "no AAF-play if power-armor glitched; try command companion to sit",
		  "groupCondition": {"AND": [1, 3]},
		  "action": {
			"type": "CallFunction",
			"form": "SleepIntimate.esp|A56A2",
			"scriptName": "DTSleep_MCMQuest",   
			"function": "GoIsCompanionPowerArmorGlitched",
			"params": [1.0]
		  }
		}
	  ]
	},
    {
      "pageDisplayName": "Hotkeys",
      "content": [
        {
          "text": "Sleep Intimate Hotkeys",
          "type": "section"
        },
        {
          "id": "DTSI_ChairsEnabledToggle",
          "text": "Hotkey for Seat Scenes Setting",
          "type": "hotkey",
          "help": "toggle Seat Scenes setting: disabled, embrace, intimate"
        },
		{
          "id": "DTSI_PlayerAwaken",
          "text": "Hotkey for Awaken from sleep",
          "type": "hotkey",
          "help": "Awaken from sleep"
        },
		{
          "id": "DTSI_UndressRedressToggle",
          "text": "Hotkey for Redress after Rest toggle (player-character)",
          "type": "hotkey",
          "help": "toggle Redress after Rest"
        },
		{
          "id": "DTSI_SwapRolesToggle",
          "text": "Hotkey to swap roles",
          "type": "hotkey",
          "help": "toggle role"
        },
		{
          "id": "DTSI_NNESToggle",
          "text": "Hotkey toggle NNES Bed Reserver",
          "type": "hotkey",
          "help": "toggle NNES Bed Reserver"
        }
      ]
    },
    {
      "pageDisplayName": "Help and Troubleshooting",
      "content": [
		{
		  "text": "What is intimate attempt chance based on as shown in prompt?",
		  "type": "section"
		},
		{
		  "text": "3 factors shown on prompt: Sex Appeal, time-since, and location score. Plus hidden bonuses which include special items, party drugs, or bonus help to get started. Time-since less than day is generally negative and increasingly positive after 24 hours until maximum at around 10 days. Location score includes bonus from special bed (Vault bed, double-bed, or intimate bed), bed ownership (yours or companion's), weather, season, hour of day, and nearby awake NPCs.",
		  "type": "text",
		  "align": "left"
		},
		{
		  "type": "spacer"
		},
        {
          "text": "Camera after bed stays low or in wrong position",
          "type": "section"
        },
		{
		  "text": "Try toggle 1st/3rd-person view, or crouch/sneak. If using another custom camera disable this custom camera in the MCM. When sleeping loading a save-game may cause camera to become stuck. Exit to main menu and load save again.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Rest: no 'Rest' option on bed (only 'Sleep')",
          "type": "section"
        },
		{
		  "text": "The 'Rest' will hide when in Power Armor, weapon drawn, sneaking, over-encumbered, or if bed marked incompatible by the mod. If only 'Sleep' may have another mod altering bed activation such as place-anywhere or set-private mod. If instead of 'Sleep' states, 'Awaken' then sneak or try activate bed to reset.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Rest: stuck standing on bed",
          "type": "section"
        },
		{
		  "text": "Crouch/Sneak to regain controls. Beds require enough space on the sides and above for character to enter and exit. Avoid blue tarp-tent and other beds with low hanging obstructions.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Rest: after exit bed failed to redress, companion stuck in bed, or bed still has 'Awaken'",
          "type": "section"
        },
		{
		  "text": "Crouch to cancel and redress. May have accidentally activated a nearby furniture. Remember to activate same bed sleeping in to exit. Is Redress after Rest enabled?",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Rest (immersive): companion cannot find bed",
          "type": "section"
        },
		{
		  "text": "Plenty of open beds nearby, but companion can't find bed! Companion ignores beds assigned to others, or custom bed not recognized. Send companion to sleep.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Rest: companion remains dressed for bed",
          "type": "section"
        },
		{
		  "text": "Only romanced companion (not Extra NPCs) will undress for bed to the same level as player character, and only if in bed or finds a bed nearby. Instruct companion to use bed to make sure bed is found. Some items, like hats, may fail to remove. For these items use the Trade menu to remove and re-equip to get system to recognize.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Rest: companion refuses to equip sleep clothes",
          "type": "section"
        },
		{
		  "text": "Full-body outfit works best. Sleepwear must be bathrobe, recognized custom sleepwear, or marked as sleep clothes using the holotape. If player can wear, equip it and open Sleep Clothes Menu. At the top the banner should mention if wearing sleep clothes. If not, mark it.",
		  "type": "text",
		  "align": "left"
		},
		{
		  "text": "Test companion: in Trade menu, equip then remove sleep item so companion back in normal outfit. In holotape, enable Test Mode (Settings Menu) then in Test Menu, select Undress lover for bed, and exit holotape. If companion undressed, but not wearing sleep outfit then use Trade Menu to equip. Return to holotape Test Menu and select Redress lover.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Intimacy: No prompt - have companion, but go straight to sleep",
          "type": "section"
        },
		{
		  "text": "Must be romanced or companion idolizes you. Make sure companion is nearby and standing, but the Intimate Lover Ring accepts seated companion. Optional non-romance companions (Extra NPCs) require having perk. Custom companion with custom follow system may not be compatible. Try equip Intimate Lover Ring and then try in Test Mode. May disable Test Mode after ring equipped.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Intimacy: Help! Always fail attempt!",
          "type": "section"
        },
		{
		  "text": "Until gaining more experience limit attempts to once each night to maximize starter bonus. Choose private areas like rented bed or Home Plate. Upgrade settlement by building twin-beds or double-bed. Try to get Sex Appeal up to 30+ using bathrobe or drugs. Liquor helps with low charisma, but may be a negative for highly charismatic character.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Intimacy: have naughty animations pack, but characters only hug and kiss before bed",
          "type": "section"
        },
		{
		  "text": "Situation (same-gender, race, or small bed) may limit scene picking, or companion prefers cuddle. Try Pick Scene. Female-female scenes require extra gear for Leito's pack, or pack with female-female animations. Gen-2 synths limited to hugs and kisses.",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        },
		{
          "text": "Intimacy: Hey, I just want to test scene with my setup!",
          "type": "section"
        },
		{
		  "text": "With SavageCabbage pack, choose Lap Dance at arm chair for easy pass or with female use Intimate Dance Pole having any follower. Otherwise you may enable demo for free intimacy check pass. Be ready at a bed or chair with romanced companion.",
		  "type": "text",
		  "align": "left"
		},
		{
		  "text": "1. holotape Settings Menu: Test Mode (Enabled)",
		  "type": "text",
		  "align": "left"
		},
		{
		  "text": "2. holotape main menu, open Test Menu",
		  "type": "text",
		  "align": "left"
		},
		{
		  "text": "3. select Intimate Scene Demo",
		  "type": "text",
		  "align": "left"
		},
		{
		  "text": "4. exit Pip-Boy and activate Rest on bed - persuasion check will pass without points - no voice for success",
		  "type": "text",
		  "align": "left"
		},
        {
          "type": "spacer"
        }
        
      ]
	}
  ]
}