else:
val = integer_test(str_arg, 0, 255)
if None != val and val < len(t["T_CARRIES"]):
id = t["T_CARRIES"][val]
type = world_db["Things"][id]["T_TYPE"]
if not world_db["ThingTypes"][type]["TT_TOOL"] == "food":
else:
val = integer_test(str_arg, 0, 255)
if None != val and val < len(t["T_CARRIES"]):
id = t["T_CARRIES"][val]
type = world_db["Things"][id]["T_TYPE"]
if not world_db["ThingTypes"][type]["TT_TOOL"] == "food":