Okey, so I ended up not being able to change TreasureTable.xlsm and almost gave up. Then I hit me - I know this loot must individually be connected to different entities in the game, and rather than changing the code behind it and their loot in that way - I'll change the entities to connect to different loot.
In other words, I entered the game and changed the Rootemplates through our known methods to include the tables of loot which I saw fit and was in Treasuretable.xlsm.
The rootemplates I edited were the ones for barrels and crates. The result:
http://imgur.com/giWlDUjEvery barrel and crate in the game drops megaboss loot.
So if you want to add loot to your ingame characters, items, walls, whatever. You can create the folders and copy in the loot-data from the main campaign. Then connect the loot to your rootemplates.
But obviously, what you want is to edit specific characters. To do that just select the character/entity you want to edit, bring up the side panel, and enter the appropiate loot panel. Then it will only drop for that character.
I guess you make shops in a similar way, as when you "trade" with characters, you trade with their inventory right? In other words, their loot. But not too sure on this, would have to test it. To make them traders, you would have to make them global to be able to talk to them, add a "hello" and a "goodbye" line. This can be found in different guides.
Screenshot of editor (with added ;MegaBoss;).
http://imgur.com/bnE42agI think it's Case Sensitive. So watch out for that.
Cont_Crate is another loot table, both refering to the file TreasureTable.txt which you'll need and not just the xlsm.
I'll release a dropmod later today or tommorow together with some other fun stuff I have been working on
