Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource into paxed-new_lev_comp
Conflicts: src/trap.c sys/winnt/Makefile.msc
This commit is contained in:
@@ -303,6 +303,17 @@ struct obj {
|
||||
|| (otmp)->otyp == WAX_CANDLE\
|
||||
|| (otmp)->otyp == POT_OIL)
|
||||
|
||||
/* things that can be read */
|
||||
#define is_readable(otmp) ((otmp)->otyp == FORTUNE_COOKIE\
|
||||
|| (otmp)->otyp == T_SHIRT\
|
||||
|| (otmp)->otyp == ALCHEMY_SMOCK\
|
||||
|| (otmp)->otyp == CREDIT_CARD\
|
||||
|| (otmp)->otyp == CAN_OF_GREASE\
|
||||
|| (otmp)->otyp == MAGIC_MARKER\
|
||||
|| (otmp)->oclass == COIN_CLASS\
|
||||
|| (otmp)->oartifact == ART_ORB_OF_FATE\
|
||||
|| (otmp)->otyp == CANDY_BAR)
|
||||
|
||||
/* special stones */
|
||||
#define is_graystone(obj) ((obj)->otyp == LUCKSTONE || \
|
||||
(obj)->otyp == LOADSTONE || \
|
||||
|
||||
Reference in New Issue
Block a user