extends Control var item # e.g. grondir var category # e.g. character var module # e.g. trait var items # e.g. ["Undergrounder","Tough"] var config var item_filter = "" func _enter_tree() -> void: config = ConfigFile.new() config.load("res://02 - Configurations/" + category + ".ini") %text.text = config.get_value(item,"text", "") func _on_backstory_text_changed() -> void: config = ConfigFile.new() config.load("res://02 - Configurations/" + category + ".ini") config.set_value(item,"text",%text.text) get_parent().get_parent().show_save() func save(): config.save("res://02 - Configurations/" + category + ".ini")