From e03491a42c8556b571750aa5772d675b1ee694b6 Mon Sep 17 00:00:00 2001 From: Peter Kish Date: Tue, 15 Aug 2023 21:50:23 +0200 Subject: [PATCH] Fixed broken script paths --- examples/inventory_grid_ex_transfer.tscn | 10 +++++----- examples/inventory_grid_transfer.tscn | 10 +++++----- tests/ctrl_tests/test_ctrl_inventory.tscn | 6 +++--- tests/ctrl_tests/test_ctrl_inventory_grid.tscn | 6 +++--- tests/ctrl_tests/test_ctrl_inventory_grid_ex.tscn | 6 +++--- tests/ctrl_tests/test_ctrl_item_slot.tscn | 8 ++++---- tests/ctrl_tests/test_ctrl_item_slot_ex.tscn | 8 ++++---- 7 files changed, 27 insertions(+), 27 deletions(-) diff --git a/examples/inventory_grid_ex_transfer.tscn b/examples/inventory_grid_ex_transfer.tscn index c0bd44a0..ff16e18a 100644 --- a/examples/inventory_grid_ex_transfer.tscn +++ b/examples/inventory_grid_ex_transfer.tscn @@ -1,13 +1,13 @@ [gd_scene load_steps=19 format=3 uid="uid://dkfn8qojbtud4"] [ext_resource type="Resource" uid="uid://ddrmqwl3guset" path="res://tests/data/item_definitions_grid.tres" id="1"] -[ext_resource type="Script" path="res://addons/gloot/inventory_grid.gd" id="2"] -[ext_resource type="Script" path="res://addons/gloot/ctrl_inventory_grid_ex.gd" id="3"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_grid.gd" id="2"] +[ext_resource type="Script" path="res://addons/gloot/ui/ctrl_inventory_grid_ex.gd" id="3"] [ext_resource type="Script" path="res://examples/inventory_grid_transfer.gd" id="4"] [ext_resource type="Texture2D" uid="uid://b2hkcwwq10cut" path="res://icon.png" id="5"] -[ext_resource type="Script" path="res://addons/gloot/ctrl_item_slot_ex.gd" id="6"] -[ext_resource type="Script" path="res://addons/gloot/item_slot.gd" id="7"] -[ext_resource type="Script" path="res://addons/gloot/inventory_item.gd" id="8"] +[ext_resource type="Script" path="res://addons/gloot/ui/ctrl_item_slot_ex.gd" id="6"] +[ext_resource type="Script" path="res://addons/gloot/core/item_slot.gd" id="7"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_item.gd" id="8"] [ext_resource type="Texture2D" uid="uid://bpmdtgysdm2tp" path="res://images/field_background.png" id="9"] [ext_resource type="Texture2D" uid="uid://cdhuw0juxw3up" path="res://images/field_highlighted_background.png" id="10"] diff --git a/examples/inventory_grid_transfer.tscn b/examples/inventory_grid_transfer.tscn index ec565328..37da785e 100644 --- a/examples/inventory_grid_transfer.tscn +++ b/examples/inventory_grid_transfer.tscn @@ -1,13 +1,13 @@ [gd_scene load_steps=9 format=3 uid="uid://jopigw4xplp4"] [ext_resource type="Resource" uid="uid://ddrmqwl3guset" path="res://tests/data/item_definitions_grid.tres" id="1"] -[ext_resource type="Script" path="res://addons/gloot/inventory_grid.gd" id="2"] -[ext_resource type="Script" path="res://addons/gloot/ctrl_inventory_grid.gd" id="3"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_grid.gd" id="2"] +[ext_resource type="Script" path="res://addons/gloot/ui/ctrl_inventory_grid.gd" id="3"] [ext_resource type="Script" path="res://examples/inventory_grid_transfer.gd" id="4"] [ext_resource type="Texture2D" uid="uid://b2hkcwwq10cut" path="res://icon.png" id="5"] -[ext_resource type="Script" path="res://addons/gloot/ctrl_item_slot.gd" id="6"] -[ext_resource type="Script" path="res://addons/gloot/item_slot.gd" id="7"] -[ext_resource type="Script" path="res://addons/gloot/inventory_item.gd" id="8"] +[ext_resource type="Script" path="res://addons/gloot/ui/ctrl_item_slot.gd" id="6"] +[ext_resource type="Script" path="res://addons/gloot/core/item_slot.gd" id="7"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_item.gd" id="8"] [node name="InventoryGridTransfer" type="Control"] layout_mode = 3 diff --git a/tests/ctrl_tests/test_ctrl_inventory.tscn b/tests/ctrl_tests/test_ctrl_inventory.tscn index 1b34a71d..626a2935 100644 --- a/tests/ctrl_tests/test_ctrl_inventory.tscn +++ b/tests/ctrl_tests/test_ctrl_inventory.tscn @@ -1,10 +1,10 @@ [gd_scene load_steps=6 format=3 uid="uid://dnmcyf6p4gtgp"] [ext_resource type="Resource" uid="uid://nnxjxxu47mtj" path="res://tests/data/item_definitions_basic.tres" id="1"] -[ext_resource type="Script" path="res://addons/gloot/inventory.gd" id="2"] -[ext_resource type="Script" path="res://addons/gloot/ctrl_inventory.gd" id="3"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory.gd" id="2"] +[ext_resource type="Script" path="res://addons/gloot/ui/ctrl_inventory.gd" id="3"] [ext_resource type="Texture2D" uid="uid://bju6hohmp15ua" path="res://images/item_key.png" id="4"] -[ext_resource type="Script" path="res://addons/gloot/inventory_item.gd" id="5"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_item.gd" id="5"] [node name="Control" type="Control"] layout_mode = 3 diff --git a/tests/ctrl_tests/test_ctrl_inventory_grid.tscn b/tests/ctrl_tests/test_ctrl_inventory_grid.tscn index 61354719..5bb52631 100644 --- a/tests/ctrl_tests/test_ctrl_inventory_grid.tscn +++ b/tests/ctrl_tests/test_ctrl_inventory_grid.tscn @@ -1,10 +1,10 @@ [gd_scene load_steps=6 format=3 uid="uid://i33jyh87gocu"] [ext_resource type="Resource" uid="uid://ddrmqwl3guset" path="res://tests/data/item_definitions_grid.tres" id="1"] -[ext_resource type="Script" path="res://addons/gloot/ctrl_inventory_grid.gd" id="2"] -[ext_resource type="Script" path="res://addons/gloot/inventory_grid.gd" id="3"] +[ext_resource type="Script" path="res://addons/gloot/ui/ctrl_inventory_grid.gd" id="2"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_grid.gd" id="3"] [ext_resource type="Texture2D" uid="uid://b2hkcwwq10cut" path="res://icon.png" id="4"] -[ext_resource type="Script" path="res://addons/gloot/inventory_item.gd" id="5"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_item.gd" id="5"] [node name="Control" type="Control"] layout_mode = 3 diff --git a/tests/ctrl_tests/test_ctrl_inventory_grid_ex.tscn b/tests/ctrl_tests/test_ctrl_inventory_grid_ex.tscn index 8c29a4e0..6c4a5ca7 100644 --- a/tests/ctrl_tests/test_ctrl_inventory_grid_ex.tscn +++ b/tests/ctrl_tests/test_ctrl_inventory_grid_ex.tscn @@ -1,10 +1,10 @@ [gd_scene load_steps=13 format=3 uid="uid://c6qdqm1i436gg"] [ext_resource type="Resource" uid="uid://ddrmqwl3guset" path="res://tests/data/item_definitions_grid.tres" id="1"] -[ext_resource type="Script" path="res://addons/gloot/ctrl_inventory_grid_ex.gd" id="2"] -[ext_resource type="Script" path="res://addons/gloot/inventory_grid.gd" id="3"] +[ext_resource type="Script" path="res://addons/gloot/ui/ctrl_inventory_grid_ex.gd" id="2"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_grid.gd" id="3"] [ext_resource type="Texture2D" uid="uid://b2hkcwwq10cut" path="res://icon.png" id="4"] -[ext_resource type="Script" path="res://addons/gloot/inventory_item.gd" id="5"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_item.gd" id="5"] [ext_resource type="Texture2D" uid="uid://bpmdtgysdm2tp" path="res://images/field_background.png" id="6"] [ext_resource type="Texture2D" uid="uid://cdhuw0juxw3up" path="res://images/field_highlighted_background.png" id="7"] [ext_resource type="Texture2D" uid="uid://d2hy7wl46ki5j" path="res://images/field_selected_background.png" id="8"] diff --git a/tests/ctrl_tests/test_ctrl_item_slot.tscn b/tests/ctrl_tests/test_ctrl_item_slot.tscn index ae563789..ab43cbde 100644 --- a/tests/ctrl_tests/test_ctrl_item_slot.tscn +++ b/tests/ctrl_tests/test_ctrl_item_slot.tscn @@ -1,11 +1,11 @@ [gd_scene load_steps=7 format=3 uid="uid://cfad61445qg3a"] [ext_resource type="Resource" uid="uid://nnxjxxu47mtj" path="res://tests/data/item_definitions_basic.tres" id="1"] -[ext_resource type="Script" path="res://addons/gloot/inventory.gd" id="2"] -[ext_resource type="Script" path="res://addons/gloot/ctrl_item_slot.gd" id="3"] -[ext_resource type="Script" path="res://addons/gloot/item_slot.gd" id="4"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory.gd" id="2"] +[ext_resource type="Script" path="res://addons/gloot/ui/ctrl_item_slot.gd" id="3"] +[ext_resource type="Script" path="res://addons/gloot/core/item_slot.gd" id="4"] [ext_resource type="Texture2D" uid="uid://b2hkcwwq10cut" path="res://icon.png" id="5"] -[ext_resource type="Script" path="res://addons/gloot/inventory_item.gd" id="6"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_item.gd" id="6"] [node name="Control" type="Control"] layout_mode = 3 diff --git a/tests/ctrl_tests/test_ctrl_item_slot_ex.tscn b/tests/ctrl_tests/test_ctrl_item_slot_ex.tscn index 2c24ecd1..54f2ba1c 100644 --- a/tests/ctrl_tests/test_ctrl_item_slot_ex.tscn +++ b/tests/ctrl_tests/test_ctrl_item_slot_ex.tscn @@ -1,11 +1,11 @@ [gd_scene load_steps=10 format=3 uid="uid://b4iegtrw2clvh"] [ext_resource type="Resource" uid="uid://nnxjxxu47mtj" path="res://tests/data/item_definitions_basic.tres" id="1"] -[ext_resource type="Script" path="res://addons/gloot/inventory.gd" id="2"] -[ext_resource type="Script" path="res://addons/gloot/ctrl_item_slot_ex.gd" id="3"] -[ext_resource type="Script" path="res://addons/gloot/item_slot.gd" id="4"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory.gd" id="2"] +[ext_resource type="Script" path="res://addons/gloot/ui/ctrl_item_slot_ex.gd" id="3"] +[ext_resource type="Script" path="res://addons/gloot/core/item_slot.gd" id="4"] [ext_resource type="Texture2D" uid="uid://bpmdtgysdm2tp" path="res://images/field_background.png" id="5"] -[ext_resource type="Script" path="res://addons/gloot/inventory_item.gd" id="6"] +[ext_resource type="Script" path="res://addons/gloot/core/inventory_item.gd" id="6"] [ext_resource type="Texture2D" uid="uid://cdhuw0juxw3up" path="res://images/field_highlighted_background.png" id="7"] [sub_resource type="StyleBoxTexture" id="1"]