X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=koperkapel%2Fworld.py;h=2272a7a3f01c1df2a695552e109fc6123c1c2888;hb=059d4b36bd164c7255b3e0c5817ce5c202bc17fd;hp=f03bffa1a88e7945e429dc9319c7228096e1dc54;hpb=1b461881652d85894fbe5c13e790ce3e46feb452;p=koperkapel.git diff --git a/koperkapel/world.py b/koperkapel/world.py index f03bffa..2272a7a 100644 --- a/koperkapel/world.py +++ b/koperkapel/world.py @@ -25,9 +25,17 @@ class World: self._build_roach("roichard", fast=True), self._build_roach("roupert"), ] + state["serums"] = [ + "smart", "strong", "fast", + ] state["vehicles"] = { "current": "walking", - "available": ["walking"], + "walking": { + "seating": [ + "roachel", None, "roeginald", + None, None, None, + ] + } } state["level"] = { "name": "level1", @@ -125,3 +133,9 @@ class WorldListProxy(WorldBaseProxy): def __getitem__(self, index): return _maybe_subproxy(self, index, self._state[index]) + + def __len__(self): + return len(self._state) + + def __bool__(self): + return bool(self._state)