From: Christian Heller Date: Tue, 1 Sep 2015 01:45:12 +0000 (+0200) Subject: Allow greater TT_PROLIFERATE values. X-Git-Tag: tce~295 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/do_day?a=commitdiff_plain;h=b1c36ca1d6f9bc4f88f616733dfbc751cb63b465;p=plomrogue Allow greater TT_PROLIFERATE values. --- diff --git a/SERVER_COMMANDS b/SERVER_COMMANDS index 6efdcf0..d54ac79 100644 --- a/SERVER_COMMANDS +++ b/SERVER_COMMANDS @@ -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. -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. diff --git a/roguelike-server b/roguelike-server index c73a63a..27ede4e 100755 --- a/roguelike-server +++ b/roguelike-server @@ -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", - 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)),