| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
entrances could be blocked by rock.
shoal-hut.lua test generates 1k Shoal:$ levels and verifies that the levels pass sanity tests.
|
|
|
|
|
|
|
|
|
|
|
| |
Provides wrappers for non-player Toxic Radiance and Ozocubu's
Refrigeration. These are basically just an adjustment of kill categories
and messages to allow them to be used as background effects in WizLabs
(Ozocubu's and Olgreb's).
Hopefully a wrapper for monster (and possibly player)-cast bolt
structures can also be included, which could then be accessed with the
(planned) Lua traps functionality.
|
|
|
|
|
|
|
|
| |
Vaults can now include other vaults as a part of their definition. These
subvaults are currently included by tag only and replace glyphs in their
parent vault. See documentation for more details.
Vault:8 has been modified to use subvaults.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provides wrappers for all of the feat_is_XXX functions from terrain.cc,
as well as a few other functions. Also provides a macro which can wrap a
function to take:
* a set of co-ordinates (parsed with grd(coord_def(x, y)))
* a string (parsed with dungeon_feature_by_name)
* an integer (cast into dungeon_feature_type, can be fetched from
dgn.grid(x, y))
All of the feat library functions can be used in this manner. For
example:
* feat.is_wall(x, y)
* feat.is_wall(dgn.grid(x, y))
* feat.is_wall(7)
* feat.is_wall("rock_wall")
|
|
|
|
|
|
|
| |
This lets regular vaults use the same Lua functions that layout vaults
do. Convert functions in l_dgnbld that acted on grd. Update layout
vaults to use these new functions. Also, remove l_dgn_bf, as all of
its functionality is now in l_dgnbld.
|
|
|
|
|
|
| |
They appear to be used only for ziggurat monster placement, and
I'm finding it hard to see a safe use of these for the user.
Correct me if I'm wrong.
|
| |
|
| |
|
| |
|
|
|
|
| |
That's l_file.cc, l_food.cc, l_global.cc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rest of commit comment only as accurate as my
understanding...
Renaming from grd to mapgrd to avoid confusion with
grd == env.grid: This grd is the maplines-section of
a vault definition.
Also move mapgrd_lib from clua to dlua since it's only
used for dungeon building.
clua and dlua need more descriptive names.
|
| |
|
|
|
|
| |
To avoid name clashes, rename dlua libs from *_lib to *_dlib.
|
| |
|
| |
|
|
|
|
| |
Now sub-2k lines of code.
|
| |
|
|
|
|
| |
Also a little cleanup.
|
|
|
|
|
| |
Specifically, item and monster-related functions to l_dgnit.cc and
l_dgnmon.cc.
|
| |
|
|
|
|
| |
Also minor cleanup.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Move lua library headers to separate l_libs.h, fixing another
compilation error...
|
|
|
|
| |
Also fix error in previous commit.
|
|
|