Attached Files |
20140823-dont-place-runed-doors-in-zigsprint.patch [^] (1,209 bytes) 2014-08-24 03:00 [Show Content] [Hide Content]From 7d481a3252b4c8fd0f45f64105d8eab6e6368947 Mon Sep 17 00:00:00 2001
From: Eduardo Gonzalez <ed.gonzalez3@gmail.com>
Date: Sat, 23 Aug 2014 03:04:48 -0700
Subject: [PATCH] Don't place runed doors in zigsprint
Directly calling the lua 'subst' function doesn't accept multiple
comma-separated operations at once. The .des parser splits the comma syntax into
separate lua function calls when using SUBST normally.
Also, subst wasn't the desired operation for adding water beneath the items and
monsters anyways.
---
crawl-ref/source/dat/des/sprint/zigsprint.des | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/crawl-ref/source/dat/des/sprint/zigsprint.des b/crawl-ref/source/dat/des/sprint/zigsprint.des
index 9937526..9f39fbd 100644
--- a/crawl-ref/source/dat/des/sprint/zigsprint.des
+++ b/crawl-ref/source/dat/des/sprint/zigsprint.des
@@ -331,7 +331,8 @@
elseif rnd < 49 then
e.kmons("1 = place:Shoals:3 / place:Shoals:$ w:45 / merfolk javelineer /\
merfolk impaler / merfolk aquamancer")
- e.subst(". = W.., 1 = W")
+ e.subst(". = W..")
+ e.kfeat("1 = shallow_water")
-- Cocytus
elseif rnd < 54 then
e.kmons("1 = place:Coc:1")
--
1.9.1
|