summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add files documenting option changes from 0.4.5 -> 0.5 and 0.5 -> 0.5.1.j-p-e-g2009-07-261-3/+4
| | | | | | | Also update options guide and settings. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10419 c06c8d41-db1a-0410-9941-cceddc491573
* Apply the relevant parts of r10086 to 0.5, add the patch guide and newj-p-e-g2009-07-041-24/+34
| | | | | | | man page, and update the change log. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10091 c06c8d41-db1a-0410-9941-cceddc491573
* * Use coinflip() for whether monsters step aside for others, or not.j-p-e-g2009-06-241-2/+2
| | | | | | | * Add some explanatory comments to dolls.txt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10028 c06c8d41-db1a-0410-9941-cceddc491573
* * Greatly lower tiles update rate, now with an option for easier testing.j-p-e-g2009-06-211-1/+3
| | | | | | | * Also sped up targeting a bit more. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10013 c06c8d41-db1a-0410-9941-cceddc491573
* * Make the key press delay in tiles optional (and shorter, by default).j-p-e-g2009-06-141-20/+23
| | | | | | | | * Fix font name options being lowercased and thus not found. * Add missing tile options to options_guide.txt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9976 c06c8d41-db1a-0410-9941-cceddc491573
* Add an 0.5-only option to remind players that wands are now evoked, withj-p-e-g2009-05-311-0/+2
| | | | | | | | | the message displayed at most once per gaming session and only if you have wands in inventory and haven't evoked one before using 'Z' to cast a spell. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9858 c06c8d41-db1a-0410-9941-cceddc491573
* Add an option that controls whether the tiles build displays tiles inj-p-e-g2009-05-231-0/+2
| | | | | | | | | | menus or not. (Defaults to true.) Tiled menus may seem like a great feature (and I love them) but they can also be a bit confusing/distracting (though much less so now than they used to be), and I respect that. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9799 c06c8d41-db1a-0410-9941-cceddc491573
* Fix warning.dolorous2009-05-061-2/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9740 c06c8d41-db1a-0410-9941-cceddc491573
* * Replace the range_view_annotator loop with an simple check for thej-p-e-g2009-05-051-0/+2
| | | | | | | | | | | | | | current range, which if set to a value > 0 will cause viewwindow to colour all grids not in los or not in range to be coloured grey. Has the side effect to also work for Tiles. :) * Change THELM_DESC_JEWELLED to golden, do as to avoid overlap with the randart description. * Make porridge sometimes brown and blood potions sometimes viscous/sedimented. (Yes, these don't really fit but I don't like the fixed descriptions.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9735 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fixes.dolorous2009-04-301-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9709 c06c8d41-db1a-0410-9941-cceddc491573
* Change Options.autopickup_on from boolean to 3-state: 1 (autopick up), 0j-p-e-g2009-04-241-2/+8
| | | | | | | | (autopickup off), -1 (autopickup turned off automatically). Only in the latter case does killing an invisible monster turn autopickup (back) on. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9691 c06c8d41-db1a-0410-9941-cceddc491573
* * Tweak Xom's ideas about what makes a funny or boring death.j-p-e-g2009-04-221-17/+25
| | | | | | | | | * Add another option (*sigh*) covering whether W=T and P=R. (Defaults to false.) * Various spacing and comment fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9675 c06c8d41-db1a-0410-9941-cceddc491573
* * Properly print (non-spoily) resists descriptions for ghosts/pandemoniumj-p-e-g2009-04-191-2/+4
| | | | | | | | | | | | lords, using mons_class_resists (currently only poison) instead of mons_resists(). * Add option note_xom_effects (defaults to true) that causes note-taking for all Xom effects, hopefully spoiler free. * Autoinscribe hides from unique monsters' corpses with the monster name, as suggested on rgrm. Currently only applies to Snorg and Tiamat. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9652 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix Xom's piety wrapping around from 0 -> 255.j-p-e-g2009-04-181-1/+1
| | | | | | | | | | | | | | | | * Fix Xom piety 100 (initial state) favouring bad effects. * Limit tension bonus for good effects to 199. * Add penalty for tension 0, so bad effects become more likely without tension. * Revert order of Xom's amusement to actually match the amusement gain. (Was getting "roars with laughter" for gain of 2, etc.) * Add damage shaving to Deep Dwarf ghosts. * Add 'o' to pickup list commands -> stop prompting, start autoexplore. * Default menu_colour_item_class to true in initfile.cc. * Allow autopickup of chunks in Lich form. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9634 c06c8d41-db1a-0410-9941-cceddc491573
* * Allow viewing known items from "Use on what item?" scroll prompt.j-p-e-g2009-04-111-0/+4
| | | | | | | | * Default use_fake_cursor to true on Unix, else false. * Tweak some descriptions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9594 c06c8d41-db1a-0410-9941-cceddc491573
* * Tweak FAQ and change log some more.j-p-e-g2009-04-051-1/+1
| | | | | | | | | | * Default use_fake_cursor to true since it appears to be a common enough problem that we regularly get bug reports about the cursor disappearing in X mode. * Add altars to the list of features displayed in V. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9585 c06c8d41-db1a-0410-9941-cceddc491573
* FR 2093461: add player + allies FRIENDLY_PICKUP modej-p-e-g2009-03-121-0/+2
| | | | | | | | | Make Roxanne immune to disintegration (like ice statues). Move rock worms a bit lower in the dungeon and increase their damage (a tiny bit). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9428 c06c8d41-db1a-0410-9941-cceddc491573
* Various documentation tweaks. Among others, replace all references toj-p-e-g2009-03-121-8/+8
| | | | | | | | "class" with "job", and "race" with "species" because that comes much closer to what they actually are. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9425 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2009-03-061-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9353 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2661474]: note_all_skill_levels was being ignored.haranp2009-03-041-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9327 c06c8d41-db1a-0410-9941-cceddc491573
* FR 2533562: Move the CRAWL_PIZZA / -pizza options into the init filenlanza2009-02-271-16/+9
| | | | | | | so that they're more easily accessible in hosted games. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9250 c06c8d41-db1a-0410-9941-cceddc491573
* * Tweak spell number of randart books some more.j-p-e-g2009-02-211-0/+2
| | | | | | | | | | | | * Loosen restrictions on spell levels of unknown spells for normal books, so there are more matches even for untrained schools. * Add a new option dump_book_spells that, if set to true (default), will dump the spells even for non-randart book. Useful if you don't know the books' contents by heart and want to know spells at your disposal without checking some spoilers. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9143 c06c8d41-db1a-0410-9941-cceddc491573
* Change elemental type colour enum to use ETC_ prefix instead of EC_haranp2009-02-171-2/+2
| | | | | | | | prefix, which was conflicting with the Abyssal entry cause enum. Fixes [2605869]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9110 c06c8d41-db1a-0410-9941-cceddc491573
* Halving the time before tooltips appear.ennewalker2009-02-171-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9109 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2478469]: teleport should stop stair use delays.haranp2009-01-301-4/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8854 c06c8d41-db1a-0410-9941-cceddc491573
* Added options easy_eat_gourmand and easy_eat_contaminated.zelgadis2009-01-261-0/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8769 c06c8d41-db1a-0410-9941-cceddc491573
* Properly save and restore the starting wand or rod for the Artificer dolorous2009-01-201-1/+54
| | | | | | | class. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8630 c06c8d41-db1a-0410-9941-cceddc491573
* Add more minor cosmetic fixes.dolorous2009-01-201-6/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8629 c06c8d41-db1a-0410-9941-cceddc491573
* Add miscellaneous minor cleanups.dolorous2009-01-201-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8617 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2009-01-171-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8480 c06c8d41-db1a-0410-9941-cceddc491573
* Add game option evil_colour, set from the options file variable $evil, and usezelgadis2009-01-161-0/+5
| | | | | | | | it to colour monster pane entries for when it would be unchivarlic for a TSO-ite to attack them. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8468 c06c8d41-db1a-0410-9941-cceddc491573
* Make verbose_monster_pane default to true, and for TSO-ites colour monster panezelgadis2009-01-151-1/+1
| | | | | | | entries magenta if attacking that monster would be unchivalric. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8458 c06c8d41-db1a-0410-9941-cceddc491573
* [2495836] Show names for friendly uniques during arena mode. Also, add a ↵ennewalker2009-01-101-1/+6
| | | | | | tile_tag_pref option. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8383 c06c8d41-db1a-0410-9941-cceddc491573
* Greatly improve eating interface, as suggested in FRs 1923273 and 2018733.j-p-e-g2009-01-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When you now press 'e' the following takes place: 1) If you can eat chunks, the game builds a list out of all chunks on the floor and in your inventory, sorted by age [1], and prompts you to eat them [2]. 2) If none are found, or you decline all of them you get prompted for non-chunk food items on the floor. 3) Prompt for non-chunk food in your inventory. 4) Open up the food menu of your inventory. Because of the way lua works, there's currently a problem that in the early stages (1-3) "q" (now also accepts Escape) will cause to skip ahead to the next stage rather than leaving the process entirely, which is of course less than optimal. I also added two new options [1] prefer_safe_chunks (defaults to true) which will offer clean chunks before contaminated ones, even if the latter happens to be older [2] easy_eat_chunks (defaults to false) which causes the prompting to be skipped for safe (i.e. clean) chunks, so you will automatically eat the oldest chunk that applies. This is ignored for undead characters. I also got rid of the outdated safechnk.lua and chnkdata.lua seeing how chunk effects are no longer spoily information. Added a new wizmode command: Ctrl-H, which allows you to set your character's hunger state. (Hopefully this will make Vampire testing easier.) Also fix 2488374: "Controlled Flight being named upon levitation even if its type is already known. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8282 c06c8d41-db1a-0410-9941-cceddc491573
* Adding REVISION() macro to all source files.ennewalker2009-01-041-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8217 c06c8d41-db1a-0410-9941-cceddc491573
* Add arena_force_ai option (also settable as "force_ai" or "no_force_ai" in ↵dshaligram2009-01-031-0/+4
| | | | | | the arena spec) that when unset, uses the real game's monster AI, and when set, forces monsters to attack. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8160 c06c8d41-db1a-0410-9941-cceddc491573
* Added option "verbose_monster_pane", which when set to true makes the monsterzelgadis2009-01-031-0/+3
| | | | | | | | | | pane give more detailed information than just "resting" or "distracted". I probably put the option in the wrong section in options_guide.txt and init.txt, but I couldn't figure out the right section for it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8158 c06c8d41-db1a-0410-9941-cceddc491573
* Allow arena_delay to be 0, instead of having a minimum of 1.zelgadis2009-01-011-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8076 c06c8d41-db1a-0410-9941-cceddc491573
* Added arena game options:zelgadis2009-01-011-0/+7
| | | | | | | | | | | | | | | | | * arena_dump_msgs, which if true will dump all mpr()'d messages into arena.result * arena_dump_msgs_all, which will cause arena_dump_msgs to dump all messages, not just ones considered "dump worthy" * arena_list_eq, which if true will cause all items the monsters came equipped with to be dumped to arena.result Also, made arena_delay option settable, so you can do "arena_delay = 0" to make the simulation zip by. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8071 c06c8d41-db1a-0410-9941-cceddc491573
* Add arena mode, activated on the command-line by 'crawl -arena "monster v ↵dshaligram2008-12-311-1/+13
| | | | | | monster"' (eg: crawl -arena "Sigmund v Jessica") to let monsters fight each other undisturbed by the player. Good to examine monster AI and monster behaviour when the player is AWOL. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8059 c06c8d41-db1a-0410-9941-cceddc491573
* drop_filter can now match against the same keywords as menu_colour, minus thezelgadis2008-12-311-1/+23
| | | | | | | | | | | | | | identification status and chunk/corpse information. drop_filter now defaults to useless_item You can prevent an init file variable from being changed by turning it into a constant. Clear variables and aliases when resetting the game options. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8043 c06c8d41-db1a-0410-9941-cceddc491573
* * Dump spells contained in randart spellbooks, marking memorised spellsj-p-e-g2008-12-291-4/+10
| | | | | | | | | | with an asterisk. * Sif Muna no longer gifts the books specific to Kiku and Vehumet (Necronomicon, Annihilations, Demonology) though the spells contained there-in may crop up in randart books. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8011 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2471146: equipment being melded due to mutations.j-p-e-g2008-12-281-0/+27
| | | | | | | | | | | | | | | | | | | | | Fix 2426301: melding not working properly for Merfolk transformation. Colour melded equipment darkgrey on the % screen. Disallow Merfolk slipping out of their boots if doing so would kill the player due to stat loss. (Falling into water when flying will still kill them.) When this is the case, deep water is regarded as unsafe for travel. TODO: Ending a transformation should likewise be impossible if doing so would cause stat loss due to unmelding of items. Add a stat_colour option to highlight the stats when they're below a given threshold. By default, lightred at 1, red at 2-3. You could argue for setting the default to 7 but that would mean colouring almost all stats for each beginning character. (FR 2022232) Tidy up the stat colouring methods. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8004 c06c8d41-db1a-0410-9941-cceddc491573
* [2423866] Fixing bug where corpses don't appear in the inventory window by ↵ennewalker2008-12-201-1/+1
| | | | | | default. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7890 c06c8d41-db1a-0410-9941-cceddc491573
* Adding auto-sizing for font, map, and window sizes. Windows should fit on ↵ennewalker2008-12-201-10/+11
| | | | | | the screen by default now. The options are still somewhat of a mess, but I don't think that they'll need to be modified by most people. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7889 c06c8d41-db1a-0410-9941-cceddc491573
* Changed interrupted butchering behaviour as per Johanna'szelgadis2008-12-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | suggestions/observations: 1) Get rid of option swap_when_safe and its behaviour. 2) If auto-swap butchery is interrupted by teleportation or chagning levels (banishment) then auto-swap back if there's no monsters nearby. 2b) Do the same if butchery is interrupted and then later a large position change happens. 3) If auto-swap butchery is interrupted by something like poison damage, if the butchery is resumed and finished then swap back. 4) If auto-swap butchery is interrupted by a monster, then if the new option prompt_for_swap is set the game will ask if you wish to swap back from your butchering tool. 4b) Do the same if butchery is interrupted and then later a large position change lands you near some hostile monsters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7717 c06c8d41-db1a-0410-9941-cceddc491573
* Oops, used tabs instead of spaces for indentation in items.cc and mon-util.cc.zelgadis2008-11-221-1/+1
| | | | | | | Fixed the same problem in initfile.cc and directn.cc while I was at it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7533 c06c8d41-db1a-0410-9941-cceddc491573
* Fix multiline Lua <> blocks in .crawlrc ending on empty lines (doy).dshaligram2008-11-121-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7442 c06c8d41-db1a-0410-9941-cceddc491573
* Graphical support for range restrictions of spells in tiles mode. Clicking ↵ennewalker2008-10-051-0/+2
| | | | | | past the max range will now fire as far as it can, rather than just giving an error. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7135 c06c8d41-db1a-0410-9941-cceddc491573
* Changed '!' in targeting from target-select to target-select-ignoring-range.haranp2008-10-041-1/+1
| | | | | | | | | | Added '@', which is to '!' as '.' is to the old '5'. Fixed 2146628: cancelling targeting was incorrectly checking range. The behaviour of allow_self_target is now slightly different (see forthcoming mail on crawl-ref-discuss.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7128 c06c8d41-db1a-0410-9941-cceddc491573