9
9
"Project-Id-Version: Ren'Py Visual Novel Engine 6.18.0\n"
10
10
"Report-Msgid-Bugs-To: \n"
11
"POT-Creation-Date: 2014-06-14 11:05+0900\n"
11
"POT-Creation-Date: 2014-06-20 17:44+0900\n"
12
12
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
13
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
"Language-Team: LANGUAGE <LL@li.org>\n"
17
17
"Content-Transfer-Encoding: 8bit\n"
19
19
#: ../../source/menus.rst:9
20
# 45b0c7e6dedf479e8ab381dbab3c50ef
20
# 367100d9e41149a7b2c93936d234aa02
21
21
msgid "In-Game Menus"
24
24
#: ../../source/menus.rst:11
25
# c968fdded0664e6eab21cd10d976da87
25
# 8bc0ed52aae34717b7d1e6f2f7cd5976
26
26
msgid "In many visual novels, the player is asked to make choices that control the outcome of the story. The Ren'Py language contains a menus statement that makes it easy to present choices to the user."
29
29
#: ../../source/menus.rst:15
30
# 3870b01559984e478444a227890797b0
30
# a144b1875b524afd8ea1ab94af41aba7
31
31
msgid "Here's an example of a menu statement::"
34
34
#: ../../source/menus.rst:35
35
# 068028f9e9b542d18107747ca5c49dd8
35
# 8f1bce001d6c406a996dacf0b58cb176
36
36
msgid "The menu statement begins with the keyword menu. This may be followed by a label name, in which case it's equivalent to preceding the menu with that label. For example::"
39
39
#: ../../source/menus.rst:42
40
# 1ec2c153b76a4bcd9ed0aa92b271584b
40
# d637b8b6b48b4b48a36591fc7c36a698
41
41
msgid "The menu statement is followed by an indented block. This block may contain a :ref:`say statement <say-statement>`, and must contain at least one menu choice. If the say statement is present, it is displayed on the screen at the same time as the menu."
44
44
#: ../../source/menus.rst:47
45
# 16b8997e277747faac96d71d8d41860e
45
# 29d3084744dc495b9e130eb9ebaa54b5
46
46
msgid "**Menu Choices.** A menu choice is an option the user can select from the in-game menu. A menu choice begins with a string. The string may be followed by an if-clause, which makes the choice conditional. The menu choice ends with a colon, and must be followed by a block of Ren'Py statements."
49
49
#: ../../source/menus.rst:54
50
# d031eac0861e4b17a129cd610236207c
50
# a4ff5b6d639141d7914a236ee8a85337
51
51
msgid "When the choice is selected, the block of code is run. If execution reaches the end of this block of code, it continues with the statement after the end of the menu statement."
54
54
#: ../../source/menus.rst:58
55
# e51dc8f27a004314aea5fb44756592c2
55
# e7d059b136eb4f9d85614244ccfb5fcc
56
56
msgid "An if-clause consists of the keyword ``if``, followed by a python expression. The menu choice is only displayed if the expression is true. In the following menu::"
59
59
#: ../../source/menus.rst:70
60
# 97a6ce8e5c2e420e86743576e67e5197
60
# d1a02310a3b24515a490f468d01afd43
61
61
msgid "The third choice will only be presented if the drank_tea variable is true."