From: Christian Heller Date: Thu, 12 Mar 2015 13:11:41 +0000 (+0100) Subject: Allow greater TT_PROLIFERATE values. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/cards/%7B%7Bcard_id%7D%7D/task?a=commitdiff_plain;h=b82a376bd54e438e0d2fbb2b2a4779afe09788f4;p=plomrogue Allow greater TT_PROLIFERATE values. --- diff --git a/SERVER_COMMANDS b/SERVER_COMMANDS index 0a011ce..a9ad4d7 100644 --- a/SERVER_COMMANDS +++ b/SERVER_COMMANDS @@ -225,7 +225,7 @@ TT_CORPSE_ID [0-255] 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 a thing of the same same type diff --git a/roguelike-server b/roguelike-server index b6d5927..1a2e519 100755 --- a/roguelike-server +++ b/roguelike-server @@ -1786,7 +1786,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)), "TT_STORAGE": (1, False, setter("ThingType", "TT_STORAGE", 0, 255)), # # "T_ID": (1, False, command_tid),