From 5a411e8b4c6429906d75050ff05f95739d13e7a2 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sun, 9 Apr 2023 11:53:15 +0100 Subject: [PATCH] force trunk placement to fix floating tree issues on mapgen --- schematics/bamboo_tree.lua | 2 +- schematics/banana_tree.lua | 2 +- schematics/bigtree.lua | 2 +- schematics/birch_tree.lua | 2 +- schematics/frosttrees.lua | 2 +- schematics/lemon_tree.lua | 2 +- schematics/mushroomone.lua | 2 +- schematics/olive_tree.lua | 2 +- schematics/orange_tree.lua | 2 +- schematics/palmtree.lua | 2 +- schematics/pinetree.lua | 2 +- schematics/redwood_small_tree.lua | 2 +- schematics/redwood_tree.lua | 2 +- schematics/sakura.lua | 2 +- schematics/vinetree.lua | 2 +- schematics/willow.lua | 2 +- schematics/yellowtree.lua | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/schematics/bamboo_tree.lua b/schematics/bamboo_tree.lua index 00e0650..65b6898 100644 --- a/schematics/bamboo_tree.lua +++ b/schematics/bamboo_tree.lua @@ -1,6 +1,6 @@ local _ = {name = "air", param1 = 000} -local B = {name = "ethereal:bamboo", param1 = 255} +local B = {name = "ethereal:bamboo", param1 = 255, force_place = true} local L = {name = "ethereal:bamboo_leaves", param1 = 255} local l = {name = "ethereal:bamboo_leaves", param1 = 100} diff --git a/schematics/banana_tree.lua b/schematics/banana_tree.lua index e554aa1..6c88c4f 100644 --- a/schematics/banana_tree.lua +++ b/schematics/banana_tree.lua @@ -1,6 +1,6 @@ local _ = {name = "air", param1 = 0} -local T = {name = "ethereal:banana_trunk", param1 = 255} +local T = {name = "ethereal:banana_trunk", param1 = 255, force_place = true} local L = {name = "ethereal:bananaleaves", param1 = 255} local l = {name = "ethereal:bananaleaves", param1 = 180} local B = {name = "ethereal:banana", param1 = 255} diff --git a/schematics/bigtree.lua b/schematics/bigtree.lua index 689149b..5dfae28 100644 --- a/schematics/bigtree.lua +++ b/schematics/bigtree.lua @@ -1,7 +1,7 @@ local _ = {name = "air", prob = 0} local L = {name = "default:leaves", prob = 255} -local T = {name = "default:tree", prob = 255} +local T = {name = "default:tree", prob = 255, force_place = true} local t = {name = "default:tree", prob = 127} ethereal.bigtree = { diff --git a/schematics/birch_tree.lua b/schematics/birch_tree.lua index 5fdd5b8..0f104e2 100644 --- a/schematics/birch_tree.lua +++ b/schematics/birch_tree.lua @@ -1,6 +1,6 @@ local _ = {name = "air", param1 = 0} -local T = {name = "ethereal:birch_trunk", param1 = 255} +local T = {name = "ethereal:birch_trunk", param1 = 255, force_place = true} local L = {name = "ethereal:birch_leaves", param1 = 255} local l = {name = "ethereal:birch_leaves", param1 = 150} diff --git a/schematics/frosttrees.lua b/schematics/frosttrees.lua index 93f1256..d671c5b 100644 --- a/schematics/frosttrees.lua +++ b/schematics/frosttrees.lua @@ -1,7 +1,7 @@ local _ = {name = "air", prob = 0} local l = {name = "ethereal:frost_leaves", prob = 255} -local t = {name = "ethereal:frost_tree", prob = 255} +local t = {name = "ethereal:frost_tree", prob = 255, force_place = true} ethereal.frosttrees = { diff --git a/schematics/lemon_tree.lua b/schematics/lemon_tree.lua index bd95501..5521cf6 100644 --- a/schematics/lemon_tree.lua +++ b/schematics/lemon_tree.lua @@ -2,7 +2,7 @@ local _ = {name = "air", param1 = 0} local L = {name = "ethereal:lemon_leaves", param1 = 255} local l = {name = "ethereal:lemon_leaves", param1 = 127} -local T = {name = "default:tree", param1 = 255} +local T = {name = "default:tree", param1 = 255, force_place = true} local e = {name = "ethereal:lemon", param1 = 100} ethereal.lemontree = { diff --git a/schematics/mushroomone.lua b/schematics/mushroomone.lua index f4535ba..944843d 100644 --- a/schematics/mushroomone.lua +++ b/schematics/mushroomone.lua @@ -1,7 +1,7 @@ local _ = {name = "air", prob = 0} local M = {name = "ethereal:mushroom", prob = 255} -local T = {name = "ethereal:mushroom_trunk", prob = 255} +local T = {name = "ethereal:mushroom_trunk", prob = 255, force_place = true} local P = {name = "ethereal:mushroom_pore", prob = 255} ethereal.mushroomone = { diff --git a/schematics/olive_tree.lua b/schematics/olive_tree.lua index af6e2c3..922e7f8 100644 --- a/schematics/olive_tree.lua +++ b/schematics/olive_tree.lua @@ -1,7 +1,7 @@ local _ = {name = "air", param1 = 0} local L = {name = "ethereal:olive_leaves", param1 = 255} -local T = {name = "ethereal:olive_trunk", param1 = 255} +local T = {name = "ethereal:olive_trunk", param1 = 255, force_place = true} local o = {name = "ethereal:olive", param1 = 150} ethereal.olivetree = { diff --git a/schematics/orange_tree.lua b/schematics/orange_tree.lua index 3180109..6b38ea7 100644 --- a/schematics/orange_tree.lua +++ b/schematics/orange_tree.lua @@ -2,7 +2,7 @@ local _ = {name = "air", param1 = 0} local L = {name = "ethereal:orange_leaves", param1 = 255} local l = {name = "ethereal:orange_leaves", param1 = 200} -local T = {name = "default:tree", param1 = 255} +local T = {name = "default:tree", param1 = 255, force_place = true} local o = {name = "ethereal:orange", param1 = 200} ethereal.orangetree = { diff --git a/schematics/palmtree.lua b/schematics/palmtree.lua index 88a9973..207eaab 100644 --- a/schematics/palmtree.lua +++ b/schematics/palmtree.lua @@ -2,7 +2,7 @@ local _ = {name = "air", param = 0} local L = {name = "ethereal:palmleaves", param = 255} local l = {name = "ethereal:palmleaves", param = 191} -local T = {name = "ethereal:palm_trunk", param = 255} +local T = {name = "ethereal:palm_trunk", param = 255, force_place = true} local t = {name = "ethereal:palm_trunk", param = 191} local C = {name = "ethereal:coconut", param = 127} diff --git a/schematics/pinetree.lua b/schematics/pinetree.lua index 6990f88..de7317a 100644 --- a/schematics/pinetree.lua +++ b/schematics/pinetree.lua @@ -1,7 +1,7 @@ local _ = {name = "air", prob = 0} local L = {name = "ethereal:pineleaves", prob = 255} -local T = {name = "default:pinetree", prob = 255} +local T = {name = "default:pinetree", prob = 255, force_place = true} ethereal.pinetree = { diff --git a/schematics/redwood_small_tree.lua b/schematics/redwood_small_tree.lua index 5af4914..aece10f 100644 --- a/schematics/redwood_small_tree.lua +++ b/schematics/redwood_small_tree.lua @@ -1,6 +1,6 @@ local _ = {name = "air", prob = 0} -local T = {name = "ethereal:redwood_trunk", prob = 255} +local T = {name = "ethereal:redwood_trunk", prob = 255, force_place = true} local L = {name = "ethereal:redwood_leaves", prob = 255} ethereal.redwood_small_tree = { diff --git a/schematics/redwood_tree.lua b/schematics/redwood_tree.lua index 43874ba..a3a5279 100644 --- a/schematics/redwood_tree.lua +++ b/schematics/redwood_tree.lua @@ -1,6 +1,6 @@ local _ = {name = "air", prob = 0} -local T = {name = "ethereal:redwood_trunk", prob = 255} +local T = {name = "ethereal:redwood_trunk", prob = 255, force_place = true} local L = {name = "ethereal:redwood_leaves", prob = 255} ethereal.redwood_tree = { diff --git a/schematics/sakura.lua b/schematics/sakura.lua index 148149c..8522cd5 100644 --- a/schematics/sakura.lua +++ b/schematics/sakura.lua @@ -1,4 +1,4 @@ -local T = {name = "ethereal:sakura_trunk", param1 = 255} +local T = {name = "ethereal:sakura_trunk", param1 = 255, force_place = true} local P = {name = "ethereal:sakura_leaves", param1 = 255} local W = {name = "ethereal:sakura_leaves2", param1 = 255} local _ = {name = "air", param1 = 255} diff --git a/schematics/vinetree.lua b/schematics/vinetree.lua index 606cca8..a56b6c2 100644 --- a/schematics/vinetree.lua +++ b/schematics/vinetree.lua @@ -1,6 +1,6 @@ local _ = {name = "air", prob = 0} -local T = {name = "default:tree", prob = 255} +local T = {name = "default:tree", prob = 255, force_place = true} local L = {name = "default:leaves", prob = 255} local u = {name = "ethereal:vine", prob = 255, param2 = 2} local U = {name = "ethereal:vine", prob = 255, param2 = 3} diff --git a/schematics/willow.lua b/schematics/willow.lua index d3724f5..2e1c3fa 100644 --- a/schematics/willow.lua +++ b/schematics/willow.lua @@ -1,7 +1,7 @@ local _ = {name = "air", prob = 0} local L = {name = "ethereal:willow_twig", prob = 255} -local T = {name = "ethereal:willow_trunk", prob = 255} +local T = {name = "ethereal:willow_trunk", prob = 255, force_place = true} local t = {name = "ethereal:willow_trunk", prob = 127} ethereal.willow = { diff --git a/schematics/yellowtree.lua b/schematics/yellowtree.lua index 91019ec..bed770a 100644 --- a/schematics/yellowtree.lua +++ b/schematics/yellowtree.lua @@ -1,6 +1,6 @@ local _ = {name = "air", prob = 0} -local T = {name = "ethereal:yellow_trunk", prob = 255} +local T = {name = "ethereal:yellow_trunk", prob = 255, force_place = true} local t = {name = "ethereal:yellow_trunk", prob = 127} local L = {name = "ethereal:yellowleaves", prob = 255} local A = {name = "ethereal:golden_apple", prob = 115}