-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathlesson-14-multiplying.pot
230 lines (199 loc) · 6.22 KB
/
lesson-14-multiplying.pot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
# Translations template for Learn GDScript From Zero.
# Copyright (C) 2024 GDQuest
# This file is distributed under the same license as the Learn GDScript From
# Zero project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Learn GDScript From Zero \n"
"Report-Msgid-Bugs-To: https://github.com/GDQuest/learn-gdscript\n"
"POT-Creation-Date: 2024-12-12 14:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.1\n"
#: course/lesson-14-multiplying/lesson.tres:14
msgid ""
"Our robot's health is always between [code]0[/code] and [code]100[/code]."
"\n"
"\n"
"But as our robot fights, we want to increase its strength and toughness.\n"
"\n"
"When a character levels up, it might deal more damage to enemies, gain "
"new abilities or, in our case, gain more health."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:28
msgid ""
"We define a [code]level[/code] variable to keep track of the level of the"
" robot. It starts at level one.\n"
"\n"
"When the robot has defeated enough enemies, we call the "
"[code]level_up()[/code] function to increment the robot's level."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:50
msgid ""
"As we briefly saw in the last lesson, our robot could have a range of "
"variables that could increase when it levels up."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:70
msgid ""
"In this lesson, we'll just focus on increasing the robot's "
"[code]max_health[/code].\n"
"\n"
"The variable [code]max_health[/code] is the maximum amount the robot's "
"[code]health[/code] can be. We change our [code]heal()[/code] function to"
" use this variable."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:92
msgid ""
"We could add [code]5[/code] to the [code]max_health[/code] every time the"
" robot levels up."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:112
msgid ""
"This would increase [code]max_health[/code] the same amount every time.\n"
"\n"
"If we graphed [code]max_health[/code], it'd look something like this."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:134
msgid ""
"This growth is [b]linear[/b].\n"
"\n"
"In our case, we want a feeling of more and more power as the robot levels"
" up.\n"
"\n"
"We want a graph like this."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:158
msgid ""
"This growth is [b]exponential[/b].\n"
"\n"
"With each level, more [code]max_health[/code] is added than the previous "
"level up.\n"
"\n"
"To get the exponential growth, we multiply the [code]max_health[/code] by"
" an amount greater than [code]1[/code] each time the robot levels up.\n"
"\n"
"To multiply values together, we use [code]*[/code]."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:172
msgid "What is the value of damage?"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:173
msgid ""
"[code]\n"
"var level = 5\n"
"var power = 3\n"
"\n"
"func calculate_damage():\n"
"\tvar damage = power * level\n"
"[/code]"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:181
msgid ""
"We multiply [code]power[/code] by [code]level[/code] using [code]*[/code]"
" to get the result of [code]15[/code]."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:182
#: course/lesson-14-multiplying/lesson.tres:183
msgid "15"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:182
msgid "9"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:182
msgid "10"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:192
msgid ""
"We can use [code]*=[/code] in the same way as [code]-=[/code] and "
"[code]+=[/code]."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:200
msgid "What is the value of damage now?"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:201
msgid ""
"[code]\n"
"var level = 5\n"
"var power = 3\n"
"\n"
"func calculate_damage():\n"
"\tvar damage = power * level\n"
"\tdamage *= 2\n"
"[/code]"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:210
msgid ""
"The value of [code]damage[/code] starts as [code]15[/code].\n"
"\n"
"Then, [code]damage *= 2[/code] multiplies it by [code]2[/code] to get "
"[code]30[/code]."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:213
#: course/lesson-14-multiplying/lesson.tres:214
msgid "30"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:213
msgid "13"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:213
msgid "25"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:223
msgid ""
"Let's level up our robot and add exponential growth to "
"[code]max_health[/code]."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:243
msgid ""
"In the practices, you'll increase the robot's [code]max_health[/code] and"
" add a special ability to our robot to make it extra tough at high "
"levels."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:251
msgid "Increasing maximum health exponentially"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:252
msgid ""
"Let's make the robot stronger when it levels up.\n"
"\n"
"Add to the [code]level_up()[/code] function so it does the following:\n"
"\n"
"- Increases [code]level[/code] by one.\n"
"- Increases [code]max_health[/code] by 10%."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:270
msgid ""
"We want our robot to increase in strength as it levels up. Let's increase"
" its health exponentially!"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:275
msgid "Reducing damage at higher levels"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:276
msgid ""
"When our robot's [code]level[/code] is [code]3[/code] or more, we want it"
" to take a lot less damage.\n"
"\n"
"Add to the [code]take_damage()[/code] function so the following happens:\n"
"\n"
"- [code]if[/code] the robot's [code]level[/code] is greater than "
"[code]2[/code], reduce the damage [code]amount[/code] by 50%\n"
"\n"
"The robot is level 3. An enemy is going to attack for 10 damage. This "
"damage should reduce to 5."
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:299
msgid ""
"At higher levels, we want our robot to be super tough and take even less "
"damage!"
msgstr ""
#: course/lesson-14-multiplying/lesson.tres:303
msgid "Multiplying"
msgstr ""