log("You can't use a " # #
+ world_db["ThingTypes"][type_tool]["TT_NAME"] # #
+ " without some wood in your inventory.") # #
+ elif world_db["ThingTypes"][type]["TT_TOOL"] == "fertilizer": # #
+ pos = t["T_POSY"] * world_db["MAP_LENGTH"] + t["T_POSX"]
+ if world_db["MAP"][pos] == ord("."):
+ world_db["MAP"][pos] = ord(":")
+ else:
+ log("Can only fertilize on unfertilized earth.")
elif world_db["ThingTypes"][type]["TT_TOOL"] == "food":
t["T_CARRIES"].remove(id)
del world_db["Things"][id]
"PLANT_1": (1, False, specialtypesetter("PLANT_1")), # #
"LUMBER": (1, False, specialtypesetter("LUMBER")), # #
"TOOL_0": (1, False, specialtypesetter("TOOL_0")), # #
+ "TOOL_1": (1, False, specialtypesetter("TOOL_1")), # #
"EMPATHY": (1, False, setter(None, "EMPATHY", 0, 1)), # #
"TA_ID": (1, False, command_taid),
"TA_EFFORT": (1, False, setter("ThingAction", "TA_EFFORT", 0, 255)),
"PLANT_1": 0, # #
"LUMBER": 0, # #
"TOOL_0": 0, # #
+ "TOOL_1": 0, # #
"EMPATHY": 1, # #
"ThingActions": {},
"ThingTypes": {},
# 7DRL-specific!
"""Special type settings."""
-specials = ["SLIPPERS", "PLANT_0", "PLANT_1", "LUMBER", "TOOL_0"] # #
+specials = ["SLIPPERS", "PLANT_0", "PLANT_1", "LUMBER", "TOOL_0", "TOOL_1"] # #
"""Mapping of direction names to internal direction chars."""
directions_db = {"east": "d", "south-east": "c", "south-west": "x",