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:
@@ -541,6 +541,8 @@ E void FDECL(food_substitution, (struct obj *,struct obj *));
|
||||
E void NDECL(fix_petrification);
|
||||
E void FDECL(consume_oeaten, (struct obj *,int));
|
||||
E boolean FDECL(maybe_finished_meal, (BOOLEAN_P));
|
||||
E void FDECL(set_tin_variety, (struct obj *,int));
|
||||
E int FDECL(tin_variety_txt, (char *,int *));
|
||||
|
||||
/* ### end.c ### */
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user