Coding 4: Arrays and Dictionaries

Mountains with space backdrop and the words for name, value in pairs(menu) do

Coding 4: Dictionaries and Arrays

In Lua, dictionaries and arrays are used to organize information.

Loop through arrays to find a certain part or player, and dictionaries to set up custom stats for a character class. Use pairs and iPairs to loop through dictionaries even faster to keep track of customer orders in a restaurant simulator.