tin variety (trunk only)

- store the variety of tin at tin creation time
  rather than at tin-opening time (as a negative
  value in spe just as homemade was; spinach
   is still spe 1)

Allow wishing for a particular variety of tin
from the tin variety list:
	"deep fried", "boiled","broiled","candied"
	"dried", "french fried", "homemade"
	"pickled", "pureed", "rotten", "sauteed"
	"smoked", "soup made from", "stir fried",
	"szechuan"
Example: "tin of soup made from orc"

non-debug player could randomly fail on the
variety specification 1 in 4 times
This commit is contained in:
nethack.allison
2003-10-28 03:45:49 +00:00
parent f66a750562
commit d08dcbc3fb
6 changed files with 97 additions and 16 deletions

View File

@@ -252,6 +252,12 @@ NEARDATA extern coord bhitpos; /* place where throw or zap hits or stops */
#define NOSE 17
#define STOMACH 18
/* indexes for some special tin types */
#define ROTTEN_TIN 4
#define HOMEMADE_TIN 5
#define FRENCH_FRIED_TIN 11
#define SPINACH_TIN (-1)
/* Flags to control menus */
#define MENUTYPELEN sizeof("traditional ")
#define MENU_TRADITIONAL 0