Source string

.level_help_tab_clone_statement_1
80/800
Context English State
.level_help_tab_jump_statement_1
%%statement branching-statement$jump%% allows to jump backward or forward in the program.
.level_help_tab_jump_statement_2
You could read the above example as "Step to the right infinitely many times".
.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.
.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.
.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".
.level_help_tab_clone_statement_1
%%statement branching-statement$clone%% creates a clone of the hero next to him.
.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%%.
.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.
.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.
.level_help_tab_step_function_2
You could read the above example as "Go one step to the left or to the right".
.level_help_tab_step_once_function_1
%%statement action-statement$step%% says to your hero to go in a direction.
Context English State
.level_help_modal_tab_general_title
general
.level_help_modal_title
Help
.level_help_tab_calc_function_1
%%statement assign-statement$calc%% makes a calculation and puts the result in a variable.
.level_help_tab_calc_function_2
You could read the above example as "Set the variable b to 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.
.level_help_tab_clone_statement_1
%%statement branching-statement$clone%% creates a clone of the hero next to him.
.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%%.
.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.
.level_help_tab_drop_function_1
%%statement action-statement$drop%% says to your hero to drop his item.
.level_help_tab_drop_function_2
You could read the above example as "Drop your item on the square on your right".

Loading…

Loading…

Glossary

English English
No related strings found in the glossary.

Source information

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