From d42efcd04f835f5a77282303b1f80448ee8cb250 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 21 Feb 2024 09:47:00 +0200 Subject: [PATCH] Slightly randomize the spellbook in vlad's tower Replace the guaranteed invisibility with a somewhat high-level spell sort-of thematical to Vlad or vampires in general --- dat/tower2.lua | 14 +++++++++++++- doc/fixes3-7-0.txt | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dat/tower2.lua b/dat/tower2.lua index 00f5b17eb..57b5d6003 100644 --- a/dat/tower2.lua +++ b/dat/tower2.lua @@ -44,7 +44,19 @@ des.object({ id = "chest", coord = place[6], }); des.object("water walking boots",place[7]) des.object("crystal plate mail",place[8]) -des.object("spellbook of invisibility",place[9]) + +local spbooks = { + "spellbook of invisibility", + "spellbook of cone of cold", + "spellbook of create familiar", + "spellbook of clairvoyance", + "spellbook of charm monster", + "spellbook of stone to flesh", + "spellbook of polymorph" +} +shuffle(spbooks); +des.object(spbooks[1],place[9]) + -- Walls in the tower are non diggable des.non_diggable(selection.area(00,00,14,10)) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index db14f6a6f..c9cfa47e3 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1364,6 +1364,7 @@ when filling quiver slot, don't bother asking "what do you want to ready?" if invent is empty no secret doors or corridors on the first two dungeon levels the number of items destroyed by elemental effects is based on the damage +randomize the spellbook in the second level of vlad's tower Fixes to 3.7.0-x General Problems Exposed Via git Repository