FANDOM


Ranges describe a range of numerical values.

FormatEdit

N..M       // value needs to be at least N and at most M
..M        // value needs to be at most M
N..        // value needs to be at least N
N          // value needs to be exactly N

All ranges can be quotes as strings or directly written in the hjson files.

ExamplesEdit

0..10      // value is in range 0 to 10
..3        // value is (less than) 3
5..        // value is (more than) 5
2          // value is exactly 2
"2"        // value is exactly 2

UsageEdit

reqTurns: 10..  // Triggers the code below, if (player turns) is (more than) 10


Commands using rangesEdit

Community content is available under CC-BY-SA unless otherwise noted.