35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://blgg4t7spcxek"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://xdiytyukup38" path="res://Objects/Scavengeable/scavenge_item.tscn" id="1_b5qi5"]
|
|
[ext_resource type="Texture2D" uid="uid://bx3wiudgf6s42" path="res://Objects/Faire/CottonCandyTree/CottonCandyTree.png" id="2_o163j"]
|
|
[ext_resource type="Script" path="res://Items/Foods/Snack/CottonCandy.gd" id="3_mq163"]
|
|
[ext_resource type="Script" path="res://Items/Plants/Leaf.gd" id="4_0yhfp"]
|
|
[ext_resource type="Script" path="res://Items/Plants/Stick.gd" id="5_t8lc0"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_fsjn4"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_o163j")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="CottonCandyTree" instance=ExtResource("1_b5qi5")]
|
|
|
|
[node name="AnimatedSprite2D" parent="." index="0"]
|
|
sprite_frames = SubResource("SpriteFrames_fsjn4")
|
|
|
|
[node name="Scavengeable" parent="." index="3"]
|
|
scavengeDifficulty = 10
|
|
dropItemClasses = Array[Resource]([ExtResource("3_mq163"), ExtResource("4_0yhfp"), ExtResource("5_t8lc0")])
|
|
dropItemProbabilities = Array[int]([2, 4, 4])
|
|
xpRewards = Array[int]([18, 2, 3])
|
|
dropItemLocationOffsets = Array[Vector2]([Vector2(-75, 6), Vector2(37, 10), Vector2(-37, 10), Vector2(75, 6), Vector2(0, 15)])
|
|
|
|
[editable path="Interactable"]
|
|
[editable path="Interactable/ActionMenu"]
|
|
[editable path="Scavengeable"]
|