diff --git a/game/screens.rpy b/game/screens.rpy index c08407d..faaa8b8 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -335,6 +335,7 @@ screen navigation(): textbutton _("History") action ShowMenu("history") textbutton _("Save") action ShowMenu("save") textbutton _("Load") action ShowMenu("load") + textbutton _("Delete") action ShowMenu("delete") textbutton _("Options") action ShowMenu("preferences") textbutton _("Extras") action ShowMenu("extras") textbutton _("Return") action Return() @@ -734,8 +735,13 @@ screen load(): use file_slots(_("Load")) +screen delete(): -screen file_slots(title): + tag menu + + use file_slots(_("Delete"), True) + +screen file_slots(title, flag=False): default page_name_value = FilePageNameInputValue(pattern=_("Page {}"), auto=_("Automatic saves"), quick=_("Quick saves")) @@ -773,7 +779,10 @@ screen file_slots(title): $ slot = i + 1 button: - action FileAction(slot) + if flag: + action FileDelete(slot) + else: + action FileAction(slot) has vbox