From 2b08a569c6488be2336ac8d8f984833463f9da36 Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Sun, 10 Feb 2019 12:49:26 +1100 Subject: [PATCH 1/4] Add bad_item_prompt = false New option in 0.23. --- qw.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/qw.rc b/qw.rc index b508340..6a168ef 100644 --- a/qw.rc +++ b/qw.rc @@ -127,6 +127,7 @@ cset = cloud:xa4 cset = item_orb:0 use_fake_player_cursor = true equip_unequip = true +bad_item_prompt = false dump_order = header,hiscore,stats,misc,mutations,skills,spells,inventory dump_order += overview From f3940f1d91a80b18492717ef0f465fa9debfd0fe Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Sun, 10 Feb 2019 13:25:25 +1100 Subject: [PATCH 2/4] Remove Trog burn spellbooks support Removed in 0.23. --- qw.rc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/qw.rc b/qw.rc index 6a168ef..c14c330 100644 --- a/qw.rc +++ b/qw.rc @@ -3551,11 +3551,6 @@ function apocalypse() use_ability("Apocalypse") end --- Will fail if the book is in a non-fire cloud already. -function burn_spellbooks() - use_ability("Burn Spellbooks") -end - function plan_bia() if can_bia() and want_to_bia() then bia() @@ -4299,14 +4294,6 @@ function plan_drain_life() return false end -function plan_burn_spellbooks() - if want_to_burn_spellbooks() then - burn_spellbooks() - return true - end - return false -end - function want_to_bia() if not danger then return false @@ -4923,10 +4910,6 @@ function plan_abyss_rest() return false end -function want_to_burn_spellbooks() - return BURN_BOOKS and (you.god() == "Trog") and can_read() and see_spellbooks_to_burn() -end - function want_blood() return (count_item("potion","of blood") < 10) end @@ -7831,7 +7814,6 @@ plan_move = cascade { {plan_attack, "attack"}, {plan_cure_poison, "cure_poison"}, {plan_flail_at_invis, "try_flail_at_invis"}, - {plan_burn_spellbooks, "try_burn_spellbooks"}, {plan_eatrest, "eatrest"}, {plan_pre_explore, "pre_explore"}, {plan_step_towards_lair, "step_towards_lair"}, From 721d33af03d6d6bc06bf6589a714eb6ca841bee1 Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Sun, 10 Feb 2019 16:33:43 +1100 Subject: [PATCH 3/4] Update acquirement keys for 0.23 --- qw.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qw.rc b/qw.rc index c14c330..388a65b 100644 --- a/qw.rc +++ b/qw.rc @@ -5235,9 +5235,9 @@ function plan_use_good_consumables() if view.feature_at(0,0) ~= "deep_water" and view.feature_at(0,0) ~= "lava" then if you.race() == "Felid" then - return read2(it, " c") + return read2(it, "c") else - return read2(it, " b") + return read2(it, "b") end end elseif it.name():find("enchant weapon") then From 63ae18041de083bad544083dd1037194eeb507d1 Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Sun, 10 Feb 2019 21:31:40 +1100 Subject: [PATCH 4/4] Don't try to use Trog's Hand while engulfed --- qw.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qw.rc b/qw.rc index 388a65b..680f628 100644 --- a/qw.rc +++ b/qw.rc @@ -2304,7 +2304,8 @@ function can_hand() return (not (you.berserk() or you.confused() or you.silenced() or you.regenerating() or starving() or you.piety_rank() < 2 or - you.god() ~= "Trog")) + you.god() ~= "Trog" or + you.status("engulfed (cannot breathe)"))) end function dd_heal_ability()