From e4ef14ac0217f9b72629907a5b250444296a22e0 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sat, 25 Apr 2015 12:41:36 +0100 Subject: Added new tree schematics --- README.md | 6 + init.lua | 3 +- mapgen_v7n.lua | 13 +- sapling.lua | 20 +- schematics/apple_tree.lua | 90 +++++++++ schematics/banana_tree.lua | 473 +++++++++++++++++++++++++++++++++++++++++++++ schematics/orange_tree.lua | 90 +++++++++ 7 files changed, 685 insertions(+), 10 deletions(-) create mode 100644 schematics/apple_tree.lua create mode 100644 schematics/banana_tree.lua create mode 100644 schematics/orange_tree.lua diff --git a/README.md b/README.md index 5edf69b..693bfa6 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,12 @@ https://forum.minetest.net/viewtopic.php?id=7656 Changelog: +1.16 +Added new tree schematics that change when placed with random leaves, fruit and height +Changed frost dirt so that it no longer freezes water (saves lag) +Torches cannot be placed next to water, otherwise they drop as items +Added latest farming redo Bean Bushes to mapgen + 1.15 Added Staff of Light (thanks Xanthin), crafted from illumishrooms and can turn stone into glostone and back again Changed how Crystal Spikes reproduce diff --git a/init.lua b/init.lua index 66a655e..b44ef69 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,6 @@ --[[ - Minetest Ethereal Mod 1.15 (10th April 2015) + Minetest Ethereal Mod 1.16 (25th April 2015) Created by ChinChow @@ -55,7 +55,6 @@ dofile(minetest.get_modpath("ethereal").."/sealife.lua") dofile(minetest.get_modpath("ethereal").."/fences.lua") dofile(minetest.get_modpath("ethereal").."/gates.lua") dofile(minetest.get_modpath("ethereal").."/stairs.lua") ---dofile(minetest.get_modpath("ethereal").."/mapgen_v7s.lua") -- 0.4.11 and below dofile(minetest.get_modpath("ethereal").."/mapgen_v7n.lua") -- 0.4.12 and above -- Xanadu server Only diff --git a/mapgen_v7n.lua b/mapgen_v7n.lua index c8afcd4..a0dc763 100644 --- a/mapgen_v7n.lua +++ b/mapgen_v7n.lua @@ -2,6 +2,11 @@ minetest.clear_registered_biomes() minetest.clear_registered_decorations() +-- tree schematics +dofile(minetest.get_modpath("ethereal").."/schematics/apple_tree.lua") +dofile(minetest.get_modpath("ethereal").."/schematics/orange_tree.lua") +dofile(minetest.get_modpath("ethereal").."/schematics/banana_tree.lua") + -- Biomes (for 0.4.12 with new changes from Paramat) if ethereal.icewater == 1 then minetest.register_biome({ @@ -351,7 +356,7 @@ minetest.register_decoration({ sidelen = 80, fill_ratio = 0.015, biomes = {"grove"}, - schematic = path.."bananatree.mts", + schematic = ethereal.bananatree, flags = "place_center_x, place_center_z", }) @@ -451,7 +456,7 @@ minetest.register_decoration({ sidelen = 80, fill_ratio = 0.03, biomes = {"grassy", "jumble"}, - schematic = path.."tree.mts", + schematic = ethereal.appletree, flags = "place_center_x, place_center_z", }) @@ -461,7 +466,7 @@ minetest.register_decoration({ sidelen = 80, fill_ratio = 0.005, biomes = {"grassytwo"}, - schematic = path.."tree.mts", + schematic = ethereal.appletree, flags = "place_center_x, place_center_z", }) @@ -472,7 +477,7 @@ minetest.register_decoration({ sidelen = 80, fill_ratio = 0.005, biomes = {"prairie"}, - schematic = path.."orangetree.mts", + schematic = ethereal.orangetree, flags = "place_center_x, place_center_z", }) diff --git a/sapling.lua b/sapling.lua index 5493742..4664244 100644 --- a/sapling.lua +++ b/sapling.lua @@ -37,7 +37,7 @@ ethereal.register_sapling( "ethereal:redwood_sapling", "Redwood Sapling", "redwo ethereal.register_sapling( "ethereal:orange_tree_sapling", "Orange Tree Sapling", "orange_tree_sapling.png" ) ethereal.register_sapling( "ethereal:acacia_sapling", "Acacia Sapling", "moretrees_acacia_sapling.png" ) - +-- current routine ethereal.place_tree = function (pos, ofx, ofz, schem) -- Remove Sapling and Place Tree Schematic minetest.set_node(pos, {name="air"}) @@ -46,6 +46,18 @@ ethereal.place_tree = function (pos, ofx, ofz, schem) minetest.place_schematic(pos, minetest.get_modpath("ethereal").."/schematics/"..schem..".mts", "0", {}, false ) end +-- new routine +ethereal.add_tree = function (pos, ofx, ofz, schem) + -- check for schematic + if not schem then + print ("Schematic not found") + return + end + -- remove sapling and place schematic + minetest.set_node(pos, {name="air"}) + minetest.place_schematic({x=pos.x - ofx, y=pos.y, z=pos.z - ofz}, schem, "random", {}, false) +end + -- Grow saplings minetest.register_abm({ nodenames = {"group:ethereal_sapling"}, @@ -59,7 +71,7 @@ minetest.register_abm({ if (node.name == "ethereal:yellow_tree_sapling" and under == "default:dirt_with_snow") then ethereal.place_tree(pos, 4, 4, "yellowtree") elseif (node.name == "ethereal:tree_sapling" and under == "ethereal:green_dirt") then - ethereal.place_tree(pos, 2, 2, "tree") + ethereal.add_tree(pos, 1, 1, ethereal.appletree) elseif (node.name == "ethereal:jungle_tree_sapling" and under == "ethereal:jungle_dirt") then ethereal.place_tree(pos, 6, 6, "jungletree") elseif (node.name == "ethereal:pine_tree_sapling" and under == "ethereal:cold_dirt") then @@ -67,7 +79,7 @@ minetest.register_abm({ elseif (node.name == "ethereal:big_tree_sapling" and under == "ethereal:green_dirt") then ethereal.place_tree(pos, 4, 4, "bigtree") elseif (node.name == "ethereal:banana_tree_sapling" and under == "ethereal:grove_dirt") then - ethereal.place_tree(pos, 3, 3, "bananatree") + ethereal.add_tree(pos, 3, 3, ethereal.bananatree) elseif (node.name == "ethereal:frost_tree_sapling" and under == "ethereal:crystal_dirt") then ethereal.place_tree(pos, 4, 4, "frosttrees") elseif (node.name == "ethereal:gray_tree_sapling" and under == "ethereal:gray_dirt") then @@ -81,7 +93,7 @@ minetest.register_abm({ elseif (node.name == "ethereal:redwood_sapling" and under == "bakedclay:red") then ethereal.place_tree(pos, 9, 9, "redwood") elseif (node.name == "ethereal:orange_tree_sapling" and under == "ethereal:prairie_dirt") then - ethereal.place_tree(pos, 1, 1, "orangetree") + ethereal.add_tree(pos, 1, 1, ethereal.orangetree) elseif (node.name == "ethereal:acacia_sapling" and under == "default:desert_sand") then ethereal.place_tree(pos, 5, 5, "acaciatree") end diff --git a/schematics/apple_tree.lua b/schematics/apple_tree.lua new file mode 100644 index 0000000..01f6c3d --- /dev/null +++ b/schematics/apple_tree.lua @@ -0,0 +1,90 @@ + +-- Apple Tree (built column by column, bottom to top) + +ethereal.appletree = { + size = {x=3, y=6, z=3}, + data = { + + -- -1 + + {name="ignore", param1=255, param2=0}, -- row 1 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 2 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 3 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="default:leaves", param1=223, param2=0}, -- row 4 + {name="default:leaves", param1=223, param2=0}, + {name="default:apple", param1=20, param2=0}, + + {name="default:leaves", param1=255, param2=0}, -- row 5 + {name="default:leaves", param1=255, param2=0}, + {name="default:leaves", param1=255, param2=0}, + + {name="default:leaves", param1=223, param2=0}, -- row 6 (top) + {name="default:apple", param1=20, param2=0}, + {name="default:leaves", param1=223, param2=0}, + + -- 0 + + {name="ignore", param1=255, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="ignore", param1=255, param2=8}, + + {name="default:leaves", param1=223, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="default:leaves", param1=223, param2=0}, + + {name="default:leaves", param1=255, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="default:leaves", param1=255, param2=0}, + + {name="default:leaves", param1=223, param2=0}, + {name="default:leaves", param1=255, param2=0}, + {name="default:leaves", param1=223, param2=0}, + + -- 1 + + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="default:apple", param1=20, param2=0}, + {name="default:leaves", param1=223, param2=0}, + {name="default:leaves", param1=223, param2=0}, + + {name="default:leaves", param1=255, param2=0}, + {name="default:leaves", param1=255, param2=0}, + {name="default:leaves", param1=255, param2=0}, + + {name="default:leaves", param1=223, param2=0}, + {name="default:leaves", param1=223, param2=0}, + {name="default:leaves", param1=223, param2=0}, + + }, + yslice_prob = { + {ypos=1, prob=127}, + }, +} diff --git a/schematics/banana_tree.lua b/schematics/banana_tree.lua new file mode 100644 index 0000000..e48785d --- /dev/null +++ b/schematics/banana_tree.lua @@ -0,0 +1,473 @@ + +-- Banana Tree (built column by column, bottom to top) + +ethereal.bananatree = { + size = {x=7, y=8, z=7}, + data = { + + -- -3 + + {name="ignore", param1=255, param2=0}, -- row 0 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 1 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 2 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 3 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 4 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 5 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 6 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=180, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 7 (top) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + -- -2 + + {name="ignore", param1=255, param2=0}, -- row 0 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 1 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 2 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 3 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 4 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana", param1=70, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 5 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 6 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 7 (top) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + -- -1 + + {name="ignore", param1=255, param2=0}, -- row 0 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 1 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 2 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 3 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 4 + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana", param1=70, param2=0}, + {name="ethereal:banana_trunk", param1=255, param2=0}, + {name="ethereal:banana", param1=70, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 5 + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ethereal:banana", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 6 + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ethereal:bananaleaves", param1=255, param2=0}, -- row 7 (top) + {name="ethereal:bananaleaves", param1=180, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=180, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + + -- 0 + + {name="ignore", param1=255, param2=0}, -- row 0 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana_trunk", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 1 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana_trunk", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 2 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana_trunk", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 3 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana_trunk", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 4 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana", param1=70, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 5 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:banana", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 6 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 7 (top) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + -- 1 + + {name="ignore", param1=255, param2=0}, -- row 0 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 1 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 2 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 3 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 4 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 5 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 6 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 7 (top) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=180, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + -- 2 + + {name="ignore", param1=255, param2=0}, -- row 0 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 1 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 2 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 3 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 4 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 5 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 6 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 7 (top) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ethereal:bananaleaves", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + -- 3 + + {name="ignore", param1=255, param2=0}, -- row 0 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 1 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 2 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 3 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 4 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 5 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 6 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 7 (top) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + }, + yslice_prob = { + {ypos=1, prob=127}, + }, +} diff --git a/schematics/orange_tree.lua b/schematics/orange_tree.lua new file mode 100644 index 0000000..3c1725b --- /dev/null +++ b/schematics/orange_tree.lua @@ -0,0 +1,90 @@ + +-- Orange Tree (built column by column, bottom to top) + +ethereal.orangetree = { + size = {x=3, y=6, z=3}, + data = { + + -- -1 + + {name="ignore", param1=255, param2=0}, -- row 1 (bottom) + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 2 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, -- row 3 + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ethereal:orange_leaves", param1=223, param2=0}, -- row 4 + {name="ethereal:orange_leaves", param1=223, param2=0}, + {name="ethereal:orange", param1=50, param2=0}, + + {name="ethereal:orange_leaves", param1=255, param2=0}, -- row 5 + {name="ethereal:orange_leaves", param1=255, param2=0}, + {name="ethereal:orange_leaves", param1=255, param2=0}, + + {name="ethereal:orange_leaves", param1=223, param2=0}, -- row 6 (top) + {name="ethereal:orange", param1=50, param2=0}, + {name="ethereal:orange_leaves", param1=223, param2=0}, + + -- 0 + + {name="ignore", param1=255, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="ignore", param1=255, param2=8}, + + {name="ethereal:orange_leaves", param1=223, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="ethereal:orange_leaves", param1=223, param2=0}, + + {name="ethereal:orange_leaves", param1=255, param2=0}, + {name="default:tree", param1=255, param2=0}, + {name="ethereal:orange_leaves", param1=255, param2=0}, + + {name="ethereal:orange_leaves", param1=223, param2=0}, + {name="ethereal:orange_leaves", param1=255, param2=0}, + {name="ethereal:orange_leaves", param1=223, param2=0}, + + -- 1 + + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + {name="ignore", param1=255, param2=0}, + + {name="ethereal:orange", param1=50, param2=0}, + {name="ethereal:orange_leaves", param1=223, param2=0}, + {name="ethereal:orange_leaves", param1=223, param2=0}, + + {name="ethereal:orange_leaves", param1=255, param2=0}, + {name="ethereal:orange_leaves", param1=255, param2=0}, + {name="ethereal:orange_leaves", param1=255, param2=0}, + + {name="ethereal:orange_leaves", param1=223, param2=0}, + {name="ethereal:orange_leaves", param1=223, param2=0}, + {name="ethereal:orange_leaves", param1=223, param2=0}, + + }, + yslice_prob = { + {ypos=1, prob=127}, + }, +} -- cgit v1.2.3