This thread is for a "flags" library and a "counters" library.
Basically, these are ways to access and modify the state table via functions (and allow for error checking and proper initialization). "Flags" can have values true and false, while counters can have numerical values.
These modules can be required in other modules, as long as the flags and counters modules are also "set up" in the main events.lua file. More details are in the library code.
As always, bug reports, bug fixes, feature requests, and code submissions are all welcome.
Basically, these are ways to access and modify the state table via functions (and allow for error checking and proper initialization). "Flags" can have values true and false, while counters can have numerical values.
These modules can be required in other modules, as long as the flags and counters modules are also "set up" in the main events.lua file. More details are in the library code.
As always, bug reports, bug fixes, feature requests, and code submissions are all welcome.
Attachments
Last edited: