1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 21:42:59 +00:00

adjacency rule now also affects: slime spill, storms, heat, dry, live caves

This commit is contained in:
Zeno Rogue
2019-12-26 19:04:32 +01:00
parent 9173c255ab
commit 0b7faa4b46
4 changed files with 29 additions and 16 deletions

View File

@@ -750,12 +750,13 @@ EX void showEuclideanMenu() {
});
}
if(among(specialland, laMinefield, laCA) && geometry_has_alt_mine_rule()) {
dialog::addSelItem(XLAT("mine adjacency rule"), XLAT(mine_adjacency_rule ? "vertex" : WDIM == 3 ? "face" : "edge"), 'M');
if(geometry_has_alt_mine_rule()) {
dialog::addSelItem(XLAT("adjacency rule"), XLAT(mine_adjacency_rule ? "vertex" : WDIM == 3 ? "face" : "edge"), 'M');
dialog::add_action([] {
stop_game();
mine_adjacency_rule = !mine_adjacency_rule;
start_game();
addMessage(XLAT("Note: adjacency rule affects environmental effects, but not movement."));
});
}