|
|
|
|
18
|
super().__init__(host, home_vector)
|
18
|
super().__init__(host, home_vector)
|
19
|
self._context = context
|
19
|
self._context = context
|
20
|
self._object_id = object_id
|
20
|
self._object_id = object_id
|
21
|
- self._memory_since_blocked = context.metas.value.get(MOVE_BYBASS_MEMORY, object_id, allow_empty=True,
|
|
|
|
|
21
|
+ self._memory_since_blocked = context.metas.value.get(MOVE_BYBASS_MEMORY,
|
|
|
22
|
+ object_id,
|
|
|
23
|
+ allow_empty=True,
|
22
|
empty_value=[])
|
24
|
empty_value=[])
|
23
|
- self._by_passing = context.metas.value.get(MOVE_BYBASS, object_id, allow_empty=True, empty_value=False)
|
|
|
24
|
- self._distance_when_blocked = context.metas.value.get(MOVE_BYBASS_DISTANCE, object_id, allow_empty=True,
|
|
|
|
|
25
|
+ self._by_passing = context.metas.value.get(MOVE_BYBASS,
|
|
|
26
|
+ object_id,
|
|
|
27
|
+ allow_empty=True,
|
|
|
28
|
+ empty_value=False)
|
|
|
29
|
+ self._distance_when_blocked = context.metas.value.get(MOVE_BYBASS_DISTANCE,
|
|
|
30
|
+ object_id,
|
|
|
31
|
+ allow_empty=True,
|
25
|
empty_value=None)
|
32
|
empty_value=None)
|
26
|
self._current_wall_square_position = context.metas.value.get(MOVE_BYBASS_WALL,
|
33
|
self._current_wall_square_position = context.metas.value.get(MOVE_BYBASS_WALL,
|
27
|
object_id,
|
34
|
object_id,
|