home · contact · privacy
Allow greater TT_PROLIFERATE values.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 1 Sep 2015 01:45:12 +0000 (03:45 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 1 Sep 2015 01:45:12 +0000 (03:45 +0200)
SERVER_COMMANDS
roguelike-server

index 6efdcf08dcdf071dd157828ca0adf0b7c37527b8..d54ac79fd8028485d50383738e8bd1899811a55c 100644 (file)
@@ -228,7 +228,7 @@ TT_CORPSE_ID [0 to infinity]
 Set to argument the ID of the thing type that things of the selected type
 transform into when their state changes from animate to inanimate.
 
 Set to argument the ID of the thing type that things of the selected type
 transform into when their state changes from animate to inanimate.
 
-TT_PROLIFERATE [0-255]
+TT_PROLIFERATE [0 to 65535]
 If non-zero, there is a chance of 1 divided by the given value each turn for any
 thing of the selected type to emit an offspring to a random neighbor cell if one
 is available that is passable and not inhabited by any thing.
 If non-zero, there is a chance of 1 divided by the given value each turn for any
 thing of the selected type to emit an offspring to a random neighbor cell if one
 is available that is passable and not inhabited by any thing.
index c73a63a6f3e06dcfb06332689f91e791dc4b00f1..27ede4e882f2265750a4a6c24c259c3f9206412c 100755 (executable)
@@ -1614,7 +1614,7 @@ commands_db = {
     "TT_START_NUMBER": (1, False, setter("ThingType", "TT_START_NUMBER",
                                          0, 255)),
     "TT_PROLIFERATE": (1, False, setter("ThingType", "TT_PROLIFERATE",
     "TT_START_NUMBER": (1, False, setter("ThingType", "TT_START_NUMBER",
                                          0, 255)),
     "TT_PROLIFERATE": (1, False, setter("ThingType", "TT_PROLIFERATE",
-                                        0, 255)),
+                                        0, 65535)),
     "TT_LIFEPOINTS": (1, False, setter("ThingType", "TT_LIFEPOINTS", 0, 255)),
     "T_ID": (1, False, command_tid),
     "T_ARGUMENT": (1, False, setter("Thing", "T_ARGUMENT", 0, 255)),
     "TT_LIFEPOINTS": (1, False, setter("ThingType", "TT_LIFEPOINTS", 0, 255)),
     "T_ID": (1, False, command_tid),
     "T_ARGUMENT": (1, False, setter("Thing", "T_ARGUMENT", 0, 255)),