home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add basic food clock (but no consumables yet to re-set it).
[plomrogue]
/
src
/
server
/
thing_actions.h
diff --git
a/src/server/thing_actions.h
b/src/server/thing_actions.h
index 376e50434d0a928344d965f0addc96235a24e2ef..0f9b962401d63dffc1de74730505462419b67fa6 100644
(file)
--- a/
src/server/thing_actions.h
+++ b/
src/server/thing_actions.h
@@
-38,6
+38,11
@@
extern void actor_pick(struct Thing * t);
*/
extern void actor_use(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
#endif