melon bit and comment

Melons should break when thrown.
Add objects.c comment about "gray stones"
This commit is contained in:
nethack.allison
2002-07-14 13:37:48 +00:00
parent 42bbcb6157
commit 67c7c79d66
2 changed files with 6 additions and 0 deletions

View File

@@ -1570,6 +1570,7 @@ struct obj *obj;
case POT_WATER: /* really, all potions */
case EGG:
case CREAM_PIE:
case MELON:
case ACID_VENOM:
case BLINDING_VENOM:
return 1;
@@ -1607,6 +1608,7 @@ boolean in_view;
(obj->quan==1) ? "s" : "", to_pieces);
break;
case EGG:
case MELON:
pline("Splat!");
break;
case CREAM_PIE:

View File

@@ -921,6 +921,10 @@ GEM("worthless piece of black glass", "black", 76, 1, 0, 6, 5, GLASS, CLR_BLAC
GEM("worthless piece of green glass", "green", 77, 1, 0, 6, 5, GLASS, CLR_GREEN),
GEM("worthless piece of violet glass", "violet", 77, 1, 0, 6, 5, GLASS, CLR_MAGENTA),
/* Placement note: there is a wishable subrange for
* "gray stones" in the o_ranges[] array in objnam.c
* that is currently everything between luckstones and flint (inclusive).
*/
ROCK("luckstone", "gray", 0, 10, 10, 60, 3, 3, 1, 10, 7, MINERAL, CLR_GRAY),
ROCK("loadstone", "gray", 0, 10, 500, 1, 3, 3, 1, 10, 6, MINERAL, CLR_GRAY),
ROCK("touchstone", "gray", 0, 8, 10, 45, 3, 3, 1, 10, 6, MINERAL, CLR_GRAY),