2024-09-19 19:03:06 -06:00
|
|
|
# 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:
|
2024-10-09 20:55:46 -06:00
|
|
|
var gearPiece = gearItem.new()
|
2024-09-19 19:03:06 -06:00
|
|
|
print (gearPiece.statValues)
|