Example #1
0
# prijzen nog bepalen

boots = DotDict({
    'emptyboots': DotDict(name="Empty Boots",             raw="emptyboots",      value=0,    shop=False, weight=0, protection=0, sort=0),

    'leatherboots': DotDict(name="Leather Boots",         raw="leatherboots",    value=100,  shop=True,  weight=1, protection=1, sort=1),
    'bronzeboots': DotDict(name="Bronze Boots",           raw="bronzeboots",     value=200,  shop=True,  weight=2, protection=2, sort=2),
    'ironboots': DotDict(name="Iron Boots",               raw="ironboots",       value=400,  shop=True,  weight=3, protection=3, sort=3),
    'steelboots': DotDict(name="Steel Boots",             raw="steelboots",      value=800,  shop=True,  weight=4, protection=4, sort=4),
    'silverboots': DotDict(name="Silver Boots",           raw="silverboots",     value=1600, shop=True,  weight=5, protection=5, sort=5),
    'titaniumboots': DotDict(name="Titanium Boots",       raw="titaniumboots",   value=3200, shop=False, weight=1, protection=5, sort=6),

    'bootsofmotion': DotDict(name="Boots of Motion",      raw="bootsofmotion",   value=1000, shop=True,  weight=2, protection=1, movepoints=1, sort=7),
    'bootsofmotion+': DotDict(name="Boots of Motion +",   raw="bootsofmotion+",  value=1100, shop=False, weight=3, protection=2, movepoints=1, sort=8),
    'bootsofspeed': DotDict(name="Boots of Speed",        raw="bootsofspeed",    value=2000, shop=True,  weight=2, protection=1, movepoints=2, sort=9),
    'bootsofspeed+': DotDict(name="Boots of Speed +",     raw="bootsofspeed+",   value=2200, shop=False, weight=3, protection=2, movepoints=2, sort=10),
    'woodsmansboots': DotDict(name="Woodsman's Boots",    raw="woodsmansboots",  value=1000, shop=True,  weight=2, protection=1, ranger=1,     sort=11),
    'woodsmansboots+': DotDict(name="Woodsman's Boots +", raw="woodsmansboots+", value=1100, shop=False, weight=3, protection=2, ranger=1,     sort=12),
    'silenceboots': DotDict(name="Silence Boots",         raw="silenceboots",    value=1000, shop=True,  weight=2, protection=1, stealth=1,    sort=13),
    'silenceboots+': DotDict(name="Silence Boots +",      raw="silenceboots+",   value=1100, shop=False, weight=3, protection=2, stealth=1,    sort=14)
})

for boot in boots.values():
    if 'movepoints' not in boot:
        boot.movepoints = None
    if 'ranger' not in boot:
        boot.ranger = None
    if 'stealth' not in boot:
        boot.stealth = None
Example #2
0
    'covercloak': DotDict(name="Cover Cloak",                  raw="covercloak",         value=100,   shop=True,  weight=1,                stealth=1, sort=3),
    'covercloak+': DotDict(name="Cover Cloak +",               raw="covercloak+",        value=110,   shop=False, weight=2, protection=1,  stealth=1, sort=4),
    'darkcloak': DotDict(name="Dark Cloak",                    raw="darkcloak",          value=300,   shop=True,  weight=1,                stealth=2, sort=5),
    'darkcloak+': DotDict(name="Dark Cloak +",                 raw="darkcloak+",         value=330,   shop=False, weight=2, protection=1,  stealth=2, sort=6),
    'disguisecloak': DotDict(name="Disguise Cloak",            raw="disguisecloak",      value=700,   shop=True,  weight=1,                stealth=3, sort=7),
    'disguisecloak+': DotDict(name="Disguise Cloak +",         raw="disguisecloak+",     value=770,   shop=False, weight=2, protection=1,  stealth=3, sort=8),
    'concealcloak': DotDict(name="Conceal Cloak",              raw="consealcloak",       value=1500,  shop=True,  weight=1,                stealth=4, sort=9),
    'concealcloak+': DotDict(name="Conceal Cloak +",           raw="consealcloak+",      value=1650,  shop=False, weight=2, protection=1,  stealth=4, sort=10),
    'nightcloak': DotDict(name="Night Cloak",                  raw="nightcloak",         value=3100,  shop=True,  weight=1,                stealth=5, sort=11),
    'nightcloak+': DotDict(name="Night Cloak +",               raw="nightcloak+",        value=3410,  shop=False, weight=2, protection=1,  stealth=5, sort=12),
    'stealthcloak': DotDict(name="Stealth Cloak",              raw="stealthcloak",       value=6300,  shop=True,  weight=1,                stealth=6, sort=13),
    'stealthcloak+': DotDict(name="Stealth Cloak +",           raw="stealthcloak+",      value=6930,  shop=False, weight=2, protection=1,  stealth=6, sort=14),
    'phantomcloak': DotDict(name="Phantom Cloak",              raw="phantomcloak",       value=12700, shop=True,  weight=1,                stealth=7, sort=15),
    'phantomcloak+': DotDict(name="Phantom Cloak +",           raw="phantomcloak+",      value=13970, shop=False, weight=2, protection=1,  stealth=7, sort=16),
    'invisibilitycloak': DotDict(name="Invisibility Cloak",    raw="invisibilitycloak",  value=25500, shop=True,  weight=1,                stealth=8, sort=17),
    'invisibilitycloak+': DotDict(name="Invisibility Cloak +", raw="invisibilitycloak+", value=28050, shop=False, weight=2, protection=1,  stealth=8, sort=18),

    'silkcloak': DotDict(name="Silk Cloak",                    raw="silkcloak",          value=2500,  shop=True,  weight=1,                thief=1, sort=19),
    'silkcloak+': DotDict(name="Silk Cloak +",                 raw="silkcloak+",         value=2750,  shop=False, weight=2, protection=1,  thief=1, sort=20),
    'thievescloak': DotDict(name="Thieves Cloak",              raw="thievescloak",       value=5000,  shop=True,  weight=1,                thief=2, sort=21),
    'thievescloak+': DotDict(name="Thieves Cloak +",           raw="thievescloak+",      value=5500,  shop=False, weight=2, protection=1,  thief=2, sort=22)
})

for cloak in cloaks.values():
    if 'protection' not in cloak:
        cloak.protection = None
    if 'stealth' not in cloak:
        cloak.stealth = None
    if 'thief' not in cloak:
        cloak.thief = None
Example #3
0
    'silverhelmet': DotDict(name="Silver Helmet",             raw="silverhelmet",      value=12100, shop=True,  weight=5, protection=5, sort=5),
    'titaniumhelmet': DotDict(name="Titanium Helmet",         raw="titaniumhelmet",    value=24300, shop=False, weight=1, protection=5, sort=6),

    'helmofknowledge': DotDict(name="Helm of Knowledge",      raw="helmofknowledge",   value=5500,  shop=True,  weight=2, protection=1, intelligence=2, sort=7),
    'helmofknowledge+': DotDict(name="Helm of Knowledge +",   raw="helmofknowledge+",  value=6050,  shop=False, weight=3, protection=2, intelligence=2, sort=8),
    'helmofwisdom': DotDict(name="Helm of Wisdom",            raw="helmofwisdom",      value=5500,  shop=True,  weight=2, protection=1, willpower=2,    sort=9),
    'helmofwisdom+': DotDict(name="Helm of Wisdom +",         raw="helmofwisdom+",     value=6050,  shop=False, weight=3, protection=2, willpower=2,    sort=10),
    'helmofcharisma': DotDict(name="Helm of Charisma",        raw="helmofcharisma",    value=6600,  shop=True,  weight=2, protection=1, diplomat=1,     sort=11),
    'helmofcharisma+': DotDict(name="Helm of Charisma +",     raw="helmofcharisma+",   value=7260,  shop=False, weight=3, protection=2, diplomat=1,     sort=12),
    'helmofinsight': DotDict(name="Helm of Insight",          raw="helmofinsight",     value=7700,  shop=True,  weight=2, protection=1, loremaster=1,   sort=13),
    'helmofinsight+': DotDict(name="Helm of Insight +",       raw="helmofinsight+",    value=8470,  shop=False, weight=3, protection=2, loremaster=1,   sort=14),
    'helmofcognizance': DotDict(name="Helm of Cognizance",    raw="helmofcognizance",  value=9900,  shop=True,  weight=2, protection=1, scientist=1,    sort=15),
    'helmofcognizance+': DotDict(name="Helm of Cognizance +", raw="helmofcognizance+", value=10890, shop=False, weight=3, protection=2, scientist=1,    sort=16),
    'helmoftempests': DotDict(name="Helm of Tempests",        raw="helmoftempests",    value=8800,  shop=True,  weight=2, protection=1, warrior=1,      sort=17),
    'helmoftempests+': DotDict(name="Helm of Tempests +",     raw="helmoftempests+",   value=9680,  shop=False, weight=3, protection=2, warrior=1,      sort=18)
})

for helmet in helmets.values():
    if 'intelligence' not in helmet:
        helmet.intelligence = None
    if 'willpower' not in helmet:
        helmet.willpower = None
    if 'diplomat' not in helmet:
        helmet.diplomat = None
    if 'loremaster' not in helmet:
        helmet.loremaster = None
    if 'scientist' not in helmet:
        helmet.scientist = None
    if 'warrior' not in helmet:
        helmet.warrior = None