X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=README;h=2a0206deb2935950eeb388b70ac7a09c0812a840;hb=7433f56ec2c6cc51bc497e3c0c67d2fe3e6ab64a;hp=ff6a3969e2cb23016505e1b934c2d1f59fab4aaa;hpb=9a2386afca883efadd8c8e59bf2359f4f7b47d24;p=plomrogue diff --git a/README b/README index ff6a396..2a0206d 100644 --- a/README +++ b/README @@ -12,8 +12,8 @@ to gain hitpoints. Note that different kinds of movements/actions take different numbers of turns to finish. Enemies' AI is very dumb so far: Each turn, they try to move towards their -shortest-path-wise nearest enemy. If no enemy is found in their surroundings, -they just wait. +shortest-path-wise nearest enemy visible to them. If they see no enemy, they +just wait. Once you start a new world, every move of yours is recorded in a file called "record". Once you re-start the game, all of your previous moves are replayed @@ -78,8 +78,9 @@ Hacking / server internals and configuration -------------------------------------------- The ./confserver/world file defines the map object types, actions available to -them and the map itself. Each definition consists of a multi-line block wherein -each line sets one attribute of the object type, action or the map. +them, the map itself, the map object type (species) of the player and whether +enemies see the whole map or only a line-of-sight field of view. Each definition +consists of a single- or multi-line block wherein each line sets one attribute. Here's a typical map definition block: @@ -130,6 +131,9 @@ yet: or if they are inanimate, but are otherwise crushed). Note that the after, it may even be the same). "START_NUMBER" sets the number of objects that are to appear of the given type on the map on game start. +A line of "PLAYER_TYPE" followed by a number sets the map object type (id) of +the player's creature. + All these definition block members must be present within their blocks, but only "ACTION" / "OBJECT" / "MAP_TYPE" must be positioned at their respective blocks' first line; the others may appear in whatever order and even multiple times. If