axing boulder/statue follow-up

<email deleted>
Sent: Sunday, June 30, 2002 6:30 PM
Subject: Sparks from statue-axing
> First, the message given when your axe-handle vibrates is a little
> ambiguous; I'd be explicit and include the name of obj.
>
> More seriously, potions of oil catching light from the sparks are a) a
> great idea, but b) slightly broken. They catch light fine, but
> snuffing them produces a "del_light_source: not found"
> impossible(). (This probably means the same applies to being lit by
> fire_damage(), but that's rare enough this hasn't been caught before.)
>
> (Also, a)pplying a potion of oil to light one identifies its object
> type, so lighting one by this means probably ought to as well. And
> oughtn't it to be charged for if you don't own it, as light_cocktail()
> does?)
This commit is contained in:
nethack.allison
2002-07-01 06:41:08 +00:00
parent 3c043bc008
commit a8b7d559cb
2 changed files with 10 additions and 2 deletions

View File

@@ -914,7 +914,7 @@ struct obj *obj;
boolean vibrate = !rn2(3);
pline("Sparks fly as you whack the %s%s!",
sobj_at(STATUE, rx, ry) ? "statue" : "boulder",
vibrate ? " and the handle vibrates violently" : "");
vibrate ? " and the axe-handle vibrates violently" : "");
if (vibrate) losehp(2, "axing a hard object", KILLED_BY);
if ((otmp = carrying(POT_OIL))) catch_lit(otmp);
}