- action(Thing)
- Thing["T_COMMAND"] = 0
- Thing["T_PROGRESS"] = 0
- if Thing["T_BOWEL"] > 16:
- if 0 == (rand.next() % (33 - Thing["T_BOWEL"])):
- action_db["actor_drop"](Thing)
- if Thing["T_BLADDER"] > 16:
- if 0 == (rand.next() % (33 - Thing["T_BLADDER"])):
- action_db["actor_pee"](Thing)
+ action(t)
+ t["T_COMMAND"] = 0
+ t["T_PROGRESS"] = 0
+ if t["T_BOWEL"] > 16:
+ if 0 == (rand.next() % (33 - t["T_BOWEL"])):
+ action_db["actor_drop"](t)
+ if t["T_BLADDER"] > 16:
+ if 0 == (rand.next() % (33 - t["T_BLADDER"])):
+ action_db["actor_pee"](t)