| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Not to be confused with KILL_MISC, which is used, among other for
the flamethrower vaults.
Aside from spell miscasts, KILL_MISCAST also applies to Zot traps
and Xom effects.
|
|
|
|
|
| |
If a flamethrower cell is already excluded, add a description if it
doesn't have one already.
|
| |
|
|
|
|
|
|
| |
I've tweaked the water tiles to create variants with/without bubbles or
dark shapes, then used the %weight command to give the plain water
tiles a total probability of 66%.
|
|
|
|
| |
When it comes to drawing waves, deep water always trumps shallow water.
|
| |
|
|
|
|
| |
New average number of sirens=0.26 (was 1.3), boss merfolk=0.16 (was 0.3) on Shoal:1.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The launcher brand is still there, currently on the storm bow and 1/5 of
branded (ie, 1/3 of them) randart crossbows.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
In most settings, three passable glyphs are those on the inside of the
room; we want some passable glyphs on the *outside* of the room as well.
This does mean that immediate corners of doors will now be excluded from
possible door spots, but this can be hacked around. The other solution
is to look "outside" of the room, which could probably be calculated
from the specified side.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This commit fixes "poison poisoned arrow of flame hits you" (#388, Core
Xii).
This commit also removes the ability to combine venom-branded bows with
branded ammunition, except for Nessos, who is given an exception. In
other words, he can shoot "poisoned arrow of flame", but you can kill
him, pick up his bow and arrows, and only shoot "poisoned arrows".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adjusted _valid_coord to allow the checking of a coordinate without
generating an error message; moved fill_area's filling code to its own
function so that it can be called by multiple functions; implemented
count_passable_neighbors in C++ instead of Lua, to make it more
accessible in multiple layouts.
Implemented "make_box" and "make_box_doors"; both work on a series of
two coordinates (top left and bottom right corners), the first making a
box of specified width and using specified glyphs for walls and floor,
while the second function will randomly add doors to the box, ignoring
corners.
make_box_doors will not work on instances where the wall thickness is
more than 1 square; this could be adjusted at a later date.
|
|
|
|
|
|
|
| |
It will probably do nasty things to piety and god gift timeouts, but
it's useful for quickly checking what acquirements can be got for
different gods, and also testing Okawaru's missile acquirement (which
wasn't working with slings before, but is now.)
|
|
|
|
|
|
|
|
|
|
|
| |
Introduces util.range(start, stop), returning an array consisting of the
numeric values between start and stop inclusive.
Also introduces "is_valid_coord" Lua wrapper, which does the same work
as _valid_coord but does not generate an error message for invalid
coordinates, "find_in_area" (a straight translation of the function in
dungeon.cc), and "is_passable_coord" which checks the glyph at that
location against traversable_glyphs.
|
|
|
|
|
|
|
|
|
|
| |
Vandal points out that SK_SLINGS was returning MI_STONE instead of sling
bullet, and also had some legacy code around for SK_CROSSBOWS, darts and
hand crossbows.
This commit fixes that, but does not fix the issue of being unable to (I
believe) acquire hand axes, dagger, javelins, throwing nets or large
rocks for people with throwing skill.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I removed an "unoccupied" because a comment claimed this shouldn't
matter for splitting and also because doing so seemed to have the
desired effect.
I also added a check to make sure that splitting only takes place
if it doesn't increase the distance to the foe, other adjacent
cells are fine of course.
With these changes, luring merged slime creatures into open areas
causes them to split.
|
|
|
|
| |
pain, since they're no longer marked as useless without it.
|
| |
|
| |
|
| |
|
|
|
|
| |
I dropped "great" from "great ineptitude", though.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, it was possible to prevent the book from
being burned by throwing an item on top.
The timing of incineration has been a little unreliable in
in my tests, but I believe (hope) this is not related to the
change.
Burning all books except just one so players can't throw
away a junk book to get at a new one.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In dc-dngn.txt you can now use the %weight command to specify the
probability of a given tile whenever a variant is chosen randomly
from a set of variant tiles.
Example:
%weight 5
floor/floor_sand_stone0 FLOOR_SAND_STONE
floor/floor_sand_stone1
floor/floor_sand_stone2
floor/floor_sand_stone3
%weight 2
floor/floor_sand_stone4
floor/floor_sand_stone5
floor/floor_sand_stone7
%weight 1
floor/floor_sand_stone6
... will make plain sand more likely than the rocky versions and the
big rock rarer than the smaller ones.
This is not visible from the dngn.png but you can check the (cumulative)
weights in tiledef-dngn.cc.
Aside from the above, this is also used for the brick wall in all its
colorations. (The repeat command also repeats the weight settings.)
|
| |
|
|
|
|
| |
per level.
|
|
|
|
|
|
|
|
|
|
|
| |
monsters::timeout_enchantments is called when returning to a
level; it blinks monsters that were confused and used to message
that the monster blinks. This fixes that message.
Things are still a little weird: You still see the confused monsters
when entering the level and get the "less confused" messages before
they're redrawn elsewhere. Not quite sure how this should be done
properly.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Used to be always one line above the tile in question but with the
background this can be sometimes hard to see. Also, I found it
difficult to compare names with them always being centered on the
tiles. Feedback welcome!
|
|
|
|
|
| |
It's a bit less distracting this way and doesn't cover up the inventory
header line (description).
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Amulets of stasis blocks:
- Teleport self
- Blink in all forms
- Slowing
- Hasting
- Paralysis
- Petrify
- Berserker rage
The amulet auto-ids the first time it triggers.
The amulet does not affect existing conditions (such as an existing Haste spell or an existing post-berserk Slow).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This frees one line at the bottom on consoles with 24 rows.
|