Added dialogues for the mayor
[butaba-adventures.git] / butaba.py
1 # Main player Butaba class
2
3 import constants
4
5 class Butaba:
6
7 # initialize our character
8 def __init__ (self, startrow, startcol, imageleft, imageright, imagefront, imageback, portrait,
9 position=constants.LEFT, health=100, magic=1, experience=1, strength=1, gold=0, inventory = []):
10 self.position = position
11 self.imageleft = imageleft
12 self.imageright = imageright
13 self.imagefront = imagefront
14 self.imageback = imageback
15 self.portrait = portrait
16 self.row = startrow
17 self.col = startcol
18 self.magic = magic
19 self.experience = experience
20 self.strength = strength
21 self.health = health
22 self.objects = inventory
23 self.gold = gold