diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-10-25 12:14:05 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-10-25 12:14:05 -0400 |
commit | f23603a325cfad46e16550521d4409300af40b49 (patch) | |
tree | 7884df937ec836ac4b79d90ab3ed6e068ed2c60d /dryplants/reed.lua | |
parent | 9d67dc5e829951b288f266a316c0bce06e9ae66e (diff) | |
download | dreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.tar dreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.tar.gz dreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.tar.bz2 dreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.tar.xz dreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.zip |
update biome_lib, plantlife (which includes switching
to Tenplus1's vines fork), and moretrees
Diffstat (limited to 'dryplants/reed.lua')
-rw-r--r-- | dryplants/reed.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/dryplants/reed.lua b/dryplants/reed.lua index 707cafc..155233f 100644 --- a/dryplants/reed.lua +++ b/dryplants/reed.lua @@ -107,7 +107,7 @@ if AUTO_ROOF_CORNER == true then and ((node_north.name == roof and node_north.param2 == 3) or (node_north.name == corner and node_north.param2 == 3)) then - minetest.set_node(pos, {name=corner, param2=0}) + minetest.swap_node(pos, {name=corner, param2=0}) end if ((node_north.name == roof and node_north.param2 == 1) @@ -115,7 +115,7 @@ if AUTO_ROOF_CORNER == true then and ((node_east.name == roof and node_east.param2 == 0) or (node_east.name == corner and node_east.param2 == 0)) then - minetest.set_node(pos, {name=corner, param2=1}) + minetest.swap_node(pos, {name=corner, param2=1}) end if ((node_east.name == roof and node_east.param2 == 2) @@ -123,7 +123,7 @@ if AUTO_ROOF_CORNER == true then and ((node_south.name == roof and node_south.param2 == 1) or (node_south.name == corner and node_south.param2 == 1)) then - minetest.set_node(pos, {name=corner, param2=2}) + minetest.swap_node(pos, {name=corner, param2=2}) end if ((node_south.name == roof and node_south.param2 == 3) @@ -131,7 +131,7 @@ if AUTO_ROOF_CORNER == true then and ((node_west.name == roof and node_west.param2 == 2) or (node_west.name == corner and node_west.param2 == 2)) then - minetest.set_node(pos, {name=corner, param2=3}) + minetest.swap_node(pos, {name=corner, param2=3}) end -- corner 2 if ((node_west.name == roof and node_west.param2 == 2) @@ -139,7 +139,7 @@ if AUTO_ROOF_CORNER == true then and ((node_north.name == roof and node_north.param2 == 1) or (node_north.name == corner_2 and node_north.param2 == 3)) then - minetest.set_node(pos, {name=corner_2, param2=0}) + minetest.swap_node(pos, {name=corner_2, param2=0}) end if ((node_north.name == roof and node_north.param2 == 3) @@ -147,7 +147,7 @@ if AUTO_ROOF_CORNER == true then and ((node_east.name == roof and node_east.param2 == 2) or (node_east.name == corner_2 and node_east.param2 == 0)) then - minetest.set_node(pos, {name=corner_2, param2=1}) + minetest.swap_node(pos, {name=corner_2, param2=1}) end if ((node_east.name == roof and node_east.param2 == 0) @@ -155,7 +155,7 @@ if AUTO_ROOF_CORNER == true then and ((node_south.name == roof and node_south.param2 == 3) or (node_south.name == corner_2 and node_south.param2 == 1)) then - minetest.set_node(pos, {name=corner_2, param2=2}) + minetest.swap_node(pos, {name=corner_2, param2=2}) end if ((node_south.name == roof and node_south.param2 == 1) @@ -163,7 +163,7 @@ if AUTO_ROOF_CORNER == true then and ((node_west.name == roof and node_west.param2 == 0) or (node_west.name == corner_2 and node_west.param2 == 2)) then - minetest.set_node(pos, {name=corner_2, param2=3}) + minetest.swap_node(pos, {name=corner_2, param2=3}) end end, @@ -255,7 +255,7 @@ if REED_WILL_DRY == true then chance = 1, action = function(pos) local direction = minetest.get_node(pos).param2 - minetest.set_node(pos, {name=DRy, param2=direction}) + minetest.swap_node(pos, {name=DRy, param2=direction}) end, }) end |