Skip to content

Eliminated specials, rolling them into actions. Also refactored action.c.

username-removed-1096594 requested to merge traas/open-adventure:master into master

Now actions have a .noaction property, where if true, they speak() the .message, and then go no further.

Also modified actions.c so that all the functions take parameters by copy, rather than by reference, and killed the few places that we were editing a command in-place. A week or two ago, I'd run into weird side effects due to commands being modified in action, so this should hopefully reduce those as we continue to refactor the main parser.

Edited by username-removed-1096594

Merge request reports