Merge branch 'master' into nhmall-booktribute
Conflicts: doc/fixes35.0 include/extern.h src/mkobj.c src/mon.c src/objnam.c win/share/objects.txt
This commit is contained in:
@@ -94,7 +94,7 @@ struct obj {
|
||||
Bitfield(recharged,3); /* number of times it's been recharged */
|
||||
#define on_ice recharged /* corpse on ice */
|
||||
Bitfield(lamplit,1); /* a light-source -- can be lit */
|
||||
Bitfield(oreserved1,1); /* was the placeholder for invisible objects, free for use */
|
||||
Bitfield(globby,1); /* globby; will combine with like types on adjacent squares */
|
||||
Bitfield(greased,1); /* covered with grease */
|
||||
Bitfield(nomerge,1); /* set temporarily to prevent merging */
|
||||
Bitfield(was_thrown,1); /* thrown by hero since last picked up */
|
||||
@@ -233,6 +233,11 @@ struct obj {
|
||||
#define polyfodder(obj) (ofood(obj) && pm_to_cham((obj)->corpsenm) != NON_PM)
|
||||
#define mlevelgain(obj) (ofood(obj) && (obj)->corpsenm == PM_WRAITH)
|
||||
#define mhealup(obj) (ofood(obj) && (obj)->corpsenm == PM_NURSE)
|
||||
#define Is_pudding(o) (o->otyp == GLOB_OF_GRAY_OOZE \
|
||||
|| o->otyp == GLOB_OF_BROWN_PUDDING \
|
||||
|| o->otyp == GLOB_OF_GREEN_SLIME \
|
||||
|| o->otyp == GLOB_OF_BLACK_PUDDING)
|
||||
|
||||
|
||||
/* Containers */
|
||||
#define carried(o) ((o)->where == OBJ_INVENT)
|
||||
|
||||
Reference in New Issue
Block a user