本文整理汇总了Python中system.makemenus.MakeMenu.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python MakeMenu.__init__方法的具体用法?Python MakeMenu.__init__怎么用?Python MakeMenu.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类system.makemenus.MakeMenu
的用法示例。
在下文中一共展示了MakeMenu.__init__方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = 1
#self.allowrepair = 1
self.submaterials1 = skills.blacksmithing.METALS
self.submaterial1missing = 1042081 # Ingots
self.submaterial1noskill = 500586
self.gumptype = 0x4f6ba469 # This should be unique
示例2: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = 1
self.allowrepair = 1
#self.allowenhance = 1
self.submaterials1 = LEATHERS
self.submaterial1missing = 1044463
self.submaterial1noskill = 1049311
self.gumptype = 0x4f1ba411 # This should be unique
示例3: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = True
self.allowrepair = True
self.submaterials1 = WOOD
self.submaterial1missing = 1042081
self.submaterial1noskill = 500298
self.gumptype = 0x4f1bff56 # This should be unique
self.requiretool = True
示例4: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = True
self.allowrepair = True
self.submaterials1 = blacksmithing.METALS
self.submaterials2 = GEMS
self.submaterial1missing = 1044037
self.submaterial1noskill = 1044268
self.submaterial2missing = 1044240
self.gumptype = 0x41afb410 # This should be unique
示例5: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = True
self.allowrepair = True
self.allowenhance = True
self.submaterials1 = LEATHERS
self.submaterial1missing = 1044463
self.submaterial1noskill = 1049311
self.gumptype = 0x4f1ba411 # This should be unique
self.repairsound = 0x248 # Repair soundeffect
self.requiretool = True
示例6: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = False
self.allowrepair = False
self.allowenhance = False
self.allowsmelt = False
self.submaterials1 = GRANITES
self.submaterial1noskill = 1044268
self.gumptype = 0x4f1ba414 # This should be unique
self.requiretool = True
self.checklearned = True
示例7: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = 1
self.allowrepair = 1
#self.allowenhance = 1
self.allowsmelt = 1
self.submaterials1 = METALS
self.submaterials2 = SCALES
self.submaterial2missing = 1060884
self.submaterial1missing = 1044037
self.submaterial1noskill = 1044268
self.gumptype = 0x4f1ba410 # This should be unique
示例8: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = True
self.allowrepair = False
self.submaterials1 = WOOD
self.submaterials2 = CARPENTRYMETALS
self.submaterial1missing = 1042081 # Boards
self.submaterial1noskill = 500298
self.submaterial2missing = 1042081 # Ingots
self.submaterial2noskill = 500298
self.gumptype = 0x466b5b1a # This should be unique
self.requiretool = True
示例9: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = 0
self.delay = 2000
self.gumptype = 0x9ca51fca # This should be unique
self.requiretool = True
示例10: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = True
self.gumptype = 0xce123456 # This should be unique
示例11: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.gumptype = 0xf4132a42 # This should be unique
self.name_makelast = "Select Last"
示例12: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = 1
self.allowrepair = 1
self.gumptype = 0x4f1ba412 # This should be unique
示例13: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = False
self.delay = 1250
self.gumptype = 0xb10cae72 # This should be unique
示例14: __init__
# 需要导入模块: from system.makemenus import MakeMenu [as 别名]
# 或者: from system.makemenus.MakeMenu import __init__ [as 别名]
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
self.allowmark = True # generally allow marking, but not all items are markable
self.delay = 1250
self.gumptype = 0xB10CAE72 # This should be unique
self.requiretool = True # Require a tool