Currently the dialogues are loaded with this function:
## There'll be a LOT of dialogue, so loading each manually could not only dramatically increase load times, but it could also make errors more likely.
func register_dialogue_all(dialogue_folder: String):
for file: String in DirAccess.get_files_at(dialogue_folder):
#Ignore non resources, if they happened to be in the folder
if file.get_extension() != "tres":
continue
var res: Resource = load(dialogue_folder + file)
#Ignore non dialogues, if they happened to be in the folder
if not res is DialogueResource:
continue
dialogue_resources[res.dialogue_identifier] = res
However when you export this project, the client wont have this project, thus this resource will not be registered, failing the milklady's shop to load.
For now I will remove the registering of the dialogue in the Milklady's script to revert the symptom of not be able to open the shop.
Currently the dialogues are loaded with this function:
Which is called with this argument:
However when you export this project, the client wont have this project, thus this resource will not be registered, failing the milklady's shop to load.
For now I will remove the registering of the dialogue in the Milklady's script to revert the symptom of not be able to open the shop.