Fixed indentation in items.lua and turned uselessly global vars to local.