From: Pasi Kallinen Date: Tue, 21 Apr 2020 17:00:26 +0000 (+0300) Subject: Tests: Wishing for sprig of wolfsbane etc X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52a15daaf6746df37de75bc21971822c4ae92989;p=nethack Tests: Wishing for sprig of wolfsbane etc --- diff --git a/test/testwish.lua b/test/testwish.lua index 0f301e25f..7aada046b 100644 --- a/test/testwish.lua +++ b/test/testwish.lua @@ -40,6 +40,12 @@ local wishtest_objects = { ["bear trap"] = { otyp_name = "beartrap", oclass = "(" }, ["landmine"] = { otyp_name = "land mine", oclass = "(" }, ["land mine"] = { otyp_name = "land mine", oclass = "(" }, + ["sprig of wolfsbane"] = { otyp_name = "sprig of wolfsbane", oclass = "%" }, + ["wolfsbane"] = { otyp_name = "sprig of wolfsbane", oclass = "%" }, + ["clove of garlic"] = { otyp_name = "clove of garlic", oclass = "%" }, + ["garlic"] = { otyp_name = "clove of garlic", oclass = "%" }, + ["lump of royal jelly"] = { otyp_name = "lump of royal jelly", oclass = "%" }, + ["royal jelly"] = { otyp_name = "lump of royal jelly", oclass = "%" }, ["blessed historic statue of woodland-elf named Foo"] = { otyp_name = "statue", blessed = 1, historic = 1, corpsenm_name = "Woodland-elf", oname = "Foo" }, ["blessed figurine of a ki-rin"] = { otyp_name = "figurine", blessed = 1, corpsenm_name = "ki-rin" }, ["partly eaten orange"] = { otyp_name = "orange", oclass = "%", oeaten = function ()