]> granicus.if.org Git - nethack/commitdiff
Tests: Wishing for sprig of wolfsbane etc
authorPasi Kallinen <paxed@alt.org>
Tue, 21 Apr 2020 17:00:26 +0000 (20:00 +0300)
committerPasi Kallinen <paxed@alt.org>
Tue, 21 Apr 2020 17:00:26 +0000 (20:00 +0300)
test/testwish.lua

index 0f301e25fa0e220caa60ab42395ac2c8e3616993..7aada046b01a0b6604b011bfbcb6e95fcca32f1d 100644 (file)
@@ -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 ()