Changeset 557
- Timestamp:
- 09/14/07 15:05:42 (1 year ago)
- Files:
-
- trunk/src/generate.c (modified) (2 diffs)
- trunk/src/load.c (modified) (2 diffs)
- trunk/src/option.c (modified) (3 diffs)
- trunk/src/option.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/generate.c
r520 r557 6 6 * Includes rooms of every kind, pits, vaults (inc. interpretation of 7 7 * vault.txt), streamers, tunnelling, etc. Level feelings and other 8 * messages , autoscummer behavior. Creation of the town.8 * messages. Creation of the town. 9 9 * 10 10 * Copyright (c) 1997-2001 Ben Harrison, James E. Wilson, Robert A. Koeneke … … 5165 5165 } 5166 5166 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 5190 5167 /* Message */ 5191 5168 if ((cheat_room) && (why)) trunk/src/load.c
r531 r557 929 929 * 0 xxx maximise 930 930 * 1 xxx randarts 931 * 2 maximise autoscum931 * 2 maximise xxx 932 932 * 3 preserve ironman 933 933 * 4 ironman no_stores … … 956 956 957 957 birth_no_stairs = adult_no_stairs = !OLD_OPT(41); 958 birth_autoscum = adult_autoscum = OLD_OPT(33);959 958 birth_ai_sound = adult_ai_sound = OLD_OPT(42); 960 959 birth_ai_smell = adult_ai_smell = OLD_OPT(43); trunk/src/option.c
r464 r557 85 85 OPT_birth_maximize, 86 86 OPT_birth_randarts, 87 OPT_birth_autoscum,88 87 OPT_birth_ironman, 89 88 OPT_birth_no_stores, … … 260 259 { "birth_maximize", "Maximize effect of race/class bonuses", TRUE }, /* 128 */ 261 260 { "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 */ 263 262 { "birth_ironman", "Restrict the use of stairs/recall", FALSE }, /* 131 */ 264 263 { "birth_no_stores", "Restrict the use of stores/home", FALSE }, /* 132 */ … … 324 323 { "adult_maximize", "Adult: Maximize effect of race/class bonuses", TRUE }, /* 192 */ 325 324 { "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 */ 327 326 { "adult_ironman", "Adult: Restrict the use of stairs/recall", FALSE }, /* 195 */ 328 327 { "adult_no_stores", "Adult: Restrict the use of stores/home", FALSE }, /* 196 */ trunk/src/option.h
r463 r557 86 86 #define OPT_birth_maximize (OPT_BIRTH+0) 87 87 #define OPT_birth_randarts (OPT_BIRTH+1) 88 #define OPT_birth_autoscum (OPT_BIRTH+2)89 88 #define OPT_birth_ironman (OPT_BIRTH+3) 90 89 #define OPT_birth_no_stores (OPT_BIRTH+4) … … 110 109 #define OPT_adult_maximize (OPT_ADULT+0) 111 110 #define OPT_adult_randarts (OPT_ADULT+1) 112 #define OPT_adult_autoscum (OPT_ADULT+2)113 111 #define OPT_adult_ironman (OPT_ADULT+3) 114 112 #define OPT_adult_no_stores (OPT_ADULT+4) … … 177 175 #define birth_maximize OPT(birth_maximize) 178 176 #define birth_randarts OPT(birth_randarts) 179 #define birth_autoscum OPT(birth_autoscum)180 177 #define birth_ironman OPT(birth_ironman) 181 178 #define birth_no_stores OPT(birth_no_stores) … … 200 197 #define adult_maximize OPT(adult_maximize) 201 198 #define adult_randarts OPT(adult_randarts) 202 #define adult_autoscum OPT(adult_autoscum)203 199 #define adult_ironman OPT(adult_ironman) 204 200 #define adult_no_stores OPT(adult_no_stores)
