From 12e4fa8a9238b762a7648700952ce8c4208d013c Mon Sep 17 00:00:00 2001 From: BlockMen Date: Wed, 15 Jul 2015 01:34:38 +0200 Subject: Push to Version 1.1 --- README.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.txt') diff --git a/README.txt b/README.txt index c658f6e..a914736 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,6 @@ Minetest mod "Hunger" ===================== -Version: 1.0 +Version: 1.1 (c) Copyright BlockMen (2015) @@ -19,6 +19,12 @@ Information: This mod depends on the "Better HUD" mod (https://github.com/BlockMen/hud) to provide information about your current saturation. +For Modders: +~~~~~~~~~~~~ +This mod alters the behavior of minetest.item_eat(). +All callbacks that are registered via minetest.register_on_item_eat() are called AFTER this mod actions, so the itemstack +will have changed already when callbacks are called. You can get the original itemstack as 6th parameter of your function then. + License: ~~~~~~~~ (c) Copyright BlockMen (2015) -- cgit v1.2.3