# 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. # # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2013-10-24 08:59+0200\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=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: One-char language identifier #: train503.languagecode:1 #, no-wrap msgid "E" msgstr "F" # #. type: Title-text #: train503/scene.txt:1 #, no-wrap msgid "train503:Mover 3" msgstr "train503:Le déménageur 3" # #. type: Resume-text #: train503/scene.txt:2 #, no-wrap msgid "train503:Convert some titanium ore to titanium cubes." msgstr "train503:Déplacer du minerai pour le convertir en métal." # #. type: ScriptName-text #: train503/scene.txt:3 #, no-wrap msgid "train503:Mover" msgstr "train503:Déplace" #. type: \b; header #: train503-help/tremova3.txt:1 #, no-wrap msgid "Exercise" msgstr "" #. type: Plain text #: train503-help/tremova3.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 #: train503-help/tremova3.txt:6 #, no-wrap msgid "" "\tx=10, y=-60\n" "\tx=10, y=-65" msgstr "" #. type: Image filename #: train503-help/tremova3.txt:7 #, no-wrap msgid "derrick" msgstr "" #. type: Plain text #: train503-help/tremova3.txt:9 #, no-wrap msgid "The derrick extracts titanium ore from the subsoil; you just have to pick it up." msgstr "" #. type: Image filename #: train503-help/tremova3.txt:10 #, no-wrap msgid "convert" msgstr "" #. type: Plain text #: train503-help/tremova3.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 #: train503-help/tremova3.txt:13 #, no-wrap msgid "General principle" msgstr "" #. type: Plain text #: train503-help/tremova3.txt:15 #, no-wrap msgid "Repeat two times :\n" msgstr "" #. type: Bullet: 'o' #: train503-help/tremova3.txt:15 #, no-wrap msgid "Wait until there is some titanium ore." msgstr "" #. type: Bullet: 'o' #: train503-help/tremova3.txt:16 #, no-wrap msgid "Go to the titanium ore." msgstr "" #. type: Bullet: 'o' #: train503-help/tremova3.txt:17 #, no-wrap msgid "Pick it up." msgstr "" #. type: Bullet: 'o' #: train503-help/tremova3.txt:18 #, no-wrap msgid "Go to converter." msgstr "" #. type: Bullet: 'o' #: train503-help/tremova3.txt:19 #, no-wrap msgid "Drop the titanium ore." msgstr "" #. type: Bullet: 'o' #: train503-help/tremova3.txt:20 #, no-wrap msgid "Move back 2.5 meters." msgstr "" # #. type: Bullet: 'o' #: train503-help/tremova3.txt:21 #, fuzzy, no-wrap #| msgid "train501:Retrieve a titanium cube." msgid "Wait until there is a titanium cube." msgstr "train501:Déplacer un cube de métal." # #. type: Bullet: 'o' #: train503-help/tremova3.txt:22 #, fuzzy, no-wrap #| msgid "train501:Retrieve a titanium cube." msgid "Pick up the titanium cube." msgstr "train501:Déplacer un cube de métal." #. type: Bullet: 'o' #: train503-help/tremova3.txt:23 #, no-wrap msgid "Go to the platform." msgstr "" # #. type: Bullet: 'o' #: train503-help/tremova3.txt:24 #, fuzzy, no-wrap #| msgid "train501:Retrieve a titanium cube." msgid "Drop the titanium cube." msgstr "train501:Déplacer un cube de métal." #. type: \b; header #: train503-help/tremova3.txt:26 #, no-wrap msgid "The program" msgstr "" #. type: Plain text #: train503-help/tremova3.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) #: train503-help/tremova3.txt:35 #, no-wrap msgid "" "do\n" "{\n" "\tobj = radar(TitaniumOre);\n" "}\n" "while ( obj == null );" msgstr "" #. type: Plain text #: train503-help/tremova3.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) #: train503-help/tremova3.txt:40 #, no-wrap msgid "obj = radar(Converter);" msgstr "" #. type: Plain text #: train503-help/tremova3.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) #: train503-help/tremova3.txt:49 #, no-wrap msgid "" "do\n" "{\n" "\tobj = radar(Titanium, 0, 360, 0, 5);\n" "}\n" "while ( obj == null );" msgstr "" #. type: Plain text #: train503-help/tremova3.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) #: train503-help/tremova3.txt:54 #, no-wrap msgid "" "dest.x = 10;\n" "dest.y = -60-5*i;" msgstr "" #. type: Plain text #: train503-help/tremova3.txt:56 #, no-wrap msgid "It is up to you to finish the program..." msgstr "" #. type: \t; header #: train503-help/tremova3.txt:57 #, no-wrap msgid "See also" msgstr "" #. type: Plain text #: train503-help/tremova3.txt:58 #, no-wrap msgid "Programming, types and categories." msgstr "" # #~ msgid "train500:Mover" #~ msgstr "train500:Déplacements" # #~ msgid "train500:Move" #~ msgstr "train500:Déplace" # #~ msgid "train500:" #~ msgstr "train500:" # #~ msgid "train501:Mover 1" #~ msgstr "train501:Le déménageur 1" # #~ msgid "train501:" #~ msgstr "train501:" # #~ msgid "train501:Mover" #~ msgstr "train501:Déplace" # #~ msgid "train502:Mover 2" #~ msgstr "train502:Le déménageur 2" # #~ msgid "train502:" #~ msgstr "train502:" # #~ msgid "train502:Retrieve several titanium cubes." #~ msgstr "train502:Déplacer plusieurs cubes de métal." # #~ msgid "train502:Mover" #~ msgstr "train502:Déplace" # #~ msgid "train503:" #~ msgstr "train503:" # #~ msgid "train504:Flying mover" #~ msgstr "train504:Le déménageur volant" # #~ msgid "train504:" #~ msgstr "train504:" # #~ msgid "train504:Move a titanium cube across obstacles." #~ msgstr "train504:Déplacer un cube de métal par dessus des obstacles." # #~ msgid "train504:Mover" #~ msgstr "train504:Déplace"