self.retainsMark = retainsMark
        self.retainsColor = retainsColor

        # Invoking __init__ of parent class
        Craftable.__init__(self, name, minSkill, resourcesNeeded, gumpPath)


carpentryCraftables = {
    ### Other: Gump Button 1 ###
    'barrel staves':
    CarpentryCraftable(name='barrel staves',
                       retainsMark=False,
                       retainsColor=True,
                       minSkill={'Carpentry': 0.0},
                       resourcesNeeded={'boards': 5},
                       gumpPath=(GumpSelection(949095101,
                                               1), GumpSelection(949095101,
                                                                 2))),
    'barrel lid':
    CarpentryCraftable(name='barrel lid',
                       retainsMark=False,
                       retainsColor=True,
                       minSkill={'Carpentry': 11.0},
                       resourcesNeeded={'boards': 4},
                       gumpPath=(GumpSelection(949095101,
                                               1), GumpSelection(949095101,
                                                                 9))),
    'short music stand (left)':
    CarpentryCraftable(name='short music stand (left)',
                       retainsMark=False,
                       retainsColor=True,
                       minSkill={'Carpentry': 78.9},
Beispiel #2
0
        self.retainsColor = retainsColor
        self.minSkill = minSkill
        self.resourcesNeeded = resourcesNeeded
        self.gumpPath = gumpPath


tailoringCraftables = {
    ### Hats: Gump Button 1 ###
    'skullcap':
    TailoringCraftable(name='skullcap',
                       itemID=0x1544,
                       retainsMark=True,
                       retainsColor=True,
                       minSkill=0.0,
                       resourcesNeeded={'cloth': 2},
                       gumpPath=(GumpSelection(949095101,
                                               1), GumpSelection(949095101,
                                                                 2))),
    'bandana':
    TailoringCraftable(name='bandana',
                       itemID=0x1540,
                       retainsMark=True,
                       retainsColor=True,
                       minSkill=0.0,
                       resourcesNeeded={'cloth': 2},
                       gumpPath=(GumpSelection(949095101,
                                               1), GumpSelection(949095101,
                                                                 9))),
    'floppy hat':
    TailoringCraftable(name='floppy hat',
                       itemID=0x1713,
                       retainsMark=True,
    resourcesNeeded = None
    gumpPath = None

    def __init__ ( self, name, minSkill, resourcesNeeded, gumpPath ):
        self.name = name
        self.minSkill = minSkill
        self.resourcesNeeded = resourcesNeeded
        self.gumpPath = gumpPath


cartographyCraftables = {
    'local map': CartographyCraftable(
        name = 'local map',
        minSkill = 10.0,
        resourcesNeeded = { 'blank scroll': 1 },
        gumpPath = ( GumpSelection( 949095101, 1 ), GumpSelection( 949095101, 2 ) )
    ),
    'city map': CartographyCraftable(
        name = 'city map',
        minSkill = 25.0,
        resourcesNeeded = { 'blank scroll': 1 },
        gumpPath = ( GumpSelection( 949095101, 1 ), GumpSelection( 949095101, 9 ) )
    ),
    'sea map': CartographyCraftable(
        name = 'sea map',
        minSkill = 35.0,
        resourcesNeeded = { 'blank scroll': 1 },
        gumpPath = ( GumpSelection( 949095101, 1 ), GumpSelection( 949095101, 16 ) )
    ),
    'world map': CartographyCraftable(
        name = 'world map',
Beispiel #4
0
        self.gumpPath = gumpPath


blacksmithCraftables = {
    ### Deeds: Gump Button 1 ###
    'dragon barding deed':
    BlacksmithCraftable(name='dragon barding deed',
                        itemID=None,
                        retainsMark=True,
                        retainsColor=True,
                        minSkill=110.0,
                        resourcesNeeded={
                            'ingots': 2000,
                            'rope': 10
                        },
                        gumpPath=(GumpSelection(949095101, 1),
                                  GumpSelection(949095101, 2))),

    ### Ringmail: Gump Button 8 ###
    'ringmail gloves':
    BlacksmithCraftable(name='ringmail gloves',
                        itemID=0x13EB,
                        retainsMark=True,
                        retainsColor=True,
                        minSkill=12.0,
                        resourcesNeeded={'ingots': 10},
                        gumpPath=(GumpSelection(949095101, 8),
                                  GumpSelection(949095101, 2))),
    'ringmail leggings':
    BlacksmithCraftable(name='ringmail leggings',
                        itemID=0x13F0,
        self.retainsMark = retainsMark
        self.retainsColor = retainsColor

        # Invoking __init__ of parent class
        Craftable.__init__( self, name, minSkill, resourcesNeeded, gumpPath )


tinkeringCraftables = {
    ### Wooden Items: Gump Button 1 ###
    'jointing plane': TinkeringCraftable(
        name = 'jointing plane',
        retainsMark = True,
        retainsColor = False,
        minSkill = { 'tinkering': 0.0 },
        resourcesNeeded = { 'boards': 4 },
        gumpPath = ( GumpSelection( 949095101, 1 ), GumpSelection( 949095101, 2 ) )
    ),
    'moulding planes': TinkeringCraftable(
        name = 'moulding planes',
        retainsMark = True,
        retainsColor = False,
        minSkill = { 'tinkering': 0.0 },
        resourcesNeeded = { 'boards': 4 },
        gumpPath = ( GumpSelection( 949095101, 1 ), GumpSelection( 949095101, 9 ) )
    ),
    'smoothing plane': TinkeringCraftable(
        name = 'smoothing plane',
        retainsMark = True,
        retainsColor = False,
        minSkill = { 'tinkering': 0.0 },
        resourcesNeeded = { 'boards': 4 },