extends TextEdit func _ready(): text = Game.settings[get_parent().name] func _on_text_changed(): Game.save_setting(get_parent().name, text)