|
1.
|
|
|
Store Variables
|
|
|
|
Хранимые переменные
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:5
|
|
2.
|
|
|
Ren'Py has a number of store variables that control its function. Store variables may be changed at any time. If a store variable is changed after the game has started, it will be be saved and loaded by the save system, and rolled-back when rollback occurs.
|
|
|
|
Ren'Py имеет несколько переменных, которые управляют его функционированием. Эти "хранимые" переменные могут изменяться в любое время. Если такая переменная изменилась, она будет сохранена при сохранении игры и загружена при загрузке.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:7
|
|
3.
|
|
|
This is a template ADV-mode character, and the default character kind that is used when :func:`Character` is called.
|
|
|
|
Это образец для персонажа в режиме ADV. Такой персонаж создается по умолчанию при вызове фунции :func:`Character`.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:14
|
|
4.
|
|
|
This is the screen that is displayed when entering the game menu with no more specific screen selected. (For example, when right-clicking, pressing escape, or when :func:`ShowMenu` is not given an argument.) If None, entry to the game menu is disallowed.
|
|
|
|
Это экран отображаемый при входе в игровое меню, если не выбран другой, более конкретный экран, т.е. при щелчке правой кнопкой мыши, нажатии на Escape или при вызове :func:`ShowMenu` без аргументов. Если None, игрового меню не существует.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:19
|
|
5.
|
|
|
This is set to None at the start of the splashscreen, and restored to its original value when the splashscreen ends.
|
|
|
|
Это устанавливается в None в начале экрана загрузки, но установленное здесь значение будет возвращено по её завершении.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:24
|
|
6.
|
|
|
Ren'Py sets this variable to True while in the main menu. This can be used to have screens display differently while in the main menu.
|
|
|
|
Ren'Py присваивает этой переменной значение True в главном меню. Это можно использовать для отображения альтернативных экранов в главном меню.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:29
|
|
7.
|
|
|
The function that's called to display the in-gamemenu. It should take the same arguments as :func`renpy.display_menu`. Assigning :func:`nvl_menu` to this will display an nvl-mode menu.
|
|
|
|
Функция, вызов которой показывает внутриигровое меню. Она должна принимать те же агрументы, что и :func:`display_menu`. Значение :func:`nvl_menu` позволит отображать меню стиля NVL.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:34
|
|
8.
|
|
|
Controls if the mouse is visible. This is automatically set to true when entering the standard game menus.
|
|
|
|
Управляет видимостью мыши. Стандартные игровые меню автоматически устанавливают это в True.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:40
|
|
9.
|
|
|
This is a template character that is used when a string is given as the character name in a say statement. The code::
|
|
|
|
Это персонаж, используемый в качестве основы, когда в операторе say дано лишь имя персонажа. Следующий код::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:45
|
|
10.
|
|
|
is equivalent to::
|
|
|
|
эквивалентен::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/store_variables.rst:50
../../source/store_variables.rst:64
|