make diluted oil less effective than normal oil
Suggested 6.5 years ago...
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 potion.c $NHDT-Date: 1543745356 2018/12/02 10:09:16 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.155 $ */
|
||||
/* NetHack 3.6 potion.c $NHDT-Date: 1545182147 2018/12/19 01:15:47 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.156 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2013. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -2169,7 +2169,10 @@ more_dips:
|
||||
} else {
|
||||
You("fill %s with oil.", yname(obj));
|
||||
check_unpaid(potion); /* Yendorian Fuel Tax */
|
||||
obj->age += 2 * potion->age; /* burns more efficiently */
|
||||
/* burns more efficiently in a lamp than in a bottle;
|
||||
diluted potion provides less benefit but we don't attempt
|
||||
to track that the lamp now also has some non-oil in it */
|
||||
obj->age += (!potion->odiluted ? 4L : 3L) * potion->age / 2L;
|
||||
if (obj->age > 1500L)
|
||||
obj->age = 1500L;
|
||||
useup(potion);
|
||||
|
||||
Reference in New Issue
Block a user