Curious Expedition Wiki
Advertisement

Ranges describe a range of numerical values.

Format[]

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.

Examples[]

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

Usage[]

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


Commands using ranges[]

Advertisement