Working on loot tables

Loot is currently broken, still trying to track down the problem.