forked from interstellar_development/freettrpg
6b2159b840
Hopefully final refactoring, offloaded ui scripts to its own global .gd to prevent repetition.
12 lines
316 B
GDScript
12 lines
316 B
GDScript
extends Node
|
|
|
|
# Variable to store the path from which JSON data is loaded
|
|
var loadPath
|
|
|
|
# Variable to store the loaded JSON data
|
|
var data
|
|
|
|
# Currently placeholder function, to be deprecated once custom content loading is enabled.
|
|
func _ready():
|
|
loadPath = "res://content/stats.json"
|
|
data = Load.loadJSON(loadPath)
|