X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=SERVER_COMMANDS;h=bc69c2a2a31aad57a445d6e8cbd1e1fde03f4e15;hb=7ee118744cf696348c17805bf7b7d27f98e67153;hp=aad4f68d8fe9cbb02bd3210fe33474c8dd7b9ac6;hpb=aec8de097645ebfda6d92adcdf27efa5deb00af0;p=plomrogue diff --git a/SERVER_COMMANDS b/SERVER_COMMANDS index aad4f68..bc69c2a 100644 --- a/SERVER_COMMANDS +++ b/SERVER_COMMANDS @@ -51,6 +51,10 @@ game world is set active. Meta commands ------------- +PLUGIN [string] +Run plugin code in ./plugins/[argument], with argument only consisting of +alphanumeric characters and underscores. + PING Write "PONG" line to ./server/out file. @@ -170,10 +174,10 @@ T_LIFEPOINTS [0 to 255] Set selected thing's lifepoints to argument. T_SATIATION [-32768 to 32767] -Set selected thing's satiation score. If above zero, and thing's lifepoints are -below its thing type's initial lifepoints, there is a 1/32 chance each turn of -waiting action that the thing's lifepoints will rise. For values affecting the -thing's lifepoints negatively, see note on TT_LIFEPOINTS. +Set selected thing's satiation score. Each turn, there is a chance of hitpoint +loss that grows with the satiation score's absolute value, and one of hitpoint +gain that lowers with it. Each turn, T_SATIATION lessens by the square root of +the thing's type's start hitpoints (see TT_LIFEPOINTS). T_CARRIES [0 to infinity] Add thing of ID in argument to inventory of selected thing, if said thing is @@ -212,14 +216,8 @@ MAKE_WORLD command to argument. TT_LIFEPOINTS [0-255] Set selected thing type's initial lifepoints value to argument. Things of 0 -lifepoints are considered inanimate, otherwise animate. This value also sets the -degree to which the selected type's things suffer from under- or over-satiation: -If 0, not at all. Else, it defines a stomach size value of 32767 divided by it. -Each turn a thing of the given type may then suffer a lifepoint decrement to the -chance of the rounded down quotient of its satiation score's absolute value by -its stomach size value, then again divided by the latter. (This means that the -change is always zero when the absolute value of the satiation score is lower -than the stomach size value.) +lifepoints are considered inanimate, otherwise animate. The square root of this +is the amount things of the type suffer satiation score loss each turn. TT_SYMBOL [char] Set to argument symbol by which things of the selected type are represented on