summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
Commit message (Collapse)AuthorAgeFilesLines
* makhleb's summons should also go hostile on excommunication (6124)Jesse Luehrs2014-08-161-0/+1
|
* Remove 2 more parameters from items()reaverb2014-08-081-2/+2
| | | | | They were only used in one place, and the relevant code was moved to that one place in the previous commit.
* Handle Esc properly for &_ and zotdef aL.Neil Moore2014-08-071-1/+1
| | | | | | This does remove the "doesn't seem to be taking followers" message when misspelling a god name, but keeps it when trying to choose Fedhas. More importantly, it makes wizmode &_<esc> not abandon one's god.
* Distinguish &_junk from &_no god, and don't crash on either.Neil Moore2014-08-071-2/+1
|
* make &_ join the religion directly instead of going through an altarJesse Luehrs2014-08-071-117/+143
|
* allow iterating over branches in a non-enum order (8742)Jesse Luehrs2014-08-021-2/+2
| | | | | | | | | | | | This allows us to have a consistent and logical ordering of branches without requiring the branch enum itself to be reordered (which could have save compatibility implications). The new ordering of branches just moves Depths to the place in the ordering that it already is planned to go on the next major save compat bump, but other changes are possible, if desired. All places in the code that iterate over branches have been updated to use the new iterator except for code dealing with save files, which still uses enum order, so that we can change the display ordering without affecting saves.
* Revert "Make Gozag trunk-only"Nicholas Feinberg2014-08-021-16/+1
| | | | | | | Not needed now that we've branched 0.15. This reverts commit 8064468542592958c6ace5dc27aa0fd88cce04a9. This reverts commit 0f053f10eb5bf6e8df296044933b8f82496ce8d3.
* Don't display disabled gods in the ?/ listNicholas Feinberg2014-08-021-5/+13
|
* Make Gozag trunk-onlyNicholas Feinberg2014-08-021-0/+7
| | | | | | | | | | There's a general agreement that Gozag isn't ready for 0.15; he needs a significant amount of design work. For now he will languish in trunk, like the lava orcs of yore. (Unlike them, he will almost certainly be in 0.16.) This commit is extremely ugly & hacky & should be reverted as soon as we branch.
* Remove stuffNicholas Feinberg2014-07-291-1/+1
| | | | | | | .cc, moving its contents into the new stepdown.cc and strings.cc. (The latter also got many donations from libutil.h.) Down with stuff! Up the new flesh!
* Move redraw functions from stuff.cc -> output.ccNicholas Feinberg2014-07-281-0/+1
|
* Sort god piety decay by ratereaverb2014-07-281-23/+19
|
* Remove meaningless comments from handle_god_time()reaverb2014-07-281-17/+9
| | | | | | | | Mostly descriptions of ancient design decisions, a couple attempts to explain why gods have particular piety decay rates which don't make any sense. (Such as stating some gods have fast decay because they accept corpse sacrifices when there are gods with the same decay rate which don't.)
* Create prompt.ccNicholas Feinberg2014-07-271-0/+1
|
* Remove Qazlal's permanent resistance giftChris Campbell2014-07-131-74/+4
| | | | | | | | A simple resistance is a very boring capstone gift, especially compared to Qazlal's existing temporary resistances which have much more interesting interactions, and the powerful active abilities. Allowing a choice of resistance also resulted in AC almost always being the best option.
* Simplify. (Grunt)Nicholas Feinberg2014-07-101-3/+3
|
* Swap two functions to avoid a forward declaration.Neil Moore2014-07-091-46/+45
|
* Improve altar-worship messages.Nicholas Feinberg2014-07-061-1/+3
| | | | | | | | The dragon-specific message would never actually appear in the old code; this has been fixed. Special messages have also been added for octopodes & spiderform, since it seemed odd for them to simply "kneel". (Though I suppose spiders can kneel...? Still feels strange.)
* Remove an unused argument from the items() functiongammafunk2014-06-291-4/+4
|
* Split blessing functions into a new fileNicholas Feinberg2014-06-221-712/+5
|
* Make beogh blessing gift types more reasonableNicholas Feinberg2014-06-221-30/+110
|
* Formatting Fixesreaverb2014-06-221-0/+2
|
* The great mon-stuff migration.Shmuale Mark2014-06-221-1/+1
| | | | | | | | | A good deal of functions move to the two new files, mon-poly and mon-message. Of the others, some go to where they are used, some to mon-util, and a few are made member methods of monster. This probably breaks Xcode compilation, and I'm not able to test the changes I made to MSVC that will (hopefully) keep it working.
* Disable Nemelex in Zot DefenseNicholas Feinberg2014-06-211-4/+5
| | | | | Since he now uses exploration piety, which doesn't really work there.
* Fix wizmode blessing (MarvinPA)Nicholas Feinberg2014-06-201-3/+3
|
* Allow Beogh to give equipment to naked/unarmed orcsNicholas Feinberg2014-06-191-4/+48
| | | | | | The level given is very arbitrary; it might be simpler to just use the current depth, but I have a vague feeling that might be exploitable somehow...?
* Allow Beogh to bless player-gifted equipmentNicholas Feinberg2014-06-191-19/+0
|
* Buff beogh buffsNicholas Feinberg2014-06-191-15/+36
| | | | | | | | | | | Dramatically increase the odds of weapon/armour-type upgrades, though somewhat less so for very good weapon types. Decrease the odds of getting to high enchantment plusses. Overall increase the odds of all equipment upgrades by 50%. The goal is to make Beogh over time automatically get your followers into decent shape, while still letting special gifts be better than what Beogh will upgrade your followers' kit to.
* Don't make TSO mad when killing an illusionNicholas Feinberg2014-06-191-0/+4
|
* Improve weapon/armour blessing messages (Brannock, reaverb)Nicholas Feinberg2014-06-181-2/+2
|
* Don't let Beogh bless items gifted by the playerNicholas Feinberg2014-06-181-4/+16
|
* Refactor Beogh/TSO blessing codeNicholas Feinberg2014-06-181-187/+246
|
* Fix messaging when enchanting weapons via god blessingChris Campbell2014-06-151-1/+1
|
* Plus2: Combine all three enchant weapon scrollsChris Oelmueller2014-06-141-3/+2
| | | | | | | | | | | | | | | New item is just called "scroll of enchant weapon". It increases both accuracy and damage by 1. Enchant weapon III scrolls have been converted to stacks of 2 enchant weapon scrolls where placed in vaults, and if already generated will act like a common "scroll of enchant weapon" as well for sake of simplicity. Scroll weights have been adjusted a bit; this almost certainly needs to be revisited. [Committer's note: merged a few commits into this, where it seemed sensible. Also reworked the scroll weights, but yeah, that needs another pass.]
* Remove an unused parameter.Neil Moore2014-06-111-7/+6
|
* Avoid an infinite loop in wizmode/Lua piety gain (reaverb)Neil Moore2014-06-111-3/+46
| | | | If you are with Gozag (also No God or Xom with the Lua function).
* Merge branch 'mon-pickup'Shmuale Mark2014-06-111-2/+90
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem with monster pickup of the type that this branch removes is that it encourages tedious behaviour to achieve the optimum result. While in general people don't bother to pick up every weapon and armour and stuff it upstairs, that would be a way to prevent monsters from ever picking up items you've seen. With Apportation, you don't even have to reach the item, and on a mummy, say, you don't even have to worry about the infintesimal food cost. People do already do this for chaos and distortion weapons, and it is not a very good thing. Not allowing allies to pick up items is related, in that it means that the code can be simpler, but it also has problems of micromanagement, weirdnesses with the ctrl-T command, and allies already have their share of problems. I hope that the compensations for Beogh and mercenaries make up for what is lost in terms of fun. Conflicts: crawl-ref/source/tag-version.h
| * Give mercs better items.Shmuale Mark2014-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | They automatically get their items set as MAKE_GOOD_ITEM, which might not be enough to make up for the mediocre weapon types they tend to start with, but it's the simplest solution for now. They're also marked as MF_HARD_RESET so that you can't not pay and then take their stuff. Also, fix compilation: I'll fix this (so that git bisect works) while merging into master.
| * Get rid of plate armour of the Archmagi.Shmuale Mark2014-06-101-1/+4
| | | | | | | | And other upgrades of robe-only egos.
| * Split off armour and shield upgrade code.Neil Moore2014-05-291-11/+23
| | | | | | | | And document that enum order matters.
| * Give Beogh a chance of upgrading weapon types of orcs.Shmuale Mark2014-05-291-0/+59
| | | | | | | | | | | | This is even more hackish in its way than the previous commit, but there's nothing that I could think of that would improve it. Again, HD/250 is used.
| * Give Beogh a chance to upgrade armour of orc friends.Shmuale Mark2014-05-291-0/+14
| | | | | | | | | | | | | | I'm really not sure what a good chance would be, but I think that given the number of monsters your orcs will kill, a high rate will get them all wearing large shields and plate too quickly. This might be paranoia, and HD/250 could end up being way too low.
| * Add a "Give item to follower" invocation for Beogh (evilmike).Shmuale Mark2014-05-281-2/+2
| | | | | | | | | | | | | | It can only be used once per monster, and only on named followers. This should hopefully replicate some of the fun of equipping your friends while not having micromanagement or the problems with letting them pick up whatever off the ground.
* | Revert "Make random_choose_weighted() end on -1 weight"reaverb2014-06-101-2/+2
| | | | | | | | | | | | | | This reverts commit 7e81480cda18144ff185f5248639a072b654deff. Turns out I missed some calls to random_choose_weighted(), this change might not even be worth doing.
* | Make random_choose_weighted() end on -1 weightreaverb2014-06-101-2/+2
| | | | | | | | For consistency with random_choose().
* | Make Doxygen @returns "@return" for consistancy.reaverb2014-06-051-2/+2
| |
* | Actually mark +Rage forbidden for CheiNicholas Feinberg2014-06-041-0/+2
| |
* | Annouce Gozag abilities only if/when you can afford them (dpeg).Steve Melenchuk2014-06-031-2/+3
| | | | | | | | | | | | | | This includes the ^ screen. Probably some of the messages can be reduced in length; some of them go over 80 characters now.
* | Remove some unused handling for Nemelex item sacrificesChris Campbell2014-05-311-6/+0
| |
* | New mutation: Forlornreaverb2014-05-311-8/+2
| | | | | | | | | | | | | | | | | | This mutation acts as an anti-faith, making piety gain slower. This probably doesn't work well with wretched stars, but it seems like a good, long term, strategic effect. This idea has been floated around before as a species mutation. It could be added to one of the blander species, or given to a new species.