home · contact · privacy
Simplify hunger() with Python's built-in abs().
[plomrogue] / SERVER_COMMANDS
index 3763bb7dce9de143292e340d9d84485e630ccbdf..5762ea4cbc30e2755da1dbef662244a383e48cde 100644 (file)
@@ -194,9 +194,14 @@ to the lowest unused thing type ID. If thing type of ID does not exist yet,
 create it with default name "(none)", corpse ID equal to the new thing type's
 ID, symbol "?", and remaining thing type attributes to 0.
 
-TT_CONSUMABLE [0-65535]
-Set selected thing type's consumability value to argument – the number of
-.satiation score points earned by consuming/using things of that type.
+TT_TOOL [|food]
+(May be left empty.) Defines the way things of the selected type can be used.
+The only options so far that is interpreted is "food" (may be consumed).
+
+TT_TOOLPOWER [0 to 65535]
+Set selected thing type's tool power value to argument. If its tool type is
+"food", this sets the number of .satiation score points earned by consuming
+things of that type.
 
 TT_START_NUMBER [0-255]
 Set selected thing type's number of things of type to spawn on successful
@@ -243,3 +248,11 @@ SLIPPERS [0 to infinity]
 FAVOR_STAGE [0 to 65535]
 
 PLANT_0 [0 to infinity]
+
+LUMBER [0 to infinity]
+
+TOOL_0 [0 to infinity]
+
+EMPATHY [0 to 1]
+
+TT_TOOLS gains the arguments "axe", "carpentry", "wood".