def __init__(self,name,kind,strg,con,dex,intel,wis,cha): DungeonObject.__init__(self,name,kind) self.strg = strg self.con = con self.dex = dex self.intel = intel self.wis = wis self.cha = cha self.inventory = Inventory()
def __init__(self,name,description,price): DungeonObject.__init__(self,name,'Item') self.description = description self.price = price
def __init__(self,name,kind,items): DungeonObject.__init__(self,'Chest','Chest Sprite') self.items = items self.opened = False