Made it so treasure table is stored globally instead of on the object