sky wrote:Bas080 can you update this mod and use only the default jungletree and default:leaves and i know if default:leaves it will drop default sapling so make it only one new style of leaves please !!!!!!!!!!!!!!!!!!!
VastoLorde wrote:Man i have a proablem whit int.lua i cant run this pls help me
jungle_tree={
axiom="FFFFFA",
rules_a="FFFFF[&&-FFBF][&&+FFBF][&&---FFBF][&&+++FFBF]F/A",
rules_b="[-F][+F]B",
trunk="default:jungletree",
leaves="jungletree:leaves_green",
angle=45,
iterations=3,
random_level=1,
thin_trunks=false,
fruit_tree=true,
fruit="jungletree:leaves_yellow"
}
minetest.register_craftitem("treetest:jungletree", {
description = "Jungle tree spawner",
inventory_image = "default_stick.png",
on_use = function(itemstack, user, pointed_thing)
--print(dump(pointed_thing))
if pointed_thing.type == "node" then
local pos = pointed_thing.above
minetest.env:spawn_tree(pos,jungle_tree)
end
end,
})
local leaves = {"green","yellow","red"}
for color = 1, 3 do
local leave_name = ":jungletree:leaves_"..leaves[color]
minetest.register_node(leave_name, {
description = "Jungle Tree Leaves",
drawtype = "allfaces_optional",
tiles = {"jungletree_leaves_"..leaves[color]..".png"},
paramtype = "light",
groups = {snappy=3, leafdecay=3, flammable=2},
drop = {
max_items = 1,
items = {
{
-- player will get sapling with 1/20 chance
items = {'jungletree:sapling'},
rarity = 20,
},
{
-- player will get leaves only if he get no saplings,
-- this is because max_items is 1
items = {leave_name},
}
}
},
sounds = default.node_sound_leaves_defaults(),
})
end
VanessaE wrote:if you set thin_trunks = true, trunks and branches will be one node thick, like default trees; I don't remember what the original 0.3.x jungle trees looked like though. Changing the appearance of that trunk of course is easily done by changing the node name used in the "trunk=" line in the tree definition.
You could perhaps set up several alternate tree definitions via a loop and a few tweaks to the axioms/rules (including trunk thickness), and then choose one randomly each time a tree is spawned.
Inocudom wrote:In all honesty, I do recommend that the jungletree mod ultimately turns into the new jungle biomes. You could make smaller trees that appear exclusively in the jungle biomes that do have 1x1 trunks to go along with the bigger ones.
Bas080 wrote:It really sucks to hear that the habitat mod is giving PC's and players a hard time... The code is indeed not CPU friendly. I'm sure it can be optimized allot more. Will work at it when done with chess mod ownership feature.
So to sum it up:
1. Improve habitat mod (api thingie).
2. Get biomes working, thnx for the link Sokomine! http://minetest.net/forum/viewtopic.php?id=3984
3. Add jungle grass
4. Vines
basicly, MAKE JUNGLETREES MOD INTO JUNGLE BIOME! EPIC!!!
Inocudom wrote:How is progress on this as of late? Are there any new trees that can potentially be tested?
i suggest wait for mapgen v7
Bas080 wrote:i suggest wait for mapgen v7
Is there any documentation on what it will look like? What should i expect?
RealBadAngel wrote:
baptx wrote:Help, I can't climb on jungle trees! I've tried adding "climbable = true" in file init.lua from jungletree mod folder, line minetest.register_node(":default:jungletree", {}) but I can't climb up.
baptx wrote:ERROR: ModError: Failed to load and run /home/bapt/.minetest/mods/habitat-master/init.lua
Users browsing this forum: No registered users and 62 guests