summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-09-04 22:33:35 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-09-04 22:33:35 +0200
commitc14f60f9c3dd45610ff3cba48ce7b33a2b67a315 (patch)
treec720cc3b66d3cc2278cfbc9e258bd86f4bfd871e
parent050e329f2a2e2367c2e4f1965190b0f6a5addf29 (diff)
Updates the README to match the new syntax.
-rw-r--r--README.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/README.md b/README.md
index 381d544..6e6a030 100644
--- a/README.md
+++ b/README.md
@@ -13,8 +13,7 @@ implications when it comes time to add support for it to your engine.
### Sample:
(define_sequence in_your_room ()
- (ifelse
- (is_member visited_your_room progress)
+ (if_else (set:is_member visited_your_room progress)
(text_effect narrator
You room is still a mess. You don't have time to clean things up,
though.
@@ -28,13 +27,13 @@ implications when it comes time to add support for it to your engine.
make the cut.
)
)
- (add visited_your_room progress)
+ (set:add visited_your_room progress)
(player_choice
- (
+ (option
( Look for healing items )
(jump_to look_for_healing_items)
)
- (
+ (option
( No time! Let's go adventuring! )
(jump_to leave_your_room)
)