# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: DATE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. type: One-char language identifier #: levels-po/exercises/chapter005/level003/scene_langchar.txt:1 #, no-wrap msgid "E" msgstr "" #. type: Title-text #: levels/exercises/chapter005/level003/scene.txt:1 #, no-wrap msgid "Mover 3" msgstr "" #. type: Resume-text #: levels/exercises/chapter005/level003/scene.txt:2 #, no-wrap msgid "Convert some titanium ore to titanium cubes." msgstr "" #. type: ScriptName-text #: levels/exercises/chapter005/level003/scene.txt:3 #, no-wrap msgid "Mover" msgstr "" #. type: \b; header #: levels/exercises/chapter005/level003/help/help.E.txt:1 #, no-wrap msgid "Exercise" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:3 #, no-wrap msgid "" "Convert some titanium ore to titanium " "cubes, then drop 2 titanium cubes on the pads whose coordinates are:" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:6 #, no-wrap msgid "" "\tx=10, y=-60\n" "\tx=10, y=-65" msgstr "" #. type: Image filename #: levels/exercises/chapter005/level003/help/help.E.txt:7 #, no-wrap msgid "derrick" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:9 #, no-wrap msgid "" "The derrick extracts titanium ore from the subsoil; " "you just have to pick it up." msgstr "" #. type: Image filename #: levels/exercises/chapter005/level003/help/help.E.txt:10 #, no-wrap msgid "convert" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:12 #, no-wrap msgid "" "The converter converts titanium ore to titanium " "cubes. Just drop the titanium ore on the platform, move backward, and wait " "until it has been converted." msgstr "" #. type: \b; header #: levels/exercises/chapter005/level003/help/help.E.txt:13 #, no-wrap msgid "General principle" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:15 #, no-wrap msgid "Repeat two times :\n" msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:15 #, no-wrap msgid "Wait until there is some titanium ore." msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:16 #, no-wrap msgid "Go to the titanium ore." msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:17 #, no-wrap msgid "Pick it up." msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:18 #, no-wrap msgid "Go to converter." msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:19 #, no-wrap msgid "Drop the titanium ore." msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:20 #, no-wrap msgid "Move back 2.5 meters." msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:21 #, no-wrap msgid "Wait until there is a titanium cube." msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:22 #, no-wrap msgid "Pick up the titanium cube." msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:23 #, no-wrap msgid "Go to the platform." msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter005/level003/help/help.E.txt:24 #, no-wrap msgid "Drop the titanium cube." msgstr "" #. type: \b; header #: levels/exercises/chapter005/level003/help/help.E.txt:26 #, no-wrap msgid "The program" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:29 #, no-wrap msgid "" "A for loop allows you to repeat 2 times all the " "instructions.\n" "The titanium ore is not available immediately. You will have to wait until " "the derrick extracts it. Use a do loop, as " "follows:" msgstr "" #. type: \s; block (usually verbatim code) #: levels/exercises/chapter005/level003/help/help.E.txt:35 #, no-wrap msgid "" "do\n" "{\n" "\tobj = radar(TitaniumOre);\n" "}\n" "while ( obj == null );" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:38 #, no-wrap msgid "" "After the loop (when the radar has found one titanium ore), you can go to " "its location obj.position with the instruction goto. Use the instruction grab to grab the titanium ore.\n" "Use the following instruction in order to find the converter:" msgstr "" #. type: \s; block (usually verbatim code) #: levels/exercises/chapter005/level003/help/help.E.txt:40 #, no-wrap msgid "obj = radar(Converter);" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:43 #, no-wrap msgid "" "After you dropped the ore on the converter, move back 2.5 meters with " "move(-2.5).\n" "A second do loop allows you to wait until the titanium cube is " "available. You must limit the range of the radar to 5m, otherwise you would " "immediately find the titanium cube that you already dropped on a pad:" msgstr "" #. type: \s; block (usually verbatim code) #: levels/exercises/chapter005/level003/help/help.E.txt:49 #, no-wrap msgid "" "do\n" "{\n" "\tobj = radar(Titanium, 0, 360, 0, 5);\n" "}\n" "while ( obj == null );" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:51 #, no-wrap msgid "" "The x coordinates of the 2 pads are all equal to 10. The " "y coordinates are respectively -60 and -65. The most efficient " "way to get the coordinates of the pads is to use the value of i " "of the for loop that will take successively the values 0 and 1:" msgstr "" #. type: \s; block (usually verbatim code) #: levels/exercises/chapter005/level003/help/help.E.txt:54 #, no-wrap msgid "" "dest.x = 10;\n" "dest.y = -60-5*i;" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:56 #, no-wrap msgid "It is up to you to finish the program..." msgstr "" #. type: \t; header #: levels/exercises/chapter005/level003/help/help.E.txt:57 #, no-wrap msgid "See also" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level003/help/help.E.txt:58 #, no-wrap msgid "" "Programming, types and categories." msgstr ""