User Tools

Site Tools


conditional_expression

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
conditional_expression [2020/02/14 12:54]
justin
conditional_expression [2020/02/14 12:55] (current)
justin
Line 30: Line 30:
 player.inventory contains[3] "​ITEM_0005"​ and player.stat["​level"​] >= 10 player.inventory contains[3] "​ITEM_0005"​ and player.stat["​level"​] >= 10
 </​code>​ </​code>​
-Evaluates to true if the player has at least 3 of "​ITEM_0005" ​the player'​s ​level is at least 10.+Evaluates to true if the player has at least 3 of "​ITEM_0005" ​in their inventory and their level is at least 10.
 <code bauxite> <code bauxite>
 initiator.tags contains "​human"​ initiator.tags contains "​human"​
conditional_expression.txt ยท Last modified: 2020/02/14 12:55 by justin