Track down the function which actually parses the entity text in d3dbsp and just filter the items/weapons via libcod (maybe add gsc parse entity callback for the gsc-only developers)
yes, callback for "spawn" items on map - good
main problem: weapons and map lists: constantly changing and very problematic to keep track => therefore, the file .d3dbsp editing option is not suitable
PHP Code:
class CoronaVirus
{
CoronaVirus(int m = 1): multi(m) { Peoples.RandomDeaths(m); }
~CoronaVirus() { CoronaVirus * again = new CoronaVirus((this->multi * 2)); }