Originally Posted by
Italia
It doesn't need to be improved, doing anything further is the design equivalent of a micro-optimization. There isn't a single thing you'd want to do differently. It's immutable, has no magic constants, has compile-time error checking, and it's easy to change the structure if necessary. You're just looking for something negative to say to bring yourself up or "competing" projects down. You do this to anything that's remotely like what you wish your server would be. You pick at tiny, unimportant details and try to make someone else look bad. When the only person who looks bad is yourself.
No, I don't think you understand what I'm saying.
You'll always have to have a pointer to some object
[eg]
Code:
const val HAS_COMPLETED_TUTORIAL = 10000
That's not necessary and can be improved. I had a similar issue as well
Code:
BooleanVariable(115, Variable.Type.VARP, persistent = true).register("bank_notes")
What the system that @Greg wrote [the above code], used was keys that identified the variables. This was based on the design suggestion by @Scu11 in the informative threads section of the RS2 section.
My comment was simply in hopes of finding a better solution.