diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-01 14:03:23 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-01 14:03:23 +0000 |
commit | e5fc908cc50565402f1ea1acc037e5b8791870c1 (patch) | |
tree | 37f4d7e47addb7e81d0e375bb030456e189fb5c8 /crawl-ref/source/dat/clua/ziggurat.lua | |
parent | 6384f9c708cf79f471df00d1e0cfa3f2c1bf4172 (diff) | |
download | crawl-ref-e5fc908cc50565402f1ea1acc037e5b8791870c1.tar.gz crawl-ref-e5fc908cc50565402f1ea1acc037e5b8791870c1.zip |
Fix .des timer messaging to be easier to customise, applied timer to sewer portals.
Fix typo in monspeak.txt (slinkies).
Fixed hippogriff plural.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7709 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/clua/ziggurat.lua')
-rw-r--r-- | crawl-ref/source/dat/clua/ziggurat.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/dat/clua/ziggurat.lua b/crawl-ref/source/dat/clua/ziggurat.lua index 63095862a5..d9a55c2402 100644 --- a/crawl-ref/source/dat/clua/ziggurat.lua +++ b/crawl-ref/source/dat/clua/ziggurat.lua @@ -376,14 +376,6 @@ local function ziggurat_create_loot_at(c) local nloot = depth nloot = nloot + crawl.random2(math.floor(nloot * zig().portal.amount / 10000)) - local function free_space_threshold(max) - local function is_free_space(p) - return dgn.grid(p.x, p.y) == dgn.fnum("floor") and - #dgn.items_at(p.x, p.y) <= max - end - return is_free_space - end - local function find_free_space(nspaces) local spaces = { } local function add_spaces(p) |