#include "inc_loot_coin"
#include "inc_loot_goods"
#include "inc_loot_items"
// Generates Loot for an encounter
void GenerateLoot(object oMonster,int iCR,int iCoins = 1, int iGoods = 1, int iItems = 1);

void GenerateLoot(object oMonster,int iCR, int iCoins = 1, int iGoods = 1, int iItems = 1)
    {
    if (iCoins > 0)
        GenerateCoin(oMonster,iCR,iCoins);
    if (iGoods  > 0)
        GenerateGoods(oMonster,iCR, iGoods);
    if (iItems > 0)
        GenerateItems(oMonster,iCR, iItems);
    }

//void main (){}
