summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shopping.cc
Commit message (Collapse)AuthorAgeFilesLines
* Give Amulet of Stasis a cost (ogaz).Jude Brown2010-01-171-0/+1
| | | | Same price as an amulet of rage.
* Remove electric missiles.Adam Borowski2010-01-121-1/+0
| | | | | The launcher brand is still there, currently on the storm bow and 1/5 of branded (ie, 1/3 of them) randart crossbows.
* Amulet of Faith, mark I.Darshan Shaligram2010-01-101-0/+1
| | | | | | | | | | | | | | Amulets of faith have these effects: - Piety gain is 1/3 faster. - Gods that protect from harm are more likely to do so (your piety is 1/3rd higher for such checks). - Xom piety walk is 1/3 faster. - Xom is more likely to act. - Removing the amulet leaches away some piety, but will never cause excommunication, or drop piety too close to excommunication. Amulets auto-id if the player already has a religion, or when the player acquires a religion while wearing the amulet.
* Remove resist slowing, increment tag major version.Darshan Shaligram2010-01-101-1/+0
|
* New (ranged) weapon brand: evasion.Jude Brown2010-01-031-0/+7
| | | | | | | This replaces "protection" on all ranged weapons, and will only generate on those. This commit also fixes shopping values for the new needle brands.
* Remove hand crossbows.Jude Brown2009-12-311-4/+0
| | | | | | | | | | | | | | | | | | This involves a lot of changes, and also increments TAG_MAJOR_VERSION to 13. The unrand "Sniper" is now a crossbow (hopefully its current title is still suitable for this task), and thieves no longer start with hand crossbows (but still retain darts). Wanderers with crossbow skills will now get a crossbow and bolts. This may be overpowered, but I didn't want to change the code here too much. It can always be adjusted. This removes the "quiver_type" enum from enum.h, and uses NUM_AMMO in the player.h quiver vector instead. Random elves that generated with hand crossbows before no longer do so, and this has not been replaced by normal crossbows. I hope that's everything!
* Generalise shopping-list-disable-check to need_save; fixes crashes on arena.Darshan Shaligram2009-12-291-1/+1
|
* Give shields of reflection the same price modifier as robes of resistance.Johanna Ploog2009-12-201-0/+1
|
* Fix shopping list uninitialized asserts in 'crawl -test'.Robert Vollmert2009-12-171-2/+2
|
* Replace static snprintf() with make_sprintf() where the result is ↵Adam Borowski2009-12-171-10/+5
| | | | | | immediately cast to std::string.
* Remove superfluous --more-- prompt after purchase. (Napkin)Jude Brown2009-12-061-1/+1
|
* Reduce dependency on travel.hMatthew Cline2009-11-291-0/+1
| | | | | | | | Removed inclusion of travel.h from most .h files to reduce the number of .cc files dependant on it. This involved moving the level_pos declaration to externs.h, moving the flood_find template to it's own header file, and moving two typedefs from travel.h to travel_defs.h because typedefs can't be forward declared (argh).
* ShoppingList: deal better with mult identical itemMatthew Cline2009-11-281-37/+54
|
* ShoppingList::item_name_simple(): include plusesMatthew Cline2009-11-271-2/+2
| | | | | | Include pluses in the name returned by item_name_simple(), so that a shop with two wands of the same type but with different charges will be distinguishable.
* ShoppingList: pass level_pos* as constMatthew Cline2009-11-271-6/+9
|
* Remove unnecessary header-header includes.Robert Vollmert2009-11-271-0/+1
|
* Fix shopping list crashing during map_stat_genMatthew Cline2009-11-271-0/+8
|
* Bug #74: fix shopping list crashMatthew Cline2009-11-271-1/+4
|
* Fix deleting entries from shopping list.Matthew Cline2009-11-271-35/+35
|
* Can now delete shopping list items via '$' menuMatthew Cline2009-11-271-3/+38
|
* Add third menu action type ACT_MISCMatthew Cline2009-11-271-1/+1
| | | | | | | | To the menu actions ACT_EXECUTE and ACT_EXAMINE add the third action type ACT_MISC, for things like deleting menu entries. The member "allow_toggle" has been changed to "action_cycle", with the possible values CYCLE_NONE (default) , CYCLE_TOGGLE (allow_toggle == true), and CYCLE_CYCLE (cycle through all three possible action types).
* ShoppingList: simplify.Matthew Cline2009-11-271-12/+7
|
* Bug #51: Shopping list travel bug fixMatthew Cline2009-11-271-1/+1
| | | | Shopping list travel now always goes all the way to the shop.
* Bug #51: Remove gone portals from shopping listMatthew Cline2009-11-271-1/+26
|
* 0 gold owed in a shop is validJesse Luehrs2009-11-211-1/+1
|
* Rename blessed eudemon blades to holy eudemon blades.David Lawrence Ramsey2009-11-191-1/+1
| | | | | This is shorter, consistent with the other demon-converted weapon, and consistent with its always getting the holy wrath brand.
* Clean up a few references to holy scourges.David Lawrence Ramsey2009-11-191-1/+1
|
* Improve demon whips, just like regular ones were upgraded. Let people bless ↵Adam Borowski2009-11-201-0/+1
| | | | them.
* A few typos.Adam Borowski2009-11-161-2/+2
|
* Merge Johnny Shelley's arcane marksman patchStefan O'Rear2009-11-151-4/+0
|\
| * Remove #include <conio.h> from all over the place. Convert COLORS to an enum.Adam Borowski2009-11-141-4/+0
| |
* | Warper Overhaul - Renamed to Arcane Marksmanjohnny shelley2009-11-141-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missile Changes -- electricity missiles are now an option - they are always destroyed reaping / dispersal ammo is now always destroyed as it can be created by players poison ammo can again affect rocks / bullets etc - still no nets. Apparently this is a contact poison, but mainly it's to close the gap between sling users and archers. SKILLS -- Ranged weapon 3 Dodging 2 Spellcasting 2 Enchantments OR Translocations 3 EQUIPMENT -- Robe Ration Scroll of blink Some ranged weapon options as Hunter No melee weapon! Either book of elemental missiles or warped missiles The book of Elemental Missiles Spells Type Level a - Corona Enchantment 1 b - Swiftness Enchantment/Air 2 c - Repel Missiles Enchantment/Air 2 d - Flame Ammunition Enchantment/Fire 3 e - Frost Ammunition Enchantment/Ice 3 f - Poison Ammunition Enchantment/Poison 4 The book of Warped Missiles Spells Type Level a - Apportation Translocation 1 b - Portal Projectile Translocation 2 c - Repel Missiles Enchantment/Air 2 d - Blink Translocation 2 e - Returning Ammunition Enchantment/Translocation 3 f - Warp Ammunition Enchantment/Translocation 5 The book of Devastating Missiles Spells Type Level a - Poison Ammunition Enchantment/Poison 4 b - Warp Ammunition Enchantment/Translocation 5 c - Shocking Ammunition Enchantment/Air 5 d - Haste Enchantment 6 e - Deflect Missiles Enchantment/Air 6 f - Exploding Ammunition Enchantment/Fire/Air 7 g - Reaping Ammunition Enchantment/Necromancy 7 Signed-off-by: Stefan O'Rear <stefanor@cox.net>
* Cut vorpal to 12.5% average (FR 2883704)Stefan O'Rear2009-11-131-1/+1
|
* Rename is_valid_item to item_def::is_valid.Vsevolod Kozlov2009-11-061-2/+2
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Split game_options from externs.h into options.h.Robert Vollmert2009-11-041-0/+1
|
* Remove +Tele as a randart propertyStefan O'Rear2009-11-031-3/+0
|
* Remove mapping abilities from the gameStefan O'Rear2009-11-021-3/+0
| | | | | Mapping still exists on cards, scrolls, Xom, and as the passive mutation. The ball of seeing exists, but will have to be dealt with.
* Ziggurats can now be added to the shopping list.Matthew Cline2009-11-021-18/+73
|
* shopping.cc: Note that '$' can access listMatthew Cline2009-11-011-5/+10
|
* Access shopping list via '$'Matthew Cline2009-11-011-4/+147
| | | | | | If you have anything on your shopping list, pressing '$' will display it as a menu. You can then select a thing from the menu, either to travel to it or examine it, like with the stash tracker menu.
* Add whitespace fixes.David Lawrence Ramsey2009-10-311-2/+2
|
* Auto-update shopping-list when new items seenMatthew Cline2009-10-311-31/+272
| | | | | | Automatically update the shopping list if you see the same item for less cost in another shop, or if you get an item identical to one on the shopping list (currently only applies to jewellery, books and staves).
* Replace tabs with spaces.David Lawrence Ramsey2009-10-291-6/+6
|
* Generate the new ammo brands randomly.Eino Keskitalo2009-10-301-0/+6
| | | | | | | | | | | | | | | | | | Weights now being: Flame 3 Frost 3 Poiso 2 Penet 1 Reapi 1 Silve 1 Steel 1 Dispe 1 Explo 2 Also gave all the new brands a shopping price multiplier - *30, same as curare. Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
* FR 2839627: notify when player has enough goldMatthew Cline2009-10-291-25/+492
| | | | | | The basics of a wish-list/shopping-list. While in a shop the shopping-list can be modified, and the player is notified as soon as they have enough money to buy things on the shopping-list.
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-1/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Fix int cast warning.Robert Vollmert2009-10-141-1/+1
|
* project-wide: implement use of platform.h detection macrosSteven Noonan2009-10-101-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Remove a lot of unneccessary includes.Robert Vollmert2009-10-091-2/+0
| | | | | | | The console version still compiles on Linux; both console and tiles version compile in OS X. I haven't been able to test the DOS and Windows compiles -- please fix or tell me about any errors that show up.
* Remove unnecessary includes of view.h.Robert Vollmert2009-10-091-1/+0
| | | | | Compilation of console crawl on Linux succeeds; please complain if other platforms break.