mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-02 06:46:34 +01:00
Delete Save System
This commit is contained in:
parent
f789c784d8
commit
586f446408
1 changed files with 11 additions and 2 deletions
|
@ -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,6 +779,9 @@ screen file_slots(title):
|
|||
$ slot = i + 1
|
||||
|
||||
button:
|
||||
if flag:
|
||||
action FileDelete(slot)
|
||||
else:
|
||||
action FileAction(slot)
|
||||
|
||||
has vbox
|
||||
|
|
Loading…
Reference in a new issue