Search found 4 matches

Return to advanced search

Re: minetest.dig_node and digger parameter

Ok, thx for looking into this.
BTW: I accomplished what I wanted with minetest.node_dig
by christian99
Thu Jun 02, 2016 21:11
 
Forum: Modding Discussion
Topic: [solved] minetest.dig_node and digger parameter
Replies: 6
Views: 1851

Re: minetest.dig_node and digger parameter

local radius = 2 minetest.register_on_dignode( function(pos, oldnode, digger) if minetest.get_node_group( oldnode.name, "tree" ) ~= 0 then local leaf_node = minetest.find_node_near( pos, 3, { "group:leaves" } ) while leaf_node ~= nil do minetest.dig_node( leaf_node, nil, digger ...
by christian99
Wed Jun 01, 2016 18:11
 
Forum: Modding Discussion
Topic: [solved] minetest.dig_node and digger parameter
Replies: 6
Views: 1851

[solved] minetest.dig_node and digger parameter

Hey guys, I'm first time trying to mod minetest, but have a little problem: I want to pass the digger parameter to minetest.dig_node, but it doesn't have any effect. The Debug.txt shows "2016-06-01 18:02:18: ACTION[Server]: digs default:tree at (8,19,-75)" the result is, that the node is r...
by christian99
Wed Jun 01, 2016 16:49
 
Forum: Modding Discussion
Topic: [solved] minetest.dig_node and digger parameter
Replies: 6
Views: 1851

Return to advanced search

cron