-def command_slippers(str_int):
- val = integer_test(str_int, 0)
- if None != val:
- world_db["SLIPPERS"] = val
- if world_db["WORLD_ACTIVE"] and \
- world_db["SLIPPERS"] not in world_db["ThingTypes"]:
- world_db["WORLD_ACTIVE"] = 0
- print("SLIPPERS matches no known ThingTypes, deactivating world.")
-
-def command_plant0(str_int):
- val = integer_test(str_int, 0)
- if None != val:
- world_db["PLANT_0"] = val
- if world_db["WORLD_ACTIVE"] and \
- world_db["PLANT_0"] not in world_db["ThingTypes"]:
- world_db["WORLD_ACTIVE"] = 0
- print("PLANT_0 matches no known ThingTypes, deactivating world.")
-