Beispiel #1
0
 def __init__(self, world, identifier, bulk, max_stack=1,
              start_stack=1, item_type=""):
     RPGEntity.__init__(self, world, identifier)
     self.containable.bulk = bulk
     self.containable.max_stack = max_stack
     self.containable.current_stack = start_stack
     self.containable.item_type = item_type
Beispiel #2
0
 def __init__(self, world, identifier):
     RPGEntity.__init__(self, world, identifier)
     self.char_stats.gender = "male"  # Initialize the char_stats component
Beispiel #3
0
 def __init__(self, world, identifier, bulk):
     RPGEntity.__init__(self, world, identifier)
     self.containable.bulk = bulk
Beispiel #4
0
 def __init__(self, world, identifier, max_bulk, max_slots):
     RPGEntity.__init__(self, world, identifier)
     self.container.max_bulk = max_bulk
     self.container.max_slots = max_slots
Beispiel #5
0
 def __init__(self, world, identifier, max_bulk, slots):
     RPGEntity.__init__(self, world, identifier)
     self.container.children = slots
     self.container.max_bulk = max_bulk