Cow_Life_Sim_RPG/Objects/Forest/Log/Log.tscn

62 lines
2.9 KiB
Plaintext

[gd_scene load_steps=15 format=3 uid="uid://deuy0rt6t7rhk"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_bhu18"]
[ext_resource type="Texture2D" uid="uid://k6r5ymtidfgi" path="res://Objects/Forest/Log/Log.png" id="2_qvlb3"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_c7ndx"]
[ext_resource type="PackedScene" uid="uid://cgqntk262jowi" path="res://Interactions/Scavenging/scavengeable.tscn" id="4_clr1a"]
[ext_resource type="Script" path="res://Interactions/Scavenging/LogScavengeable.gd" id="5_n36bx"]
[ext_resource type="Script" path="res://Items/Fungi/AmethystDeceiver.gd" id="5_x741u"]
[ext_resource type="Script" path="res://Items/Fungi/BluePinkGill.gd" id="6_4gitp"]
[ext_resource type="Script" path="res://Items/Fungi/HairyCurtainCrust.gd" id="7_31wb8"]
[ext_resource type="Script" path="res://Items/Fungi/LionsMane.gd" id="8_jg4nf"]
[ext_resource type="Script" path="res://Items/Fungi/Mycenachlorophos.gd" id="9_bxpj7"]
[ext_resource type="Script" path="res://Items/Fungi/VeiledLady.gd" id="10_myckf"]
[ext_resource type="Script" path="res://Items/Fungi/WolfsMilkSlimeMould.gd" id="11_2km8i"]
[sub_resource type="SpriteFrames" id="SpriteFrames_l05t6"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_qvlb3")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4mn33"]
size = Vector2(234, 25)
[node name="Log" instance=ExtResource("1_bhu18")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(0, -22)
sprite_frames = SubResource("SpriteFrames_l05t6")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-108, 12, -114, 0, 76, 0, 114, 0, 103, 14, 62, 18, 10, 18, -36, 15, -94, 15)
[node name="Interactable" parent="." index="2" instance=ExtResource("3_c7ndx")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -117.0
offset_top = -37.0
offset_right = 116.0
offset_bottom = 15.0
[node name="Scavengeable" parent="." index="3" instance=ExtResource("4_clr1a")]
script = ExtResource("5_n36bx")
scavengeDifficulty = 30
dropItemClasses = Array[Resource]([ExtResource("5_x741u"), ExtResource("6_4gitp"), ExtResource("7_31wb8"), ExtResource("8_jg4nf"), ExtResource("9_bxpj7"), ExtResource("10_myckf"), ExtResource("11_2km8i")])
dropItemProbabilities = Array[int]([5, 7, 10, 8, 4, 7, 10])
xpRewards = Array[int]([43, 23, 6, 17, 82, 19, 6])
dropItemLocationOffsets = Array[Vector2]([Vector2(-100, 20), Vector2(-50, 20), Vector2(0, 20), Vector2(50, 20), Vector2(100, 20)])
[node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"]
position = Vector2(0, 1.5)
shape = SubResource("RectangleShape2D_4mn33")
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Scavengeable"]