Skip to content

Commit

Permalink
Better document reserved filenames.
Browse files Browse the repository at this point in the history
  • Loading branch information
renpytom committed Nov 22, 2018
1 parent 02b0627 commit 0382e17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions sphinx/source/language_basics.rst
Expand Up @@ -30,6 +30,9 @@ exists without a corresponding .rpy file, the .rpyc file will be
used. This can lead to problems if a .rpy file is deleted without
deleting the .rpyc file.

Filenames must being with a letter or number, and may not begin with
"00", as Ren'Py uses such files for its own purposes.

Base Directory
--------------

Expand Down
5 changes: 4 additions & 1 deletion sphinx/source/reserved.rst
Expand Up @@ -5,6 +5,10 @@
Reserved Names
==============

Ren'Py reserves filenames that are do not begin with a letter or number,
and filenames that begin with "00". Very specifically, filenames that start
with "00" and "\_" are used by Ren'Py internally.

Ren'Py reserves all names beginning with a single underscore (\_). Do not
use names beginning with an underscore, as that may cause your game to break
in future versions of Ren'Py.
Expand All @@ -20,4 +24,3 @@ so can cause obscure problems.

.. include:: inc/reserved_renpy

Ren'Py reserves filenames beginning with an underscore or "00".

0 comments on commit 0382e17

Please sign in to comment.