Source string

.level_help_tab_step_function_1
167/1670
Context English State
.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.
.level_help_tab_step_once_function_2
You could read the above example as "Go one step to the right".
.level_help_tab_fireball_function_1
%%statement action-statement$fireball%% throws a fireball on a square around the hero.
If the fireball hits another hero it will kill him. You can use a fireball to light a %%icon icon-bonfire$%% bonfire.
.level_help_tab_fireball_function_2
You could read the above example as "Throw a fireball to the right".

Loading…

Loading…

Glossary

English English
No related strings found in the glossary.

Source information

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