add alternative giant mushroom to higher elevation of shroom biome
This commit is contained in:
parent
4912e50f4c
commit
b0f58ba1fa
@ -19,7 +19,7 @@ TODO:
|
||||
|
||||
#### Lucky Blocks
|
||||
|
||||
It provides 63 new lucky blocks if the mod is detected.
|
||||
It provides 65 new lucky blocks if the mod is detected.
|
||||
|
||||
## Technical info
|
||||
-----------------
|
||||
@ -104,6 +104,7 @@ who helped make this mod bigger and better throughout it's release :)
|
||||
- Switch seaweed to new plantlike_rooted drawtype (thanks Niklp)
|
||||
- Added 'ethereal.logs' setting that adds decorative fallen tree logs to biomes
|
||||
- Added 'ethereal.sapling_protection_check' setting to use default sapling placement checks
|
||||
- Added alternative giant brown mushroom to higher elevations in mushroom biome
|
||||
|
||||
### 1.30
|
||||
- New fish textures by SirroBzeroone and BlueTangs Rock
|
||||
|
@ -111,6 +111,13 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "ethereal:mushroom_brown",
|
||||
recipe = {
|
||||
{"flowers:mushroom_brown", "flowers:mushroom_brown"},
|
||||
{"flowers:mushroom_brown", "flowers:mushroom_brown"}
|
||||
}
|
||||
})
|
||||
|
||||
-- X pattern craft recipes (5x 'a' in X pattern gives 5 of 'b')
|
||||
if ethereal.xcraft == true then
|
||||
|
28
leaves.lua
28
leaves.lua
@ -393,6 +393,27 @@ minetest.register_craft({
|
||||
burntime = 10
|
||||
})
|
||||
|
||||
-- brown mushroom tops
|
||||
minetest.register_node("ethereal:mushroom_brown", {
|
||||
description = S("Brown Mushroom Cap"),
|
||||
tiles = {"ethereal_mushroom_block_brown.png"},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, leafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"ethereal:mushroom_brown_sapling"}, rarity = 15},
|
||||
{items = {"ethereal:mushroom_brown"}}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "ethereal:mushroom_brown",
|
||||
burntime = 10
|
||||
})
|
||||
|
||||
-- mushroom pore (spongelike material found inside giant shrooms)
|
||||
minetest.register_node("ethereal:mushroom_pore", {
|
||||
description = S("Mushroom Pore"),
|
||||
@ -599,7 +620,10 @@ if default.register_leafdecay then
|
||||
|
||||
default.register_leafdecay({
|
||||
trunks = {"ethereal:mushroom_trunk"},
|
||||
leaves = {"ethereal:mushroom", "ethereal:mushroom_pore"},
|
||||
radius = 3
|
||||
leaves = {
|
||||
"ethereal:mushroom", "ethereal:mushroom_brown", "ethereal:mushroom_pore",
|
||||
"ethereal:lightstring"
|
||||
},
|
||||
radius = 4
|
||||
})
|
||||
end
|
||||
|
@ -22,6 +22,9 @@ THE SOFTWARE.
|
||||
|
||||
Textures by TenPlus1 (CC0) unless listed below...
|
||||
|
||||
Based on pilzmod_giant_mushroom_brown_side.png (CC BY-SA 3.0) by Phseiff
|
||||
ethereal_mushroom_block_brown.png
|
||||
|
||||
Based on default_leaves.png (Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||
ethereal_frost_leaves.png [edited by TenPlus1]
|
||||
ethereal_yellow_leaves.png [edited by TenPlus1]
|
||||
|
@ -7,7 +7,9 @@ lucky_block:add_schematics({
|
||||
{"bananatree", ethereal.bananatree, {x = 3, y = 0, z = 3}},
|
||||
{"orangetree", ethereal.orangetree, {x = 2, y = 0, z = 2}},
|
||||
{"birchtree", ethereal.birchtree, {x = 2, y = 0, z = 2}},
|
||||
{"basandrabush", ethereal.basandrabush, {x = 1, y = 0, z = 1}}
|
||||
{"basandrabush", ethereal.basandrabush, {x = 1, y = 0, z = 1}},
|
||||
{"mushroomone", ethereal.mushroomone, {x = 4, y = 0, z = 4}},
|
||||
{"mushroomtwo", ethereal.mushroomtwo, {x = 1, y = 0, z = 1}},
|
||||
})
|
||||
|
||||
lucky_block:add_blocks({
|
||||
@ -32,6 +34,7 @@ lucky_block:add_blocks({
|
||||
{"dro", {"ethereal:willow_sapling"} ,5},
|
||||
{"dro", {"ethereal:mushroom_sapling"} ,5},
|
||||
{"dro", {"ethereal:palm_sapling"} ,5},
|
||||
{"sch", "mushroomone", 0, false},
|
||||
{"dro", {"ethereal:flight_potion"}, 1},
|
||||
{"dro", {"ethereal:birch_sapling"} ,5},
|
||||
{"dro", {"ethereal:redwood_sapling"} ,1},
|
||||
@ -42,6 +45,7 @@ lucky_block:add_blocks({
|
||||
{"dro", {"ethereal:cold_dirt"}, 10},
|
||||
{"dro", {"ethereal:mushroom_dirt"}, 10},
|
||||
{"dro", {"ethereal:fiery_dirt"}, 10},
|
||||
{"sch", "mushroomtwo", 0, false},
|
||||
{"dro", {"ethereal:axe_crystal"}},
|
||||
{"nod", "ethereal:fire_flower", 1},
|
||||
{"dro", {"ethereal:sword_crystal"}},
|
||||
@ -64,6 +68,7 @@ lucky_block:add_blocks({
|
||||
{name = "ethereal:bamboo_sprout", max = 10},
|
||||
{name = "ethereal:banana_tree_sapling", max = 10},
|
||||
{name = "ethereal:mushroom_sapling", max = 10},
|
||||
{name = "ethereal:mushroom_brown_sapling", max = 10},
|
||||
{name = "ethereal:frost_tree_sapling", max = 10},
|
||||
{name = "ethereal:sakura_sapling", max = 10},
|
||||
{name = "ethereal:willow_sapling", max = 10},
|
||||
|
@ -108,6 +108,7 @@ register_sapling("ethereal:big_tree", "Big", "ethereal_big_tree_sapling", 4, 7)
|
||||
register_sapling("ethereal:banana_tree", "Banana", "ethereal_banana_tree_sapling", 3, 8)
|
||||
register_sapling("ethereal:frost_tree", "Frost", "ethereal_frost_tree_sapling", 4, 19)
|
||||
register_sapling("ethereal:mushroom", "Mushroom", "ethereal_mushroom_sapling", 4, 11)
|
||||
register_sapling("ethereal:mushroom_brown", "Brown Mushroom", "ethereal_mushroom_brown_sapling", 1, 11)
|
||||
register_sapling("ethereal:palm", "Palm", "moretrees_palm_sapling", 4, 9)
|
||||
register_sapling("ethereal:giant_redwood", "Giant Redwood",
|
||||
"ethereal_giant_redwood_sapling", 7, 33)
|
||||
@ -170,6 +171,10 @@ function ethereal.grow_mushroom_tree(pos)
|
||||
add_tree(pos, 4, 0, 4, ethereal.mushroomone)
|
||||
end
|
||||
|
||||
function ethereal.grow_mushroom_brown_tree(pos)
|
||||
add_tree(pos, 1, 0, 1, ethereal.mushroomtwo)
|
||||
end
|
||||
|
||||
function ethereal.grow_palm_tree(pos)
|
||||
add_tree(pos, 4, 0, 4, ethereal.palmtree)
|
||||
end
|
||||
@ -279,6 +284,10 @@ ethereal.grow_sapling = function(pos, node)
|
||||
and under == "ethereal:mushroom_dirt" then
|
||||
ethereal.grow_mushroom_tree(pos)
|
||||
|
||||
elseif node.name == "ethereal:mushroom_brown_sapling"
|
||||
and under == "ethereal:mushroom_dirt" then
|
||||
ethereal.grow_mushroom_brown_tree(pos)
|
||||
|
||||
elseif node.name == "ethereal:palm_sapling"
|
||||
and under == "default:sand" then
|
||||
ethereal.grow_palm_tree(pos)
|
||||
|
59
schematics/mushroomtwo.lua
Normal file
59
schematics/mushroomtwo.lua
Normal file
@ -0,0 +1,59 @@
|
||||
|
||||
local _ = {name = "air", param1 = 000}
|
||||
local T = {name = "ethereal:mushroom_trunk", param1 = 255}
|
||||
local M = {name = "ethereal:mushroom_brown", param1 = 255}
|
||||
local P = {name = "ethereal:mushroom_pore", param1 = 255}
|
||||
local l = {name = "ethereal:lightstring", param1 = 255, param2 = 10}
|
||||
|
||||
ethereal.mushroomtwo = {
|
||||
|
||||
size = {x = 3, y = 11, z = 3},
|
||||
|
||||
yslice_prob = {
|
||||
{ypos = 3, prob = 127},
|
||||
{ypos = 4, prob = 127},
|
||||
{ypos = 5, prob = 127},
|
||||
{ypos = 6, prob = 127},
|
||||
{ypos = 8, prob = 127},
|
||||
},
|
||||
|
||||
data = {
|
||||
|
||||
_,_,_,
|
||||
_,_,_,
|
||||
_,l,_,
|
||||
_,l,_,
|
||||
_,l,_,
|
||||
_,l,_,
|
||||
M,M,M,
|
||||
M,M,M,
|
||||
M,M,M,
|
||||
M,M,M,
|
||||
_,M,_,
|
||||
|
||||
_,T,_,
|
||||
_,T,_,
|
||||
_,T,_,
|
||||
_,T,_,
|
||||
_,T,_,
|
||||
_,T,_,
|
||||
M,T,M,
|
||||
M,T,M,
|
||||
M,P,M,
|
||||
M,P,M,
|
||||
M,M,M,
|
||||
|
||||
_,_,_,
|
||||
_,_,_,
|
||||
_,_,_,
|
||||
_,_,_,
|
||||
_,_,_,
|
||||
_,_,_,
|
||||
M,M,M,
|
||||
M,M,M,
|
||||
M,M,M,
|
||||
M,M,M,
|
||||
_,M,_,
|
||||
|
||||
}
|
||||
}
|
@ -17,6 +17,7 @@ dofile(path .. "palmtree.lua")
|
||||
dofile(path .. "pinetree.lua")
|
||||
dofile(path .. "yellowtree.lua")
|
||||
dofile(path .. "mushroomone.lua")
|
||||
dofile(path .. "mushroomtwo.lua")
|
||||
dofile(path .. "willow.lua")
|
||||
dofile(path .. "bigtree.lua")
|
||||
dofile(path .. "redwood_tree.lua")
|
||||
@ -81,10 +82,14 @@ add_schem({"ethereal:crystal_dirt"}, 0.01, {"frost", "frost_floatland"}, 1, 1750
|
||||
"ethereal:crystal_dirt", 8)
|
||||
|
||||
-- giant mushroom
|
||||
add_schem("ethereal:mushroom_dirt", 0.02, {"mushroom"}, 1, 100,
|
||||
add_schem("ethereal:mushroom_dirt", 0.02, {"mushroom"}, 3, 25,
|
||||
ethereal.mushroomone, ethereal.mushroom, nil,
|
||||
"ethereal:mushroom_dirt", 8)
|
||||
|
||||
-- giant brown mushroom
|
||||
add_schem("ethereal:mushroom_dirt", 0.02, {"mushroom"}, 26, 50,
|
||||
ethereal.mushroomtwo, ethereal.mushroom, nil, nil, nil, "random")
|
||||
|
||||
-- small lava crater
|
||||
add_schem("ethereal:fiery_dirt", 0.01, {"fiery"}, 1, 100,
|
||||
ethereal.volcanom, ethereal.fiery, nil, "ethereal:fiery_dirt", 8)
|
||||
|
BIN
textures/ethereal_mushroom_block_brown.png
Normal file
BIN
textures/ethereal_mushroom_block_brown.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 309 B |
BIN
textures/ethereal_mushroom_brown_sapling.png
Normal file
BIN
textures/ethereal_mushroom_brown_sapling.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 164 B |
Loading…
Reference in New Issue
Block a user