X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=SERVER_COMMANDS;h=ef52922e6b9e8f042ca18fbcf43d7847db52a9fa;hb=8d5a9e9d57cf004d04cb9916141797b9c3a6aae6;hp=754538e3444eba6959f73e7c3fbb0f52a5ec4a37;hpb=bf396f111317663bba3950e57968af19f2f56a44;p=plomrogue diff --git a/SERVER_COMMANDS b/SERVER_COMMANDS index 754538e..ef52922 100644 --- a/SERVER_COMMANDS +++ b/SERVER_COMMANDS @@ -165,6 +165,9 @@ performing the action) value to argument. T_LIFEPOINTS [0 to 255] Set selected thing's lifepoints to argument. +T_SATIATION [-32768 to 32767] +Set selected thing's satiation score. + T_CARRIES [0 to 255] Add thing of ID in argument to inventory of selected thing, if said thing is available for carrying and not the selected thing. @@ -187,9 +190,9 @@ change it 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, and remaining thing type attributes to 0. -TT_CONSUMABLE [0-255] +TT_CONSUMABLE [0-65535] Set selected thing type's consumability value to argument – the number of -lifepoints earned by consuming/using things of that type. +.satiation score points earned by consuming/using things of that type. TT_START_NUMBER [0-255] Set selected thing type's number of things of type to spawn on successful @@ -216,3 +219,11 @@ 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 or, if the proliferating thing is animate, any other animate thing. + +TT_STOMACH [0-32767] +Set degree to which things of the selected type suffer from hunger or +over-satiation: If 0, not at all. Else, each turn a thing of the given type may +suffer a lifepoint decrement to the chance of the rounded down quotient of the +satiation score's absolute value by the given value, then again divided by the +latter. This means that the chance is always zero when the absolute value of the +satiation score is lower than the given value.