Skip to content

Instantly share code, notes, and snippets.

@navidbigdeli54
Last active March 10, 2020 09:51
Show Gist options
  • Save navidbigdeli54/22e7b9771415994d9112de5f8da09446 to your computer and use it in GitHub Desktop.
Save navidbigdeli54/22e7b9771415994d9112de5f8da09446 to your computer and use it in GitHub Desktop.
Rule rule = new Rule()
.AddCriteria(new ContextKey("global:Who"), ComparisonOperator.Equal, String("Akira"))
.AddCriteria(new ContextKey("player:Food"), ComparisonOperator.LessThan, Int(2));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment