def __init__(self, name, rarity, weight): Item.__init__(self, name, '?', 'white', itemType = "tome", weight = weight, rarity = rarity)
def __init__(self, arcaneName, englishName): Item.__init__(self, self.generateNoun( arcaneName ), '\\', 'magenta', itemType = "rune", weight = 1, rarity = EnglishNames[ englishName ] ) self.arcaneName = arcaneName self.englishName = englishName self.identified = False
def __init__(self, name, weight, rarity): Item.__init__(self, name, '&', 'red', itemType = "talisman", weight = weight, rarity = rarity ) self.inventoryHooks.append( self )
def __init__(self, name, damage, minMana, maxMana, weight, rarity): Item.__init__(self, name, '|', 'yellow', itemType = "weapon", weight = weight, rarity = rarity) self.minMana, self.maxMana = minMana, maxMana self.magical = True self.damage = damage
def __init__(self, name, weight, rarity): Item.__init__(self, name, '[', 'blue', itemType = "spellbook", weight = weight, rarity = rarity )