print(type(WeaponType.getWeaponType(getPlayer())))
print(WeaponType.getWeaponType(getPlayer()).getType())
for i, j in pairs(getmetatable(WeaponType.getWeaponType(getPlayer()))) do print(j) end
for i, j in pairs(getmetatable(WeaponType.getWeaponType(getPlayer()))) do for m, k in pairs(j) do print(m, ":", k) end end

getPlayer():setVariable("Weapon", "trolley")
getPlayer():setVariable("W", "trolley")