Search found 3 matches

Return to advanced search

Re: Post your modding questions here

try this: minetest.register_abm({ nodenames = {"garden:ivygrow"}, interval = 1, chance = 1, action = function(pos, node) local x = pos.x local y = pos.y local z = pos.z local pos_y = {x=x,y=y+1,z=z} local node = minetest.get_node(pos) if minetest.get_node(pos_y).name == "air" th...
by 48inches
Wed Mar 25, 2015 02:58
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 593639

Re: Post your modding questions here

Can I see the code? Here's the abm for the ivy. minetest.register_abm({ nodenames = {"garden:ivygrow"}, interval = 10, chance = 4, action = function(pos, node, active_object_count, active_object_count_wider) local x = pos.x local y = pos.y local z = pos.z local pos_y = {x=x,y=y+1,z=z} loc...
by 48inches
Tue Mar 24, 2015 19:06
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 593639

Re: Post your modding questions here

What I want to do is make a growing ivy mod, I have an abm that gradually stacks ivy nodes but the ivy node is always in the same rotation. How do I rotate the ivy node so it is against a nearby node or at least in the same rotation as the ivy below it?

O, and hello.
by 48inches
Mon Mar 23, 2015 02:56
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 593639

Return to advanced search

cron