home · contact · privacy
Server: Make objects definable as "consumable" to gain n hitpoints.
[plomrogue] / src / server / map_objects.h
index a73aa801bdd2e0777d007d2383164c2bfd23ef84..f30b016468f3dcc9d66a5d1775d58ae54b77cf2d 100644 (file)
@@ -33,6 +33,7 @@ struct MapObjDef
     uint8_t id;         /* map object definition identifier / sets .type */
     uint8_t corpse_id;  /* type to change map object into upon destruction */
     uint8_t lifepoints; /* default start value for map object's .lifepoints */
+    uint8_t consumable; /* can be eaten if !0, for so much hitpoint win */
 };