X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fserver%2Fthing_actions.h;h=97ab3cca20641b5106c96a1f144a028ebd11c603;hb=bf6cf401d8ea1994f95c4b1aaaf8f041bfb0dbff;hp=376e50434d0a928344d965f0addc96235a24e2ef;hpb=28b8b4234e395c3fdc4800e5cfb3dcd70a15cadf;p=plomrogue
diff --git a/src/server/thing_actions.h b/src/server/thing_actions.h
index 376e504..97ab3cc 100644
--- a/src/server/thing_actions.h
+++ b/src/server/thing_actions.h
@@ -38,6 +38,17 @@ extern void actor_pick(struct Thing * t);
*/
extern void actor_use(struct Thing * t);
+/* Increment "t"'s lifepoints to a 1/32 chance if its .satiation is positive,
+ * its lifepoints are below "t"'s type's .lifepoints, and "t"'s .command is the
+ * ID of the waiting action. On success, also decrement .satiation by by 32.
+ */
+extern void try_healing(struct Thing * t);
+
+/* Decrement "t"'s satiation and trigger a chance (dependent on over-/under-
+ * satiation value) of lifepoint decrement.
+ */
+extern void hunger(struct Thing * t);
+
#endif