1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-23 08:54:48 +00:00

Add a setting to disable the warning before killing a friendly monster

This commit is contained in:
Joseph C. Sible
2025-09-27 15:40:09 -04:00
parent 8b7e82b460
commit e3401515c1
2 changed files with 6 additions and 0 deletions

View File

@@ -3522,6 +3522,9 @@ EX int config3 = addHook(hooks_configfile, 100, [] {
->set_sets([] { dialog::bound_low(1); })
->set_reaction([] { if(game_active) { stop_game(); start_game(); } });
param_enum(warn_before_killing_friends, "warn_before_killing_friends", 2)
->editable({{"OFF", "never warn"}, {"TAME_BOMBERBIRDS", "warn only for Tame Bomberbirds"}, {"ON", "always warn"}}, "warn before killing friendly monsters", 'W');
param_i(curse_percentage, "curse_percentage")->editable(0, 100, 1,
"curse percentage",
"The percentage of towers in Cursed Walls mode to be manned by Canyon Hags", 'R')