Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcut option requiring a nested line #53

Open
mrjackphil opened this issue Oct 29, 2019 · 0 comments
Open

Shortcut option requiring a nested line #53

mrjackphil opened this issue Oct 29, 2019 · 0 comments

Comments

@mrjackphil
Copy link

The second example code from YarnSpinner doesn't work without nesting the last sentence.

Example from the link (will not work in bondage)

Bob: What would you like?
-> A burger. <<if $money >= 5>>
    Bob: Nice. Enjoy!
-> A soda. <<if $money >= 2>>
    Bob: Yum!
-> Nothing.
Bob: Thanks for coming!

If we will nest the last sentence it will work

Bob: What would you like?
-> A burger. <<if $money >= 5>>
    Bob: Nice. Enjoy!
-> A soda. <<if $money >= 2>>
    Bob: Yum!
-> Nothing.
    Bob: Thanks for coming!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant