adding new resources, need help
Posted: Mon Jul 04, 2016 1:46 pm
Heyho, I'm trying to add a new resource using the functions that were added in 0.13, getting this problem:
http://puu.sh/pPTmH/3b53804def.png
aaand this the code:
http://pastebin.com/601UESa4
I'm not on advanced level in LUA, so might be a silly syntax error somewhere, but from what I've understand, for some reason the resource function doesn't return properly. Btw whoever wrote the functions to make it more streamlined - thank you, it's much more clear now than it was when I added this on 0.12. It just needs to work.
http://puu.sh/pPTmH/3b53804def.png
aaand this the code:
http://pastebin.com/601UESa4
I'm not on advanced level in LUA, so might be a silly syntax error somewhere, but from what I've understand, for some reason the resource function doesn't return properly. Btw whoever wrote the functions to make it more streamlined - thank you, it's much more clear now than it was when I added this on 0.12. It just needs to work.