I am working on a transformation system and to make my scripts less visually poluted I decided to use tables. However, I don't know where I should create them so that I can access them via any .lua file. Should I create a separate .lua file in the data/libs folder or should I put the new table in the data/libs/012-table.lua file?
EDIT (SOLVED): Just so everyone knows, I am using TFS 0.4 rev 3777 on tibia 8.6
I created a .lua file inside data/libs and there I created a table. I don't think the name of the file matters, because you can insert multiple tables there and access them via tablename.variable or tablename.variable if you are using arrays and etc. It worked perfectly! Hope this helps someone in the future haha
EDIT (SOLVED): Just so everyone knows, I am using TFS 0.4 rev 3777 on tibia 8.6
I created a .lua file inside data/libs and there I created a table. I don't think the name of the file matters, because you can insert multiple tables there and access them via tablename.variable or tablename.variable if you are using arrays and etc. It worked perfectly! Hope this helps someone in the future haha
Last edited: