Added to do items into Insert Character.gd

This commit is contained in:
PersonGuyGit 2024-03-24 12:49:50 -06:00
parent 30ef1cac67
commit f2edd31ebf

View File

@ -16,6 +16,8 @@ func _ready() -> void:
func _on_Button_pressed(): func _on_Button_pressed():
$FileDialog.popup() $FileDialog.popup()
#TO DO, Add items from the CSV files into the player character singleton. Work on formatting the CSV files from AddCharacter.gd first.
#this is going to take information from the file the player chose and put the individul parts into textboxes so it can be edited and then saved #this is going to take information from the file the player chose and put the individul parts into textboxes so it can be edited and then saved
func _on_FileDialog_file_selected(path): func _on_FileDialog_file_selected(path):
var file = File.new() var file = File.new()