Files
VRyHungry1/Prefabs/food_item.gd
T
2026-07-31 14:03:53 +02:00

10 lines
322 B
GDScript

class_name FoodItem
extends Node
# Define the Enum at the top of your script
enum Type { MEAL, SIDE, INGREDIENT, NONE }
@export var id: String
@export var type: Type = Type.NONE
@export var sell_value = 1
var is_absorbed = false # Used by tables to keep track of whether the item has been registered as delivered already