Ejemplo n.º 1
0
 def __init__(self):
     self.name = 'Trader'
     self.gold = 100
     self.inventory = [items.CrustyBread(),
                       items.CrustyBread(),
                       items.CrustyBread(),
                       items.HealingPotion(),
                       items.HealingPotion()]
Ejemplo n.º 2
0
 def _init_(self):
     self.name = "Trader"
     self.gold = 100
     self.inventory = [
         items.CrustyBread(),
         items.CrustyBread(),
         items.CrustyBread(),
         items.HealingPotion(),
         dict_items.HealingPotion()
     ]
Ejemplo n.º 3
0
Archivo: npc.py Proyecto: Shpaackle/DDQ
 def __init__(self):
     self.name = "Trader"
     self.coin = 100
     self.inventory = [
         items.CrustyBread(),
         items.CrustyBread(),
         items.CrustyBread(),
         items.HealingPotion(),
         items.HealingPotion()
     ]
Ejemplo n.º 4
0
 def __init__(self):
     super().__init__(name="Trader",
                      gold=100,
                      inventory=[
                          items.CrustyBread(),
                          items.CrustyBread(),
                          items.CrustyBread(),
                          items.CrustyBread(),
                          items.HealingPotion(),
                      ])
Ejemplo n.º 5
0
 def __init__(self):
     # super().__init__()
     self.name = "Trader"
     self.gold = 100
     self.inventory = [
         items.CrustyBread(),
         items.CrustyBread(),
         items.CrustyBread(),
         items.HealingPotion(),
         items.HealingPotion()
     ]
Ejemplo n.º 6
0
 def __init__(self):
     self.name = "Trader"
     self.gold = 1000
     self.inventory = [
         items.CrustyBread(),
         items.CrustyBread(),
         items.CrustyBread(),
         items.WaterPouch(),
         items.WaterPouch(),
         items.HealingPotion(),
         items.RustySword(),
         items.SilverSword(),
         items.HolySword()
     ]
Ejemplo n.º 7
0
 def __init__(self):
     self.name = "Trader"
     self.gold = 1000
     self.inventory = [items.Toe(),
                       items.Eye(),
                       items.owletWing(),
                       items.catHair(),
                       items.lizardLeg(),
                       items.ironaxe(),
                       items.ironaxe(),
                       items.CrustyBread(),
                       items.CrustyBread(),
                       items.HealingPotion()
                       ]
Ejemplo n.º 8
0
 def __init__(self):
     self.name = "Trader"
     self.gold = 500
     self.inventory = [
         items.CrustyBread(),
         items.CrustyBread(),
         items.CrustyBread(),
         items.HealingPotion(),
         items.RustySword(),
         items.LeatherArmor(),
         items.IronArmor(),
         items.IronSword(),
         items.IronShield(),
         items.WoodenStaff()
     ]
Ejemplo n.º 9
0
 def __init__(self):
     self.name = "Merchant"
     self.gold = 100
     self.inventory = [items.CrustyBread(),
                         items.Raspberries(),
                         items.BlueBerries(),
                         items.Toadstools(),]
Ejemplo n.º 10
0
 def __init__(self):
     self.inventory = [items.Rock(), items.Dagger(), items.CrustyBread()]
     self.x = world.start_tile_location[0]
     self.y = world.start_tile_location[1]
     self.hp = 100
     self.gold = 5
     self.victory = False
Ejemplo n.º 11
0
 def __init__(self):
     self.inventory = [items.Gold(15), items.Rock(), items.Dagger(), items.CrustyBread()]
     self.hp = 100
     self.victory = False
     self.x = 1
     self.y = 2
     self.hp = 100
Ejemplo n.º 12
0
 def __init__(self):
     self.inventory = [
         items.Rock(),
         items.Dagger(), 'Gold(5)',
         items.CrustyBread(),
         items.Banana()
     ]
Ejemplo n.º 13
0
 def __init__(self):
     self.inventory = [items.Rock(), items.VorpalSword(), items.CrustyBread()]
     self.armor = items.LeatherArmor()
     self.x = world.start_tile_location[0]
     self.y = world.start_tile_location[1]
     self.hp = 100
     self.gold = 5
     self.victory = False
Ejemplo n.º 14
0
 def __init__(self):
     self.inventory = [items.Rock(),
             items.Dagger(),
             'Gold(5)',
             items.CrustyBread()]
     self.x = 1
     self.y = 2
     self.hp = 100
Ejemplo n.º 15
0
 def __init__(self):
     self.inventory = [items.Gold(15), items.Rock(), items.CrustyBread()]
     self.hp = 100
     #UNUSED CODE, KEPT FOR REFERENCE
     #self.location_x, self.location_y = world.starting_position
     self.x = 1
     self.y = 2
     self.victory = False
Ejemplo n.º 16
0
 def __init__(self):
     self.inventory = [items.rock(), items.CrustyBread()]
     self.x = world.start_tile_location[0]
     self.y = world.start_tile_location[1]
     self.hp = 100
     self.gold = 5
     self.victory = False
     self.teleport = True
     self.damage = self.damage()
Ejemplo n.º 17
0
 def __init__(self, x, y):
     self.name = "Colony of Bats"
     self.hp = 100
     self.damage = 4
     self.gold = 1
     self.pursuit = 0
     super(BatColony, self).__init__(x,y)
     self.alive_text = "The squeaking in the room alerts you to a clould of nasty flying bats\n"
     self.dead_text = "A dozen bat corpses litter the ground\n"
     self.possessions =[items.BatTeeth(), items.CrustyBread()]
Ejemplo n.º 18
0
 def __init__(self, x,y):
     self.name = "Giant Spider"
     self.hp = 10
     self.damage = 2
     self.gold = 2
     self.pursuit = 0
     super(GiantSpider, self).__init__(x,y)
     self.alive_text = "A giant spider jumps down from it's web in front of you!\n"
     self.dead_text = "The corpse of a giant spider rots on the ground\n"
     self.possessions =[items.BatTeeth(), items.CrustyBread()]
Ejemplo n.º 19
0
 def __init__(self, x,y):
     self.name = "Giant Tiger"
     self.hp = 10
     self.damage = 18
     self.gold = 13
     self.pursuit = 100
     self.alive_text = "A snarling tiger approaches\n"
     self.dead_text = "A dead tiger corpse lies here\n"
     super(Tiger, self).__init__(x,y)
     self.possessions = [items.BatTeeth(), items.CrustyBread()]
Ejemplo n.º 20
0
 def __init__(self, x,y):
     self.name = "Rock Monster"
     self.hp = 80
     self.damage = 15
     self.gold = 13
     self.putsuit = 10
     super(RockMonster, self).__init__(x,y)
     self.alive_text = "A rock monster approaches from behind a pile of rusted armor\n"
     self.dead_text = "The rock monster falls down and turns into an iron lump\n"
     self.possessions =[items.BatTeeth(), items.CrustyBread()]
Ejemplo n.º 21
0
 def __init__(self):
     self.name = "Trader"
     self.gold = 100
     self.inventory = [
         items.Salt(),
         items.SilverDagger(),
         items.CrustyBread(),
         items.HealingPotion(),
         items.HealingPotion(),
     ]
Ejemplo n.º 22
0
    def __init__(self, x, y):
        """Initial supplies at the tile"""
        # index for switching descriptive messagages
        self.i = 0
        self.name = "Supplies"
        self.inventory = [items.Blaster(), items.OxygenTank(),
                          items.SpaceSuit(), items.FirstAid(),
                          items.CrustyBread(), items.Water(), items.Shelter()]

        super().__init__(x, y)
Ejemplo n.º 23
0
 def __init__(self,x, y):
     self.name = "Ogre"
     self.hp = 30
     self.damage = 10
     self.gold = 6
     self.pursuit = 0
     super(Ogre, self).__init__(x,y)
     self.alive_text = "A large, smelly, Ogre looms over you. Reading for battle\n"
     self.dead_text = "A large mound of dead Ogre lays in the room\n"
     self.possessions =[items.BatTeeth(), items.CrustyBread()]
Ejemplo n.º 24
0
 def __init__(self):
     self.inventory = [items.RustySword(),
                       items.ClothArmor(),
                       items.CrustyBread(),
                       items.DirtyWater(),
                       ]
     self.x = world.start_tile_location[0]
     self.y = world.start_tile_location[1]
     self.hp = 100
     self.gold = 5
Ejemplo n.º 25
0
	def __init__(self):
		self.inventory = [items.Dagger(),items.Rock(),items.CrustyBread(),items.ManaPotion()]
		self.spell_book = [magic.magic_missle(), magic.fire_ball()]
		self.x = world.start_tile_location[0]
		self.y = world.start_tile_location[1]
		self.hp = 100
		self.gold = 5
		self.victory = False
		self.exp = 199
		self.player_lvl = 1
		self.mp = 100
 def __init__(self):
     self.inventory = [
         items.Rock(),
         items.Dagger(), 'Gold(5)',
         items.CrustyBread(), 'Bready Crust',
         items.Lucky_Charm()
     ]
     self.x = 1
     self.y = 2
     self.hp = 100
     self.max_hp = 100
Ejemplo n.º 27
0
    def __init__(self):
        self.inventory = [
            items.Dagger(),
            items.Longsword(),
            items.HolySymbol(),
            items.CrustyBread()
        ]

        self.x = world.start_tile_location[0]
        self.y = world.start_tile_location[1]
        self.hp = 25
        self.gold = 5
Ejemplo n.º 28
0
 def __init__(self, name, description):
     super().__init__(name, description)
     self.cash = 100
     self.items = [
         items.CrustyBread(),
         items.CrustyBread(),
         items.Chips(),
         items.Chips(),
         items.Chips(),
         items.Chips(),
         items.Implement("hot glue gun", "stolen from the art room", 5, 35,
                         50),
         items.Knife("steak knife", "a pointy serrated knife", 10, 15, 25),
         items.Knife("potato peeler", "a dull fruit peeler", 5, 5, 5)
     ]
     self.dialogue = [
         "I got guns, knives, and candy.",
         "Diddd you brinnnnng me my precioussss?", "How much you got?",
         "Yo Richie Rich.", "Hey kid, you need a cigar?",
         "Tryna make some money out here."
     ]
Ejemplo n.º 29
0
 def __init__(self):
     self.inventory = [
         items.Salt(),
         items.SilverDagger(),
         items.CrustyBread(),
         items.HealingPotion(),
     ]
     self.x = world.start_tile_location[0]
     self.y = world.start_tile_location[1]
     self.hp = 100
     self.gold = 5
     self.victory = False
Ejemplo n.º 30
0
    def __init__(self):
        self.inventory = [items.Rock(), items.Dagger(), items.CrustyBread()]
        self.spell = [spells.FireBall(), spells.IceBeam()]
        self.wearing = []

        self.x = world.start_tile_location[0]
        self.y = world.start_tile_location[1]
        self.maxHP = 100
        self.currentHP = 100
        self.maxmana = 100
        self.mana = 100
        self.strength = 1
        self.gold = 5
        self.victory = False