... | ... | @@ -12,7 +12,7 @@ |
|
|
|
|
|
- For example, you can set `base: world,%player_x%,50,%player_y%` as a location setting, or `amount: %heroes_level%` as an amount setting. Also works for goto, so for example `goto: OBJECT {variable_goto}` or `goto: QUEST_{variable:mood}` !
|
|
|
|
|
|
- Every number setting can contain math expressions, and other settings can contain {math:[expression]}. Combined with placeholders, this is the ultimate way of customizing settings for every player ! It supports `+`, `-`, `*`, `/`, `^X`, `sin(X)`, `cos(X)`, `tan(X)`, `log(X)`, `ceil(X)`, `floor(X)`, `rand(X)` and can contain parentheses. For example, `amount: %heroes_level% * (5 + log(10^3))`.
|
|
|
- Every number setting can contain math expressions, and other settings can contain {math:[expression]}. Combined with placeholders, this is the ultimate way of customizing settings for every player ! It supports `+`, `-`, `*`, `/`, `^X`, `sin(X)`, `cos(X)`, `tan(X)`, `log(X)`, `ceil(X)`, `floor(X)`, `rand(X)` and can contain parentheses. For example, `amount: '%heroes_level% * (5 + log(10^3))'`.
|
|
|
|
|
|
- Every setting can contain a trienal permission condition, such as {permission:my_permission,value_if_has,value_if_hasnt}. The result depends on the player permissions : if he has the specified permission, it'll use the first value, otherwise the second one. Those two available values can also contain placeholders !
|
|
|
|
... | ... | |