From ac628c9b0ab8c69313b3fe401384ecd0fc20eb14 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 9 Sep 2012 12:05:38 +0300 Subject: Fix ObjectRef:punch() --- doc/lua_api.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index b71b6d62c..782378c1f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1087,6 +1087,7 @@ methods: - punch(puncher, time_from_last_punch, tool_capabilities, direction) ^ puncher = an another ObjectRef, ^ time_from_last_punch = time since last punch action of the puncher + ^ direction: can be nil - right_click(clicker); clicker = an another ObjectRef - get_hp(): returns number of hitpoints (2 * number of hearts) - set_hp(hp): set number of hitpoints (2 * number of hearts) -- cgit v1.2.3