From d270501f083dab1be27b73e09a7d5c2cd8e2f6f9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 19 Apr 2024 01:56:03 +0200 Subject: [PATCH] Remove unused test behaviours --- behaviours/ai_hunter_erratic.tscn | 23 ----------------------- behaviours/ai_hunter_latest.tscn | 19 ------------------- behaviours/ai_hunter_persistent.tscn | 19 ------------------- behaviours/ai_hunter_random.tscn | 23 ----------------------- 4 files changed, 84 deletions(-) delete mode 100644 behaviours/ai_hunter_erratic.tscn delete mode 100644 behaviours/ai_hunter_latest.tscn delete mode 100644 behaviours/ai_hunter_persistent.tscn delete mode 100644 behaviours/ai_hunter_random.tscn diff --git a/behaviours/ai_hunter_erratic.tscn b/behaviours/ai_hunter_erratic.tscn deleted file mode 100644 index 728501b..0000000 --- a/behaviours/ai_hunter_erratic.tscn +++ /dev/null @@ -1,23 +0,0 @@ -[gd_scene load_steps=4 format=3 uid="uid://cgq2jkbrw1y0o"] - -[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"] - -[node name="AIHunterErratic" type="Node2D"] - -[node name="EdibleTracker" parent="." instance=ExtResource("1_h53ag")] - -[node name="Timer" type="Timer" parent="."] -wait_time = 2.4 -autostart = true - -[node name="TargetPicker" parent="." node_paths=PackedStringArray("tracker") instance=ExtResource("2_h4v3e")] -tracker = NodePath("../EdibleTracker") - -[node name="MoveTowards" type="Node2D" parent="."] -script = ExtResource("3_ucief") - -[connection signal="untracked" from="EdibleTracker" to="TargetPicker" method="clear_if_target"] -[connection signal="timeout" from="Timer" to="TargetPicker" method="sample_target"] -[connection signal="target_changed" from="TargetPicker" to="MoveTowards" method="set_target" unbinds=1] diff --git a/behaviours/ai_hunter_latest.tscn b/behaviours/ai_hunter_latest.tscn deleted file mode 100644 index cd016e7..0000000 --- a/behaviours/ai_hunter_latest.tscn +++ /dev/null @@ -1,19 +0,0 @@ -[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/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"] - -[node name="EdibleTracker" parent="." instance=ExtResource("2_jlt4x")] - -[node name="TargetPicker" parent="." node_paths=PackedStringArray("tracker") instance=ExtResource("3_lfvrb")] -tracker = NodePath("../EdibleTracker") - -[node name="MoveTowards" type="Node2D" parent="."] -script = ExtResource("1_demja") - -[connection signal="tracked" from="EdibleTracker" to="TargetPicker" method="set_target"] -[connection signal="untracked" from="EdibleTracker" to="TargetPicker" method="clear_if_target"] -[connection signal="target_changed" from="TargetPicker" to="MoveTowards" method="set_target" unbinds=1] diff --git a/behaviours/ai_hunter_persistent.tscn b/behaviours/ai_hunter_persistent.tscn deleted file mode 100644 index 8b77415..0000000 --- a/behaviours/ai_hunter_persistent.tscn +++ /dev/null @@ -1,19 +0,0 @@ -[gd_scene load_steps=4 format=3 uid="uid://cpq0ubwun5wec"] - -[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"] - -[node name="AIHunterPersistent" type="Node2D"] - -[node name="EdibleTracker" parent="." instance=ExtResource("1_j87ny")] - -[node name="TargetPicker" parent="." node_paths=PackedStringArray("tracker") instance=ExtResource("2_w2vxl")] -tracker = NodePath("../EdibleTracker") - -[node name="MoveTowards" type="Node2D" parent="."] -script = ExtResource("3_14yk3") - -[connection signal="tracked" from="EdibleTracker" to="TargetPicker" method="set_target_if_null"] -[connection signal="untracked" from="EdibleTracker" to="TargetPicker" method="clear_if_target"] -[connection signal="target_changed" from="TargetPicker" to="MoveTowards" method="set_target" unbinds=1] diff --git a/behaviours/ai_hunter_random.tscn b/behaviours/ai_hunter_random.tscn deleted file mode 100644 index 0d8b47f..0000000 --- a/behaviours/ai_hunter_random.tscn +++ /dev/null @@ -1,23 +0,0 @@ -[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/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"] - -[node name="EdibleTracker" parent="." instance=ExtResource("2_suoff")] - -[node name="Timer" type="Timer" parent="."] -wait_time = 2.4 -autostart = true - -[node name="TargetPicker" parent="." node_paths=PackedStringArray("tracker") instance=ExtResource("3_0uxc2")] -tracker = NodePath("../EdibleTracker") - -[node name="MoveTowards" type="Node2D" parent="."] -script = ExtResource("1_wlo1a") - -[connection signal="untracked" from="EdibleTracker" to="TargetPicker" method="clear_if_target"] -[connection signal="timeout" from="Timer" to="TargetPicker" method="sample_target_if_null"] -[connection signal="target_changed" from="TargetPicker" to="MoveTowards" method="set_target" unbinds=1]