colobot-data/levels/exercises/chapter002/level003/po/train203.pot

161 lines
4.4 KiB
Plaintext
Raw Normal View History

2013-10-25 13:45:09 +00:00
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
2014-09-20 20:29:05 +00:00
"POT-Creation-Date: DATE\n"
2013-10-25 13:45:09 +00:00
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
2014-11-01 14:09:36 +00:00
"Content-Type: text/plain; charset=UTF-8\n"
2013-10-25 13:45:09 +00:00
"Content-Transfer-Encoding: 8bit\n"
#. type: One-char language identifier
2014-09-21 09:47:37 +00:00
#: levels-po/exercises/chapter002/level003/scene_langchar.txt:1
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid "E"
msgstr ""
#. type: Title-text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/scene.txt:1
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "Flying Tower 2"
2013-10-25 13:45:09 +00:00
msgstr ""
#. type: Resume-text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/scene.txt:2
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "Program a flying tower that wastes less energy."
2013-10-25 13:45:09 +00:00
msgstr ""
#. type: ScriptName-text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/scene.txt:3
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "Move"
2013-10-25 13:45:09 +00:00
msgstr ""
#. type: \b; header
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:1
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid "Objective"
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:3
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"Adapt the program <code>Tower1</code> in order to avoid wasting energy when "
"shooting at ants that are out of range."
msgstr ""
#. type: \t; header
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:4
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid "Program"
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:6
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"The program <code>Tower1</code> shoots in the direction of the closest ant, "
"even if it is still out of range:"
msgstr ""
#. type: \s; block (usually verbatim code)
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:25
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"extern void object::Tour1()\n"
"{\n"
"\tobject item;\n"
"\t\n"
"\tjet(0.2);\n"
"\twhile(position.z < 20)\n"
"\t{\n"
"\t\twait(0.2);\n"
"\t}\n"
"\tjet(0);\n"
"\t\n"
"\twhile(true)\n"
"\t{\n"
"\t\titem = radar(AlienAnt);\n"
"\t\tturn(direction(item.position));\n"
"\t\tfire(1);\n"
"\t}\n"
"}"
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:27
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"If the bot must perform the same task than before with only a <a "
"object|power>regular power cell</a>, you can insert a loop that waits until "
"the ant is close enough, i.e. until the ant is at less than 40 meters. Only "
"one burst will be needed for every ant then."
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:29
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"You can give the instruction <code><a cbot|radar()>radar</a></code> more "
"parameters (numbers) indicating where the radar should look for the "
"ants. For example <c/>radar(AlienAnt,0,360,0,40);<n/> will only look for "
"ants that are closer than 40 meters. The two first numbers tell the radar to "
"search in all directions, the two last numbers tell the radar to detect only "
"ants that are at a distance between 0 and 40 meters. If no ant is found that "
"is closer than 40 meters, the instruction <code><a "
"cbot|radar()>radar</a></code> returns the value <code>null</code>. We can "
"then write a conditional loop similar to the one written in the last "
"exercise that waits as long as there is no ant closer than 40 meters:"
msgstr ""
#. type: \s; block (usually verbatim code)
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:34
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"\t\twhile (radar(AlienAnt, 0, 360, 0, 40) == null)\n"
"\t\t{\n"
"\t\t\twait(0.2);\n"
"\t\t}"
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:36
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"Notice that two equal signs \"==\" are needed to perform a comparison of "
"equality."
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:38
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"Just insert these lines before the instruction <c/>fire(0);<n/>, and the bot "
"will wait before shooting until the ant is closer than 40 meters. Like this "
"a regular power cell is enough to kill all ants. "
msgstr ""
#. type: \t; header
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:39
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid "See also"
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level003/help/help.E.txt:40
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"<a cbot>Programming</a>, <a cbot|type>types</a> and <a "
"cbot|category>categories</a>."
msgstr ""