Skip to content

Global variables & checks #184

@AlienBanana-purplegreen

Description

Hey, I think it would be pretty cool if you added global variables

  1. I have searched and no similar issues appeared
  2. This would work pretty simple-ish, rules define a variable and if a rule checks for a variable that doesn't exist yet, it counts as 0. This would be in front of the first bracket as a condition like in win cons. About the other part, it is even simpler. It would check for a condition like win cons section.
  3. Would be great for keeping track of health or keys imo.
  4. Example:
    RedKey = 1 [> Player | RedLock] -> [> Player | ]
    Or
    No badguy [> Player | SuperStrawberry] -> [> Player | ]
    You could even add persistent variables but that'd be harder methink

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement to existing capability

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions