- world_db["Things"][id]["T_POSY"] * length
- + world_db["Things"][id]["T_POSX"]] == ord_v]:
- pos = (world_db["Things"][id]["T_POSY"] * length
- + world_db["Things"][id]["T_POSX"])
- if id == 0 or world_db["EMPATHY"]:
- type = world_db["Things"][id]["T_TYPE"]
- max_hp = world_db["ThingTypes"][type]["TT_LIFEPOINTS"]
+ world_db["Things"][tid]["pos"]] == ord_v]:
+ pos = (world_db["Things"][tid]["pos"])
+ if tid == 0 or world_db["EMPATHY"]:
+ ttid = world_db["Things"][tid]["T_TYPE"]
+ max_hp = world_db["ThingTypes"][ttid]["TT_LIFEPOINTS"]