Would there be any issues if I reference the variables from the object directly?You can make them global variables. This will allow you to reference them from any object.
Thank you.Without additional details to indicate otherwise, yes, it's probably a good idea to keep it in a persistent object (or more than one if some logical division makes it easier to "namespace" data). Just don't forget to use data structures as well where appropriate.
If you only have one instance of the object, sure, that's fine to do. It's not really different from using global variables. Or you can of course name your instance in the initial room that it is placed in to give it an easy to remember and type name too. Whatever floats your boat.Would there be any issues if I reference the variables from the object directly?
I.e object1.variable1
Awesome, Thank you.If you only have one instance of the object, sure, that's fine to do. It's not really different from using global variables. Or you can of course name your instance in the initial room that it is placed in to give it an easy to remember and type name too. Whatever floats your boat.