home · contact · privacy
Add basic food clock (but no consumables yet to re-set it).
[plomrogue] / src / server / thing_actions.h
index 28857e773cd135a678ccb1da0cfabb90426de828..0f9b962401d63dffc1de74730505462419b67fa6 100644 (file)
@@ -1,4 +1,8 @@
 /* src/server/thing_actions.h
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
  *
  * Actions that can be performed by living things / "actors". Note that apart
  * from the consequences described below, each action may also trigger log
@@ -34,6 +38,11 @@ extern void actor_pick(struct Thing * t);
  */
 extern void actor_use(struct Thing * t);
 
+/* Decrement "t"'s satiation and trigger a chance (dependent on over-/under-
+ * satiation value) of lifepoint decrement, when its type's .stomach is >0.
+ */
+extern void hunger(struct Thing * t);
+
 
 
 #endif