+ if "v" == chr(world_db["Things"][0]["fovmap"][pos]):
+ for id in [id for tid in sorted(list(world_db["ThingTypes"]))
+ for id in world_db["Things"]
+ if not world_db["Things"][id]["carried"]
+ if world_db["Things"][id]["T_TYPE"] == tid
+ if y == world_db["Things"][id]["T_POSY"]
+ if x == world_db["Things"][id]["T_POSX"]]:
+ type = world_db["Things"][id]["T_TYPE"]
+ name = world_db["ThingTypes"][type]["TT_NAME"]
+ strong_write(io_db["file_out"], name + "\n")
+ else:
+ for mt in [mt for tid in sorted(list(world_db["ThingTypes"]))
+ for mt in world_db["Things"][0]["T_MEMTHING"]
+ if mt[0] == tid if y == mt[1] if x == mt[2]]:
+ name = world_db["ThingTypes"][mt[0]]["TT_NAME"]
+ strong_write(io_db["file_out"], name + "\n")