Source string

.level_help_tab_calc_function_4
358/3580
Context English State
.level_help_tab_write_function_2
You could read the above example as "Write 3 on your item".
.level_help_tab_set_function_1
%%statement assign-statement$set%% initializes a variable.
.level_help_tab_set_function_2
You could read the above example as "Set the variable a to 3".
.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_nearest_function_1
%%statement assign-statement$nearest%% searches for the nearest object of a given type (%%icon icon-cauldron$%% cauldron, %%icon icon-egg$%%egg etc.) and puts the result in a variable.
.level_help_tab_nearest_function_2
You could read the above example as "Memorize the nearest egg in the variable a and then go get that egg".
.level_help_tab_tell_function_1
%%statement speach-statement$tell%% allows you to say a message to other heroes.
.level_help_tab_tell_function_2
You could read the above example as "Tell 'ok' to the hero on the right of you".
.level_help_tab_tell_function_4
You can also %%statement speach-statement$tell%% a message to every %%icon icon-hero$%% hero of the level.
Context English State
.level_help_button
Help
.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.

Loading…

Loading…

Things to check

Multiple failing checks

The translations in several languages have failing checks

Reset

Glossary

English English
No related strings found in the glossary.

Source information

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