working on items and inventory

This commit is contained in:
2023-02-08 22:55:54 -05:00
parent 836a0e4a93
commit 03402abb6c
24 changed files with 617 additions and 117 deletions

View File

@@ -1,4 +1,4 @@
extends Node
extends Node2D
class_name PU_Item
@@ -6,7 +6,7 @@ enum ItemType {WEAPON, ITEM, OTHER, ELSE}
@export var item_name:String = ""
@export_multiline var item_description:String = ""
@export var item_type = ItemType
@export var item_type: ItemType
@export var item_clip_size:int = 0
@export var item_ammo:int = 0
@export var item_cooldown:float = 1.0