X-Git-Url: https://harishankar.org/repos/?p=butaba-adventures.git;a=blobdiff_plain;f=npcs.py;h=12db0b1be0d4f1d3979158a9e30d93d788acba7e;hp=26732c23231c9eea3073afabbf662d78df122a81;hb=423e47fbbd98064a79a5c4016c4a91c4eb78f800;hpb=801df507f5d5ba807b2f6dba334ab2028ce4c3a5 diff --git a/npcs.py b/npcs.py index 26732c2..12db0b1 100644 --- a/npcs.py +++ b/npcs.py @@ -55,3 +55,10 @@ class Bulisa (NPC): NPC.__init__ (self, "Bulisa", row, col, imageleft, imageright, imagefront, imageback, portrait, position, movement_area, 20, dialogues, currentdialog) + +class Mayor (NPC): + def __init__ (self, row, col, imageleft, imageright, imagefront, + imageback, portrait, position, movement_area=(0,0,0,0), + dialogues=[], currentdialog=0): + NPC.__init__ (self, "Mayor", row, col, imageleft, imageright, imagefront, + imageback, portrait, position, movement_area, 15, dialogues, currentdialog)