]> granicus.if.org Git - nethack/commitdiff
remove sparks lighting oil
authornethack.allison <nethack.allison>
Wed, 17 Jul 2002 23:26:48 +0000 (23:26 +0000)
committernethack.allison <nethack.allison>
Wed, 17 Jul 2002 23:26:48 +0000 (23:26 +0000)
for now at least, until there is more time to look into it.

<email deleted>
> Yet more nitpicking about potions of oil being lit by sparks from axed
> statues, I'm afraid.
>
> Konosja's potions of oil catch light!
> "That will cost you 66 zorkmids (Yendorian Fuel Tax)."
> "That's in addition to the cost of Konosja's potions of oil themselves, of
> course."
> You snuff the lit potion.
>
> a) why is the Fuel Tax on (in this case) six potions the same as on one?
>
> b) if you a)pply-light a potion, it's just "in addition to the cost of
>    the potion". Is Yname2() the right name-function for catch_lit() to
>    be using? It's odd for Konosja to be talking about herself in the
>    third person.
>
> c) Grammar on the snuffing message is wrong for multiple potions.

src/dig.c

index e7659ecee409852036b0bcf8b03c47b7f1ecd00b..381e7dbfc68a4d3240d2dbe7ea13d3c57ef63fc3 100644 (file)
--- a/src/dig.c
+++ b/src/dig.c
@@ -912,13 +912,11 @@ struct obj *obj;
                            You("need a pick to dig rock.");
                        else if (!ispick && (sobj_at(STATUE, rx, ry) ||
                                             sobj_at(BOULDER, rx, ry))) {
-                           struct obj *otmp;
                            boolean vibrate = !rn2(3);
                            pline("Sparks fly as you whack the %s.%s",
                                sobj_at(STATUE, rx, ry) ? "statue" : "boulder",
                                vibrate ? " The axe-handle vibrates violently!" : "");
                            if (vibrate) losehp(2, "axing a hard object", KILLED_BY);
-                           if ((otmp = carrying(POT_OIL))) catch_lit(otmp);
                        }
                        else
                            You("swing your %s through thin air.",