Add rolling boulder traps in Sokoban to reduce wrist strain
When playtesting NetHack heavily, I observed that most of the time it wasn't placing much strain on my wrists, but Sokoban was an exception: travel, farmove, etc. can normally be used to avoid the need to spam keys, but they don't work while pushing a boulder, and the boulders often need to be pushed along precise routes, so you have to tap out every movement. This becomes particularly straining when pushing in the last few boulders, as you have to push them a long way along the goal corridor. This commit adds rolling boulder traps to Sokoban that will automatically roll boulders along the goal corridor, meaning that you don't have to push them there manually. This considerably reduces the number of keystrokes needed to solve Sokoban, without making any significant change to the difficulty of the levels. Some of the designs had to change slightly in order to make room for them, but not in a way that meaningfully changes the solution.
This commit is contained in:
@@ -7,26 +7,27 @@ des.level_init({ style = "solidfill", fg = " " });
|
||||
des.level_flags("mazelevel", "noteleport", "premapped", "sokoban", "solidify");
|
||||
|
||||
des.map([[
|
||||
--------
|
||||
--|.|....|
|
||||
|........|----------
|
||||
|.-...-..|.|.......|
|
||||
|...-......|.......|
|
||||
|.-....|...|.......|
|
||||
|....-.--.-|.......|
|
||||
|..........|.......|
|
||||
|.--...|...|.......|
|
||||
|....-.|---|.......|
|
||||
--|....|----------+|
|
||||
|................|
|
||||
------------------
|
||||
--------
|
||||
--|.|....|
|
||||
|........|----------
|
||||
|.-...-..|.|.......|
|
||||
|...-......|.......|
|
||||
|.-....|...|.......|
|
||||
|....-.--.-|.......|
|
||||
|..........|.......|
|
||||
|.--...|...|.......---
|
||||
|....-.|---|.......+.|
|
||||
--|....|------------.|
|
||||
|................+.|
|
||||
--------------------
|
||||
]]);
|
||||
des.stair("down", 06,11)
|
||||
des.stair("up", 15,06)
|
||||
des.door("locked",18,10)
|
||||
des.region(selection.area(00,00,19,12), "lit");
|
||||
des.non_diggable(selection.area(00,00,19,12));
|
||||
des.non_passwall(selection.area(00,00,19,12));
|
||||
des.door("locked",19,09)
|
||||
des.door("locked",19,11)
|
||||
des.region(selection.area(00,00,21,12), "lit");
|
||||
des.non_diggable(selection.area(00,00,21,12));
|
||||
des.non_passwall(selection.area(00,00,21,12));
|
||||
|
||||
-- Boulders
|
||||
des.object("boulder",04,02)
|
||||
@@ -49,7 +50,7 @@ des.object("boulder",05,11)
|
||||
-- prevent monster generation over the (filled) holes
|
||||
des.exclusion({ type = "monster-generation", region = { 06,11, 18,11 } });
|
||||
-- Traps
|
||||
des.trap("hole",07,11)
|
||||
des.trap("rolling boulder",07,11)
|
||||
des.trap("hole",08,11)
|
||||
des.trap("hole",09,11)
|
||||
des.trap("hole",10,11)
|
||||
@@ -60,6 +61,7 @@ des.trap("hole",14,11)
|
||||
des.trap("hole",15,11)
|
||||
des.trap("hole",16,11)
|
||||
des.trap("hole",17,11)
|
||||
des.trap("hole",18,11)
|
||||
|
||||
-- Random objects
|
||||
des.object({ class = "%" });
|
||||
|
||||
Reference in New Issue
Block a user