| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9717 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
| |
* Use monsters' 'x' descriptions as inf.title when hovering your mouse
over monster tiles.
* A bit of code cleanup.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9385 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
| |
* Remove quotes from book names (use the props vector instead for
book_has_title()), and occasionally allow random owner names for
Sif's gifts (25% chance), as per FR 2532818.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8741 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
Move randart spellbook tiles into subfolder /artefact, like for other
artefacts.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8415 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
| |
Fix 2483708: Transformations regarding wielded non-weapons as meldable.
Fix 2483528: Disallow randart book names like "Sif Muna's Lost Book of
Boris"
Fix 2483332: Silly logic error that only offered fully recharged wands
for recharging
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8175 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7882 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7881 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
and secondary spell type. Move definite articles in spell type synonyms
in front of the adjective when one is used.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7862 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7859 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7858 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7852 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
with the adjective version. Add a few more adjectives.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7850 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Darkness". (More synonyms welcome!)
Also, if a randart book is not a god gift occasionally give it an old
owner anyway, using make_name() like for shopkeepers.
I might have fixed the Divination issue. (It looks like for some reason
SPELL_NO_SPELL always returns true for Div, though I don't understand
why. At least in all three cases where I had this the counter for Div
spells was equal to 8 - spells in the book.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7849 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(1-3), "moderate" (4-6) and "difficult" (7-9).
Recount how often each spell school is used and use the two most
prominent schools (biasing by their order of definition in spl-util.h if
two are tied).
This doesn't completely work yet: I got a book of Enchantment and Divination
although not a single spell in the book belonged to Divination (5 of them were
Enchantment, so that was okay). Also, the way spells are currently
selected (from two random disciplines) you can get a spell that does not fit
either leading school (as later derived by counting) and might look odd with
the title, e.g. a book is built on the premise of Conj/Fire and ends up
as Conj/Air with Fire/Trm thrown in.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7848 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7847 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7842 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7765 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-arranged book_type so that books you might find on the floor come first,
then books only given out by certain gods, and so on. Added book types
BOOK_RANDART_LEVEL, BOOK_RANDART_THEME and BOOK_CARD_EFFECT.
Can now get randart books both from acquirement and shops/floor. Acquirement
books have a chance of being a manual with a spell discipline skill.
Randart books have their own appearances now, and fixed level books their own
naming scheme. Needs more entries.
Randart books aren't hilited in the menu like other randarts are; don't know
why.
Added some assertions to choose_random_weighted().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7761 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the wizard command &+, since there's no logic to how the random set of spells
are selected and there's no valuation code in shopping.cc. No randart manuals
or books of destruction, since I have no clue what they'd be like.
The code allows for any book or spell to have its normal set of spells
overridden by an arbitrary/customized set of spells, but this is only used by
randart spellbooks as of now.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7722 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5759 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
| |
stick an adjective in front of the object type name ("bloodstained
dagger"), unidentified non-artefact jewellry is described with both an
adjective and material ("runed wooden ring"), making a description
like "runed ring" a bit weird. So give randart jewellery an adjective
that no non-artefact jewellery would have, plus a material that a
non-artefact might or might not have.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5741 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5406 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5084 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
the TSO weapon entry for now.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4917 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
* Reallow monster placement of bands (at least for Beogh's retribution;
it might be similarly buggy for normal generation).
* Extend documentation on orc naming, and sometimes name the band
leader of a band sent after you for retribution.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4894 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4716 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
abortable prompt, and move orc names into a file of their own.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4670 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4600 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix choose_random_nearby_monster() to really pick a random monster
rather than the first one that fits, and allow named monsters to
get higher chances. Use this when deciding which monster to bless
(only happens if the one doing the kill, usually the player, is
not eligible for blessing).
At high xp levels allow reinforcement (if there are no orcs nearby)
to send in high xp orcs: orc warrior, orc knight, or orc warlord,
rather than the normal ones (orc, orc wizard, orc priest).
At xl 27 the probability for this happening is about 31%.
Problem: From the code, it appears that scumming for large armies is
possible by deliberately losing your followers somewhere and then
killing monsters until you get the reinforcement effect. This will
have to be controlled somehow, while still allowing for genuinely
lost allies somewhere on the level. Maybe use recall instead or
something like that.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4598 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
Possibly fix a crash when calling bless_follower without an argument
(it only happened with Beogh and TSO, so this is the most likely
candidate).
Outsource Boris' "I'll be back" speech.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4591 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
rare and let the chance depend on max hp. Clean up naming some.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4588 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of dolorous' fabulous blessing routines.
* Allow the possibility of naming monsters:
A monster's random name seed is stored in its number property, and the
actual name gets picked from randname.txt. (Once this leaves the
experimental stage I'll move them into a file of their own.)
This means that monster types that already use number for something
else (hydras for #heads, manticores for #spikes, or zombies for
monster type) cannot be named.
Use the new functions for naming orcs blessed by Beogh. Only
non-generic orcs may get named, e.g. orcs promoted to priesthood or orc
warriors that get their weapon enchanted.
I tried to come up with a number of thematic orcish names, and if
anyone would like to contribute, they're welcome to do so.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4586 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and use it to force TSO's blessed blades to be randart items with
the holy wrath brand and (for flavour) life protection.
This change breaks saves, unfortunately, but allows for much cleaner
finetuning.
I also replaced all those randart names "of The Shining One's @esteem@"
etc. with plain "of The Shining One", as they're just too long
otherwise. I'm sorry, dolorous!
If it helps, I also culled some of the other overly long names.
Randart names are now generally restricted to a maximum length of 25.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4472 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
restrict it to about 25, but "The Shining One's" needs 20 letters, so
that's out.)
Don't automatically regard unID'd jewellery randarts as {tried},
instead use a (very) rough estimate: if you know at least one property,
the item will be marked as tried, otherwise (e.g. if the only property
is +Dam, or prevents spellcasting) it won't be marked at all. I'm not
actually sure this is better than never outputting {tried} for randarts,
but we'll see...
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4374 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4302 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4295 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4284 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4283 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4282 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4281 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4265 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4263 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes condensing skill category, handedness and str/dex
bias into a consecutive text.
[Fix 1909597] For consistency, add {tried} to tried, unID'd randart jewellery.
Also, reintroduce the "may hold more properties" line that
presumably vanished back at the randart jewellery id overhaul.
[Fix 1909855] Incorrect randart name from database.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3541 c06c8d41-db1a-0410-9941-cceddc491573
|
|
Also:
- Move database text files into subfolder "database", yay!
- Don't print "uncursed" for identified randart weapons/jewellery
as the status should be obvious once the name is known.
- A bit of code cleanup (change in enum.h breaks saves!)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3460 c06c8d41-db1a-0410-9941-cceddc491573
|