fnkdolpojso grmhbhigjshkdfnkgtah
This commit is contained in:
@@ -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);
|
||||
|
12
PickableItems/pickable_pants.tscn
Normal file
12
PickableItems/pickable_pants.tscn
Normal 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")
|
Reference in New Issue
Block a user