From 382fe8026616f2fd327720010d7ed737111532fd Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 17 Apr 2024 01:10:03 +0200 Subject: [PATCH] Rename `EdibleTracker` to `TrackerEdible` --- behaviours/ai_hunter_erratic.tscn | 2 +- behaviours/ai_hunter_latest.tscn | 2 +- behaviours/ai_hunter_persistent.tscn | 2 +- behaviours/ai_hunter_random.tscn | 2 +- behaviours/{edible_tracker.gd => tracker_edible.gd} | 2 +- behaviours/{edible_tracker.svg => tracker_edible.svg} | 0 ...{edible_tracker.svg.import => tracker_edible.svg.import} | 6 +++--- behaviours/{edible_tracker.tscn => tracker_edible.tscn} | 6 +++--- 8 files changed, 11 insertions(+), 11 deletions(-) rename behaviours/{edible_tracker.gd => tracker_edible.gd} (88%) rename behaviours/{edible_tracker.svg => tracker_edible.svg} (100%) rename behaviours/{edible_tracker.svg.import => tracker_edible.svg.import} (73%) rename behaviours/{edible_tracker.tscn => tracker_edible.tscn} (72%) diff --git a/behaviours/ai_hunter_erratic.tscn b/behaviours/ai_hunter_erratic.tscn index fed247f..728501b 100644 --- a/behaviours/ai_hunter_erratic.tscn +++ b/behaviours/ai_hunter_erratic.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=4 format=3 uid="uid://cgq2jkbrw1y0o"] -[ext_resource type="PackedScene" uid="uid://ctpn4hvkhxoi3" path="res://behaviours/edible_tracker.tscn" id="1_h53ag"] +[ext_resource type="PackedScene" uid="uid://ctpn4hvkhxoi3" path="res://behaviours/tracker_edible.tscn" id="1_h53ag"] [ext_resource type="PackedScene" uid="uid://dti7l0d40hhgt" path="res://behaviours/target_picker.tscn" id="2_h4v3e"] [ext_resource type="Script" path="res://behaviours/move_towards.gd" id="3_ucief"] diff --git a/behaviours/ai_hunter_latest.tscn b/behaviours/ai_hunter_latest.tscn index 35f9a37..cd016e7 100644 --- a/behaviours/ai_hunter_latest.tscn +++ b/behaviours/ai_hunter_latest.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=3 uid="uid://cgnvp5bmtbpxr"] [ext_resource type="Script" path="res://behaviours/move_towards.gd" id="1_demja"] -[ext_resource type="PackedScene" uid="uid://ctpn4hvkhxoi3" path="res://behaviours/edible_tracker.tscn" id="2_jlt4x"] +[ext_resource type="PackedScene" uid="uid://ctpn4hvkhxoi3" path="res://behaviours/tracker_edible.tscn" id="2_jlt4x"] [ext_resource type="PackedScene" uid="uid://dti7l0d40hhgt" path="res://behaviours/target_picker.tscn" id="3_lfvrb"] [node name="AIHunterLatest" type="Node2D"] diff --git a/behaviours/ai_hunter_persistent.tscn b/behaviours/ai_hunter_persistent.tscn index 3bddc5b..8b77415 100644 --- a/behaviours/ai_hunter_persistent.tscn +++ b/behaviours/ai_hunter_persistent.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=4 format=3 uid="uid://cpq0ubwun5wec"] -[ext_resource type="PackedScene" uid="uid://ctpn4hvkhxoi3" path="res://behaviours/edible_tracker.tscn" id="1_j87ny"] +[ext_resource type="PackedScene" uid="uid://ctpn4hvkhxoi3" path="res://behaviours/tracker_edible.tscn" id="1_j87ny"] [ext_resource type="PackedScene" uid="uid://dti7l0d40hhgt" path="res://behaviours/target_picker.tscn" id="2_w2vxl"] [ext_resource type="Script" path="res://behaviours/move_towards.gd" id="3_14yk3"] diff --git a/behaviours/ai_hunter_random.tscn b/behaviours/ai_hunter_random.tscn index e97f0d4..0d8b47f 100644 --- a/behaviours/ai_hunter_random.tscn +++ b/behaviours/ai_hunter_random.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=3 uid="uid://baiq3nu3p03rh"] [ext_resource type="Script" path="res://behaviours/move_towards.gd" id="1_wlo1a"] -[ext_resource type="PackedScene" uid="uid://ctpn4hvkhxoi3" path="res://behaviours/edible_tracker.tscn" id="2_suoff"] +[ext_resource type="PackedScene" uid="uid://ctpn4hvkhxoi3" path="res://behaviours/tracker_edible.tscn" id="2_suoff"] [ext_resource type="PackedScene" uid="uid://dti7l0d40hhgt" path="res://behaviours/target_picker.tscn" id="3_0uxc2"] [node name="AIHunterRandom" type="Node2D"] diff --git a/behaviours/edible_tracker.gd b/behaviours/tracker_edible.gd similarity index 88% rename from behaviours/edible_tracker.gd rename to behaviours/tracker_edible.gd index 6580828..a2aed3b 100644 --- a/behaviours/edible_tracker.gd +++ b/behaviours/tracker_edible.gd @@ -1,4 +1,4 @@ -@icon("res://behaviours/edible_tracker.svg") +@icon("res://behaviours/tracker_edible.svg") extends Tracker class_name EdibleTracker diff --git a/behaviours/edible_tracker.svg b/behaviours/tracker_edible.svg similarity index 100% rename from behaviours/edible_tracker.svg rename to behaviours/tracker_edible.svg diff --git a/behaviours/edible_tracker.svg.import b/behaviours/tracker_edible.svg.import similarity index 73% rename from behaviours/edible_tracker.svg.import rename to behaviours/tracker_edible.svg.import index b8c06f4..3d51dc1 100644 --- a/behaviours/edible_tracker.svg.import +++ b/behaviours/tracker_edible.svg.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://8443tt517pkv" -path="res://.godot/imported/edible_tracker.svg-9169f9c07be35f707b3c167799ba3a76.ctex" +path="res://.godot/imported/tracker_edible.svg-fb108b51d33883549e8e498a16701c4f.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://behaviours/edible_tracker.svg" -dest_files=["res://.godot/imported/edible_tracker.svg-9169f9c07be35f707b3c167799ba3a76.ctex"] +source_file="res://behaviours/tracker_edible.svg" +dest_files=["res://.godot/imported/tracker_edible.svg-fb108b51d33883549e8e498a16701c4f.ctex"] [params] diff --git a/behaviours/edible_tracker.tscn b/behaviours/tracker_edible.tscn similarity index 72% rename from behaviours/edible_tracker.tscn rename to behaviours/tracker_edible.tscn index ebad30a..6987647 100644 --- a/behaviours/edible_tracker.tscn +++ b/behaviours/tracker_edible.tscn @@ -1,12 +1,12 @@ [gd_scene load_steps=2 format=3 uid="uid://ctpn4hvkhxoi3"] -[ext_resource type="Script" path="res://behaviours/edible_tracker.gd" id="1_vo18u"] +[ext_resource type="Script" path="res://behaviours/tracker_edible.gd" id="1_vmdw6"] -[node name="EdibleTracker" type="Area2D"] +[node name="TrackerEdible" type="Area2D"] collision_layer = 0 collision_mask = 56 monitorable = false -script = ExtResource("1_vo18u") +script = ExtResource("1_vmdw6") [connection signal="body_entered" from="." to="." method="check_diet_then_track"] [connection signal="body_exited" from="." to="." method="untrack"]