Changeset 557

Show
Ignore:
Timestamp:
09/14/07 15:05:42 (1 year ago)
Author:
takkaria
Message:

Remove autoscum. (closes #365)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/generate.c

    r520 r557  
    66 * Includes rooms of every kind, pits, vaults (inc. interpretation of  
    77 * vault.txt), streamers, tunnelling, etc.  Level feelings and other  
    8  * messages, autoscummer behavior.  Creation of the town. 
     8 * messages.  Creation of the town. 
    99 * 
    1010 * Copyright (c) 1997-2001 Ben Harrison, James E. Wilson, Robert A. Koeneke 
     
    51655165                } 
    51665166 
    5167                 /* Mega-Hack -- "auto-scum" */ 
    5168                 if (adult_autoscum && (num < 100)) 
    5169                 { 
    5170                         /* Require "goodness" */ 
    5171                         if ((feeling > 9) || 
    5172                             ((p_ptr->depth >= 5) && (feeling > 8)) || 
    5173                             ((p_ptr->depth >= 10) && (feeling > 7)) || 
    5174                             ((p_ptr->depth >= 20) && (feeling > 6)) || 
    5175                             ((p_ptr->depth >= 40) && (feeling > 5))) 
    5176                         { 
    5177                                 /* Give message to cheaters */ 
    5178                                 if (cheat_room || cheat_hear || 
    5179                                     cheat_peek || cheat_xtra) 
    5180                                 { 
    5181                                         /* Message */ 
    5182                                         why = "boring level"; 
    5183                                 } 
    5184  
    5185                                 /* Try again */ 
    5186                                 okay = FALSE; 
    5187                         } 
    5188                 } 
    5189  
    51905167                /* Message */ 
    51915168                if ((cheat_room) && (why))  
  • trunk/src/load.c

    r531 r557  
    929929                 * 0    xxx                     maximise 
    930930                 * 1    xxx                     randarts 
    931                  * 2    maximise        autoscum 
     931                 * 2    maximise        xxx 
    932932                 * 3    preserve        ironman 
    933933                 * 4    ironman         no_stores 
     
    956956 
    957957                birth_no_stairs = adult_no_stairs = !OLD_OPT(41); 
    958                 birth_autoscum = adult_autoscum = OLD_OPT(33); 
    959958                birth_ai_sound = adult_ai_sound = OLD_OPT(42); 
    960959                birth_ai_smell = adult_ai_smell = OLD_OPT(43); 
  • trunk/src/option.c

    r464 r557  
    8585                OPT_birth_maximize, 
    8686                OPT_birth_randarts, 
    87                 OPT_birth_autoscum, 
    8887                OPT_birth_ironman, 
    8988                OPT_birth_no_stores, 
     
    260259{ "birth_maximize",      "Maximize effect of race/class bonuses",       TRUE },  /* 128 */ 
    261260{ "birth_randarts",      "Randomize some of the artifacts (alpha)",     FALSE }, /* 129 */ 
    262 { "birth_autoscum",      "Auto-scum for good levels",                   FALSE }, /* 130 */ 
     261{ NULL,                  NULL,                                          FALSE }, /* 130 */ 
    263262{ "birth_ironman",       "Restrict the use of stairs/recall",           FALSE }, /* 131 */ 
    264263{ "birth_no_stores",     "Restrict the use of stores/home",             FALSE }, /* 132 */ 
     
    324323{ "adult_maximize",      "Adult: Maximize effect of race/class bonuses",  TRUE },  /* 192 */ 
    325324{ "adult_randarts",      "Adult: Randomize some of the artifacts (beta)", FALSE }, /* 193 */ 
    326 { "adult_autoscum",      "Adult: Auto-scum for good levels",            FALSE }, /* 194 */ 
     325{ NULL,                  NULL,                                          FALSE }, /* 194 */ 
    327326{ "adult_ironman",       "Adult: Restrict the use of stairs/recall",    FALSE }, /* 195 */ 
    328327{ "adult_no_stores",     "Adult: Restrict the use of stores/home",      FALSE }, /* 196 */ 
  • trunk/src/option.h

    r463 r557  
    8686#define OPT_birth_maximize          (OPT_BIRTH+0) 
    8787#define OPT_birth_randarts          (OPT_BIRTH+1) 
    88 #define OPT_birth_autoscum          (OPT_BIRTH+2) 
    8988#define OPT_birth_ironman           (OPT_BIRTH+3) 
    9089#define OPT_birth_no_stores         (OPT_BIRTH+4) 
     
    110109#define OPT_adult_maximize          (OPT_ADULT+0) 
    111110#define OPT_adult_randarts          (OPT_ADULT+1) 
    112 #define OPT_adult_autoscum          (OPT_ADULT+2) 
    113111#define OPT_adult_ironman           (OPT_ADULT+3) 
    114112#define OPT_adult_no_stores         (OPT_ADULT+4) 
     
    177175#define birth_maximize                  OPT(birth_maximize) 
    178176#define birth_randarts                  OPT(birth_randarts) 
    179 #define birth_autoscum                  OPT(birth_autoscum) 
    180177#define birth_ironman                   OPT(birth_ironman) 
    181178#define birth_no_stores                 OPT(birth_no_stores) 
     
    200197#define adult_maximize                  OPT(adult_maximize) 
    201198#define adult_randarts                  OPT(adult_randarts) 
    202 #define adult_autoscum                  OPT(adult_autoscum) 
    203199#define adult_ironman                   OPT(adult_ironman) 
    204200#define adult_no_stores                 OPT(adult_no_stores)