From fc48919b386356e9917370004c234d9c481bccff Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Sat, 6 May 2023 14:22:45 +0200 Subject: [PATCH] updated navigation overlay name --- objects/OptionPanelSource.830bd0.json | 2 +- ...ffa.json => NavigationOverlay.a8affa.json} | 6 ++--- .../CameraPlacementHelper.cecc3e.json | 2 +- .../CameraPlacementHelper.cecc3e.ttslua | 0 .../NavigationOverlay.e5803c.json | 0 .../NavigationOverlayTile.9f2481.json} | 6 ++--- .../accessories/NavigationOverlay.ttslua | 0 src/core/Global.ttslua | 22 +++++++++---------- 8 files changed, 19 insertions(+), 19 deletions(-) rename objects/OptionPanelSource.830bd0/{jaqenZannsNavigationOverlay.a8affa.json => NavigationOverlay.a8affa.json} (89%) rename objects/OptionPanelSource.830bd0/{jaqenZannsNavigationOverlay.a8affa => NavigationOverlay.a8affa}/CameraPlacementHelper.cecc3e.json (91%) rename objects/OptionPanelSource.830bd0/{jaqenZannsNavigationOverlay.a8affa => NavigationOverlay.a8affa}/CameraPlacementHelper.cecc3e.ttslua (100%) rename objects/OptionPanelSource.830bd0/{jaqenZannsNavigationOverlay.a8affa => NavigationOverlay.a8affa}/NavigationOverlay.e5803c.json (100%) rename objects/OptionPanelSource.830bd0/{jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.json => NavigationOverlay.a8affa/NavigationOverlayTile.9f2481.json} (86%) rename objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.ttslua => src/accessories/NavigationOverlay.ttslua (100%) diff --git a/objects/OptionPanelSource.830bd0.json b/objects/OptionPanelSource.830bd0.json index 119dd01c..e71eea07 100644 --- a/objects/OptionPanelSource.830bd0.json +++ b/objects/OptionPanelSource.830bd0.json @@ -18,7 +18,7 @@ "TokenArranger.022907", "CYOACampaignGuides.e87ea2", "AttachmentHelper.7f4976", - "jaqenZannsNavigationOverlay.a8affa", + "NavigationOverlay.a8affa", "SearchAssistant.17aed0", "HandHelper.450688", "DisplacementTool.0f1374", diff --git a/objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa.json b/objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa.json similarity index 89% rename from objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa.json rename to objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa.json index 1fa2aa26..4964bf4a 100644 --- a/objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa.json +++ b/objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa.json @@ -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": "" -} +} \ No newline at end of file diff --git a/objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.json b/objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.json similarity index 91% rename from objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.json rename to objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.json index f3ff8eb3..f6ead70c 100644 --- a/objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.json +++ b/objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.json @@ -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", diff --git a/objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.ttslua b/objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.ttslua similarity index 100% rename from objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.ttslua rename to objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.ttslua diff --git a/objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/NavigationOverlay.e5803c.json b/objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/NavigationOverlay.e5803c.json similarity index 100% rename from objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/NavigationOverlay.e5803c.json rename to objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/NavigationOverlay.e5803c.json diff --git a/objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.json b/objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/NavigationOverlayTile.9f2481.json similarity index 86% rename from objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.json rename to objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/NavigationOverlayTile.9f2481.json index 7f6f1c4f..d24fb331 100644 --- a/objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.json +++ b/objects/OptionPanelSource.830bd0/NavigationOverlay.a8affa/NavigationOverlayTile.9f2481.json @@ -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": "" -} +} \ No newline at end of file diff --git a/objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.ttslua b/src/accessories/NavigationOverlay.ttslua similarity index 100% rename from objects/OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.ttslua rename to src/accessories/NavigationOverlay.ttslua diff --git a/src/core/Global.ttslua b/src/core/Global.ttslua index 4bc56b9f..08b2e5ef 100644 --- a/src/core/Global.ttslua +++ b/src/core/Global.ttslua @@ -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]]