22 #ifndef ULTIMA8_WORLD_MONSTEREGG_H 23 #define ULTIMA8_WORLD_MONSTEREGG_H 25 #include "ultima/ultima8/world/item.h" 26 #include "ultima/ultima8/usecode/intrinsics.h" 37 ENABLE_RUNTIME_CLASSTYPE()
40 return (_quality >> 11) & 0x1F;
42 int getMonsterShape()
const {
43 return _quality & 0x7FF;
45 int getActivity()
const {
46 return _mapNum & 0x07;
54 INTRINSIC(I_monsterEggHatch);
55 INTRINSIC(I_getMonId);
Definition: monster_egg.h:31
Definition: detection.h:27
Definition: item_factory.h:32