ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1
NameScript
Lowest Price
Q1MedianMeanModeQ3
Highest Price
Highest-Lowest
Lowest Price Level
Highest Price Level
Lowest Price Items
Highest Price Items
2
Oathtakerpaladin_background306054707030764736909340176901463013Military Pick | Adorned Mail Shirt | Heavy Mail Coif
Greatsword | Adorned Heavy Mail Hauberk | Adorned Full Helm
3
Oathtaker (Event)old_paladin_background306053706880755136909190173201426013Military Pick | Adorned Mail Shirt | Heavy Mail Coif
Fighting Axe | Wooden Shield | Adorned Heavy Mail Hauberk | Adorned Full Helm
4
Hedge Knighthedge_knight_background373065808100833488509850148501112025Two-Handed Flanged Mace | Worn Mail Shirt | Mail Coif
Greatsword | Scale Armor | Bascinet with Mail
5
Gladiatorgladiator_background27705180662066695620793010680791024Swordlance | Gladiator Harness
Shamshir | Sipar Shield | Gladiator Harness | Gladiator Helmet
6
Sellswordsellsword_background1480327041704190464050807330585024Falchion | Padded Leather
Greataxe | Mail Shirt | Padded Kettle hat
7
Swordmasterswordmaster_background3440465060205805608067008900546035Arming Sword | Linen Tunic
Noble Sword | Padded Leather | Duelist's Hat
8
Adventurous Nobleadventurous_noble_background2090353041904242328049007190510013Handaxe | Kite Shield | Basic Mail Shirt
Winged Mace | Heater Shield | Mail Hauberk | Nasal Helmet with Mail
9
Raiderraider_background1660285035803624358043905760410024Falchion | Wooden Shield | Padded Leather
Flail | Wooden Shield | Worn Mail Shirt | Nasal Helmet With Rusty Mail
10
Disowned Nobledisowned_noble_background480125018401857126023804050357013Militia Spear | Padded Surcoat
Shortsword | Wooden Shield | Mail Hauberk | Padded Nasal Helmet
11
Lindwurm Slayerlindwurm_slayer_background3910475054705509562061607440353011Fighting Spear | Buckler | Leather Scale Armor | Headscarf
Noble Sword | Buckler | Noble Mail | Duelist's Hat
12
Bastardbastard_background660149020402087149026604030337013Shortsword | Padded Surcoat
Handaxe | Wooden Shield | Basic Mail Shirt | Padded Nasal Helmet
13
Barbarianbarbarian_background1500210028202948289038904480298024Blunt Cleaver | Thick Furs
Axehammer | Hide and Bone Armor | Leather Helmet
14
Squiresquire_background51084012701557129027503480297011Hatchet | Leather Tunic
Winged Mace | Wooden Shield | Padded Leather | Nasal Helmet
15
Nomadnomad_background1020163023602450248033503980296024Nomad Mace | Adarga Shield | Nomad Robe
Falchion | Adarga Shield | Stitched Nomad Armor | Nomad Light Helmet
16
Assassinassassin_southern_background1700273033503128450043804500280011Dagger | Smoke Pot | Thick Nomad Robe | Assassin's Head Wrap
Qatal Dagger | Flash Pot | Assassin's Robe | Assassin's Head Wrap
17
Nomad (Ranged)nomad_ranged_background1240160024402525233035203870263024Nomad Sling | Nomad Robe
Composite Bow | Stitched Nomad Armor | Nomad Light Helmet | Quiver of Arrows
18
Retired Soldierretired_soldier_background1460214026202607331030604060260023Shortsword | Wooden Shield | Padded Leather
Handaxe | Wooden Shield | Basic Mail Shirt | Padded Nasal Helmet
19
Militiamilitia_background27079011401141129014402290202012Bludgeon | Linen Tunic
Handaxe | Buckler | Leather Lamellar Armor | Full Aketon Cap
20
Witchhunterwitchhunter_background770127018401701184021902790202013Light Crossbow | Rugged Surcoat | Witchhunter's Hat | Quiver of Bolts
Crossbow | Rugged Surcoat | Witchhunter's Hat | Quiver of Bolts | Knife
21
Beast Slayerbeast_hunter_background990167019001992172025902740175023Bundle of Javelins | Leather Tunic
Boar Spear | Throwing Net | Rugged Surcoat | Hood
22
Wildmanwildman_background15053078081173010901590144012Wooden Stick
Boar Spear | Leather Wraps
23
Anatomistanatomist_background40059065077959010401670127011Knife | Undertaker's Apron | Undertaker's Hat
Dagger | Reinforced Leather Armor | Masked Kettle Helmet
24
Deserterdeserter_background28051078076850010201290101012Bludgeon | Leather Tunic
Hatchet | Wooden Shield | Gambeson | Full Aketon Cap
25
Lumberjacklumberjack_background42050071084013401310139097011Hatchet | Linen Tunic
Handaxe | Padded Surcoat | Hood
26
Gladiator (Event)old_gladiator_background206020602060243420602810281075033Gladiator Harness
Gladiator Harness
27
Caravan Hand (South)caravan_hand_southern_background15028043047229068082067011Knife | Cloth Sash
Light Southern Mace | Padded Vest | Southern Head Wrap
28
Caravan Handcaravan_hand_background20036046047242060084064011Knife | Leather Tunic
Shortsword | Padded Leather | Open Leather Cap
29
Cultistcultist_background12027035037032050075063011Knife | Tattered Sackcloth | Cultist Hood
Dagger | Cultist Leather Robe | Cultist Leather Hood
30
Hunterhunter_background105011001170134915901600167062012Hunting Bow | Leather Tunic | Hood | Quiver of Arrows
Hunting Bow | Rugged Surcoat | Hunter's Hat | Quiver of Arrows | Knife
31
Manhuntermanhunter_background29036046058136079091062011Wooden Stick | Throwing Net | Nomad Robe
Battle Whip | Throwing Net | Thick Nomad Robe | Southern Head Wrap
32
Bowyerbowyer_background450450550724450950105060011Short Bow | Apron | Quiver of Arrows
Hunting Bow | Apron | Feathered Hat | Quiver of Arrows
33
Graverobbergraverobber_background19026041040523049075056011Knife | Leather Wraps | Headscarf
Broken Ancient Sword | Rugged Surcoat | Ancient Household Helmet
34
Flagellantflagellant_background6011016024411046055049011Tattered Sackcloth
Reinforced Wooden Flail | Monk's Robe | Hood
35
Poacherpoacher_background34041047049349054076042011Wonky Bow | Leather Wraps | Hood | Quiver of Arrows
Short Bow | Rugged Surcoat | Hood | Quiver of Arrows | Militia Spear
36
Shepherd (South)shepherd_southern_background15016053040854054054039011Sackcloth | Southern Head Wrap
Nomad Sling | Cloth Sash | Southern Head Wrap
37
Jugglerjuggler_background14018026029218040049035011Linen Tunic
Hatchet | Linen Tunic | Jester's Hat
38
Peddlerpeddler_background12012016023112035045033011Linen Tunic
Dagger | Linen Tunic | Feathered Hat
39
Farmhandfarmhand_background12017020022819028041029011Sackcloth
Pitchfork | Linen Tunic | Straw Hat
40
Peddlerpeddler_southern_background10014014020514033039029011Cloth Sash
Dagger | Cloth Sash | Southern Head Wrap
41
Thiefthief_background20024039033343043046026011Knife | Sackcloth | Headscarf
Dagger | Leather Tunic | Hood
42
Minstrelminstrel_background13023028027238038038025011Linen Tunic
Lute | Linen Tunic | Feathered Hat
43
Shepherdshepherd_background16022035031438038041025011Sackcloth | Straw Hat
Staff Sling | Leather Tunic | Straw Hat
44
Killer on the Runkiller_on_the_run_background21023023031423042042021011Knife | Linen Tunic | Hood
Dagger | Leather Tunic | Hood
45
Vagabondvagabond_background7015017017617021027020011Tattered Sackcloth
Knife | Leather Tunic | Straw Hat
46
Fishermanfisherman_background16021023024323029033017011Throwing Net | Sackcloth
Knife | Throwing Net | Leather Tunic | Straw Hat
47
Gamblergambler_background12012012015912019029017011Linen Tunic
Noble Tunic | Feathered Hat
48
Beggarbeggar_background307080838012018015011Tattered Sackcloth
Wooden Stick | Leather Wraps | Hood
49
Beggar (South)beggar_southern_background307080828012018015011Tattered Sackcloth
Wooden Stick | Leather Wraps | Nomad Head Wrap
50
Cripplecripple_background307080828012018015011Tattered Sackcloth
Wooden Stick | Leather Wraps | Hood
51
Cripple (South)cripple_southern_background307080838012018015011Tattered Sackcloth
Wooden Stick | Leather Wraps | Nomad Head Wrap
52
Eunuch (South)eunuch_southern_background10010024017224024024014011Cloth SashPadded Vest
53
Houndmasterhoundmaster_background21027028027835035035014011Rugged Surcoat
Throwing Net | Rugged Surcoat | Open Leather Cap
54
Companion (1H)companion_1h_background54057059059357063067013011Militia Spear | Wooden Shield | Padded Surcoat | Open Leather Cap
Militia Spear | Wooden Shield | Gambeson | Full Aketon Cap
55
Daytaler (South)daytaler_southern_background901001301259015021012011Sackcloth
Wooden Stick | Cloth Sash | Southern Head Wrap
56
Gravediggergravedigger_background509012011817014017012011Tattered Sackcloth
Knife | Sackcloth | Hood
57
Tailor (South)tailor_southern_background90901101379019021012011Cloth Sash
Linen Tunic | Feathered Hat
58
Daytalerdaytaler_background901201301289016020011011Sackcloth
Knife | Linen Tunic | Headscarf
59
Butcherbutcher_background19019029025729029029010011Knife | Butcher's Apron
Butcher's Cleaver | Butcher's Apron
60
Butcher (South)butcher_southern_background19019029025729029029010011Knife | Butcher's Apron
Butcher's Cleaver | Butcher's Apron
61
Historianhistorian_background16016016018416016026010011Linen Tunic
Linen Tunic | Feathered Hat
62
Messengermessenger_background12015017017720020022010011Linen Tunic
Leather Tunic | Straw Hat
63
Tailortailor_background11011011015911021021010011Linen Tunic
Linen Tunic | Feathered Hat
64
Companion (1H South)companion_1h_southern_background12301240130012881320132013209011Fire Lance | Adarga Shield | Thick Nomad Robe | Southern Head Wrap
Fire Lance | Adarga Shield | Padded Vest | Leather Head Wrap
65
Companion (2H)companion_2h_background6506706806906707307409011Woodcutter's Axe | Padded Surcoat | Headscarf
Woodcutter's Axe | Gambeson | Hood
66
Companion (2H South)companion_2h_southern_background7908008708498808808809011Two-Handed Mallet | Thick Nomad Robe | Southern Head Wrap
Two-Handed Mallet | Leather Nomad Robe | Leather Head Wrap
67
Gambler (South)gambler_southern_background1001001001171001001909011Cloth SashNoble Tunic
68
Indebtedslave_background1902002102152202202708011Tattered SackclothLeather Wraps
69
Indebted (South)slave_southern_background1902002102141902202708011Leather Wraps
70
Companion (Ranged South)
companion_ranged_southern_background7507508207968208208207011
Composite Bow | Thick Nomad Robe | Southern Head Wrap | Quiver of Arrows | Knife
Composite Bow | Leather Nomad Robe | Southern Head Wrap | Quiver of Arrows | Knife
71
Refugeerefugee_background4040707240901107011Tattered Sackcloth
Wooden Stick | Sackcloth
72
Historianhistorian_southern_background1401401401551401402006011Cloth Sash
Cloth Sash | Southern Head Wrap
73
Brawlerbrawler_background1301301501541501801805011Tattered SackclothLeather Wraps
74
Fisherman (South)fisherman_southern_background2202202302452202602705011Throwing Net | Sackcloth | Southern Head Wrap
Knife | Throwing Net | Cloth Sash | Southern Head Wrap
75
Companion (Ranged)companion_ranged_background5505505905705905905904011Light Crossbow | Thick Tunic | Quiver of Bolts | Knife
Light Crossbow | Rugged Surcoat | Quiver of Bolts | Knife
76
Millermiller_background1301301301441301601704011Linen Tunic
Wooden Stick | Linen Tunic
77
Servantservant_background7070110901101101104011SackclothLinen Tunic
78
Thief (South)thief_southern_background2102102202272502502504011Knife | Sackcloth | Nomad Head Wrap
Knife | Nomad Robe | Nomad Head Wrap
79
Apprenticeapprentice_background1501501601631501801803011Linen TunicLeather Tunic
80
Eunucheunuch_background1201201501351501501503011Linen TunicLeather Tunic
81
Minerminer_background2402402402502402602602011Pickaxe | Sackcloth
Pickaxe | Sackcloth | Mouth Piece
82
Ratcatcherratcatcher_background1101101301201301301302011Throwing Net | Tattered Sackcloth
Throwing Net | Sackcloth
83
Servant (South)servant_southern_background707090809090902011SackclothCloth Sash
84
Assassinassassin_background4050405040504050405040504050044Rondel Dagger | Dark Thick Tunic | Hood
Rondel Dagger | Dark Thick Tunic | Hood
85
Crusadercrusader_background21140211402114021140211402114021140099Greatsword | Mail Hauberk | Full Helm
Greatsword | Mail Hauberk | Full Helm
86
Juggler (South)juggler_southern_background120120120120120120120011Cloth SashCloth Sash
87
Masonmason_background150150150150150150150011Linen TunicLinen Tunic
88
Monkmonk_background120120120120120120120011Monk's RobeMonk's Robe
89
Orc Slayerorc_slayer_background15270152701527015271152701527015270099Two-Handed Hammer | Mail Hauberk
Two-Handed Hammer | Mail Hauberk
90
Pimppimp_background290290290290290290290011Noble Tunic | Feathered Hat
Noble Tunic | Feathered Hat
91
92
93
Notes:
94
Generated by creating 3000 of each background, rolling their random equipment, levels etc, then recording the values
95
Script to generate(using DevConsole):
96
local NUM_RUNS = 3000;

local backgrounds = this.IO.enumerateFiles("scripts/skills/backgrounds/");
local backgroundsToSkip = [
"scripts/skills/backgrounds/belly_dancer_background",
"scripts/skills/backgrounds/character_background",
"scripts/skills/backgrounds/converted_cultist_background",
"scripts/skills/backgrounds/crucified_background",
"scripts/skills/backgrounds/monk_turned_flagellant_background",
"scripts/skills/backgrounds/pacified_flagellant_background",
"scripts/skills/backgrounds/regent_in_absentia_background",
"scripts/skills/backgrounds/kings_guard_background",
"scripts/skills/backgrounds/gladiator_origin_background",
"scripts/skills/backgrounds/slave_barbarian_background",
]

local roster = this.World.createRoster(9876);
local dude, dudeBackground, price, result;
dude = roster.create("scripts/entity/tactical/player");
dude.setName = function(_name = null){};

local function setVals(_table)
{
_table.HiringCost = price;
_table.Level = dudeBackground.m.Level;
_table.Items = ""
foreach (item in dude.getItems().getAllItems()){
_table.Items += item.getName() + " | ";
}
if(_table.Items.len() > 0)
_table.Items = _table.Items.slice(0, _table.Items.len() - 3)
}

foreach(background in backgrounds)
{
// Skip some event ones that don't have any variance
if (backgroundsToSkip.find(background) != null)
{
continue;
}

price = 0;
result = {
Name = "",
ShortBackground = split(background, "/")[3],
Lowest = {
HiringCost = 99999,
Level = 0,
Items = ""
},
Highest = {
HiringCost = 0,
Level = 0,
Items = ""
},
Mean = 0,
FrequencyTable = {},
Mode = 0,
FirstQ = 0,
Median = 0,
ThirdQ = 0,
ModeFreq = 0,
Total = 0,
AllPrices = []
}

for (local i = 0; i < NUM_RUNS; ++i)
{
dude.m.Items = this.new("scripts/items/item_container");
dude.m.Items.setActor(dude);
dude.m.Skills = this.new("scripts/skills/skill_container");
dude.m.Skills.setActor(dude);
dude.m.HiringCost = 0;
dudeBackground = this.new(background);
dude.m.Skills.add(dudeBackground);
dudeBackground.addEquipment();

if (result.Name == ""){
result.Name = dudeBackground.m.Name;
};
price = dude.getHiringCost();
result.Total += price;
result.AllPrices.push(price);
if (!(price in result.FrequencyTable)){
result.FrequencyTable[price] <- 1;
}
else {
result.FrequencyTable[price] += 1;
};
if (price < result.Lowest.HiringCost){
setVals(result.Lowest);
};
if (price > result.Highest.HiringCost){
setVals(result.Highest);
};
};
result.Mean = this.Math.round(result.Total / result.AllPrices.len());
foreach(price, freq in result.FrequencyTable)
{
if (freq > result.ModeFreq)
{
result.ModeFreq = freq;
result.Mode = price;
};
};
result.AllPrices.sort();
result.FirstQ = result.AllPrices[(0.25 * result.AllPrices.len()).tointeger()];
result.Median = result.AllPrices[(0.50 * result.AllPrices.len()).tointeger()];
result.ThirdQ = result.AllPrices[(0.75 * result.AllPrices.len()).tointeger()];

::logInfo(
result.Name + "," +
result.ShortBackground + "," +
result.Mean + "," +
result.Mode + "," +
result.Lowest.HiringCost + "," +
result.FirstQ + "," +
result.Median + "," +
result.ThirdQ + "," +
result.Highest.HiringCost + "," +
result.Lowest.Items + "," +
result.Lowest.Level + "," +
result.Highest.Items + "," +
result.Highest.Level
)
}
97
98
99
100