Learned something again :) Thank you for the detailed explanation! But unfortunately it still doesnt work :(
This is how everything is now:
levelup.lua
local storage = 3746
local levelReward = {
[1] = {10, 2160, 1, "crystal coin"},
[2] = {30, 2160, 3, "crystal coins"}, -- lowest level...