def __init__(self): Base.__init__(self, bulk=float, weight=int, item_type=str, image=str, container=str, slot=int, max_stack=int, current_stack=int) self.fields['slot'].default = lambda: -1 self.fields['max_stack'].default = lambda: 1 self.fields['current_stack'].default = lambda: 1
def __init__(self): Base.__init__(self, walk_speed=float, walk_action=str, run_speed=float, run_action=str) self.fields["walk_speed"].default = lambda: 0.0 self.fields["walk_action"].default = lambda: "walk" self.fields["run_speed"].default = lambda: 0.0 self.fields["run_action"].default = lambda: "run"
def __init__(self, **fields): """Create the slots. Args: fields: kwargs argument containing the data of the fields """ Base.__init__(self, **fields)
def __init__(self): Base.__init__(self, closed=bool, locked=bool, open_action=str, opened_action=str, close_action=str, closed_action=str) self.fields["open_action"].default = lambda: "open" self.fields["opened_action"].default = lambda: "opened" self.fields["close_action"].default = lambda: "close" self.fields["closed_action"].default = lambda: "closed"
def __init__(self): Base.__init__(self, gfx=str, map=str, new_map=object, layer=str, new_layer=object, type=str, position=list, new_position=object, rotation=int, new_rotation=object, behaviour_type=str, behaviour_args=dict, knows=set) self.fields["type"].default = lambda: "actor" self.fields["behaviour_args"].default = dict self.fields["new_map"].default = lambda: None self.fields["new_layer"].default = lambda: None self.fields["new_position"].default = lambda: None self.fields["new_rotation"].default = lambda: None
def __init__(self): Base.__init__(self, gfx=str, namespace=str, map=str, new_map=object, layer=str, new_layer=object, type=str, position=DoublePoint3DYaml, new_position=object, rotation=int, new_rotation=object, behaviour_type=str, behaviour_args=dict, knows=set) self.fields["type"].default = lambda: "actor" self.fields["behaviour_args"].default = dict self.fields["new_map"].default = lambda: None self.fields["new_layer"].default = lambda: None self.fields["new_position"].default = lambda: None self.fields["new_rotation"].default = lambda: None
def __init__(self): Base.__init__(self, children=list, max_bulk=int) self.fields['children'].default = list
def __init__(self): Base.__init__(self, layer=object, behaviour=object, instance=object)
def __init__(self): Base.__init__(self, text=str)
def __init__(self): Base.__init__(self, dialogue=object)
def __init__(self): Base.__init__(self, target_map=str, target_position=list, target_layer=str)
def __init__(self): Base.__init__(self, view_name=str, real_name=str, desc=str)
def __init__(self): Base.__init__(self, max_bulk=float, max_slots=int)
def __init__(self): Base.__init__(self, target_map=str, target_position=DoublePoint3DYaml, target_layer=str)
def __init__(self): Base.__init__(self, identifier=str)
def __init__(self): Base.__init__(self, gender=str, picture=str, age=int, origin=str, primary_stats=dict, secondary_stats=dict, stat_points=int, traits=list,)
def __init__(self): Base.__init__(self, bulk=int, weight=int, item_type=str, image=str, container=object, slot=int)
def __init__(self): Base.__init__(self, possible_slots=list, wearer=object, in_slot=str)