Tutorial: twoweapon and swap weapons

This commit is contained in:
Pasi Kallinen
2023-04-06 19:30:54 +03:00
parent a39716ae13
commit 6c2d7c3695

View File

@@ -15,12 +15,12 @@ des.map([[
|......| ###### |.........| |..S.......|...........................|
|----.-| -+- # |.....---.|######+..|.......S...........................|
|----+----.----+---.|.--|.|.|# ------------...........................|
|........|.|......|.|...F...|# ..........................................|
|.P......-S|......|------.---# ...........................................|
|..........|......+.|...|.|.S# ..--------.................................|
|.W......---......|.|.|.|.|.|# ..|......|.................................|
|....Z.L.S.F......|.|.|.|.---# |......|.................................|
|........|--......|...|.....|####+......|.................................|
|........|.|......|.|...F...|# ........|.....|...........................|
|.P......-S|......|------.---# .........|.....+...........................|
|..........|......+.|...|.|.S# ..--S-----.....|...........................|
|.W......---......|.|.|.|.|.|# ..|......|.....|...........................|
|....Z.L.S.F......|.|.|.|.---# |......+.....|...........................|
|........|--......|...|.....|####+......|.....|...........................|
---------------------------------------------------------------------------
]]);
@@ -213,6 +213,17 @@ otmp:stop_timer("rot-corpse");
--
des.door({ coord = { 46,12 }, state = "random" });
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" });
des.object({ coord = { 43,14 }, id = "dagger", buc = "blessed" });
des.engraving({ coord = { 43,16 }, type = "burn", text = "Swap weapons quickly with '" .. nh.eckey("swap") .. "'", degrade = false });
des.door({ coord = { 40,15 }, state = "random" });
--
des.engraving({ coord = { 55,9 }, type = "burn", text = "UNDER CONSTRUCTION", degrade = false });