67 lines
2.8 KiB
Plaintext
67 lines
2.8 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://x2u6y5unc7f6"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_3sr05"]
|
|
[ext_resource type="Texture2D" uid="uid://cxmfwsi66xn1a" path="res://Objects/Beach/PalmTrees/PalmTreeBanana.png" id="2_x35da"]
|
|
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_lmo3k"]
|
|
[ext_resource type="PackedScene" uid="uid://cgqntk262jowi" path="res://Interactions/Scavenging/scavengeable.tscn" id="4_0mep0"]
|
|
[ext_resource type="Script" path="res://Items/Plants/PalmLeaf.gd" id="5_e7pup"]
|
|
[ext_resource type="Script" path="res://Items/Plants/PalmFiber.gd" id="6_a5squ"]
|
|
[ext_resource type="Script" path="res://Items/Foods/Fruits/Banana.gd" id="7_puc77"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_h2l2q"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_514te"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_b02tm"]
|
|
radius = 56.0089
|
|
|
|
[node name="PalmTreeBanana" instance=ExtResource("1_3sr05")]
|
|
|
|
[node name="AnimatedSprite2D" parent="." index="0"]
|
|
position = Vector2(-4, -133)
|
|
sprite_frames = SubResource("SpriteFrames_h2l2q")
|
|
|
|
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
|
polygon = PackedVector2Array(-20, -22, 4, -25, 31, -24, 44, -18, 42, 0, 13, 0, -33, 0)
|
|
|
|
[node name="PalmTreeBanana" type="Sprite2D" parent="." index="2"]
|
|
position = Vector2(-30, -168)
|
|
texture = ExtResource("2_x35da")
|
|
|
|
[node name="Interactable" parent="." index="3" instance=ExtResource("3_lmo3k")]
|
|
position = Vector2(0, -88.5)
|
|
|
|
[node name="Panel" parent="Interactable" index="1"]
|
|
offset_left = -1.0
|
|
offset_top = -37.0
|
|
offset_right = 47.0
|
|
offset_bottom = 89.0
|
|
|
|
[node name="Panel2" type="Panel" parent="Interactable" index="2"]
|
|
offset_left = -30.0
|
|
offset_top = 39.0
|
|
offset_right = -1.0
|
|
offset_bottom = 88.0
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_514te")
|
|
|
|
[node name="Scavengeable" parent="." index="4" instance=ExtResource("4_0mep0")]
|
|
position = Vector2(0.5, -25.5)
|
|
scavengeDifficulty = 35
|
|
dropItemClasses = Array[Resource]([ExtResource("5_e7pup"), ExtResource("6_a5squ"), ExtResource("7_puc77")])
|
|
dropItemProbabilities = Array[int]([5, 4, 2])
|
|
xpRewards = Array[int]([9, 8, 94])
|
|
dropItemLocationOffsets = Array[Vector2]([Vector2(-70, 6), Vector2(35, 10), Vector2(-35, 10), Vector2(70, 6), Vector2(0, 15)])
|
|
|
|
[node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"]
|
|
position = Vector2(9.5, 2.5)
|
|
shape = SubResource("CircleShape2D_b02tm")
|
|
|
|
[node name="ScavengeBar" parent="Scavengeable" index="1"]
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[connection signal="gui_input" from="Interactable/Panel2" to="Interactable" method="_on_panel_gui_input"]
|
|
|
|
[editable path="Interactable"]
|
|
[editable path="Interactable/ActionMenu"]
|
|
[editable path="Scavengeable"]
|