X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=server%2Fworld.py;h=d472e1f680ca2dd5f10eb7ea72b1eedb98779fa2;hb=refs%2Ftags%2Ftce;hp=ff8043ed492398fa9ce5947e868696fb738124af;hpb=96d30b59368f81d9813382785029a10176c94235;p=plomrogue diff --git a/server/world.py b/server/world.py index ff8043e..d472e1f 100644 --- a/server/world.py +++ b/server/world.py @@ -62,6 +62,7 @@ def set_world_inactive(): def turn_over(): """Run game world and its inhabitants until new player input expected.""" + # TODO: Add build_fov_map, actor_move trigger not enough on changing maps. from server.ai import ai from server.config.actions import action_db from server.config.misc import calc_effort @@ -69,7 +70,6 @@ def turn_over(): from server.thingproliferation import thingproliferation from server.io import try_worldstate_update from server.config.io import io_db - id = 0 while world_db["Things"][0]["T_LIFEPOINTS"]: proliferable_map = world_db["MAP"][:] for tid in [tid for tid in world_db["Things"]