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

Table variables #99

Open
Solanya opened this issue Apr 23, 2018 · 0 comments
Open

Table variables #99

Solanya opened this issue Apr 23, 2018 · 0 comments
Assignees

Comments

@Solanya
Copy link
Member

Solanya commented Apr 23, 2018

Having a way to use tables for variables could be a good thing. Case example : a quest requires to use a wand on 20 squirrels. We can't be sure the player isn't using the wand on the same squirrel 20 times. We could use 19 variables to store GUIDs and check each previous variable, but that would be a mess. Being able to add to a table and check it cleanly could help.

This would probably need :

  • Effects to interact with a table : add, clear - remove, shuffle/sort ?
  • Access to the table elements : ${example.i} to access the i-th element of the "example" table would be consistent with access to event arguments.
  • Conditions on the table : is X in the table, how many elements in the table ?
@Ellypse Ellypse transferred this issue from another repository May 31, 2019
@Ellypse Ellypse transferred this issue from another repository May 31, 2019
@Solanya Solanya pinned this issue Oct 15, 2023
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