Lua help
Posted: Fri Jun 19, 2015 9:47 pm
I'm looking for a bit of help understanding the game's Lua code structure. I tried using the wiki, but it doesn't seem to be very practical. For instance, I was trying to use the object detailed on the wiki at Lua/ItemStack, but I tried putting "/c game.player.print(ItemStack.help())", but this simply resulted in Lua throwing an error that was basically a complaint about trying to execute nil, the Lua equivalent of saying a function or method doesn't exist.
I am about as lost as one can be. This problem has me stumped. Could someone with significantly more experience explain what's going on and what I should've been trying?
Also could someone provide a link to a more comprehensive guide on Lua, because that could be part of my problem (Inexperience with Lua because, prior to this game, I've only ever used Lua with the Minecraft mod ComputerCraft)
I am about as lost as one can be. This problem has me stumped. Could someone with significantly more experience explain what's going on and what I should've been trying?
Also could someone provide a link to a more comprehensive guide on Lua, because that could be part of my problem (Inexperience with Lua because, prior to this game, I've only ever used Lua with the Minecraft mod ComputerCraft)