What's the difference of FileSaveName and FileTime?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
tofuuu
Regular
Posts: 51
Joined: Tue Apr 24, 2018 7:15 pm
Contact:

What's the difference of FileSaveName and FileTime?

#1 Post by tofuuu »

I noticed that FileTime is the text under the slot button, it showed the time we saved the scene and 'empty slot' if it's empty.

Code: Select all

text FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot")):
     style "slot_time_text"
But right after the FileTime there's FileSaveName(slot) i'm not sure what's the function of this? Cause i don't see it anywhere on the screen.

Code: Select all

text FileSaveName(slot):
     style "slot_name_text"
Does it necessary?

User avatar
Kia
Eileen-Class Veteran
Posts: 1039
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: What's the difference of FileSaveName and FileTime?

#2 Post by Kia »

you can save some text like location or chapter name with your FileSaveName to show under your save slot if you want, it's not necessary though

tofuuu
Regular
Posts: 51
Joined: Tue Apr 24, 2018 7:15 pm
Contact:

Re: What's the difference of FileSaveName and FileTime?

#3 Post by tofuuu »

yes! Thank you for your answer

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]