mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
edit minefield colors in minefield config
This commit is contained in:
parent
6b0dd547bd
commit
10184f9087
@ -181,9 +181,7 @@ EX bool monstersnear(cell *c, eMonster who) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// consider normal monsters
|
// consider normal monsters
|
||||||
if(c2 &&
|
if(c2 && isArmedEnemy(c2, who)) {
|
||||||
isArmedEnemy(c2, who) &&
|
|
||||||
(c2->monst != moLancer || isUnarmed(who) || !logical_adjacent(c, who, c2))) {
|
|
||||||
eMonster m = c2->monst;
|
eMonster m = c2->monst;
|
||||||
if(elec::affected(c2)) continue;
|
if(elec::affected(c2)) continue;
|
||||||
if(fast && c2->monst != moWitchSpeed) continue;
|
if(fast && c2->monst != moWitchSpeed) continue;
|
||||||
|
2
help.cpp
2
help.cpp
@ -562,6 +562,8 @@ void mine_dialog() {
|
|||||||
add_edit(mine_opacity);
|
add_edit(mine_opacity);
|
||||||
add_edit(mine_hollow);
|
add_edit(mine_hollow);
|
||||||
add_edit(mine_markers);
|
add_edit(mine_markers);
|
||||||
|
dialog::addItem(XLAT("minefield colors"), 'c');
|
||||||
|
dialog::add_action_push([] { edit_color_table(minecolors); });
|
||||||
dialog::display();
|
dialog::display();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user