… | |
… | |
392 | /* |
392 | /* |
393 | * MAP_MAXRESET is the maximum time a map can have before being reset. It |
393 | * MAP_MAXRESET is the maximum time a map can have before being reset. It |
394 | * will override the time value set in the map, if that time is longer than |
394 | * will override the time value set in the map, if that time is longer than |
395 | * MAP_MAXRESET. This value is in seconds. If you are low on space on the |
395 | * MAP_MAXRESET. This value is in seconds. If you are low on space on the |
396 | * TMPDIR device, set this value to somethign small. The default |
396 | * TMPDIR device, set this value to somethign small. The default |
397 | * value in the map object is MAP_DEFAULTRESET (given in seconds.) |
397 | * value in the map object is given in seconds.->defaultreset |
398 | * I personally like 1 hour myself, for solo play. It is long enough that |
398 | * I personally like 1 hour myself, for solo play. It is long enough that |
399 | * maps won't be resetting as a solve a quest, but short enough that some |
399 | * maps won't be resetting as a solve a quest, but short enough that some |
400 | * maps (like shops and inns) will be reset during the time I play. |
400 | * maps (like shops and inns) will be reset during the time I play. |
401 | * Comment out MAP_MAXRESET time if you always want to use the value |
401 | * Comment out MAP_MAXRESET time if you always want to use the value |
402 | * in the map archetype. |
402 | * in the map archetype. |
… | |
… | |
630 | * saves pretty well spread out (in a fairly random fashion.) |
630 | * saves pretty well spread out (in a fairly random fashion.) |
631 | */ |
631 | */ |
632 | |
632 | |
633 | #define AUTOSAVE 1000 |
633 | #define AUTOSAVE 1000 |
634 | |
634 | |
635 | /* Often, emergency save fails because the memory corruption that caused |
|
|
636 | * the crash has trashed the characters too. Define NO_EMERGENCY_SAVE |
|
|
637 | * to disable emergency saves. This actually does |
|
|
638 | * prevent emergency saves now (Version 0.90.5). |
|
|
639 | */ |
|
|
640 | |
|
|
641 | #define NO_EMERGENCY_SAVE |
|
|
642 | |
|
|
643 | /* By selecting the following, whenever a player does a backup save (with |
|
|
644 | * the 'save command), the player will be saved at home (EMERGENCY_MAP_* |
|
|
645 | * information that is specified later). IF this is not set, the player |
|
|
646 | * will be saved at his present location. |
|
|
647 | */ |
|
|
648 | |
|
|
649 | /*#define BACKUP_SAVE_AT_HOME*/ |
|
|
650 | |
|
|
651 | /* RESET_LOCATION_TIME is the number of seconds that must elapse before |
635 | /* RESET_LOCATION_TIME is the number of seconds that must elapse before |
652 | * we will return the player to his savebed location. If this is zero, |
636 | * we will return the player to his savebed location. If this is zero, |
653 | * this feature is disabled (player will resume where ever he was |
637 | * this feature is disabled (player will resume where ever he was |
654 | * when he last logged off). If this is set to less than two hours, |
638 | * when he last logged off). If this is set to less than two hours, |
655 | * it will prevent players from camping out in treasure rooms. |
639 | * it will prevent players from camping out in treasure rooms. |