77[ext_resource type ="Texture2D" uid ="uid://vk7prp3tpig3" path ="res://Assets/Textures/UI/progress_bar.png" id ="4_w3k6v" ]
88[ext_resource type ="Script" uid ="uid://cy6otwbqa0w1x" path ="res://Scripts/Other/hunger_and_thirst.gd" id ="5_s8rx5" ]
99[ext_resource type ="Script" uid ="uid://dhie3qxe0hb7i" path ="res://Scripts/player_animations.gd" id ="7_vsrq0" ]
10+ [ext_resource type ="Script" uid ="uid://ckekt4jyusoh" path ="res://Scripts/Other/spawn_area_clear.gd" id ="8_w3k6v" ]
1011
1112[sub_resource type ="RectangleShape2D" id ="RectangleShape2D_t86h6" ]
1213size = Vector2 (96.66666 , 93.33333 )
@@ -174,6 +175,9 @@ _data = {
174175&"walking" : SubResource ("Animation_d83tg" )
175176}
176177
178+ [sub_resource type ="RectangleShape2D" id ="RectangleShape2D_vsrq0" ]
179+ size = Vector2 (256.66666 , 256.66666 )
180+
177181[node name ="Player" type ="CharacterBody2D" unique_id =2146920496 ]
178182z_index = 5
179183texture_filter = 1
@@ -244,7 +248,6 @@ autoplay = &"pulse"
244248script = ExtResource ("5_s8rx5" )
245249hunger_per_second = 0.008
246250thirst_per_second = 0.01
247- thirst_per_second_running_multipliar = 10.0
248251
249252[node name ="Timer" type ="Timer" parent ="HungerAndThirst" unique_id =497556148 ]
250253autostart = true
@@ -262,4 +265,14 @@ libraries/ = SubResource("AnimationLibrary_ff814")
262265
263266[node name ="AudioListener2D" type ="AudioListener2D" parent ="." unique_id =992318517 ]
264267
268+ [node name ="SpawnAreaClear" type ="Area2D" parent ="." unique_id =855058091 ]
269+ collision_layer = 0
270+ collision_mask = 272
271+ script = ExtResource ("8_w3k6v" )
272+
273+ [node name ="CollisionShape2D" type ="CollisionShape2D" parent ="SpawnAreaClear" unique_id =1597975902 ]
274+ position = Vector2 (1.6666666 , -1.6666666 )
275+ shape = SubResource ("RectangleShape2D_vsrq0" )
276+ debug_color = Color (0.6591337 , 0.5090556 , 0.23106265 , 0.41960785 )
277+
265278[connection signal ="timeout" from ="HungerAndThirst/Timer" to ="HungerAndThirst" method ="_on_timer_timeout" ]
0 commit comments