cup of cake
Member... or am i?
It's in the title, really. I find that most mods are structured in a way where they can define a global variable or function in one lua file, and then use it in another without any issues. (examples from pizza tower spice runners: "if not PTSR.isovertime then", and even "if PTSR.IsPTSR() == true then")
Obviously, i tried making both a variable and a function without the "local" prefix, but the game refuses to create them. Is there something i'm missing? Let me know.
Obviously, i tried making both a variable and a function without the "local" prefix, but the game refuses to create them. Is there something i'm missing? Let me know.
