In this video, you'll learn how to clean up your code by using 'if else' and 'else' statements. You'll also learn how to create a simple inventory system using Lua tables.
The code for this tutorial is hosted on GitHub: https://github.com/charles-l/lua_tutorial/tree/0ed7839321b735296266e844cf08cdb7a2fb52ad
--
Need Blender Support? Check out Blender Stack Exchange: http://blender.stackexchange.com
Follow the official Spastic Kangaroo twitter account: @spastickangaroo
Follow Charles on Twitter: @TheNinjaCharlie
Check out my Gaming channel: http://youtube.com/officialninjacharlie