| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
correct.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6429 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
random2(y) < x checks, e.g. x_chance_in_y(weight, totalweight). This
should make things a bit more readable. Apply it to a number of files.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6428 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
weapon if you insist, you just can't quiver it.)
And another general clean-up.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6149 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
chunks_autopickup, swap_when_safe, and show_beam to true.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5457 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
| |
to the non-butchering weapon as soon as the player is safe again.
Enabled by setting option "swap_when_safe" to true.
Also, fixed a bug where "not switching back" message wasn't always being
given when butchering was interrupted.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5354 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
mutation via a potion of cure mutation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4800 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4680 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4478 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4477 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4474 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
restoration; the amount to be restored can now be specified. Use this
where necessary.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4417 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4342 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
account, there's no need to manually backlight invisible monsters
anymore.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4341 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4338 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
Fix 1944345: Dropping worn/wielded items while Berserk.
Fix 1945347: Drinking from fountans while Berserk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4326 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mutations only apply at these hunger levels, too.
Differentiated mutations into physical (affecting a character's
appearance and stuff: scales, hooves, wings, ...) and internal
(resistances etc.). I guess this is what people usually refer to as
"cosmetic", which I think is an inaccurate description since it makes
it sound like they were completely superficial and had no real effect.
Here's a list of arbitrarily chosen "physical" mutations:
* tough skin, all scales, and fur
* strong/clever/agile, and weak/dopey/clumsy
* deformed
* strong but stiff, and flexible but weak
* frail, and robust
* claws, fangs, hooves, talons, and horns
* stinger, wings
* blue/green marks
Mutations currently not applying are still listed on the 'A' screen,
though in darkgrey and in (brackets).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4246 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ bug: if wield sling and no quiver, then pick up stones: should quiver
+ implement: save and load (does not break saves)
+ remove: fire_quiver_best
+ remove: you.quiver
+ bug: identifying items doesn't update quiver properly
+ rename: you.quiver_change -> you.redraw_quiver
+ test no item because of =f
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4227 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4155 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using horrific amounts of #ifdef USE_TILE etc, the tutorial
texts now give different information for tiles (mouse clicks)
and non-tiles (key commands).
Unfortunately, while I am confident this is a vast improvement
the new messages for tiles tend to be rather wordy because
"clicking on the item with your left mouse button" is much
verbose than "pressing 'w'". That, and most of the time I want
to print the tile information *in addition* to the general
commands. So, it would be helpful if someone else could go
over the texts at one point - there's no need to hurry, though.
Also a bit of general improvement, which is always nice. I'd
somehow forgotten to include a tutorial trigger for mutations,
and of course the first potion I tried was mutation. :)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3941 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
distinct potion types to make stacking easier. Coagulated blood
is not created randomly, and aging potions of blood turn into
potions of coagulated blood, so none of that changed. Well,
except the name: congealed -> coagulated. This also means that
they now have distinct descriptions, though seeing potions in
your inventory coagulate will identify both of them.
And I checked: potions in shops will coagulate as well and
disappear. Coagulated blood is cheaper, but if you need it you
won't want to wait around, right?
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3884 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
| |
Should this be too strong (they have insane regeneration already)
it should be easy enough to revert.
Also renamed all static functions in abl-show.cc and player.cc to
follow the new coding conventions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3792 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
existing mutagenic glow stronger (piety loss, no penalty). At the same
time go easier on the "eat souled being" misbehaviour: increased piety
loss, but give penance only for eating very intelligent monsters, so that
eating goblins and the like is an option again. (Cannibalism is checked
first, and has worse effects.)
Also fix restriction for items offered for ?recharging.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3789 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also fixed several cases where secret doors would be described as rock
walls regardless of their actual type, and gates are now described
correctly as well. This means that viewing them also prints, e.g.
"An open gate." or "A closed large door." without further information
since there are no database entries for these specific cases. (Not the
entries for simple doors are any more exhaustive.)
Fix 1910729: Yredelmnul's Drain Life not waking monsters, using
ncampion's solution.
Also default greedy_explore to true. (FR 1911112)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3584 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Quaffing and eating
* They now get full effect of potions unless hungry (er, thirsty) or
worse, in which case the effect gets halved as before.
* Potions of blood heal on the level of heal wounds or healing, depending
on hunger state. Healing always heals rotting and removes confusion -
the chances involved were just frustrating to players.
* Draining corpses has the same nutrition value as eating the (random)
amount of chunks you get out of dissecting, but takes longer (and all
at once, so draining your corpses in the middle of a battle is extremely
risky).
I guess this is still too good (when do you ever get to eat all chunks
you get out of, say, an ogre or centaur?) so will have to be nerfed.
2) Resistances
Resistances depend more strongly on hunger states now.
Vampires are always poison resistant and can always see invisible.
Additionally, they gain
* rCold 1 at Hungry or worse, and rCold 2 at Near Starving or worse
(The latter comes with susceptibility to fire.)
* life protection 1 when satiated, 2 when hungry or worse, and 3 when near
starving or worse
* At starving they also get torment res.
* Hungry vampires and vampires in bat form are stealthier, and starving
vampires are even more stealthy.
As before, they get the Necromancy boost (like Mummies do) at xl 13 and 26.
Also, vampires can now cast spells while starving, but suffer a failure
increase akin to that of Blade Hands. (I've no idea what these numbers
actually mean, so this will most likely have to be changed as well.)
Updated tables.txt.
Still TODO:
* Add special biting attack for successful stabbing.
* Add distilling blood ability, and possibly distinguish between old and
new potions (new food type, maybe).
* Allow vampires to mutate, but these mutations to only take effect when
Full, Very Full or Engorged.
* Update manual.
Apart from that, they are ready for playtesting once again. As always,
feedback would be much appreciated. :)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3528 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attack. The message ("John Doe's ghost breathes.") may have to be
tweaked, ghosts being undead etc. The chance for a ghost actually
breathing increases with its experience (1/2 at xl 7, 2/3 at xl 8,
3/4 at xl 9, and so forth).
[FR 1826165] !restore ability also resets DUR_BREATH_WEAPON, so it becomes more
useful to draconians and demonspawn with hellfire. To make up for
it, the breath weapon durations might have to increased.
They're currently:
3 + random2(5) for Spit Poison
3 + random2(5) + random2(30 - xp) for Hellfire
3 + random2(4) + random2(30 - xp)/2 for Breath Weapons
[Bug 1879466] The step into lava/deep water safety prompt bails out unless
the player answers "yes".
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3510 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3234 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
discussion in October/November.
Zin effects:
- protection from harm (like all good gods)
- feeding when starving (as before)
- mutation resistance (chance of piety/200)
Zin restrictions:
- no cannibalism (like all good gods)
- no attacking friends
- no eating of intelligent beings' corpses
- no deliberate mutating
Zin invocations:
- Smiting (general priestly ability?)
- Revitalisation (Minor Healing + 5 mp)
- Sanctuary (protection from attacks)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3164 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3126 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
| |
* Add simple warning message (god "did not appreciate that!")
when using unID'd items that would otherwise be penalized.
* Change protection from harm to be independent of prayer.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2849 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
10% chance for miasma (Erik.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2845 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
with a stat property that will be fatal.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2839 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2670 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
player_is_levitating and renamed it to player_is_airborne to describe the function better.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2613 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
Type safety; this required moving randart_prop_type to enum.h.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2518 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
1817546: refix Beogh butchering crash
1817459: fix a couple of typos
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2515 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2504 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
effects caused by the base type item as if they were randart properties.
Related changes:
* Equpping or unequipping a ring of magical power or staff of power will
give a message about mana capacity increasing/decreasing.
* The randart property RAP_MAGICAL_POWER has been added.
randart_wpn_property() doesn't yet give this to any randarts, but
the rest of the code for it is in place.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2419 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
wearing the randart. Breaks savefile compatibility for saved games
containing any randarts.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2403 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2359 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lots of new things that amuse/stimulate Xom, and a few things which
don't amuse him as much anymore. Among the new things is a corpse
turning into a skeleton while butchering it; if this is too harsh to
do just for Xom's amusement (previously turning into a skeleton while
butchering was an ignored case and still produced chunks of flesh) it
can be changed back. Also, if a Xom worshiper draws the Blank card,
Xom makes it act like a Xom card, since a plain old Blank card is boring.
Keep track of which branch the Orb is in, if the player isn't carrying
it.
Keep track of how/why the player ended up in a particular level type
(Abyss, Pan, etc).
Changed most "a distortion effect" cause strings for distortion caused
tranlsocation miscast effects to something more specific.
Added new wizard commands 'C' to curse or uncruse an item, and 'Ctrl-A'
to re-generate the Abyss.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2256 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Corrected sling bullet description.
Targeting forward wrap-around was broken, fixed.
Dropped damage bonus for kenku clawed-kick.
Don't show {tried} for equipped items.
Removed Elyvilon's protection from high-damage hits even when not praying.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2207 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which will cause the name to be constructed as if those item flags
had been unset.
Give an auxiliary cause of death for a stat going below 1. (Death
by stat loss is already pretty rare, and death by stat loss with
confusion as to what caused the stat loss must be *really* rare, but still,
if you were confused about what caused the stat loss that lead to death,
that'd be pretty frustrating)
ouch() is now called from within modify_stat() and lose_stat() right after
the stat is lowered, rather than when the stat is updated on the screen.
This incidentally fixes the minor annoyance of saying "no" to stat loss
death in wizard mode, only to be asked if you want to die every time
the screen is updated until you fix having a non-positive stat.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2179 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1794789: Move "Xom is BORED" message into god channel
1795785: remove redundant check for potions of blood
1795673: claw-related clean-ups and enforcing consistency
in transformations and claws (Lich and Statue retain
claws, Ice Beast doesn't).
I also added a check for hooves and claws mutation for the
% and [ you_can_wear output.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2114 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
next turn. (You can drink a !oBR to cancel the effect. Another rage
card effect, however, will just stack on and make you go berserk
the next turn.)
Breaks savefiles.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2111 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
crawl_environment, player and monsters classes have been left in
externs.h, which necessitates that all of the enums references by
those classes stay in enums.h, since you can't forward declare an
enum. However, it's a start.
Also, portions of misc.{cc,h} have been split off into traps.{cc,h},
place.{cc,h} and terrain.{cc,h}
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2095 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
moving "Your hearing returns." where it belongs, thus
fixing 1773460.
I also moved a couple of messages (namely weapon noises, and
hell effects) into MSGCH_TALK and MSGCH_SOUND, both of which
now are ignored as travel stoppers. I didn't check all
instances of potential talk and noises, but if there are
cases where we want a message to always stop resting, we
could move the message in question to MSGCH_WARN or
MSGCH_MONSTER_SPELL. Conversely, there's probably lots of
stuff around that could also get ignored.
Users can still specify messages in stop_travel that will
interrupt both rest and travel. (There's currently no
distinction, and I made no changes on that account.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2089 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unwield your weapon rather than something arbitrary (I found no cases
in the code where this wasn't what was wanted.)
Implemented some of David's deck changes:
- decks weigh half as much
- names changed
- Draw Card doesn't cost piety; cost upped to 2 MP
- Nemelex card power bonus now applies even when not praying
- Damnation can now banish extra targets (your own chance of banishment
remains the same.)
- Nemelex doesn't accept sacrificed decks.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2082 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
and 1792110 (undead food handling).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2075 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
items, specifically jewellery and randarts. The goal of
this change was to clear up the identification rules and
apply them consistently. It was inspired by FR 1788698.
* Like the ring of teleportation, =lev and "rage now only
autoID if you do not wear/wield a randart with the same
property.
* Stat changes caused by randarts always give a message.
* Other "obvious" changes give a message only if the
randart has not been identified, to avoid message spam.
(Obvious refers to attributes that would cause the item
to be autoID'd if it were the appropriate sub type.)
* Randarts do NOT autoID anymore just because you recognize
the base type.
On the whole, autoidentification becomes much rarer (thus
both the scroll and the spell become more valuable). Yes,
this might be too harsh. On the upside, the player is told
about properties such as stat changes (including AC and EV)
and all evokable abilities.
We might even include information about items hindering or
preventing spellcasting and teleportation, respectively,
under the assumption that skilled spellcasters and chars
with teleportitis or teleport control would notice.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2067 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 1789774: intrinsic mutations for undead
* 1790380: kobold special handling of disease
* 1790723: missing periods
* 1791092: Xom potion handling
It's arguable whether we want such fine distinction between
races. As David pointed out, small things of lesser
importance might clutter the mutations screen. For now, I
think transparency is good. And if it seems to much, we
could remove a few.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2064 c06c8d41-db1a-0410-9941-cceddc491573
|