WebTechKitchen; Your Web Technology Kitchen, contact us to create, or maintain your websites and other digital properties.

Lua change a table element

Submitted by barnettech on Thu, 03/01/2018 - 22:13


onCollide = function(player, object)
for key, value in pairs(objects) do
if value.texture == 'lockedbox' then
objects[key].collidable = true
objects[key].solid = false
objects[key].consumable = true
end
end
end