Cow_Life_Sim_RPG/Objects/Park/Trees/BirchTree.tscn

47 lines
1.9 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://b0lyga84hisrp"]
[ext_resource type="PackedScene" uid="uid://xdiytyukup38" path="res://Objects/Scavengeable/scavenge_item.tscn" id="1_mgxfa"]
[ext_resource type="Texture2D" uid="uid://b5lol772b7jww" path="res://Objects/Park/Trees/Birch.png" id="2_j22ij"]
[ext_resource type="Script" path="res://Items/Plants/BirchBark.gd" id="3_h3tks"]
[ext_resource type="Script" path="res://Items/Plants/BirchLeaf.gd" id="4_hv6bm"]
[ext_resource type="Script" path="res://Items/Plants/BirchSap.gd" id="5_u1mj2"]
[ext_resource type="Script" path="res://Items/Plants/BirchStick.gd" id="6_mgwg2"]
[sub_resource type="SpriteFrames" id="SpriteFrames_agsxw"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_j22ij")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_ymsko"]
radius = 38.0
[node name="BirchTree" instance=ExtResource("1_mgxfa")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(-1, -129)
sprite_frames = SubResource("SpriteFrames_agsxw")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-19.5, 74.5, 32.5, 74.5, 37.5, 99.5, -25.5, 100.5)
[node name="Scavengeable" parent="." index="3"]
scavengeDifficulty = 8
dropItemClasses = Array[Resource]([ExtResource("3_h3tks"), ExtResource("4_hv6bm"), ExtResource("5_u1mj2"), ExtResource("6_mgwg2")])
dropItemProbabilities = Array[int]([2, 4, 1, 4])
xpRewards = Array[int]([9, 3, 14, 4])
dropItemLocationOffsets = Array[Vector2]([Vector2(-75, 6), Vector2(37, 10), Vector2(-37, 10), Vector2(75, 6), Vector2(0, 15)])
[node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"]
position = Vector2(0.5, 17.5)
shape = SubResource("CircleShape2D_ymsko")
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Scavengeable"]