| < Input | Index | Definitions > |
For a more accurate control of the game, ADePT provides basic mathematics of integer numbers and variables.
| Item type | Calculation |
|---|---|
| Description | a mathematical calculation |
| Action | performs the calculation |
| Condition | true, if performed |
| Key | Type | Default | Description |
|---|---|---|---|
| result | var | variable, the result is assigned to | |
| operator | byte | operator; see definitions for valid operators | |
| value1 | value | 0 | first argument |
| value2 | value | 1 | second argument |
| flag | bool | 0 | flag, used only by special variables |
| Item type | Comparison |
|---|---|
| Description | compares two integer numbers/variables |
| Action | - |
| Condition | true, if the comparison is true |
| Key | Type | Default | Description |
|---|---|---|---|
| comparison | byte | comparison; see definitions for valid comparisons | |
| value1 | value | first argument | |
| value2 | value | second argument |