change () by ()

From PenguinMod Wiki (Official)
Change () by () (Temporary Variables)
Jump to navigation Jump to search

The change () by () block is a stack block in the Temporary Variables extension that changes the value of the specified temporary variable by the inputted amount. The default variable name is "Variable", while the default change value is 1.

Workaround

This block can be worked around by using addition and the set () to () block to change the value of the variable:

set [Variable] to ((get [Variable]::#0869c2) + (change::grey))::#0869c2