2024-07-31 14:14:40 +00:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://bq5d2w22wnxrf"]
|
2024-06-12 15:42:35 +00:00
|
|
|
|
2024-06-22 11:21:06 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/inventory/Packsack.cs" id="1_slakl"]
|
2024-07-31 14:14:40 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://di0sw4rgd26y0" path="res://sprites/PortableBackpacks.png" id="2_l0fbh"]
|
2024-06-16 07:28:16 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_brthl"]
|
|
|
|
size = Vector2(21, 29)
|
2024-06-12 15:42:35 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xqyue"]
|
2024-06-16 07:28:16 +00:00
|
|
|
size = Vector2(21, 29)
|
2024-06-12 15:42:35 +00:00
|
|
|
|
|
|
|
[node name="RigidBody2D" type="RigidBody2D"]
|
|
|
|
collision_layer = 8
|
|
|
|
collision_mask = 38
|
2024-06-13 06:18:11 +00:00
|
|
|
script = ExtResource("1_slakl")
|
2024-06-17 14:12:51 +00:00
|
|
|
NumberSlots = 30
|
2024-06-16 07:28:16 +00:00
|
|
|
|
|
|
|
[node name="DamageArea2D" type="Area2D" parent="."]
|
|
|
|
collision_layer = 8
|
|
|
|
collision_mask = 102
|
2024-06-12 15:42:35 +00:00
|
|
|
|
2024-06-16 07:28:16 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DamageArea2D"]
|
|
|
|
position = Vector2(-2.5, 1.5)
|
|
|
|
shape = SubResource("RectangleShape2D_brthl")
|
2024-06-12 15:42:35 +00:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
2024-06-16 07:28:16 +00:00
|
|
|
position = Vector2(-2.5, 1.5)
|
2024-06-12 15:42:35 +00:00
|
|
|
shape = SubResource("RectangleShape2D_xqyue")
|
2024-06-16 07:28:16 +00:00
|
|
|
|
|
|
|
[node name="Packsack" type="Sprite2D" parent="."]
|
|
|
|
scale = Vector2(0.5, 0.5)
|
2024-07-31 14:14:40 +00:00
|
|
|
texture = ExtResource("2_l0fbh")
|