semi-idle-arpg/scripts/equipmentGen.gd

17 lines
378 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()
print (gearPiece.statValues)