documentation index ◦ reference manual ◦ function index
Function: | renpy.loadable | (filename): |
Returns True if the given filename is loadable, meaning that it can be loaded from the disk or from inside an archive. Returns False if this is not the case.
if not renpy.loadable("secret_ending_screen.jpg"): "It looks like I can't show you the secret ending..."