ships.cfg

./lib/room/ships/ships.cfg · 1.7 KB

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

/*************************************************************************/
/* Defines for Ships */


#define PORTS_OF_CALL    ({\
     ({ "Tempus City", "/room/city/jetty",        ({ 0, 0, 0, }),          }),\
     ({ "Angel's",     "/players/angel/workroom", ({ 1000, 1000, 1000, }), }),\
     ({ "Skol Island", "/room/island/jetty",      ({ 2000, 1000, 4000, }), }),\
                         })

#define SCI_FI                     /* are we a sailing ship? or starship?  */

#ifdef  SCI_FI
#define IMPULSE_POWER    4         /* maximum impulse power                */
#define WARP_SPEED       10        /* warp multiplier for ship speed       */
#define MAX_WARP         10        /* max warp power                       */
#define COMPUTER         "Computer chirps: "
#endif /* SCI_FI */


#define PLACE            0         /* array element which contains place   */
#define FILE             1         /* array element which contains file    */
#define XYZ              2         /* array element which contains coords  */

#define HP               2000      /* hp for the ship                      */
#define WAIT_TIME        1         /* time to wait for automated ships     */

#define R_TO_D           57.295780 /* convert radians to degrees          */
#define X                0
#define Y                1
#define Z                2

#define NAME             (string)this_player()->query_name()
#define SHIP_NAME        (string)this_object()->query_ship_name()
#define SHIP_DIR         "/room/ships/open/types/"
#define SHIP_FILE        "bridge"
#define SCAN_RANGE       500
#define CLOSE_ENUFF 5

#define DEFAULT_DESTINATION        "/room/city/jetty"
#define DEFAULT_DESTINATION_NAME   "Tempus City"

Site Stats

Snippets: 1791
Codebases: 571