api: implement c_scenario
api: implement GetLootThreshold
api: implement OptOutOfLoot