Tutorial: looting containers, zapping wands
This commit is contained in:
@@ -262,6 +262,14 @@ local tutorial_events = {
|
|||||||
tutorial_whitelist_commands["quiver"] = true;
|
tutorial_whitelist_commands["quiver"] = true;
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ucoord = { 38, 6 },
|
||||||
|
remove = true,
|
||||||
|
func = function()
|
||||||
|
tutorial_whitelist_commands["loot"] = true;
|
||||||
|
tutorial_whitelist_commands["zap"] = true;
|
||||||
|
end,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
function tutorial_turn()
|
function tutorial_turn()
|
||||||
|
|||||||
+24
-12
@@ -6,15 +6,15 @@ des.level_flags("mazelevel", "noflip",
|
|||||||
des.map([[
|
des.map([[
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|-.--|.......|......|..S....|.F.......|...................................|
|
|-.--|.......|......|..S....|.F.......|...................................|
|
||||||
|.-..........|......|--|....|.F.....|.|...................................|
|
|.-..........|......|--|....|.F.....|.|S-------...........................|
|
||||||
||.--|.......|..T......|....|.F.....|.|...................................|
|
||.--|.......|..T......|....|.F.....|.|.......|...........................|
|
||||||
||.|.|.......|......|-.|....|.F.....|.|...................................|
|
||.|.|.......|......|-.|....|.F.....|.|.......|...........................|
|
||||||
||.|.|.......|......||.|-.-----------.-...................................|
|
||.|.|.......|......||.|-.-----------.-.......|...........................|
|
||||||
|-+-S---------..---.||....................................................|
|
|-+-S---------..---.||........................|...........................|
|
||||||
|......| |.-------------------...................................|
|
|......| |.-------------------.......|...........................|
|
||||||
|......| ###### |.........|.............................................|
|
|......| ###### |.........|.........S.......|...........................|
|
||||||
|----.-| -+- # |.....---.|.............................................|
|
|----.-| -+- # |.....---.|.........|.......S...........................|
|
||||||
|----+----.----+---.|.--|.|.|.............................................|
|
|----+----.----+---.|.--|.|.|.........---------...........................|
|
||||||
|........|.|......|.|...F...|.............................................|
|
|........|.|......|.|...F...|.............................................|
|
||||||
|.P......-S|......|------.---.............................................|
|
|.P......-S|......|------.---.............................................|
|
||||||
|..........|......+.|...|.|...............................................|
|
|..........|......+.|...|.|...............................................|
|
||||||
@@ -180,10 +180,22 @@ des.engraving({ coord = { 33,4 }, type = "engrave", text = "You can wait a turn
|
|||||||
|
|
||||||
--
|
--
|
||||||
|
|
||||||
des.door({ coord = { 38,6 }, state = "locked" });
|
des.door({ coord = { 38,6 }, state = "closed" });
|
||||||
des.engraving({ coord = { 39,6 }, type = "burn", text = "UNDER CONSTRUCTION", degrade = false });
|
|
||||||
|
|
||||||
des.trap({ type = "magic portal", coord = { 45,6 }, seen = true });
|
des.engraving({ coord = { 39,6 }, type = "engrave", text = "You loot containers with '" .. nh.eckey("loot") .. "'", degrade = false });
|
||||||
|
|
||||||
|
des.object({ coord = { 42,6 }, id = "large box", broken = true,
|
||||||
|
contents = function(obj)
|
||||||
|
des.object({ id = "secret door detection", class = "/", spe = 30 }); end
|
||||||
|
});
|
||||||
|
|
||||||
|
des.engraving({ coord = { 45,6 }, type = "engrave", text = "Magic wands are used with '" .. nh.eckey("zap") .. "'", degrade = false });
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
|
des.engraving({ coord = { 55,9 }, type = "burn", text = "UNDER CONSTRUCTION", degrade = false });
|
||||||
|
|
||||||
|
des.trap({ type = "magic portal", coord = { 60,9 }, seen = true });
|
||||||
|
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user