semi-idle-arpg/scripts/Loot.gd
2024-11-05 09:29:20 -07:00

16 lines
305 B
GDScript

extends Node
func _ready() -> void:
_generate_item()
func _generate_item() -> void:
# TODO: use weighted
var random_index = randi_range(0, 10)
print(random_index)
# TODO: create global of item types, create _generate funcs, use match
func _generate_gear() -> Node:
return