Tutorial: puton and remove

This commit is contained in:
Pasi Kallinen
2023-04-09 18:00:08 +03:00
parent 3a3be46624
commit 79bdab1f03

View File

@@ -9,18 +9,18 @@ des.map([[
|.-..........|......|--|....|.F.....|.|S-------.....|.....................|
||.--|.......|..T......|....|.F.....|.|.......|.....|.....................|
||.|.|.......|......|-.|....|.F.....|.|.......|.....|.....................|
||.|.|.......|......||.|-.-----------.-.......|------.....................|
|-+-S---------..---.||........................|...........................|
|......| |.-------------------.......|...........................|
|......| ###### |.........| |..S.......|...........................|
|----.-| -+- # |.....---.|######+..|.......S...........................|
|----+----.----+---.|.--|.|.|# ------------...........................|
|........|.|......|.|...F...|# ........|.....|...........................|
|.P......-S|......|------.---# .........|.....+...........................|
|..........|......+.|...|.|.S# ..--S-----.....|...........................|
|.W......---......|.|.|.|.|.|# ..|......|.....|...........................|
|....Z.L.S.F......|.|.|.|.---# |......+.....|...........................|
|........|--......|...|.....|####+......|.....|...........................|
||.|.|.......|......||.|-.-----------.-.......|-S----.....................|
|-+-S---------..---.||........................|...|.......................|
|......| |.-------------------.......|...|.......................|
|......| ###### |.........| |..S.......|...|.......................|
|----.-| -+- # |.....---.|######+..|.......S...|.......................|
|----+----.----+---.|.--|.|.|# ------------...|.......................|
|........|.|......|.|...F...|# ........|.....+...|.......................|
|.P......-S|......|------.---# .........|.....|...|.......................|
|..........|......+.|...|.|.S# ..--S-----.....|LLL|.......................|
|.W......---......|.|.|.|.|.|# ..|......|.....|LLL|.......................|
|....Z.L.S.F......|.|.|.|.---# |......+.....|...|.......................|
|........|--......|...|.....|####+......|.....|...+.......................|
---------------------------------------------------------------------------
]]);
@@ -37,6 +37,7 @@ des.teleport_region({ region = { 9,3, 9,3 } });
-- turn on some newbie-friendly options
nh.parse_config("OPTIONS=mention_walls");
nh.parse_config("OPTIONS=mention_decor");
nh.parse_config("OPTIONS=lit_corridor");
local movekeys = nh.eckey("movewest") .. " " ..
@@ -213,7 +214,7 @@ otmp:stop_timer("rot-corpse");
--
des.door({ coord = { 46,12 }, state = "random" });
des.door({ coord = { 46,11 }, state = "closed" });
des.engraving({ coord = { 43,11 }, type = "burn", text = "Use '" .. nh.eckey("twoweapon") .. "' to use two weapons at once", degrade = false });
des.object({ coord = { 43,13 }, id = "knife", buc = "uncursed" });
@@ -223,6 +224,17 @@ des.engraving({ coord = { 43,16 }, type = "burn", text = "Swap weapons quickly w
des.door({ coord = { 40,15 }, state = "random" });
--
des.object({ coord = { 48,7 }, id = "ring of levitation", buc = "not-cursed" });
des.engraving({ coord = { 48,10 }, type = "burn", text = "Put on accessories with '" .. nh.eckey("puton") .. "'", degrade = false });
des.engraving({ coord = { 48,16 }, type = "burn", text = "Remove accessories with '" .. nh.eckey("remove") .. "'", degrade = false });
des.door({ coord = { 50,16 }, state = "closed" });
--
des.engraving({ coord = { 55,9 }, type = "burn", text = "UNDER CONSTRUCTION", degrade = false });