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", "TokenArranger.022907",
"CYOACampaignGuides.e87ea2", "CYOACampaignGuides.e87ea2",
"AttachmentHelper.7f4976", "AttachmentHelper.7f4976",
"jaqenZannsNavigationOverlay.a8affa", "NavigationOverlay.a8affa",
"SearchAssistant.17aed0", "SearchAssistant.17aed0",
"HandHelper.450688", "HandHelper.450688",
"DisplacementTool.0f1374", "DisplacementTool.0f1374",

View File

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

View File

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

View File

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

View File

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