from Scripts.utilities.items import myItem spellScrolls = { # First Circle 'Clumsy scroll': myItem( 'Clumsy scroll', 0x1F2E, 0x0000, 'magic scroll', 1 ), 'Create Food scroll': myItem( 'Create Food scroll', 0x1F2F, 0x0000, 'magic scroll', 1 ), 'Feeblemind scroll': myItem( 'Feeblemind scroll', 0x1F30, 0x0000, 'magic scroll', 1 ), 'Heal scroll': myItem( 'Heal scroll', 0x1F31, 0x0000, 'magic scroll', 1 ), 'Magic Arrow scroll': myItem( 'Magic Arrow scroll', 0x1F32, 0x0000, 'magic scroll', 1 ), 'Night Sight scroll': myItem( 'Night Sight scroll', 0x1F33, 0x0000, 'magic scroll', 1 ), 'Reactive Armor scroll': myItem( 'Reactive Armor scroll', 0x1F2D, 0x0000, 'magic scroll', 1 ), 'Weaken scroll': myItem( 'Weaken scroll', 0x1F34, 0x0000, 'magic scroll', 1 ), # Second Circle 'Agility scroll': myItem( 'Agility scroll', 0x1F35, 0x0000, 'magic scroll', 1 ), 'Cunning scroll': myItem( 'Cunning scroll', 0x1F36, 0x0000, 'magic scroll', 1 ), 'Cure scroll': myItem( 'Cure scroll', 0x1F37, 0x0000, 'magic scroll', 1 ), 'Harm scroll': myItem( 'Harm scroll', 0x1F38, 0x0000, 'magic scroll', 1 ), 'Magic Trap scroll': myItem( 'Magic Trap scroll', 0x1F39, 0x0000, 'magic scroll', 1 ), 'Magic Untrap scroll': myItem( 'Magic Untrap scroll', 0x1F3A, 0x0000, 'magic scroll', 1 ), 'Protection scroll': myItem( 'Protection scroll', 0x1F3B, 0x0000, 'magic scroll', 1 ), 'Strength scroll': myItem( 'Strength scroll', 0x1F3C, 0x0000, 'magic scroll', 1 ), # Third Circle 'Bless scroll': myItem( 'Bless scroll', 0x1F3D, 0x0000, 'magic scroll', 1 ), 'Fireball scroll': myItem( 'Fireball scroll', 0x1F3E, 0x0000, 'magic scroll', 1 ), 'Magic Lock scroll': myItem( 'Magic Lock scroll', 0x1F3F, 0x0000, 'magic scroll', 1 ), 'Poison scroll': myItem( 'Poison scroll', 0x1F40, 0x0000, 'magic scroll', 1 ), 'Telekinesis scroll': myItem( 'Telekinesis scroll', 0x1F41, 0x0000, 'magic scroll', 1 ), 'Teleport scroll': myItem( 'Teleport scroll', 0x1F42, 0x0000, 'magic scroll', 1 ), 'Unlock scroll': myItem( 'Unlock scroll', 0x1F43, 0x0000, 'magic scroll', 1 ),
from Scripts.utilities.items import myItem from System.Collections.Generic import List containers = { 'backpack': myItem('backpack', 0x0E75, 0x0000, 'container', 1), 'bag': myItem('bag', 0x0E76, 0x0000, 'container', 1), 'barrel': myItem('barrel', 0x0E77, 0x0000, 'container', 1), 'crate': myItem('crate', 0x0E7E, 0x0000, 'container', 1), 'hatch': myItem('hatch', 0x3EAE, 0x0000, 'container', None), # Can't be carried 'metal chest (east/west)': myItem('metal chest', 0x0E7C, 0x0000, 'container', 1), 'metal chest (north/south)': myItem('metal chest', 0x2DF3, 0x0000, 'container', 1), 'ornate elven chest': myItem('ornate elven chest', 0x0E79, 0x0000, 'container', 1), 'pouch': myItem('pouch', 0x0E79, 0x0000, 'container', 1), 'trash barrel': myItem('trash barrel', 0x0E77, 0x03B2, 'container', 1), 'wooden box': myItem('wooden box', 0x0E7D, 0x0000, 'container', 1), 'wooden chest': myItem('wooden chest', 0x0E43, 0x0000, 'container', 1), 'trash pouch': myItem('trash pouch', 0x09B0, 0x09c4, 'container', 1), }
from Scripts.utilities.items import myItem cloth = { 'cut cloth': myItem('cut cloth', 0x1767, 0x07C2, 'tailoring', 10), 'pile of folded besotted cloth': myItem('pile of folded besotted cloth', 0x1766, 0x0000, 'tailoring', 1), 'piles of hides': myItem('piles of hides', 0x1079, 0x0000, 'tailoring', 10), 'pieces of leather': myItem('pieces of leather', 0x1081, 0x0000, 'tailoring', 1) }
from Scripts.utilities.items import myItem food = { 'dragon fruit': myItem(name='dragon fruit', itemID=0x0C65, color=0x0494, category='food', weight=1), 'muffins': myItem(name='muffins', itemID=0x09EB, color=0x0000, category='food', weight=1) }
from Scripts.utilities.items import myItem bodyParts = { ### Body Parts ### 'bone pile': myItem('bone pile', 0x1B10, 0x0000, 'body part', 10), 'bone shards': myItem('bone shards', 0x1B1A, 0x0000, 'body part', 1), 'bones of a temptress': myItem('bones of a temptress', 0x1B10, 0x0A4D, 'body part', 10), 'dragon bone shards': myItem('dragon bone shards', 0x1B1A, 0x09C2, 'body part', 1), 'dragon scales': myItem('dragon scales', 0x26B4, 0x0000, 'body part', 0.1), 'dragon scales (red)': myItem('dragon scales (red)', 0x26B4, 0x066D, 'body part', 0.1), 'dragon scales (blue)': myItem('dragon scales (blue)', 0x26B4, 0x08B0, 'body part', 0.1), 'dragon scales (golden)': myItem('dragon scales (golden)', 0x26B4, 0x08A8, 'body part', 0.1), 'intact dragon\'s heart': myItem('intact dragon\'s heart', 0x2808, 0x0A9E, 'body part', 1), 'skull': myItem('skull', 0x1AE1, 0x0000, 'body part', 1) }
from Scripts.utilities.items import myItem ingots = { 'agapite ingot': myItem( 'agapite ingot', 0x1BF2, 0x097E, 'ingot', 0.1 ), 'bronze ingot': myItem( 'bronze ingot', 0x1BF2, 0x06D8, 'ingot', 0.1 ), 'copper ingot': myItem( 'copper ingot', 0x1BF2, 0x045F, 'ingot', 0.1 ), 'dull copper ingot': myItem( 'dull copper ingot', 0x1BF2, 0x0415, 'ingot', 0.1 ), 'golden ingot': myItem( 'golden ingot', 0x1BF2, 0x06B7, 'ingot', 0.1 ), 'iron ingot': myItem( 'iron ingot', 0x1BF2, 0x0000, 'ingot', 0.1 ), 'shadow iron ingot': myItem( 'shadow iron ingot', 0x1BF2, 0x0455, 'ingot', 0.1 ), 'verite ingot': myItem( 'verite ingot', 0x1BF2, 0x07D2, 'ingot', 0.1 ), 'valorite ingot': myItem( 'valorite ingot', 0x1BF2, 0x0544, 'ingot', 0.1 ) }
from Scripts.utilities.items import myItem, FindItem instruments = { 'bamboo flute': myItem( 'bamboo flute', 0x2805, 0x0000, 'instrument', None ), 'drum': myItem( 'drum', 0x0E9C, 0x0000, 'instrument', None ), 'lute': myItem( 'lute', 0x0EB3, 0x0000, 'instrument', None ), # Harps 'lap harp': myItem( 'lap harp', 0x0EB2, 0x0000, 'instrument', None ), 'standing harp': myItem( 'standing harp', 0x0EB1, 0x0000, 'instrument', None ), # Tambourines 'tambourine': myItem( 'tambourine', 0x0E9E, 0x0000, 'instrument', None ), 'tambourine (tassle)': myItem( 'tambourine', 0x0E9D, 0x0000, 'instrument', None ) } def FindInstrument( container ): ''' Uses FindItem to look through the player's backpack for an instrument ''' global instruments instrumentIDs = [ instruments[ instrument ].itemID for instrument in instruments ] return FindItem( instrumentIDs, container )
from Scripts.utilities.items import myItem armor = { ### Blacksmithing ### # Chainmail 'chainmail coif': myItem( name = 'chainmail coif', itemID = 0x13BB, color = 0x0000, category = 'armor', weight = 1 ), 'chainmail leggings': myItem( name = 'chainmail leggings', itemID = 0x13BE, color = 0x0000, category = 'armor', weight = 7 ), 'chainmail tunic': myItem( name = 'chainmail tunic', itemID = 0x13BF, color = 0x0000, category = 'armor', weight = 5 ), # Helmet 'bascinet': myItem( name = 'bascinet', itemID = 0x140C,
from Scripts.utilities.items import myItem gems = { 'amber': myItem(name='amber', itemID=0x0F25, color=0x0000, category='gem', weight=0.1), 'amethyst': myItem(name='amethyst', itemID=0x0F16, color=0x0000, category='gem', weight=0.1), 'citrine': myItem(name='citrine', itemID=0x0F15, color=0x0000, category='gem', weight=0.1), 'diamond': myItem(name='diamond', itemID=0x0F26, color=0x0000, category='gem', weight=0.1), 'emerald': myItem(name='emerald', itemID=0x0F10, color=0x0000,
from Scripts.utilities.items import myItem shields = { # Blacksmithing 'buckler': myItem(name='buckler', itemID=0x1B73, color=0x0000, category='shield', weight=5), 'bronze shield': myItem(name='bronze shield', itemID=0x1B72, color=0x0000, category='shield', weight=6), 'heater shield': myItem(name='heater shield', itemID=0x1B76, color=0x0000, category='shield', weight=8), 'metal shield': myItem(name='metal shield', itemID=0x1B7B, color=0x0000, category='shield', weight=6), 'metal kite shield': myItem(name='metal kite shield', itemID=0x1B74,
from Scripts.utilities.items import myItem potions = { 'keg of greater strength potions': myItem('keg of greater strength potions', 0x1940, 0x03B8, 'potion', 1), 'bottle of toxic poison': myItem('bottle of toxic poison', 0x0EFB, 0x0785, 'potion', 1), }
from Scripts.utilities.items import myItem clothing = { # Anniversary '6th Year Forever Shirt': myItem(name='6th Year Forever Shirt', itemID=0x25EB, color=0x0799, category='clothing', weight=1), 'UOForever\'s 6th Year Anniversary': myItem(name='UOForever\'s 6th Year Anniversary', itemID=0x2B6E, color=0x0000, category='decoration', weight=1), # Christmas 'jingle bells necklace': myItem(name='jingle bells necklace', itemID=0x4D0A, color=0x0501, category='decoration', weight=1), # Hats 'skullcap': myItem(name='skullcap', itemID=0x1544, color=0x0000, category='clothing',
from Scripts.utilities.items import myItem slayerRunes = { 'p rune': myItem('p rune', 0x486B, 0x0027, 'slayer rune', 1), 'b rune': None, 'm rune': None, 'f rune': myItem('f rune', 0x484A, 0x0027, 'slayer rune', 1), 'v rune': myItem('v rune', 0x487D, 0x0027, 'slayer rune', 1), 'u rune': None, 't rune': myItem('t rune', 0x4877, 0x0027, 'slayer rune', 1), 'd rune': None, 'n rune': myItem('n rune', 0x4868, 0x0027, 'slayer rune', 1), 's rune': myItem('s rune', 0x4874, 0x0027, 'slayer rune', 1), 'z rune': myItem('z rune', 0x4883, 0x0027, 'slayer rune', 1), 'e rune': myItem('e rune', 0x4847, 0x0027, 'slayer rune', 1), 'ch rune': myItem('ch rune', 0x4841, 0x0027, 'slayer rune', 1), 'j rune': myItem('j rune', 0x4856, 0x0027, 'slayer rune', 1), 'sh rune': myItem('sh rune', 0x4871, 0x0027, 'slayer rune', 1), 'zh rune': myItem('zh rune', 0x4880, 0x0027, 'slayer rune', 1), 'i rune': myItem('i rune', 0x4853, 0x0027, 'slayer rune', 1), 'gl rune': myItem('gl rune', 0x4859, 0x0027, 'slayer rune', 1), 'l rune': myItem('l rune', 0x485F, 0x0027, 'slayer rune', 1), 'k rune': myItem('k rune', 0x485C, 0x0027, 'slayer rune', 1), 'g rune': None, 'ng rune': None, 'h rune': None, 'r rune': myItem('r rune', 0x486E, 0x0027, 'slayer rune', 1), 'a rune': myItem('a rune', 0x483B, 0x0027, 'slayer rune', 1) }
from Scripts.utilities.items import myItem pitchers = { 'glass pitcher': myItem( name = 'glass pitcher', itemID = 0x0FF6, color = 0x0000, category = 'pitcher', weight = 2 ), 'pitcher of water': myItem( name = 'pitcher of water', itemID = 0x1F9D, color = 0x0000, category = 'pitcher', weight = 2 ) }
from Scripts.utilities.items import myItem statuettes = { 'dread spider statuette': myItem('dread spider statuette', 0x25C4, 0x0000, 'statuette', 1), 'lich statuette': myItem('lich statuette', 0x25A4, 0x0000, 'statuette', 1), 'orc shaman statuette': myItem('orc shaman statuette', 0x25B1, 0x0000, 'statuette', 1), 'slime statuette': myItem('slime statuette', 0x20E8, 0x0000, 'statuette', 1), 'snow elemental statuette': myItem('snow elemental statuette', 0x25DC, 0x0000, 'statuette', 1), }
from Scripts.utilities.items import myItem from System.Collections.Generic import List moongates = { 'blue moongate': myItem( 'blue moongate', 0x0F6C, 0x0000, 'moongate', None ) } def FindMoongates( Items ): ''' Finds a moongate that the player can use ''' global moongates moongateIDs = [ moongates[ moongate ].itemID for moongate in moongates ] moongateFilter = Items.Filter() moongateFilter.OnGround = 1 moongateFilter.RangeMin = 0 moongateFilter.RangeMax = 1 moongateFilter.Movable = False moongateFilter.Graphics = List[int]( moongateIDs ) return Items.ApplyFilter( moongateFilter )
from Scripts.utilities.items import myItem deeds = { 'bank check': myItem(name='bank check', itemID=0x14F0, color=0x0034, category='deed', weight=1), 'power scroll': myItem(name='power scroll', itemID=0x14F0, color=0x0481, category='deed', weight=1) }
from Scripts.glossary.items.tools import tools from Scripts.utilities.items import myItem weapons = { # Bladed 'broadsword': myItem( name = 'broadsword', itemID = 0x0F5E, color = 0x0000, category = 'weapon', weight = 6 ), 'cutlass': myItem( name = 'cutlass', itemID = 0x1441, color = 0x0000, category = 'weapon', weight = 8 ), 'katana': myItem( name = 'katana', itemID = 0x13FF, color = 0x0000, category = 'weapon', weight = 6 ), 'kryss': myItem( name = 'kryss', itemID = 0x1401, color = 0x0000, category = 'weapon',
from Scripts.utilities.items import myItem decorations = { # Christmas 'box of snowdrops (east/west)': myItem('box of snowdrops', 0x3325, 0x0000, 'decoration', 1), 'box of snowdrops (north/south)': myItem('box of snowdrops', 0x3326, 0x0000, 'decoration', 1), 'broken ornament': myItem('broken ornament', 0x09B4, 0x0501, 'decoration', 1), 'christmas lights': myItem('christmas lights', 0x17CE, 0x0B93, 'decoration', 1), 'fancy holidy lamp': myItem('fancy holidy lamp', 0x4C51, 0x0785, 'decoration', 1), 'green candycane': myItem('green candycane', 0x2BDF, 0x0000, 'decoration', 1), 'holiday toy egg (red)': myItem('holiday toy egg (red)', 0x4CFD, 0x0026, 'decoration', 1), 'holiday toy egg (blue)': myItem('holiday toy egg (blue)', 0x4CFD, 0x0000, 'decoration', 1), 'holly jolly torch': myItem('holly jolly torch', 0x0F6B, 0x09E9, 'decoration', 1), 'marshmallow snowballs': myItem('marshmallow snowballs', 0x09EB, 0x0481, 'decoration', 1), 'old holiday sign (Santa\'s Workshop - Closed till next year)': myItem('old holiday sign (Santa\'s Workshop - Closed till next year)', 0x0BD9, 0x09F5, 'decoration', 1), 'red candycane': myItem('red candycane', 0x2BDE, 0x0000, 'decoration', 1), # Dinner Ware
from Scripts.utilities.items import myItem, FindItem tools = { # Blacksmithing 'sledge hammer': myItem(name='sledge hammer', itemID=0x0FB5, color=0x0000, category='tool', weight=10), 'smith\'s hammer': myItem(name='smith\'s hammer', itemID=0x13E3, color=0x0000, category='tool', weight=8), 'tongs': myItem(name='tongs', itemID=0x0FBB, color=0x0000, category='tool', weight=2), # Runic Hammers 'agapite runic hammer': myItem(name='agapite runic hammer', itemID=0x13E3, color=0x097E, category='tool', weight=8), 'bronze runic hammer':
from Scripts.utilities.items import myItem ores = { # Weights are set to None since the weight varies depending on the player's mining skill 'agapite ore': myItem('agapite ore', 0x19B9, 0x097E, 'ore', None), 'bronze ore': myItem('bronze ore', 0x19B9, 0x06D8, 'ore', None), 'copper ore': myItem('copper ore', 0x19B9, 0x045F, 'ore', None), 'dull copper ore': myItem('dull copper ore', 0x19B9, 0x0415, 'ore', None), 'golden ore': myItem('golden ore', 0x19B9, 0x06B7, 'ore', None), 'iron ore': myItem('iron ore', 0x19B9, 0x0000, 'ore', None), 'shadow iron ore': myItem('shadow iron ore', 0x19B9, 0x0455, 'ore', None), 'verite ore': myItem('verite ore', 0x19B9, 0x07D2, 'ore', None), 'valorite ore': myItem('valorite ore', 0x19B9, 0x0544, 'ore', None) }
from Scripts.utilities.items import myItem miscellaneous = { 'ancient smithing hammer shard': myItem( name = 'ancient smithing hammer shard', itemID = 0x5738, color = 0x09C2, category = 'generic', weight = 16 ), 'blank scroll': myItem( name = 'blank scroll', itemID = 0x0EF3, color = 0x0000, category = 'generic', weight = 0.1 ), 'gold coin': myItem( name = 'gold coin', itemID = 0x0EED, color = 0x0000, category = 'generic', weight = 0.02 ), 'map': myItem( name = 'map', itemID = 0x14EC, color = 0x0000, category = 'generic', weight = 1 ),
from Scripts.utilities.items import myItem, FindItem healing = { 'bandage': myItem( 'bandage', 0x0E21, 0x0000, 'healing', 0.1 ), 'healingPotion': None, 'greaterHealingPotion': None, } def FindBandage( container ): ''' Uses FindItem to look through the player's backpack for a bandage ''' global healing return FindItem( healing[ 'bandage' ].itemID, container )
from Scripts.utilities.items import myItem reagents = { 'Black Pearl': myItem( 'Black Pearl', 0x0F7A, 0x0000, 'reagent', 0.1 ), 'Blood Moss': myItem( 'Blood Moss', 0x0F7B, 0x0000, 'reagent', 0.1 ), 'Garlic': myItem( 'Garlic', 0x0F84, 0x0000, 'reagent', 0.1 ), 'Ginseng': myItem( 'Ginseng', 0x0F85, 0x0000, 'reagent', 0.1 ), 'Mandrake Root': myItem( 'Mandrake Root', 0x0F86, 0x0000, 'reagent', 0.1 ), 'Nightshade': myItem( 'Nightshade', 0x0F88, 0x0000, 'reagent', 0.1 ), 'Spider\'s Silk': myItem( 'Spider\'s Silk', 0x0F8D, 0x0000, 'reagent', 0.1 ), 'Sulfurous Ash': myItem( 'Sulfurous Ash', 0x0F8C, 0x0000, 'reagent', 0.1 ) }