2015-08-31 19:40:29 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- bamboo stalk with leaves
|
2015-08-31 19:40:29 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
local ai = {name = "air", param1 = 000}
|
|
|
|
local bt = {name = "ethereal:bamboo", param1 = 255}
|
|
|
|
local lp = {name = "ethereal:bamboo_leaves", param1 = 255}
|
|
|
|
local lr = {name = "ethereal:bamboo_leaves", param1 = 100}
|
2015-08-31 19:40:29 +03:00
|
|
|
|
|
|
|
ethereal.bambootree = {
|
2016-05-17 23:40:05 +03:00
|
|
|
|
|
|
|
size = {x = 3, y = 18, z = 3},
|
|
|
|
|
2015-08-31 19:40:29 +03:00
|
|
|
data = {
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
lr, lp, lr,
|
|
|
|
ai, lp, ai,
|
|
|
|
ai, ai, ai,
|
2015-08-31 19:40:29 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
ai, bt, ai,
|
|
|
|
lr, lp, lr,
|
|
|
|
ai, lp, ai,
|
|
|
|
ai, lr, ai,
|
2015-08-31 19:40:29 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
ai, ai, ai,
|
|
|
|
lr, lp, lr,
|
|
|
|
ai, lp, ai,
|
|
|
|
ai, ai, ai,
|
2015-08-31 19:40:29 +03:00
|
|
|
|
|
|
|
},
|
2016-05-17 23:40:05 +03:00
|
|
|
|
2015-08-31 19:40:29 +03:00
|
|
|
yslice_prob = {
|
2016-05-17 23:40:05 +03:00
|
|
|
{ypos = 3, prob = 127},
|
2015-08-31 19:40:29 +03:00
|
|
|
},
|
|
|
|
}
|
2016-08-19 19:22:09 +03:00
|
|
|
|
2016-12-01 12:41:23 +03:00
|
|
|
if ethereal.papyruswalk == true then
|
|
|
|
|
|
|
|
minetest.override_item("default:papyrus", {
|
|
|
|
walkable = true,
|
|
|
|
sunlight_propagates = true
|
|
|
|
})
|
|
|
|
end
|