{
	code: "trader",
	class: "EntityTrader",
	tags: ["humanoid", "trader", "human", "habitat-land"],
	weight: 80,
	canClimb: true,
	hitboxSize: { x: 0.6, y: 1.75 },
	deadHitboxSize: { x: 0.75, y: 0.5 },
    behaviorConfigs: {
        nametag: {
            showtagonlywhentargeted: true,
            triggeredNameReveal: true,
            unrevealedDisplayName: "nametag-trader-unrevealedname"
        }
    },
	variantgroups: [
		{ code: "gender", states: ["female"] },
		{ code: "type", states: ["agriculture", "artisan", "buildmaterials", "clothing", "commodities", "furniture", "luxuries", "survivalgoods", "treasurehunter"] },
		{ code: "climate", states: ["cold", "temperate", "desert"] }
	],
	// To spawn in creative: /entity spawn trader-female-agriculture-temperate 1
	client: {
		renderer: "Shape",
		shape: { base: "entity/humanoid/trader-female" },
		texture: { base: "entity/humanoid/villagerbody/skin/normal*" },
		behaviors: [
			{ code: "nametag" },
			{ code: "repulseagents" },
			{ code: "controlledphysics", stepHeight: 1.01 },
			{ code: "interpolateposition" },
            { code: "conversable", dialogueByType: { "*-treasurehunter-*": "config/dialogue/treasurehunter", "*": "config/dialogue/trader" } }
		],
		animations: [
			{
				code: "die",
				animation: "die",
				animationSpeed: 1.75,
				weight: 10,
				blendMode: "AddAverage"
			},
			{
				code: "hurt",
				animation: "hurt",
				animationSpeed: 2,
				blendMode: "AddAverage"
			},
            { code: "formal-walk", animation: "formal-walk", animationSpeed: 1.5 },
		]
	},
    attributes: {
		disableElements: ["malestuff"],
		frostOverlayThreshold: -10,
		shouldSwivelFromMotion: false,
		outfitConfigFileName: "traderaccessories-female",
        tradePropsFile: "config/tradelists/trader-{type}",
        tradeProps: {
            money: { avg: 30, var: 10 },
        },
		voiceSounds: [
			"sounds/voice/altoflute/",
			"sounds/voice/harp/",
			"sounds/voice/oboe/"
		],
		outfitversion: 1,
		partialRandomOutfitsByType: {
			"trader-female-luxuries-temperate": {
				// temperate traders skins have bodyskin 20 through 26 removed
				"bodyskin":[{"Code":"bodyskin-1"},{"Code":"bodyskin-2"},{"Code":"bodyskin-3"},{"Code":"bodyskin-4"},{"Code":"bodyskin-5"},{"Code":"bodyskin-6"},{"Code":"bodyskin-7"},{"Code":"bodyskin-8"},{"Code":"bodyskin-9"},{"Code":"bodyskin-10"},{"Code":"bodyskin-11"},{"Code":"bodyskin-12"},{"Code":"bodyskin-13"},{"Code":"bodyskin-14"},{"Code":"bodyskin-15"},{"Code":"bodyskin-16"},{"Code":"bodyskin-17"},{"Code":"bodyskin-18"},{"Code":"bodyskin-19"},{"Code":"bodyskin-20"},{"Code":"bodyskin-27"},{"Code":"bodyskin-28"},{"Code":"bodyskin-29"}],
				// all female traders use all hair-base, but desert traders have extra nothing chance
				"hair-base":[{"Code":"hair-00"},{"Code":"hair-01"},{"Code":"hair-02"},{"Code":"hair-03"},{"Code":"hair-05"},{"Code":"hair-07"},{"Code":"hair-09"},{"Code":"hair-12"},{"Code":"hair-15"},{"Code":"hair-16"},{"Code":"hair-17"},{"Code":"hair-bald-horseshoe"},{"Code":"hair-bald-iroquis"},{"Code":"hair-bald-topknot"},{"Code":"hair-long-dreads"},{"Code":"hair-medium-afro"},{"Code":"hair-medium-basic"},{"Code":"hair-medium-layered"},{"Code":"hair-medium-spiky"},{"Code":"hair-short-indigenousbalding"},{"Code":"hair-short-sideshave"},{"Code":"hair-short-trimmed"}],
				// all luxuries traders arm have bonebracer filamentlamp pugilistbracers strings tiedrope removed
				"arm":[{"Code":"nothing","Weight":10.0},{"Code":"arm-beadedbracelet"},{"Code":"arm-braceletcopperl"},{"Code":"arm-braceletgoldl"},{"Code":"arm-braceletsilverl"},{"Code":"arm-braceletcopperr"},{"Code":"arm-braceletgoldr"},{"Code":"arm-braceletsilverr"},{"Code":"arm-shoulderpouch"}],
				// temperate trader face has snowmask removed, luxuries has skullmask wolfskull removed
				"face":[{"Code":"nothing","Weight":25.0},{"Code":"face-goggles"},{"Code":"face-headband"},{"Code":"face-monoclesilverl"},{"Code":"face-monoclegoldl"},{"Code":"face-monoclesilverr"},{"Code":"face-monoclegoldr"},{"Code":"face-pincenez"},{"Code":"face-facemask"},{"Code":"face-metalmask1"},{"Code":"face-metalmask2"},{"Code":"face-oldmask"},{"Code":"face-plaguemask"},{"Code":"face-primitivegasmask"},{"Code":"face-scavengermask"},{"Code":"face-veil"},{"Code":"face-veiledgoggles"},{"Code":"face-woodmask1"},{"Code":"face-woodmask2"},{"Code":"face-armor-bandageseye"},{"Code":"face-armor-leathermask"}],
				// temperate trader uses all foot outfits, but luxuries trader have wraps1 wraps2 removed
				"foot":[{"Code":"foot-boots1"},{"Code":"foot-boots2"},{"Code":"foot-boots3"},{"Code":"foot-boots4"},{"Code":"foot-furboots1"},{"Code":"foot-furboots2"},{"Code":"foot-reinforcedboots"},{"Code":"foot-sandals1"},{"Code":"foot-sandals2"},{"Code":"foot-sandals3"},{"Code":"foot-shoes1"},{"Code":"foot-slippers1"},{"Code":"foot-slippers2"},{"Code":"foot-slippers2clogs"},{"Code":"foot-slippers3"}],
				// temperate traders use all hand outfits, but luxuries have glovesbonepin glovesdirty gloveswraps removed
				"hand":[{"Code":"nothing","Weight":20.0},{"Code":"hand-abacus"},{"Code":"hand-glovescopperpin"},{"Code":"hand-glovesfurlined"},{"Code":"hand-gloveswork"},{"Code":"hand-glovesgardening"},{"Code":"hand-glovesforearm"},{"Code":"hand-glovesleather"},{"Code":"hand-glovesreinforced"},{"Code":"hand-ringssilverl"},{"Code":"hand-ringscopperl"},{"Code":"hand-ringsgoldl"},{"Code":"hand-ringssilverr"},{"Code":"hand-ringscopperr"},{"Code":"hand-ringsgoldr"}],
				// temperate trader head has fez headwrap headwrapnoface keffiyeh turban removed, luxuries has removed bonyheadband crowcrown minerhat removed
				"head":[{"Code":"nothing","Weight":20.0},{"Code":"head-beret"},{"Code":"head-camohood"},{"Code":"head-chaperon"},{"Code":"head-coontailhat"},{"Code":"head-felthat"},{"Code":"head-nadiyanhat"},{"Code":"head-nadiyanhoodgreen"},{"Code":"head-nadiyanhoodeye"},{"Code":"head-nadiyanhoodtan"},{"Code":"head-skullcap"},{"Code":"head-trapperhat"},{"Code":"head-warmhat1"},{"Code":"head-warmhat2"},{"Code":"head-warmhat3"},{"Code":"head-bandages"},{"Code":"head-armor-leather"},{"Code":"head-armor-metal"}],
				// all traders use all lowerbody, luxuries have removed pants6bony
				"lowerbody":[{"Code":"lowerbody-hose1sailor"},{"Code":"lowerbody-hose2"},{"Code":"lowerbody-hose3scholar"},{"Code":"lowerbody-hose4trapper"},{"Code":"lowerbody-hose5"},{"Code":"lowerbody-pants1striped"},{"Code":"lowerbody-pants2squaresbright"},{"Code":"lowerbody-pants3"},{"Code":"lowerbody-pants4"},{"Code":"lowerbody-pants5"},{"Code":"lowerbody-pants7squaresdark"},{"Code":"lowerbody-pants8"},{"Code":"lowerbody-pants9"},{"Code":"lowerbody-pants10"},{"Code":"lowerbody-pants11"},{"Code":"lowerbody-pants12"},{"Code":"lowerbody-pantssuspender"}],
				// all luxuries traders neck have bonenecklace teethnecklace removed
				"neck":[{"Code":"nothing","Weight":10.0},{"Code":"neck-gearsamulet"},{"Code":"neck-tradernecklacesilver"},{"Code":"neck-tradernecklacecopper"},{"Code":"neck-tradernecklacegold"}],
				// temperate trader shoulders have desertwrapribbed removed, luxuries have bonejacket furwrap scarfpoor tiedrope removed
				"shoulder":[{"Code":"nothing","Weight":10.0},{"Code":"shoulder-aprontan"},{"Code":"shoulder-apronbrown"},{"Code":"shoulder-apronfancy"},{"Code":"shoulder-apronleather"},{"Code":"shoulder-longsleevebolero"},{"Code":"shoulder-sash"},{"Code":"shoulder-sashsimple"},{"Code":"shoulder-scarfgreen"},{"Code":"shoulder-scarfred"},{"Code":"shoulder-shortsleeve-coat2"},{"Code":"shoulder-shortsleeve-jacket1forester"},{"Code":"shoulder-shortsleeve-jacket2shady"},{"Code":"shoulder-shortsleeve-jacket3capelet"},{"Code":"shoulder-shortsleeve-vest1"},{"Code":"shoulder-shortsleeve-vest2sailor"},{"Code":"shoulder-shortsleeve-vest3warm"},{"Code":"shoulder-shortsleeve-vest4scholar"},{"Code":"shoulder-shortsleeveextended-coat1"}],
				// temperate trader uses all upperbody outfits
				"upperbody":[{"Code":"upperbody-longsleeve-shirt1worn"},{"Code":"upperbody-longsleeve-shirt2worn"},{"Code":"upperbody-longsleeve-shirt3squared"},{"Code":"upperbody-longsleeve-shirt4embroidered"},{"Code":"upperbody-longsleeve-shirt5cheongsam"},{"Code":"upperbody-longsleeve-shirt6tattered"},{"Code":"upperbody-longsleeve-shirt7"},{"Code":"upperbody-longsleeve-shirt8spelunker"},{"Code":"upperbody-longsleeve-shirt9raggedy"},{"Code":"upperbody-longsleeve-shirt10squared"},{"Code":"upperbody-longsleeve-shirt11dark"},{"Code":"upperbody-longsleeve-shirt12fur"},{"Code":"upperbody-longsleeve-shirt13fishnet"},{"Code":"upperbody-longsleeve-shirt14pastoral"},{"Code":"upperbody-shortsleeve-shirt15"},{"Code":"upperbody-shortsleeve-shirt16"},{"Code":"upperbody-shortsleeve-shirt17patched"}],
				// temperate trader uses all upperbodyover
				"upperbodyover":[{"Code":"nothing","Weight":5.0},{"Code":"upperbodyover-shortsleeve-overshirt1furvest"},{"Code":"upperbodyover-shortsleeve-overshirt2"},{"Code":"upperbodyover-shortsleeve-overshirt3peltvest"},{"Code":"upperbodyover-shortsleeve-overshirt4vest"},{"Code":"upperbodyover-shortsleeve-overshirt5"},{"Code":"upperbodyover-shortsleeve-overshirt6fancyvest"},{"Code":"upperbodyover-armor-bandages"},{"Code":"upperbodyover-armor-leather"},{"Code":"upperbodyover-armor-metal"},{"Code":"upperbodyover-armor-wicker"}],
				// all traders use all waist
				"waist":[{"Code":"waist-abacus"},{"Code":"waist-beltkit"},{"Code":"waist-beltwithstring"},{"Code":"waist-beltwithtrim"},{"Code":"waist-chisel"},{"Code":"waist-climbingbelt"},{"Code":"waist-dagger"},{"Code":"waist-driedherbs"},{"Code":"waist-drill"},{"Code":"waist-girdlesilver"},{"Code":"waist-girdlecopper"},{"Code":"waist-girdlegold"},{"Code":"waist-sashcentergreen"},{"Code":"waist-sashcenterred"},{"Code":"waist-sashleftgreen"},{"Code":"waist-sashleftred"},{"Code":"waist-hammer"},{"Code":"waist-handsaw"},{"Code":"waist-ledger"},{"Code":"waist-panningbowl"},{"Code":"waist-pouchblue"},{"Code":"waist-sack"},{"Code":"waist-spyglass"},{"Code":"waist-tiedrope"}]
			},
			"trader-female-luxuries-cold": {
				// cold trader skins have bodyskin 12 through 20 removed
				"bodyskin":[{"Code":"bodyskin-1"},{"Code":"bodyskin-2"},{"Code":"bodyskin-3"},{"Code":"bodyskin-4"},{"Code":"bodyskin-5"},{"Code":"bodyskin-6"},{"Code":"bodyskin-7"},{"Code":"bodyskin-8"},{"Code":"bodyskin-9"},{"Code":"bodyskin-10"},{"Code":"bodyskin-11"},{"Code":"bodyskin-27"},{"Code":"bodyskin-28"},{"Code":"bodyskin-29"}],
				// all female traders use all hair-base, but desert traders have extra nothing chance
				"hair-base":[{"Code":"hair-00"},{"Code":"hair-01"},{"Code":"hair-02"},{"Code":"hair-03"},{"Code":"hair-05"},{"Code":"hair-07"},{"Code":"hair-09"},{"Code":"hair-12"},{"Code":"hair-15"},{"Code":"hair-16"},{"Code":"hair-17"},{"Code":"hair-bald-horseshoe"},{"Code":"hair-bald-iroquis"},{"Code":"hair-bald-topknot"},{"Code":"hair-long-dreads"},{"Code":"hair-medium-afro"},{"Code":"hair-medium-basic"},{"Code":"hair-medium-layered"},{"Code":"hair-medium-spiky"},{"Code":"hair-short-indigenousbalding"},{"Code":"hair-short-sideshave"},{"Code":"hair-short-trimmed"}],
				// all luxuries traders arm have bonebracer filamentlamp pugilistbracers strings tiedrope removed
				"arm":[{"Code":"nothing","Weight":10.0},{"Code":"arm-beadedbracelet"},{"Code":"arm-braceletcopperl"},{"Code":"arm-braceletgoldl"},{"Code":"arm-braceletsilverl"},{"Code":"arm-braceletcopperr"},{"Code":"arm-braceletgoldr"},{"Code":"arm-braceletsilverr"},{"Code":"arm-shoulderpouch"}],
				// cold trader face has veil veiledgoggles removed, luxuries has skullmask wolfskull removed
				"face":[{"Code":"nothing","Weight":25.0},{"Code":"face-goggles"},{"Code":"face-headband"},{"Code":"face-monoclesilverl"},{"Code":"face-monoclegoldl"},{"Code":"face-monoclesilverr"},{"Code":"face-monoclegoldr"},{"Code":"face-pincenez"},{"Code":"face-facemask"},{"Code":"face-metalmask1"},{"Code":"face-metalmask2"},{"Code":"face-oldmask"},{"Code":"face-plaguemask"},{"Code":"face-primitivegasmask"},{"Code":"face-scavengermask"},{"Code":"face-snowmask","Weight":5.0},{"Code":"face-woodmask1"},{"Code":"face-woodmask2"},{"Code":"face-armor-bandageseye"},{"Code":"face-armor-leathermask"}],
				// cold trader foot have sandals1 sandals2 sandals3 removed, luxuries trader have wraps1 wraps2 removed
				"foot":[{"Code":"foot-boots1"},{"Code":"foot-boots2"},{"Code":"foot-boots3"},{"Code":"foot-boots4"},{"Code":"foot-furboots1"},{"Code":"foot-furboots2"},{"Code":"foot-reinforcedboots"},{"Code":"foot-shoes1"},{"Code":"foot-slippers1"},{"Code":"foot-slippers2"},{"Code":"foot-slippers2clogs"},{"Code":"foot-slippers3"}],
				// cold trader uses all hand outfits, luxuries have glovesbonepin glovesdirty gloveswraps removed
				"hand":[{"Code":"nothing","Weight":20.0},{"Code":"hand-abacus"},{"Code":"hand-glovescopperpin"},{"Code":"hand-glovesfurlined"},{"Code":"hand-gloveswork"},{"Code":"hand-glovesgardening"},{"Code":"hand-glovesforearm"},{"Code":"hand-glovesleather"},{"Code":"hand-glovesreinforced"},{"Code":"hand-ringssilverl"},{"Code":"hand-ringscopperl"},{"Code":"hand-ringsgoldl"},{"Code":"hand-ringssilverr"},{"Code":"hand-ringscopperr"},{"Code":"hand-ringsgoldr"}],
				// cold trader head has fez headwrap headwrapnoface keffiyeh turban removed, luxuries has removed bonyheadband crowcrown minerhat removed
				"head":[{"Code":"nothing","Weight":20.0},{"Code":"head-beret"},{"Code":"head-camohood"},{"Code":"head-chaperon"},{"Code":"head-coontailhat"},{"Code":"head-felthat"},{"Code":"head-nadiyanhat"},{"Code":"head-nadiyanhoodgreen"},{"Code":"head-nadiyanhoodeye"},{"Code":"head-nadiyanhoodtan"},{"Code":"head-skullcap"},{"Code":"head-trapperhat"},{"Code":"head-warmhat1"},{"Code":"head-warmhat2"},{"Code":"head-warmhat3"},{"Code":"head-bandages"},{"Code":"head-armor-leather"},{"Code":"head-armor-metal"}],
				// all traders use all lowerbody, luxuries have removed pants6bony
				"lowerbody":[{"Code":"lowerbody-hose1sailor"},{"Code":"lowerbody-hose2"},{"Code":"lowerbody-hose3scholar"},{"Code":"lowerbody-hose4trapper"},{"Code":"lowerbody-hose5"},{"Code":"lowerbody-pants1striped"},{"Code":"lowerbody-pants2squaresbright"},{"Code":"lowerbody-pants3"},{"Code":"lowerbody-pants4"},{"Code":"lowerbody-pants5"},{"Code":"lowerbody-pants7squaresdark"},{"Code":"lowerbody-pants8"},{"Code":"lowerbody-pants9"},{"Code":"lowerbody-pants10"},{"Code":"lowerbody-pants11"},{"Code":"lowerbody-pants12"},{"Code":"lowerbody-pantssuspender"}],
				// all luxuries traders neck have bonenecklace teethnecklace removed
				"neck":[{"Code":"nothing","Weight":10.0},{"Code":"neck-gearsamulet"},{"Code":"neck-tradernecklacesilver"},{"Code":"neck-tradernecklacecopper"},{"Code":"neck-tradernecklacegold"}],
				// cold trader shoulders have desertwrapribbed removed, luxuries have bonejacket furwrap scarfpoor tiedrope removed
				"shoulder":[{"Code":"nothing","Weight":10.0},{"Code":"shoulder-aprontan"},{"Code":"shoulder-apronbrown"},{"Code":"shoulder-apronfancy"},{"Code":"shoulder-apronleather"},{"Code":"shoulder-longsleevebolero"},{"Code":"shoulder-sash"},{"Code":"shoulder-sashsimple"},{"Code":"shoulder-scarfgreen"},{"Code":"shoulder-scarfred"},{"Code":"shoulder-shortsleeve-coat2"},{"Code":"shoulder-shortsleeve-jacket1forester"},{"Code":"shoulder-shortsleeve-jacket2shady"},{"Code":"shoulder-shortsleeve-jacket3capelet"},{"Code":"shoulder-shortsleeve-vest1"},{"Code":"shoulder-shortsleeve-vest2sailor"},{"Code":"shoulder-shortsleeve-vest3warm"},{"Code":"shoulder-shortsleeve-vest4scholar"},{"Code":"shoulder-shortsleeveextended-coat1"}],
				// cold trader uses all upperbody outfits
				"upperbody":[{"Code":"upperbody-longsleeve-shirt1worn"},{"Code":"upperbody-longsleeve-shirt2worn"},{"Code":"upperbody-longsleeve-shirt3squared"},{"Code":"upperbody-longsleeve-shirt4embroidered"},{"Code":"upperbody-longsleeve-shirt5cheongsam"},{"Code":"upperbody-longsleeve-shirt6tattered"},{"Code":"upperbody-longsleeve-shirt7"},{"Code":"upperbody-longsleeve-shirt8spelunker"},{"Code":"upperbody-longsleeve-shirt9raggedy"},{"Code":"upperbody-longsleeve-shirt10squared"},{"Code":"upperbody-longsleeve-shirt11dark"},{"Code":"upperbody-longsleeve-shirt12fur"},{"Code":"upperbody-longsleeve-shirt13fishnet"},{"Code":"upperbody-longsleeve-shirt14pastoral"},{"Code":"upperbody-shortsleeve-shirt15"},{"Code":"upperbody-shortsleeve-shirt16"},{"Code":"upperbody-shortsleeve-shirt17patched"}],
				// cold trader uses all upperbodyover
				"upperbodyover":[{"Code":"nothing","Weight":5.0},{"Code":"upperbodyover-shortsleeve-overshirt1furvest"},{"Code":"upperbodyover-shortsleeve-overshirt2"},{"Code":"upperbodyover-shortsleeve-overshirt3peltvest"},{"Code":"upperbodyover-shortsleeve-overshirt4vest"},{"Code":"upperbodyover-shortsleeve-overshirt5"},{"Code":"upperbodyover-shortsleeve-overshirt6fancyvest"},{"Code":"upperbodyover-armor-bandages"},{"Code":"upperbodyover-armor-leather"},{"Code":"upperbodyover-armor-metal"},{"Code":"upperbodyover-armor-wicker"}],
				// all traders use all waist
				"waist":[{"Code":"waist-abacus"},{"Code":"waist-beltkit"},{"Code":"waist-beltwithstring"},{"Code":"waist-beltwithtrim"},{"Code":"waist-chisel"},{"Code":"waist-climbingbelt"},{"Code":"waist-dagger"},{"Code":"waist-driedherbs"},{"Code":"waist-drill"},{"Code":"waist-girdlesilver"},{"Code":"waist-girdlecopper"},{"Code":"waist-girdlegold"},{"Code":"waist-sashcentergreen"},{"Code":"waist-sashcenterred"},{"Code":"waist-sashleftgreen"},{"Code":"waist-sashleftred"},{"Code":"waist-hammer"},{"Code":"waist-handsaw"},{"Code":"waist-ledger"},{"Code":"waist-panningbowl"},{"Code":"waist-pouchblue"},{"Code":"waist-sack"},{"Code":"waist-spyglass"},{"Code":"waist-tiedrope"}]
			},
			"trader-female-luxuries-desert": {
				// desert traders have bodyskin-1 bodyskin-2 bodyskin-3 removed
				"bodyskin":[{"Code":"bodyskin-4"},{"Code":"bodyskin-5"},{"Code":"bodyskin-6"},{"Code":"bodyskin-7"},{"Code":"bodyskin-8"},{"Code":"bodyskin-9"},{"Code":"bodyskin-10"},{"Code":"bodyskin-11"},{"Code":"bodyskin-12"},{"Code":"bodyskin-13"},{"Code":"bodyskin-14"},{"Code":"bodyskin-15"},{"Code":"bodyskin-16"},{"Code":"bodyskin-17"},{"Code":"bodyskin-18"},{"Code":"bodyskin-19"},{"Code":"bodyskin-20"},{"Code":"bodyskin-21"},{"Code":"bodyskin-22"},{"Code":"bodyskin-23"},{"Code":"bodyskin-24"},{"Code":"bodyskin-25"},{"Code":"bodyskin-26"},{"Code":"bodyskin-27"},{"Code":"bodyskin-28"},{"Code":"bodyskin-29"}],
				// all female traders use all hair-base, but desert traders have extra nothing chance
				"hair-base":[{"Code":"nothing","Weight":5.0},{"Code":"hair-00"},{"Code":"hair-01"},{"Code":"hair-02"},{"Code":"hair-03"},{"Code":"hair-05"},{"Code":"hair-07"},{"Code":"hair-09"},{"Code":"hair-12"},{"Code":"hair-15"},{"Code":"hair-16"},{"Code":"hair-17"},{"Code":"hair-bald-horseshoe"},{"Code":"hair-bald-iroquis"},{"Code":"hair-bald-topknot"},{"Code":"hair-long-dreads"},{"Code":"hair-medium-afro"},{"Code":"hair-medium-basic"},{"Code":"hair-medium-layered"},{"Code":"hair-medium-spiky"},{"Code":"hair-short-indigenousbalding"},{"Code":"hair-short-sideshave"},{"Code":"hair-short-trimmed"}],
				// all luxuries traders arm have bonebracer filamentlamp pugilistbracers strings tiedrope removed
				"arm":[{"Code":"nothing","Weight":10.0},{"Code":"arm-beadedbracelet"},{"Code":"arm-braceletcopperl"},{"Code":"arm-braceletgoldl"},{"Code":"arm-braceletsilverl"},{"Code":"arm-braceletcopperr"},{"Code":"arm-braceletgoldr"},{"Code":"arm-braceletsilverr"},{"Code":"arm-shoulderpouch"}],
				// desert trader face has snowmask removed, luxuries has skullmask wolfskull removed
				"face":[{"Code":"nothing","Weight":25.0},{"Code":"face-goggles"},{"Code":"face-headband"},{"Code":"face-monoclesilverl"},{"Code":"face-monoclegoldl"},{"Code":"face-monoclesilverr"},{"Code":"face-monoclegoldr"},{"Code":"face-pincenez"},{"Code":"face-facemask"},{"Code":"face-metalmask1"},{"Code":"face-metalmask2"},{"Code":"face-oldmask"},{"Code":"face-plaguemask"},{"Code":"face-primitivegasmask"},{"Code":"face-scavengermask"},{"Code":"face-veil"},{"Code":"face-veiledgoggles"},{"Code":"face-woodmask1"},{"Code":"face-woodmask2"},{"Code":"face-armor-bandageseye"},{"Code":"face-armor-leathermask"}],
				// desert trader foot has boots4 furboots1 furboots2 slippers2clogs removed, luxuries trader have wraps1 wraps2 removed
				"foot":[{"Code":"foot-boots1"},{"Code":"foot-boots2"},{"Code":"foot-boots3"},{"Code":"foot-reinforcedboots"},{"Code":"foot-sandals1"},{"Code":"foot-sandals2"},{"Code":"foot-sandals3"},{"Code":"foot-shoes1"},{"Code":"foot-slippers1"},{"Code":"foot-slippers2"},{"Code":"foot-slippers3"}],
				// desert traders hand have glovesfurlined removed, luxuries have glovesbonepin glovesdirty gloveswraps removed
				"hand":[{"Code":"nothing","Weight":20.0},{"Code":"hand-abacus"},{"Code":"hand-glovescopperpin"},{"Code":"hand-gloveswork"},{"Code":"hand-glovesgardening"},{"Code":"hand-glovesforearm"},{"Code":"hand-glovesleather"},{"Code":"hand-glovesreinforced"},{"Code":"hand-ringssilverl"},{"Code":"hand-ringscopperl"},{"Code":"hand-ringsgoldl"},{"Code":"hand-ringssilverr"},{"Code":"hand-ringscopperr"},{"Code":"hand-ringsgoldr"}],
				// desert traders head has camohood chaperon coontailhat felthat nadiyanhat nadiyanhoodgreen nadiyanhoodeye nadiyanhoodtan trapperhat warm1 warm2 warm3 removed from head list, luxuries has removed bonyheadband crowcrown minerhat removed
				"head":[{"Code":"nothing","Weight":20.0},{"Code":"head-beret"},{"Code":"head-fez"},{"Code":"head-headwrap"},{"Code":"head-headwrapnoface"},{"Code":"head-keffiyeh"},{"Code":"head-skullcap"},{"Code":"head-turban"},{"Code":"head-bandages"},{"Code":"head-armor-leather"},{"Code":"head-armor-metal"}],
				// all traders use all lowerbody, luxuries have removed pants6bony
				"lowerbody":[{"Code":"lowerbody-hose1sailor"},{"Code":"lowerbody-hose2"},{"Code":"lowerbody-hose3scholar"},{"Code":"lowerbody-hose4trapper"},{"Code":"lowerbody-hose5"},{"Code":"lowerbody-pants1striped"},{"Code":"lowerbody-pants2squaresbright"},{"Code":"lowerbody-pants3"},{"Code":"lowerbody-pants4"},{"Code":"lowerbody-pants5"},{"Code":"lowerbody-pants7squaresdark"},{"Code":"lowerbody-pants8"},{"Code":"lowerbody-pants9"},{"Code":"lowerbody-pants10"},{"Code":"lowerbody-pants11"},{"Code":"lowerbody-pants12"},{"Code":"lowerbody-pantssuspender"}],
				// all luxuries traders neck have bonenecklace teethnecklace removed
				"neck":[{"Code":"nothing","Weight":10.0},{"Code":"neck-gearsamulet"},{"Code":"neck-tradernecklacesilver"},{"Code":"neck-tradernecklacecopper"},{"Code":"neck-tradernecklacegold"}],
				// desert trader shoulder has furwrap removed, luxuries have bonejacket furwrap scarfpoor tiedrope removed
				"shoulder":[{"Code":"nothing","Weight":10.0},{"Code":"shoulder-aprontan"},{"Code":"shoulder-apronbrown"},{"Code":"shoulder-apronfancy"},{"Code":"shoulder-apronleather"},{"Code":"shoulder-longsleevebolero"},{"Code":"shoulder-sash"},{"Code":"shoulder-sashsimple"},{"Code":"shoulder-scarfgreen"},{"Code":"shoulder-scarfred"},{"Code":"shoulder-shortsleeve-coat2"},{"Code":"shoulder-shortsleeve-desertwrapribbed"},{"Code":"shoulder-shortsleeve-jacket1forester"},{"Code":"shoulder-shortsleeve-jacket2shady"},{"Code":"shoulder-shortsleeve-jacket3capelet"},{"Code":"shoulder-shortsleeve-vest1"},{"Code":"shoulder-shortsleeve-vest2sailor"},{"Code":"shoulder-shortsleeve-vest3warm"},{"Code":"shoulder-shortsleeve-vest4scholar"},{"Code":"shoulder-shortsleeveextended-coat1"}],
				// desert trader upperbody has shirt12fur removed
				"upperbody":[{"Code":"upperbody-longsleeve-shirt1worn"},{"Code":"upperbody-longsleeve-shirt2worn"},{"Code":"upperbody-longsleeve-shirt3squared"},{"Code":"upperbody-longsleeve-shirt4embroidered"},{"Code":"upperbody-longsleeve-shirt5cheongsam"},{"Code":"upperbody-longsleeve-shirt6tattered"},{"Code":"upperbody-longsleeve-shirt7"},{"Code":"upperbody-longsleeve-shirt8spelunker"},{"Code":"upperbody-longsleeve-shirt9raggedy"},{"Code":"upperbody-longsleeve-shirt10squared"},{"Code":"upperbody-longsleeve-shirt11dark"},{"Code":"upperbody-longsleeve-shirt13fishnet"},{"Code":"upperbody-longsleeve-shirt14pastoral"},{"Code":"upperbody-shortsleeve-shirt15"},{"Code":"upperbody-shortsleeve-shirt16"},{"Code":"upperbody-shortsleeve-shirt17patched"}],
				// desert trader upperbodyover has overshirt1furvest removed, and has a higher nothing chance than others
				"upperbodyover":[{"Code":"nothing","Weight":10.0},{"Code":"upperbodyover-shortsleeve-overshirt2"},{"Code":"upperbodyover-shortsleeve-overshirt3peltvest"},{"Code":"upperbodyover-shortsleeve-overshirt4vest"},{"Code":"upperbodyover-shortsleeve-overshirt5"},{"Code":"upperbodyover-shortsleeve-overshirt6fancyvest"},{"Code":"upperbodyover-armor-bandages"},{"Code":"upperbodyover-armor-leather"},{"Code":"upperbodyover-armor-metal"},{"Code":"upperbodyover-armor-wicker"}],
				// all traders use all waist
				"waist":[{"Code":"waist-abacus"},{"Code":"waist-beltkit"},{"Code":"waist-beltwithstring"},{"Code":"waist-beltwithtrim"},{"Code":"waist-chisel"},{"Code":"waist-climbingbelt"},{"Code":"waist-dagger"},{"Code":"waist-driedherbs"},{"Code":"waist-drill"},{"Code":"waist-girdlesilver"},{"Code":"waist-girdlecopper"},{"Code":"waist-girdlegold"},{"Code":"waist-sashcentergreen"},{"Code":"waist-sashcenterred"},{"Code":"waist-sashleftgreen"},{"Code":"waist-sashleftred"},{"Code":"waist-hammer"},{"Code":"waist-handsaw"},{"Code":"waist-ledger"},{"Code":"waist-panningbowl"},{"Code":"waist-pouchblue"},{"Code":"waist-sack"},{"Code":"waist-spyglass"},{"Code":"waist-tiedrope"}]
			},
			"trader-female-*-temperate": {
				// temperate trader skins have bodyskin 20 through 26 removed
				"bodyskin":[{"Code":"bodyskin-1"},{"Code":"bodyskin-2"},{"Code":"bodyskin-3"},{"Code":"bodyskin-4"},{"Code":"bodyskin-5"},{"Code":"bodyskin-6"},{"Code":"bodyskin-7"},{"Code":"bodyskin-8"},{"Code":"bodyskin-9"},{"Code":"bodyskin-10"},{"Code":"bodyskin-11"},{"Code":"bodyskin-12"},{"Code":"bodyskin-13"},{"Code":"bodyskin-14"},{"Code":"bodyskin-15"},{"Code":"bodyskin-16"},{"Code":"bodyskin-17"},{"Code":"bodyskin-18"},{"Code":"bodyskin-19"},{"Code":"bodyskin-20"},{"Code":"bodyskin-27"},{"Code":"bodyskin-28"},{"Code":"bodyskin-29"}],
				// all female traders use all hair-base, but desert traders have extra nothing chance
				"hair-base":[{"Code":"hair-00"},{"Code":"hair-01"},{"Code":"hair-02"},{"Code":"hair-03"},{"Code":"hair-05"},{"Code":"hair-07"},{"Code":"hair-09"},{"Code":"hair-12"},{"Code":"hair-15"},{"Code":"hair-16"},{"Code":"hair-17"},{"Code":"hair-bald-horseshoe"},{"Code":"hair-bald-iroquis"},{"Code":"hair-bald-topknot"},{"Code":"hair-long-dreads"},{"Code":"hair-medium-afro"},{"Code":"hair-medium-basic"},{"Code":"hair-medium-layered"},{"Code":"hair-medium-spiky"},{"Code":"hair-short-indigenousbalding"},{"Code":"hair-short-sideshave"},{"Code":"hair-short-trimmed"}],
				// all traders other than luxuries use all arm
				"arm":[{"Code":"nothing","Weight":10.0},{"Code":"arm-beadedbracelet"},{"Code":"arm-bonebracer"},{"Code":"arm-braceletcopperl"},{"Code":"arm-braceletgoldl"},{"Code":"arm-braceletsilverl"},{"Code":"arm-braceletcopperr"},{"Code":"arm-braceletgoldr"},{"Code":"arm-braceletsilverr"},{"Code":"arm-filamentlamp"},{"Code":"arm-pugilistbracers"},{"Code":"arm-shoulderpouch"},{"Code":"arm-strings"},{"Code":"arm-tiedrope"}],
				// temperate trader face has snowmask removed, non-luxuries have all four monocles removed
				"face":[{"Code":"nothing","Weight":25.0},{"Code":"face-goggles"},{"Code":"face-headband"},{"Code":"face-pincenez"},{"Code":"face-facemask"},{"Code":"face-metalmask1"},{"Code":"face-metalmask2"},{"Code":"face-oldmask"},{"Code":"face-plaguemask"},{"Code":"face-primitivegasmask"},{"Code":"face-scavengermask"},{"Code":"face-skullmask"},{"Code":"face-veil"},{"Code":"face-veiledgoggles"},{"Code":"face-wolfskull"},{"Code":"face-woodmask1"},{"Code":"face-woodmask2"},{"Code":"face-armor-bandageseye"},{"Code":"face-armor-leathermask"}],
				// temperate trader uses all foot outfits
				"foot":[{"Code":"foot-boots1"},{"Code":"foot-boots2"},{"Code":"foot-boots3"},{"Code":"foot-boots4"},{"Code":"foot-furboots1"},{"Code":"foot-furboots2"},{"Code":"foot-reinforcedboots"},{"Code":"foot-sandals1"},{"Code":"foot-sandals2"},{"Code":"foot-sandals3"},{"Code":"foot-shoes1"},{"Code":"foot-slippers1"},{"Code":"foot-slippers2"},{"Code":"foot-slippers2clogs"},{"Code":"foot-slippers3"},{"Code":"foot-wraps1"},{"Code":"foot-wraps2"}],
				// temperate traders use all hand outfits
				"hand":[{"Code":"nothing","Weight":20.0},{"Code":"hand-abacus"},{"Code":"hand-glovesbonepin"},{"Code":"hand-glovescopperpin"},{"Code":"hand-glovesfurlined"},{"Code":"hand-gloveswork"},{"Code":"hand-glovesgardening"},{"Code":"hand-glovesforearm"},{"Code":"hand-glovesleather"},{"Code":"hand-glovesdirty"},{"Code":"hand-glovesreinforced"},{"Code":"hand-gloveswraps"},{"Code":"hand-ringssilverl"},{"Code":"hand-ringscopperl"},{"Code":"hand-ringsgoldl"},{"Code":"hand-ringssilverr"},{"Code":"hand-ringscopperr"},{"Code":"hand-ringsgoldr"}],
				// temperate trader head has fez headwrap headwrapnoface keffiyeh turban removed
				"head":[{"Code":"nothing","Weight":20.0},{"Code":"head-beret"},{"Code":"head-bonyheadband"},{"Code":"head-camohood"},{"Code":"head-chaperon"},{"Code":"head-coontailhat"},{"Code":"head-crowcrown"},{"Code":"head-felthat"},{"Code":"head-minerhat"},{"Code":"head-nadiyanhat"},{"Code":"head-nadiyanhoodgreen"},{"Code":"head-nadiyanhoodeye"},{"Code":"head-nadiyanhoodtan"},{"Code":"head-skullcap"},{"Code":"head-trapperhat"},{"Code":"head-turban"},{"Code":"head-warmhat1"},{"Code":"head-warmhat2"},{"Code":"head-warmhat3"},{"Code":"head-bandages"},{"Code":"head-armor-leather"},{"Code":"head-armor-metal"}],
				// all traders use all lowerbody
				"lowerbody":[{"Code":"lowerbody-hose1sailor"},{"Code":"lowerbody-hose2"},{"Code":"lowerbody-hose3scholar"},{"Code":"lowerbody-hose4trapper"},{"Code":"lowerbody-hose5"},{"Code":"lowerbody-pants1striped"},{"Code":"lowerbody-pants2squaresbright"},{"Code":"lowerbody-pants3"},{"Code":"lowerbody-pants4"},{"Code":"lowerbody-pants5"},{"Code":"lowerbody-pants6bony"},{"Code":"lowerbody-pants7squaresdark"},{"Code":"lowerbody-pants8"},{"Code":"lowerbody-pants9"},{"Code":"lowerbody-pants10"},{"Code":"lowerbody-pants11"},{"Code":"lowerbody-pants12"},{"Code":"lowerbody-pantssuspender"}],
				// all traders use all neck, except luxuries
				"neck":[{"Code":"nothing","Weight":10.0},{"Code":"neck-bonenecklace"},{"Code":"neck-gearsamulet"},{"Code":"neck-teethnecklace"},{"Code":"neck-tradernecklacesilver"},{"Code":"neck-tradernecklacecopper"},{"Code":"neck-tradernecklacegold"}],
				// temperate trader shoulders have desertwrapribbed removed
				"shoulder":[{"Code":"nothing","Weight":10.0},{"Code":"shoulder-aprontan"},{"Code":"shoulder-apronbrown"},{"Code":"shoulder-apronfancy"},{"Code":"shoulder-apronleather"},{"Code":"shoulder-bonejacket"},{"Code":"shoulder-furwrap"},{"Code":"shoulder-longsleevebolero"},{"Code":"shoulder-sash"},{"Code":"shoulder-sashsimple"},{"Code":"shoulder-scarfgreen"},{"Code":"shoulder-scarfpoor"},{"Code":"shoulder-scarfred"},{"Code":"shoulder-shortsleeve-coat2"},{"Code":"shoulder-shortsleeve-jacket1forester"},{"Code":"shoulder-shortsleeve-jacket2shady"},{"Code":"shoulder-shortsleeve-jacket3capelet"},{"Code":"shoulder-shortsleeve-vest1"},{"Code":"shoulder-shortsleeve-vest2sailor"},{"Code":"shoulder-shortsleeve-vest3warm"},{"Code":"shoulder-shortsleeve-vest4scholar"},{"Code":"shoulder-shortsleeveextended-coat1"},{"Code":"shoulder-tiedrope"}],
				// temperate trader uses all upperbody outfits
				"upperbody":[{"Code":"upperbody-longsleeve-shirt1worn"},{"Code":"upperbody-longsleeve-shirt2worn"},{"Code":"upperbody-longsleeve-shirt3squared"},{"Code":"upperbody-longsleeve-shirt4embroidered"},{"Code":"upperbody-longsleeve-shirt5cheongsam"},{"Code":"upperbody-longsleeve-shirt6tattered"},{"Code":"upperbody-longsleeve-shirt7"},{"Code":"upperbody-longsleeve-shirt8spelunker"},{"Code":"upperbody-longsleeve-shirt9raggedy"},{"Code":"upperbody-longsleeve-shirt10squared"},{"Code":"upperbody-longsleeve-shirt11dark"},{"Code":"upperbody-longsleeve-shirt12fur"},{"Code":"upperbody-longsleeve-shirt13fishnet"},{"Code":"upperbody-longsleeve-shirt14pastoral"},{"Code":"upperbody-shortsleeve-shirt15"},{"Code":"upperbody-shortsleeve-shirt16"},{"Code":"upperbody-shortsleeve-shirt17patched"}],
				// temperate trader uses all upperbodyover
				"upperbodyover":[{"Code":"nothing","Weight":5.0},{"Code":"upperbodyover-shortsleeve-overshirt1furvest"},{"Code":"upperbodyover-shortsleeve-overshirt2"},{"Code":"upperbodyover-shortsleeve-overshirt3peltvest"},{"Code":"upperbodyover-shortsleeve-overshirt4vest"},{"Code":"upperbodyover-shortsleeve-overshirt5"},{"Code":"upperbodyover-shortsleeve-overshirt6fancyvest"},{"Code":"upperbodyover-armor-bandages"},{"Code":"upperbodyover-armor-leather"},{"Code":"upperbodyover-armor-metal"},{"Code":"upperbodyover-armor-wicker"}],
				// all traders use all waist
				"waist":[{"Code":"waist-abacus"},{"Code":"waist-beltkit"},{"Code":"waist-beltwithstring"},{"Code":"waist-beltwithtrim"},{"Code":"waist-chisel"},{"Code":"waist-climbingbelt"},{"Code":"waist-dagger"},{"Code":"waist-driedherbs"},{"Code":"waist-drill"},{"Code":"waist-girdlesilver"},{"Code":"waist-girdlecopper"},{"Code":"waist-girdlegold"},{"Code":"waist-sashcentergreen"},{"Code":"waist-sashcenterred"},{"Code":"waist-sashleftgreen"},{"Code":"waist-sashleftred"},{"Code":"waist-hammer"},{"Code":"waist-handsaw"},{"Code":"waist-ledger"},{"Code":"waist-panningbowl"},{"Code":"waist-pouchblue"},{"Code":"waist-sack"},{"Code":"waist-spyglass"},{"Code":"waist-tiedrope"}]
			},
			"trader-female-*-cold": {
				// cold trader skins have bodyskin 12 through 20 removed
				"bodyskin":[{"Code":"bodyskin-1"},{"Code":"bodyskin-2"},{"Code":"bodyskin-3"},{"Code":"bodyskin-4"},{"Code":"bodyskin-5"},{"Code":"bodyskin-6"},{"Code":"bodyskin-7"},{"Code":"bodyskin-8"},{"Code":"bodyskin-9"},{"Code":"bodyskin-10"},{"Code":"bodyskin-11"},{"Code":"bodyskin-27"},{"Code":"bodyskin-28"},{"Code":"bodyskin-29"}],
				// all female traders use all hair-base, but desert traders have extra nothing chance
				"hair-base":[{"Code":"hair-00"},{"Code":"hair-01"},{"Code":"hair-02"},{"Code":"hair-03"},{"Code":"hair-05"},{"Code":"hair-07"},{"Code":"hair-09"},{"Code":"hair-12"},{"Code":"hair-15"},{"Code":"hair-16"},{"Code":"hair-17"},{"Code":"hair-bald-horseshoe"},{"Code":"hair-bald-iroquis"},{"Code":"hair-bald-topknot"},{"Code":"hair-long-dreads"},{"Code":"hair-medium-afro"},{"Code":"hair-medium-basic"},{"Code":"hair-medium-layered"},{"Code":"hair-medium-spiky"},{"Code":"hair-short-indigenousbalding"},{"Code":"hair-short-sideshave"},{"Code":"hair-short-trimmed"}],
				// all traders other than luxuries use all arm
				"arm":[{"Code":"nothing","Weight":10.0},{"Code":"arm-beadedbracelet"},{"Code":"arm-bonebracer"},{"Code":"arm-braceletcopperl"},{"Code":"arm-braceletgoldl"},{"Code":"arm-braceletsilverl"},{"Code":"arm-braceletcopperr"},{"Code":"arm-braceletgoldr"},{"Code":"arm-braceletsilverr"},{"Code":"arm-filamentlamp"},{"Code":"arm-pugilistbracers"},{"Code":"arm-shoulderpouch"},{"Code":"arm-strings"},{"Code":"arm-tiedrope"}],
				// cold trader has veil veiledgoggles removed, non-luxuries have all four monocles removed
				"face":[{"Code":"nothing","Weight":25.0},{"Code":"face-goggles"},{"Code":"face-headband"},{"Code":"face-pincenez"},{"Code":"face-facemask"},{"Code":"face-metalmask1"},{"Code":"face-metalmask2"},{"Code":"face-oldmask"},{"Code":"face-plaguemask"},{"Code":"face-primitivegasmask"},{"Code":"face-scavengermask"},{"Code":"face-skullmask"},{"Code":"face-snowmask","Weight":5.0},{"Code":"face-wolfskull"},{"Code":"face-woodmask1"},{"Code":"face-woodmask2"},{"Code":"face-armor-bandageseye"},{"Code":"face-armor-leathermask"}],
				// cold trader feet have sandals1 sandals2 sandals3 removed
				"foot":[{"Code":"foot-boots1"},{"Code":"foot-boots2"},{"Code":"foot-boots3"},{"Code":"foot-boots4"},{"Code":"foot-furboots1"},{"Code":"foot-furboots2"},{"Code":"foot-reinforcedboots"},{"Code":"foot-shoes1"},{"Code":"foot-slippers1"},{"Code":"foot-slippers2"},{"Code":"foot-slippers2clogs"},{"Code":"foot-slippers3"},{"Code":"foot-wraps1"},{"Code":"foot-wraps2"}],
				// cold trader uses all hand outfits
				"hand":[{"Code":"nothing","Weight":20.0},{"Code":"hand-abacus"},{"Code":"hand-glovesbonepin"},{"Code":"hand-glovescopperpin"},{"Code":"hand-glovesfurlined"},{"Code":"hand-gloveswork"},{"Code":"hand-glovesgardening"},{"Code":"hand-glovesforearm"},{"Code":"hand-glovesleather"},{"Code":"hand-glovesdirty"},{"Code":"hand-glovesreinforced"},{"Code":"hand-gloveswraps"},{"Code":"hand-ringssilverl"},{"Code":"hand-ringscopperl"},{"Code":"hand-ringsgoldl"},{"Code":"hand-ringssilverr"},{"Code":"hand-ringscopperr"},{"Code":"hand-ringsgoldr"}],
				// cold trader head has fez headwrap headwrapnoface keffiyeh turban removed
				"head":[{"Code":"nothing","Weight":20.0},{"Code":"head-beret"},{"Code":"head-bonyheadband"},{"Code":"head-camohood"},{"Code":"head-chaperon"},{"Code":"head-coontailhat"},{"Code":"head-crowcrown"},{"Code":"head-felthat"},{"Code":"head-minerhat"},{"Code":"head-nadiyanhat"},{"Code":"head-nadiyanhoodgreen"},{"Code":"head-nadiyanhoodeye"},{"Code":"head-nadiyanhoodtan"},{"Code":"head-skullcap"},{"Code":"head-trapperhat"},{"Code":"head-warmhat1"},{"Code":"head-warmhat2"},{"Code":"head-warmhat3"},{"Code":"head-bandages"},{"Code":"head-armor-leather"},{"Code":"head-armor-metal"}],
				// all traders use all lowerbody
				"lowerbody":[{"Code":"lowerbody-hose1sailor"},{"Code":"lowerbody-hose2"},{"Code":"lowerbody-hose3scholar"},{"Code":"lowerbody-hose4trapper"},{"Code":"lowerbody-hose5"},{"Code":"lowerbody-pants1striped"},{"Code":"lowerbody-pants2squaresbright"},{"Code":"lowerbody-pants3"},{"Code":"lowerbody-pants4"},{"Code":"lowerbody-pants5"},{"Code":"lowerbody-pants6bony"},{"Code":"lowerbody-pants7squaresdark"},{"Code":"lowerbody-pants8"},{"Code":"lowerbody-pants9"},{"Code":"lowerbody-pants10"},{"Code":"lowerbody-pants11"},{"Code":"lowerbody-pants12"},{"Code":"lowerbody-pantssuspender"}],
				// all traders use all neck, except luxuries
				"neck":[{"Code":"nothing","Weight":10.0},{"Code":"neck-bonenecklace"},{"Code":"neck-gearsamulet"},{"Code":"neck-teethnecklace"},{"Code":"neck-tradernecklacesilver"},{"Code":"neck-tradernecklacecopper"},{"Code":"neck-tradernecklacegold"}],
				// cold trader shoulders have desertwrapribbed removed
				"shoulder":[{"Code":"nothing","Weight":10.0},{"Code":"shoulder-aprontan"},{"Code":"shoulder-apronbrown"},{"Code":"shoulder-apronfancy"},{"Code":"shoulder-apronleather"},{"Code":"shoulder-bonejacket"},{"Code":"shoulder-furwrap"},{"Code":"shoulder-longsleevebolero"},{"Code":"shoulder-sash"},{"Code":"shoulder-sashsimple"},{"Code":"shoulder-scarfgreen"},{"Code":"shoulder-scarfpoor"},{"Code":"shoulder-scarfred"},{"Code":"shoulder-shortsleeve-coat2"},{"Code":"shoulder-shortsleeve-jacket1forester"},{"Code":"shoulder-shortsleeve-jacket2shady"},{"Code":"shoulder-shortsleeve-jacket3capelet"},{"Code":"shoulder-shortsleeve-vest1"},{"Code":"shoulder-shortsleeve-vest2sailor"},{"Code":"shoulder-shortsleeve-vest3warm"},{"Code":"shoulder-shortsleeve-vest4scholar"},{"Code":"shoulder-shortsleeveextended-coat1"},{"Code":"shoulder-tiedrope"}],
				// cold trader uses all upperbody outfits
				"upperbody":[{"Code":"upperbody-longsleeve-shirt1worn"},{"Code":"upperbody-longsleeve-shirt2worn"},{"Code":"upperbody-longsleeve-shirt3squared"},{"Code":"upperbody-longsleeve-shirt4embroidered"},{"Code":"upperbody-longsleeve-shirt5cheongsam"},{"Code":"upperbody-longsleeve-shirt6tattered"},{"Code":"upperbody-longsleeve-shirt7"},{"Code":"upperbody-longsleeve-shirt8spelunker"},{"Code":"upperbody-longsleeve-shirt9raggedy"},{"Code":"upperbody-longsleeve-shirt10squared"},{"Code":"upperbody-longsleeve-shirt11dark"},{"Code":"upperbody-longsleeve-shirt12fur"},{"Code":"upperbody-longsleeve-shirt13fishnet"},{"Code":"upperbody-longsleeve-shirt14pastoral"},{"Code":"upperbody-shortsleeve-shirt15"},{"Code":"upperbody-shortsleeve-shirt16"},{"Code":"upperbody-shortsleeve-shirt17patched"}],
				// cold trader uses all upperbodyover
				"upperbodyover":[{"Code":"nothing","Weight":5.0},{"Code":"upperbodyover-shortsleeve-overshirt1furvest"},{"Code":"upperbodyover-shortsleeve-overshirt2"},{"Code":"upperbodyover-shortsleeve-overshirt3peltvest"},{"Code":"upperbodyover-shortsleeve-overshirt4vest"},{"Code":"upperbodyover-shortsleeve-overshirt5"},{"Code":"upperbodyover-shortsleeve-overshirt6fancyvest"},{"Code":"upperbodyover-armor-bandages"},{"Code":"upperbodyover-armor-leather"},{"Code":"upperbodyover-armor-metal"},{"Code":"upperbodyover-armor-wicker"}],
				// all traders use all waist
				"waist":[{"Code":"waist-abacus"},{"Code":"waist-beltkit"},{"Code":"waist-beltwithstring"},{"Code":"waist-beltwithtrim"},{"Code":"waist-chisel"},{"Code":"waist-climbingbelt"},{"Code":"waist-dagger"},{"Code":"waist-driedherbs"},{"Code":"waist-drill"},{"Code":"waist-girdlesilver"},{"Code":"waist-girdlecopper"},{"Code":"waist-girdlegold"},{"Code":"waist-sashcentergreen"},{"Code":"waist-sashcenterred"},{"Code":"waist-sashleftgreen"},{"Code":"waist-sashleftred"},{"Code":"waist-hammer"},{"Code":"waist-handsaw"},{"Code":"waist-ledger"},{"Code":"waist-panningbowl"},{"Code":"waist-pouchblue"},{"Code":"waist-sack"},{"Code":"waist-spyglass"},{"Code":"waist-tiedrope"}]
			},
			"trader-female-*-desert": {
				// desert traders have bodyskin-1 bodyskin-2 bodyskin-3 removed
				"bodyskin":[{"Code":"bodyskin-4"},{"Code":"bodyskin-5"},{"Code":"bodyskin-6"},{"Code":"bodyskin-7"},{"Code":"bodyskin-8"},{"Code":"bodyskin-9"},{"Code":"bodyskin-10"},{"Code":"bodyskin-11"},{"Code":"bodyskin-12"},{"Code":"bodyskin-13"},{"Code":"bodyskin-14"},{"Code":"bodyskin-15"},{"Code":"bodyskin-16"},{"Code":"bodyskin-17"},{"Code":"bodyskin-18"},{"Code":"bodyskin-19"},{"Code":"bodyskin-20"},{"Code":"bodyskin-21"},{"Code":"bodyskin-22"},{"Code":"bodyskin-23"},{"Code":"bodyskin-24"},{"Code":"bodyskin-25"},{"Code":"bodyskin-26"},{"Code":"bodyskin-27"},{"Code":"bodyskin-28"},{"Code":"bodyskin-29"}],
				// all female traders use all hair-base, but desert traders have extra nothing chance
				"hair-base":[{"Code":"nothing","Weight":5.0},{"Code":"hair-00"},{"Code":"hair-01"},{"Code":"hair-02"},{"Code":"hair-03"},{"Code":"hair-05"},{"Code":"hair-07"},{"Code":"hair-09"},{"Code":"hair-12"},{"Code":"hair-15"},{"Code":"hair-16"},{"Code":"hair-17"},{"Code":"hair-bald-horseshoe"},{"Code":"hair-bald-iroquis"},{"Code":"hair-bald-topknot"},{"Code":"hair-long-dreads"},{"Code":"hair-medium-afro"},{"Code":"hair-medium-basic"},{"Code":"hair-medium-layered"},{"Code":"hair-medium-spiky"},{"Code":"hair-short-indigenousbalding"},{"Code":"hair-short-sideshave"},{"Code":"hair-short-trimmed"}],
				// all traders other than luxuries use all arm
				"arm":[{"Code":"nothing","Weight":10.0},{"Code":"arm-beadedbracelet"},{"Code":"arm-bonebracer"},{"Code":"arm-braceletcopperl"},{"Code":"arm-braceletgoldl"},{"Code":"arm-braceletsilverl"},{"Code":"arm-braceletcopperr"},{"Code":"arm-braceletgoldr"},{"Code":"arm-braceletsilverr"},{"Code":"arm-filamentlamp"},{"Code":"arm-pugilistbracers"},{"Code":"arm-shoulderpouch"},{"Code":"arm-strings"},{"Code":"arm-tiedrope"}],
				// desert trader face has snowmask removed, non-luxuries have all four monocles removed
				"face":[{"Code":"nothing","Weight":25.0},{"Code":"face-goggles"},{"Code":"face-headband"},{"Code":"face-pincenez"},{"Code":"face-facemask"},{"Code":"face-metalmask1"},{"Code":"face-metalmask2"},{"Code":"face-oldmask"},{"Code":"face-plaguemask"},{"Code":"face-primitivegasmask"},{"Code":"face-scavengermask"},{"Code":"face-skullmask"},{"Code":"face-veil"},{"Code":"face-veiledgoggles"},{"Code":"face-wolfskull"},{"Code":"face-woodmask1"},{"Code":"face-woodmask2"},{"Code":"face-armor-bandageseye"},{"Code":"face-armor-leathermask"}],
				// desert trader foot has boots4 furboots1 furboots2 slippers2clogs removed
				"foot":[{"Code":"foot-boots1"},{"Code":"foot-boots2"},{"Code":"foot-boots3"},{"Code":"foot-reinforcedboots"},{"Code":"foot-sandals1"},{"Code":"foot-sandals2"},{"Code":"foot-sandals3"},{"Code":"foot-shoes1"},{"Code":"foot-slippers1"},{"Code":"foot-slippers2"},{"Code":"foot-slippers3"},{"Code":"foot-wraps1"},{"Code":"foot-wraps2"}],
				// desert traders have glovesfurlined removed
				"hand":[{"Code":"nothing","Weight":20.0},{"Code":"hand-abacus"},{"Code":"hand-glovesbonepin"},{"Code":"hand-glovescopperpin"},{"Code":"hand-gloveswork"},{"Code":"hand-glovesgardening"},{"Code":"hand-glovesforearm"},{"Code":"hand-glovesleather"},{"Code":"hand-glovesdirty"},{"Code":"hand-glovesreinforced"},{"Code":"hand-gloveswraps"},{"Code":"hand-ringssilverl"},{"Code":"hand-ringscopperl"},{"Code":"hand-ringsgoldl"},{"Code":"hand-ringssilverr"},{"Code":"hand-ringscopperr"},{"Code":"hand-ringsgoldr"}],
				// desert traders head has camohood chaperon coontailhat felthat nadiyanhat nadiyanhoodgreen nadiyanhoodeye nadiyanhoodtan trapperhat warm1 warm2 warm3 removed from head list
				"head":[{"Code":"nothing","Weight":20.0},{"Code":"head-beret"},{"Code":"head-bonyheadband"},{"Code":"head-crowcrown"},{"Code":"head-fez"},{"Code":"head-headwrap"},{"Code":"head-headwrapnoface"},{"Code":"head-keffiyeh"},{"Code":"head-minerhat"},{"Code":"head-skullcap"},{"Code":"head-turban"},{"Code":"head-bandages"},{"Code":"head-armor-leather"},{"Code":"head-armor-metal"}],
				// all traders use all lowerbody
				"lowerbody":[{"Code":"lowerbody-hose1sailor"},{"Code":"lowerbody-hose2"},{"Code":"lowerbody-hose3scholar"},{"Code":"lowerbody-hose4trapper"},{"Code":"lowerbody-hose5"},{"Code":"lowerbody-pants1striped"},{"Code":"lowerbody-pants2squaresbright"},{"Code":"lowerbody-pants3"},{"Code":"lowerbody-pants4"},{"Code":"lowerbody-pants5"},{"Code":"lowerbody-pants6bony"},{"Code":"lowerbody-pants7squaresdark"},{"Code":"lowerbody-pants8"},{"Code":"lowerbody-pants9"},{"Code":"lowerbody-pants10"},{"Code":"lowerbody-pants11"},{"Code":"lowerbody-pants12"},{"Code":"lowerbody-pantssuspender"}],
				// all traders use all neck, except luxuries
				"neck":[{"Code":"nothing","Weight":10.0},{"Code":"neck-bonenecklace"},{"Code":"neck-gearsamulet"},{"Code":"neck-teethnecklace"},{"Code":"neck-tradernecklacesilver"},{"Code":"neck-tradernecklacecopper"},{"Code":"neck-tradernecklacegold"}],
				// desert trader shoulder has furwrap removed
				"shoulder":[{"Code":"nothing","Weight":10.0},{"Code":"shoulder-aprontan"},{"Code":"shoulder-apronbrown"},{"Code":"shoulder-apronfancy"},{"Code":"shoulder-apronleather"},{"Code":"shoulder-bonejacket"},{"Code":"shoulder-longsleevebolero"},{"Code":"shoulder-sash"},{"Code":"shoulder-sashsimple"},{"Code":"shoulder-scarfgreen"},{"Code":"shoulder-scarfpoor"},{"Code":"shoulder-scarfred"},{"Code":"shoulder-shortsleeve-coat2"},{"Code":"shoulder-shortsleeve-desertwrapribbed"},{"Code":"shoulder-shortsleeve-jacket1forester"},{"Code":"shoulder-shortsleeve-jacket2shady"},{"Code":"shoulder-shortsleeve-jacket3capelet"},{"Code":"shoulder-shortsleeve-vest1"},{"Code":"shoulder-shortsleeve-vest2sailor"},{"Code":"shoulder-shortsleeve-vest3warm"},{"Code":"shoulder-shortsleeve-vest4scholar"},{"Code":"shoulder-shortsleeveextended-coat1"},{"Code":"shoulder-tiedrope"}],
				// desert trader upperbody has shirt12fur removed
				"upperbody":[{"Code":"upperbody-longsleeve-shirt1worn"},{"Code":"upperbody-longsleeve-shirt2worn"},{"Code":"upperbody-longsleeve-shirt3squared"},{"Code":"upperbody-longsleeve-shirt4embroidered"},{"Code":"upperbody-longsleeve-shirt5cheongsam"},{"Code":"upperbody-longsleeve-shirt6tattered"},{"Code":"upperbody-longsleeve-shirt7"},{"Code":"upperbody-longsleeve-shirt8spelunker"},{"Code":"upperbody-longsleeve-shirt9raggedy"},{"Code":"upperbody-longsleeve-shirt10squared"},{"Code":"upperbody-longsleeve-shirt11dark"},{"Code":"upperbody-longsleeve-shirt13fishnet"},{"Code":"upperbody-longsleeve-shirt14pastoral"},{"Code":"upperbody-shortsleeve-shirt15"},{"Code":"upperbody-shortsleeve-shirt16"},{"Code":"upperbody-shortsleeve-shirt17patched"}],
				// desert trader upperbodyover has overshirt1furvest removed, and has a higher nothing chance than others
				"upperbodyover":[{"Code":"nothing","Weight":10.0},{"Code":"upperbodyover-shortsleeve-overshirt2"},{"Code":"upperbodyover-shortsleeve-overshirt3peltvest"},{"Code":"upperbodyover-shortsleeve-overshirt4vest"},{"Code":"upperbodyover-shortsleeve-overshirt5"},{"Code":"upperbodyover-shortsleeve-overshirt6fancyvest"},{"Code":"upperbodyover-armor-bandages"},{"Code":"upperbodyover-armor-leather"},{"Code":"upperbodyover-armor-metal"},{"Code":"upperbodyover-armor-wicker"}],
				// all traders use all waist
				"waist":[{"Code":"waist-abacus"},{"Code":"waist-beltkit"},{"Code":"waist-beltwithstring"},{"Code":"waist-beltwithtrim"},{"Code":"waist-chisel"},{"Code":"waist-climbingbelt"},{"Code":"waist-dagger"},{"Code":"waist-driedherbs"},{"Code":"waist-drill"},{"Code":"waist-girdlesilver"},{"Code":"waist-girdlecopper"},{"Code":"waist-girdlegold"},{"Code":"waist-sashcentergreen"},{"Code":"waist-sashcenterred"},{"Code":"waist-sashleftgreen"},{"Code":"waist-sashleftred"},{"Code":"waist-hammer"},{"Code":"waist-handsaw"},{"Code":"waist-ledger"},{"Code":"waist-panningbowl"},{"Code":"waist-pouchblue"},{"Code":"waist-sack"},{"Code":"waist-spyglass"},{"Code":"waist-tiedrope"}]
			}
		}
	},
	server: {
		attributes: {
			pathfinder: {
				minTurnAnglePerSec: 720,
				maxTurnAnglePerSec: 1440
			}
		},
		behaviors: [
			{ code: "nametag", "showtagonlywhentargeted": true, selectFromRandomName: ["Chaska", "Iveta", "Reah", "Lenka", "Virág", "Tsatse", "Sigourney", "Yura", "Crow", "Luta", "Halona", "Fletcher", "Ren", "Guldasta", "Wulf", "Silver", "Abria", "Aida", "Sarah", "Karin", "Havadi", "Zdenka", "Ea", "Denef", "Briar", "Blithe", "Sprig", "Grit", "Bounder", "Quill", "Edel", "Shift", "Whel"] },
			{ code: "repulseagents" },
			{ code: "controlledphysics", stepHeight: 1.01 },
			{ code: "reviveondeath", minHours: 24, maxHours: 72 },
			{ code: "health", currenthealth: 25, maxhealth: 25 },
			{
				code: "emotionstates",
				states: [
					{ code: "aggressiveondamage", duration: 6, chance: 0.6, slot: 0, priority: 2, accumType: "noaccum" },
					{ code: "fleeondamage", duration: 10, chance: 0.4, slot: 0, priority: 1, accumType: "max" }
				],
			},
			{
				code: "taskai",
				aitasks: [
					{
						code: "meleeattack",
						entityCodes: ["player"],
						priority: 2,
						damage: 5,
						mincooldown: 2500,
						maxcooldown: 3500,
						attackDurationMs: 900,
						damagePlayerAtMs: 300,
						animation: "Attack",
						animationSpeed: 2,
						whenInEmotionState: "aggressiveondamage",
					},
					{
						code: "seekentity",
						entityCodes: ["player"],
						priority: 1.5,
						mincooldown: 1000,
						maxcooldown: 1500,
						seekingRange: 20,
						movespeed: 0.035,
						animation: "Run",
						animationSpeed: 1.75,
						whenInEmotionState: "aggressiveondamage"
					},
					{
						code: "fleeentity",
						entityCodes: ["player"],
						priority: 1.5,
						movespeed: 0.035,
						seekingRange: 12,
						animation: "Run",
						animationSpeed: 1.75,
						whenInEmotionState: "fleeondamage"
					},
					{
						code: "idle",
						priority: 1.2,
						minduration: 2500,
						maxduration: 2500,
						mincooldown: 2000,
						maxcooldown: 10000,
						animation: "laugh"
					},
					{
						code: "idle",
						priority: 1.2,
						minduration: 2500,
						maxduration: 2500,
						mincooldown: 5000,
						maxcooldown: 30000,
						animation: "idle2"
					},
					{
						code: "wander",
						priority: 1.0,
						movespeed: 0.01,
						animation: "Walk",
						executionChance: 0.005,
						maxDistanceToSpawn: 4,
						wanderRangeMin: 1,
						wanderRangeMax: 3
					},
					{
						code: "lookaround",
						priority: 0.5
					}
				]
			},
            { code: "conversable", dialogueByType: { "*-treasurehunter-*": "config/dialogue/treasurehunter", "*": "config/dialogue/trader" } },
			{ code: "entitystatetags" }
		],
	},
	sounds: {
	}
}
