Adriweb a écrit:What exactly are you stuck on?
You can download the .tns and look at the Basic part, too.
Hi, I've progressed my understanding that now I know I can store and recall within just Lua, as this is what Minecraft 2D uses; it appears to be different but I am no expert.
For example, to retrieve content it uses this:
var.recall("test\\content")
I am, however stuck on how to actually embed/store this information within the tns file. I have tried var.store("test","x") but this for some reason cannot be recognised as being a library thing. I'm also unable to remove anything by setting it to nil. I've included the file I have been playing with, it uses the database from mc2d as a base, and the pre existing var "content" is recognised while "test" does not. This probably stems from unfamiliarity with storing variables in general :/