semi-idle-arpg/scripts/equipmentGen.gd
2024-09-19 19:03:06 -06:00

18 lines
405 B
GDScript

# this script handles everything related to equipment generation
extends SceneTree
var gearItem = load("gearRand.gd")
# func genPiece(tier: int, quality: int):
# # gernarate a single piece of equipment of tier and quality
# var gearPiece = gearItem
#
# return statValues
func _init() -> void:
var gearPiece = gearItem.new(tier=2, quality=4)
print (gearPiece.statValues)
quit(