diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-23 20:28:32 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 20:28:32 +0200 |
commit | 03d408f1b69a7b25d4f1b81db274bf69010a490a (patch) | |
tree | 5835d6c157a14cae0ae9c06b14d1bdaaec22526f /client/map | |
parent | 3885cbfae528608350804f704dba9c82fdbfd027 (diff) | |
download | hurrycurry-03d408f1b69a7b25d4f1b81db274bf69010a490a.tar hurrycurry-03d408f1b69a7b25d4f1b81db274bf69010a490a.tar.bz2 hurrycurry-03d408f1b69a7b25d4f1b81db274bf69010a490a.tar.zst |
fix most dependencies
Diffstat (limited to 'client/map')
-rw-r--r-- | client/map/item.gd | 2 | ||||
-rw-r--r-- | client/map/map.gd | 1 | ||||
-rw-r--r-- | client/map/map.tscn | 6 | ||||
-rw-r--r-- | client/map/progress.tscn | 4 |
4 files changed, 9 insertions, 4 deletions
diff --git a/client/map/item.gd b/client/map/item.gd index 74e08c48..757019c9 100644 --- a/client/map/item.gd +++ b/client/map/item.gd @@ -18,7 +18,7 @@ extends Node3D var owned_by: Node3D -var progress_instance: ProgressBar3D = preload("res://scenes/progress.tscn").instantiate() +var progress_instance: ProgressBar3D = preload("res://map/progress.tscn").instantiate() func _init(idx: int, owned_by_: Node3D): progress_instance.position.y = 2. diff --git a/client/map/map.gd b/client/map/map.gd index b5e519a6..1155a70c 100644 --- a/client/map/map.gd +++ b/client/map/map.gd @@ -15,7 +15,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. # -@tool class_name Map extends Node3D diff --git a/client/map/map.tscn b/client/map/map.tscn new file mode 100644 index 00000000..66e2c63a --- /dev/null +++ b/client/map/map.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://cs8gxa22c6joh"] + +[ext_resource type="Script" path="res://map/map.gd" id="1_stp8c"] + +[node name="Map" type="Node3D"] +script = ExtResource("1_stp8c") diff --git a/client/map/progress.tscn b/client/map/progress.tscn index 273beb74..19b72af3 100644 --- a/client/map/progress.tscn +++ b/client/map/progress.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=5 format=3 uid="uid://4ewufm6tqhpb"] -[ext_resource type="Shader" path="res://textures/progress.gdshader" id="1_6f2a0"] -[ext_resource type="Script" path="res://scripts/progress.gd" id="2_bb3u3"] +[ext_resource type="Shader" path="res://map/progress.gdshader" id="1_6f2a0"] +[ext_resource type="Script" path="res://map/progress.gd" id="2_bb3u3"] [sub_resource type="QuadMesh" id="QuadMesh_m0itj"] size = Vector2(0.75, 0.1) |