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

added notfirst functionality to text processor in coreoutput.aslx #828

Merged
merged 1 commit into from
Dec 15, 2015

Conversation

F2Andy
Copy link
Contributor

@F2Andy F2Andy commented Dec 15, 2015

This commit adds the ability to only output text if this is not the first time to the text processor, following a request on the forum.

Added a new function "ProcessTextCommand_NotFirst", which will return an empty string the first time, and the given string any other time. The function is basically "ProcessTextCommand_Once" with the last couple of lines swapped around (kind of).

Added three lines to "ProcessTextCommand", which will conditionally invoke "ProcessTextCommand_NotFirst".

No tests included, but I have tested it for my own game.

alexwarren added a commit that referenced this pull request Dec 15, 2015
added notfirst functionality to text processor in coreoutput.aslx
@alexwarren alexwarren merged commit a4b4ee0 into textadventures:master Dec 15, 2015
@alexwarren
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants