Added last farming timelines and fixed some minor issues

This commit is contained in:
2025-06-15 18:00:27 +02:00
committed by cblech
parent ddb5547b42
commit 89ae347a91
17 changed files with 94 additions and 25 deletions
@@ -49,12 +49,13 @@ autowrap_mode = 3
shape = SubResource("CircleShape2D_tlhp6")
[node name="Label" parent="InteractionArea2" index="1"]
offset_left = -142.0
offset_top = -278.0
offset_right = 1.0
offset_bottom = -170.0
visible = false
top_level = true
offset_left = -72.0
offset_top = -58.0
offset_right = 71.0
offset_bottom = 50.0
theme = SubResource("Theme_xu8me")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Icon" type="Sprite2D" parent="."]
+10 -4
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=3 format=3 uid="uid://cqc72e4hq6bcd"]
[gd_scene load_steps=4 format=3 uid="uid://cqc72e4hq6bcd"]
[ext_resource type="Script" uid="uid://ckp413wrub5fm" path="res://scripts/CSharp/Common/CharacterControls/InteractionArea2D.cs" id="1_5ajrf"]
@@ -6,6 +6,9 @@
resource_local_to_scene = true
radius = 300.0
[sub_resource type="Theme" id="Theme_5ajrf"]
default_font_size = 75
[node name="InteractionArea" type="Node2D" node_paths=PackedStringArray("_area", "_label")]
script = ExtResource("1_5ajrf")
_area = NodePath("Area2D")
@@ -19,10 +22,13 @@ shape = SubResource("CircleShape2D_npluf")
[node name="Label" type="Label" parent="."]
visible = false
offset_right = 50.0
offset_bottom = 30.0
scale = Vector2(2, 2)
offset_left = -46.0
offset_top = -55.0
offset_right = 45.0
offset_bottom = 48.0
theme = SubResource("Theme_5ajrf")
text = "[E]"
horizontal_alignment = 1
[connection signal="body_entered" from="Area2D" to="." method="OnPlayerEntered"]
[connection signal="body_exited" from="Area2D" to="." method="OnPlayerExited"]