fnkdolpojso grmhbhigjshkdfnkgtah

This commit is contained in:
Victor Turgeon
2023-01-15 15:02:42 -05:00
parent 8efed5d4d6
commit 423718bebe
14 changed files with 308 additions and 10 deletions

View File

@@ -3,6 +3,7 @@ extends Area2D
@export var Type : String;
@export var Item : PackedScene;
func _on_body_entered(body):
if body.name == "Player":
pickup_routine(body);

View File

@@ -0,0 +1,12 @@
[gd_scene load_steps=4 format=3 uid="uid://2wpk5ocpyhbm"]
[ext_resource type="PackedScene" uid="uid://ci6xls3xseci2" path="res://PickableItems/basic_item.tscn" id="1_pn1kw"]
[ext_resource type="PackedScene" uid="uid://7ui1rkwaycfy" path="res://Weapons/pillow.tscn" id="2_dl4tf"]
[ext_resource type="Texture2D" uid="uid://b38mgf41rovwt" path="res://Sprites/Pants.png" id="3_lkh12"]
[node name="pants" instance=ExtResource("1_pn1kw")]
Type = "weapon"
Item = ExtResource("2_dl4tf")
[node name="Sprite2D" parent="." index="1"]
texture = ExtResource("3_lkh12")