Translation

.level_help_tab_clone_statement_1
%%statement branching-statement$clone%% creates a clone of the hero next to him.
78/800
Context English Swedish State
.level_help_tab_jump_statement_1
%%statement branching-statement$jump%% allows to jump backward or forward in the program.
%%statement branching-statement$hoppa%% kan hoppa bakåt eller framåt i programmet.
.level_help_tab_jump_statement_2
You could read the above example as "Step to the right infinitely many times".
Du kan läsa exemplet ovan som "Gå till höger oändligt antal gånger".
.level_help_tab_jump_statement_4
The first line creates an "anchor" named "a". The third line says to jump back to this anchor.
You can choose any name you want for your anchors. Each jump must match a unique anchor.
Den första raden skapar ett "ankare" med namnet "a". Den tredje raden säger att man ska hoppa tillbaka till detta ankare.
Du kan använda vilket namn du vill för dina ankare. Varje hopp måste matcha ett unikt ankare.
.level_help_tab_jump_statement_5
%%statement branching-statement$jump%% is usually used with %%statement branching-statement$if%% to create loops which stop at a condition.
%%statement branching-statement$hoppa%% används normalt sett med %%statement branching-statement$om%% för att skapa loopar som avbryts vid ett villkor.
.level_help_tab_jump_statement_6
You could read the above example as "Step to the right as long as the square to the right is not a wall".
Du kan läsa exemplet ovan som "Gå till höger så länge som rutan till höger inte är en vägg".
.level_help_tab_clone_statement_1
%%statement branching-statement$clone%% creates a clone of the hero next to him.
%%statement branching-statement$klona%% skapar en klon av hjälten bredvid den.
.level_help_tab_clone_statement_2
You could read the above example as "Create a clone on your left. Then step to the right".

For the created hero, %%statement branching-statement$clone%% acts like %%statement branching-statement$jump%%. In this example, the created clone won't step to the right because he will begin to follow instructions after the arrow of %%statement branching-statement$clone%%.
Du kan läsa exemplet ovan som "Skapa en klon till höger om dig. Gå sedan till höger".

För den skapade hjälten, %%statement branching-statement$klona%% beter sig likadant som %%statement branching-statement$hoppa%%. I detta exemplet kommer den skapade klonen inte att gå till höger eftersom den kommer börja följa instruktionerna som kommer efter pilen med %%statement branching-statement$klona%%.
.level_help_tab_clone_statement_4
The created clone starts his life with the same variables values as his creator's.

%%icon mdi mdi-alert-octagon-outline$%%Warning: if you try to create a clone on a square already occupied (by a %%icon icon-hero$%% hero, a %%icon icon-cauldron$%% cauldron etc.) or on a forbidden square (like a %%icon icon-wall$%% wall), the cloning process will fail. In certain levels, this failure causes the death of the hero trying to clone himself.
Den skapade klonen börjar sitt liv med samma variabelvärden som sin skapare.

%%icon mdi mdi-alert-octagon-outline$%%Varning: om du försöker skapa en klon på en ruta som redan är upptagen (av en %%icon icon-hero$%% hjälte, en %%icon icon-cauldron$%% kittel, etc.) eller på en förbjuden ruta (som en %%icon icon-wall$%% vägg), kommer kloningsprocessen att misslyckas. På vissa nivåer kommer detta misslyckande innebära döden för den hjälte som försökte klona sig.
.level_help_tab_step_function_1
%%statement action-statement$step%% says to your hero to go in a direction. If you specify multiple directions, the hero will decide randomly between these directions.
%%statement action-statement$steg%% säger till din hjälte att gå i en riktning. Om du anger flera riktningar kommer hjälten välja en slumpvis vald riktning av dessa.
.level_help_tab_step_function_2
You could read the above example as "Go one step to the left or to the right".
Du kan läsa exemplet ovan som "Gå ett steg till vänster eller till höger".
.level_help_tab_step_once_function_1
%%statement action-statement$step%% says to your hero to go in a direction.
%%statement action-statement$steg%% säger till din hjälte att gå i en riktning.
Context English Swedish State
.level_help_modal_tab_general_title
general
allmän
.level_help_modal_title
Help
Hjälp
.level_help_tab_calc_function_1
%%statement assign-statement$calc%% makes a calculation and puts the result in a variable.
%%statement assign-statement$beräkna%% utför en beräkning och sparar resultatet i en variabel.
.level_help_tab_calc_function_2
You could read the above example as "Set the variable b to a + 2".
Du kan läsa exemplet ovan som "Sätt variabel b till a + 2".
.level_help_tab_calc_function_4
In Selfless Heroes, there are only integer numbers.

The operator %%type-operator$"/"%% is integer division.
For example, %%type-operator$9 / 2 = 4%%.

The operator %%type-operator$"%"%% is called "modulo". It calculates the remainder of the integer division.
For example, %%type-operator$9 % 2 = 1%% because %%type-operator$9 / 2 = 4%% has a remainder of 1.
I Selfless Heroes finns det bara heltal.

Operatorn %%type-operator$"/"%% är heltalsdivision.
Till exempel, %%type-operator$9 / 2 = 4%%.

Operatorn %%type-operator$"%"%% kallas "modulo". Den beräknar resten av heltalsdivisionen.
Till exempel, %%type-operator$9 % 2 = 1%% eftersom %%type-operator$9 / 2 = 4 har resten 1%%.
.level_help_tab_clone_statement_1
%%statement branching-statement$clone%% creates a clone of the hero next to him.
%%statement branching-statement$klona%% skapar en klon av hjälten bredvid den.
.level_help_tab_clone_statement_2
You could read the above example as "Create a clone on your left. Then step to the right".

For the created hero, %%statement branching-statement$clone%% acts like %%statement branching-statement$jump%%. In this example, the created clone won't step to the right because he will begin to follow instructions after the arrow of %%statement branching-statement$clone%%.
Du kan läsa exemplet ovan som "Skapa en klon till höger om dig. Gå sedan till höger".

För den skapade hjälten, %%statement branching-statement$klona%% beter sig likadant som %%statement branching-statement$hoppa%%. I detta exemplet kommer den skapade klonen inte att gå till höger eftersom den kommer börja följa instruktionerna som kommer efter pilen med %%statement branching-statement$klona%%.
.level_help_tab_clone_statement_4
The created clone starts his life with the same variables values as his creator's.

%%icon mdi mdi-alert-octagon-outline$%%Warning: if you try to create a clone on a square already occupied (by a %%icon icon-hero$%% hero, a %%icon icon-cauldron$%% cauldron etc.) or on a forbidden square (like a %%icon icon-wall$%% wall), the cloning process will fail. In certain levels, this failure causes the death of the hero trying to clone himself.
Den skapade klonen börjar sitt liv med samma variabelvärden som sin skapare.

%%icon mdi mdi-alert-octagon-outline$%%Varning: om du försöker skapa en klon på en ruta som redan är upptagen (av en %%icon icon-hero$%% hjälte, en %%icon icon-cauldron$%% kittel, etc.) eller på en förbjuden ruta (som en %%icon icon-wall$%% vägg), kommer kloningsprocessen att misslyckas. På vissa nivåer kommer detta misslyckande innebära döden för den hjälte som försökte klona sig.
.level_help_tab_drop_function_1
%%statement action-statement$drop%% says to your hero to drop his item.
%%statement action-statement$släpp%% säger till hjälten att släppa det den bär.
.level_help_tab_drop_function_2
You could read the above example as "Drop your item on the square on your right".
Du kan läsa exemplet ovan som "Släpp det du bär i rutan till höger om dig".

Loading…

Loading…

Glossary

English Swedish
No related strings found in the glossary.

Source information

Context
.level_help_tab_clone_statement_1
Labels
No labels currently set!
Source string age
5 years ago
Translation file
src/locale/messages-sv.json, string 116