When Adding new traders to the config there is an important step to do before you are ready to use the trader system!
ifZone=='TrillianChemicalContainment' then-- (When creating new traders in the config make sure localCfg=Config.Zones[Zone] -- this zone MATHCES the configed zone's name!)ifmenu=='weapons' then-- weapons, food, med or if you add a custom menulib.registerContext({id='weapons'..Zone,title=Cfg.label,options=Cfg.Weaponmenu })lib.showContext('weapons'..Zone)elseifmenu=='food' thenlib.registerContext({id='food'..Zone,title=Cfg.label,options=Cfg.Foodmenu })lib.showContext('food'..Zone)elseifmenu=='med' thenlib.registerContext({id='med'..Zone,title=Cfg.label,options=Cfg.Medmenu })lib.showContext('med'..Zone) --[[elseif menu == 'CUSTOM' then -- Example for adding more make sure menu matches a menu in config otherwise it will not open lib.registerContext({ id = 'CUSTOM'..Zone, title = Cfg.label, options = Cfg.CUSTOMmenu }) lib.showContext('CUSTOM'..Zone)]]endend