New loot system and tech tree

Oops, post moved to proper place here.