Time Nick Message 09:40 Glunggi hi (test) 09:40 Glunggi it works :D 12:16 LazyJ I'd like to combine two functions. When I tried "on_place = minetest.item_place .. minetest.rotate_node" Minetest crashed with an error saying that functions cant' be concatenated. 12:17 LazyJ I'm adding stairsplus compatibility to a mod. In stairsplus (MoreBlocks) on_place = minetest.rotate_node is already being used. 12:19 LazyJ The problem I'm trying to solve is getting Minetest to record in the logs when a stairsplus node is placed "[Action] server thread: singleplayer places moreblocks:stairs_oakwood at (110,23,114)") 12:21 LazyJ I've tried minetest.log("action", placer:get_player_name().." places " ..minetest.get_node(pos).." at "..minetest.pos_to_string(pos)) but then Minetest crashes saying there is an error in the error handling and reffers to misc_register.lua in "builtin". 12:22 LazyJ After some experimenting I found that the problem is with getting the player name. 12:22 LazyJ I was testing in singleplayer mode and according to the terminal the list of players was blank. 12:23 LazyJ Because "on_place" was already used by MoreBlocks, I was put minetest.log under the "on_construct = function(pos)" 12:25 LazyJ I see by the example in minetest_game/stair/init.lua, return minetest.item_place() is under the "on_place = function (stuff, I, don't, remember). 12:25 LazyJ Any ideas? 12:31 LazyJ Rebooting 12:54 Zefram_Fysh to compose functions you want to write a small wrapper function that calls both of the functions you want 12:56 Zefram_Fysh on_place = function (i, p, t) minetest.item_place(i, p, t, 0) minetest.rotate_node(i, p, t) end 13:02 LazyJ Thanks, Zefram_Fysh. I'll give it a try and study the book some more. But now I have to take care of other responsibilities. Timing... :/