updated navigation overlay name

This commit is contained in:
Chr1Z93 2023-05-06 14:22:45 +02:00
parent 286f873ded
commit fc48919b38
8 changed files with 19 additions and 19 deletions

View File

@ -18,7 +18,7 @@
"TokenArranger.022907",
"CYOACampaignGuides.e87ea2",
"AttachmentHelper.7f4976",
"jaqenZannsNavigationOverlay.a8affa",
"NavigationOverlay.a8affa",
"SearchAssistant.17aed0",
"HandHelper.450688",
"DisplacementTool.0f1374",

View File

@ -16,9 +16,9 @@
"ContainedObjects_order": [
"NavigationOverlay.e5803c",
"CameraPlacementHelper.cecc3e",
"jaqenZannsNavigationOverlayTile.9f2481"
"NavigationOverlayTile.9f2481"
],
"ContainedObjects_path": "jaqenZannsNavigationOverlay.a8affa",
"ContainedObjects_path": "NavigationOverlay.a8affa",
"Description": "",
"DragSelectable": true,
"GMNotes": "",
@ -53,4 +53,4 @@
},
"Value": 0,
"XmlUI": ""
}
}

View File

@ -29,7 +29,7 @@
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScriptState": "",
"LuaScript_path": "OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.ttslua",
"LuaScript_path": "OptionPanelSource.830bd0/NavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.ttslua",
"MeasureMovement": false,
"Name": "Custom_Assetbundle",
"Nickname": "Camera Placement Helper",

View File

@ -33,11 +33,11 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"accessories/NavigationOverlay\")",
"LuaScriptState": "",
"LuaScript_path": "OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.ttslua",
"MeasureMovement": false,
"Name": "Custom_Tile",
"Nickname": "jaqenZann's Navigation Overlay Tile",
"Nickname": "Navigation Overlay Tile",
"Snap": false,
"Sticky": true,
"Tooltip": true,
@ -54,4 +54,4 @@
},
"Value": 0,
"XmlUI": ""
}
}

View File

@ -888,7 +888,7 @@ function applyOptionPanelChange(id, state)
-- option: Show navigation overlay
elseif id == "showNavigationOverlay" then
optionPanel[id] = spawnOrRemoveHelper(state, "jaqenZann's Navigation Overlay", {-68, 1.4, -70})
optionPanel[id] = spawnOrRemoveHelper(state, "Navigation Overlay", {-68, 1.4, -70})
-- option: Show CYOA campaign guides
elseif id == "showCYOA" then
@ -954,16 +954,16 @@ end
function removeHelperObject(name)
-- links objects name to the respective option name (to grab the GUID for removal)
local referenceTable = {
["Token Arranger"] = "showTokenArranger",
["Clean Up Helper"] = "showCleanUpHelper",
["Hand Helper"] = "showHandHelper",
["Search Assistant"] = "showSearchAssistant",
["Chaos Bag Manager"] = "showChaosBagManager",
["jaqenZann's Navigation Overlay"] = "showNavigationOverlay",
["Displacement Tool"] = "showDisplacementTool",
["Custom Playmat Images"] = "showCustomPlaymatImages",
["Attachment Helper"] = "showAttachmentHelper",
["CYOA Campaign Guides"] = "showCYOA"
["Token Arranger"] = "showTokenArranger",
["Clean Up Helper"] = "showCleanUpHelper",
["Hand Helper"] = "showHandHelper",
["Search Assistant"] = "showSearchAssistant",
["Chaos Bag Manager"] = "showChaosBagManager",
["Navigation Overlay"] = "showNavigationOverlay",
["Displacement Tool"] = "showDisplacementTool",
["Custom Playmat Images"] = "showCustomPlaymatImages",
["Attachment Helper"] = "showAttachmentHelper",
["CYOA Campaign Guides"] = "showCYOA"
}
local data = optionPanel[referenceTable[name]]