VanessaE wrote:On the whole I would say the mapgen code is somewhere close to 10 times faster, since the main bottleneck is those legacy mapgen calls (which have to evaluate 80*80*80 nodes with each and every call). Your mileage may vary.
VanessaE wrote:EDIT: Also, just made most of the smaller plants buildable_to - but not all of them. Some of them are kinda "tough" in my opinion (like reeds,
bushes, and young trees) and so must still be dug first.
VanessaE wrote:Well buildable_to just makes it easier is all. Besides, I expect that most people probably just throw the extra plants in the trash anyway. :-/
VanessaE wrote:Update: added to flowers_plus, a potted cactus and a potted bonsai tree. The latter can be crafted from a flowerpot and a regular sapling. The former...take a guess. ;-) Contributed by jp.
Minetestforfun wrote:VanessaE wrote:Update: added to flowers_plus, a potted cactus and a potted bonsai tree. The latter can be crafted from a flowerpot and a regular sapling. The former...take a guess. ;-) Contributed by jp.
Hi,
Thank you again for your good work VanessaE, i've an error when i add your last commit :
http://hpics.li/4f78328
please, can you fix it ?
17:13:26: ERROR[main]: ========== ERROR FROM LUA ===========
17:13:26: ERROR[main]: Failed to load and run script from
17:13:26: ERROR[main]: L:\Minetest\minetest - Copie\bin\..\mods\plantlife_modpack\trunks\init.lua:
17:13:26: ERROR[main]: ...opie\bin\..\mods\plantlife_modpack\trunks/generating.lua:6: bad argument #1 to 'pairs' (table expected, got nil)
17:13:26: ERROR[main]: stack traceback:
17:13:26: ERROR[main]: [C]: in function 'pairs'
17:13:26: ERROR[main]: ...opie\bin\..\mods\plantlife_modpack\trunks/generating.lua:6: in function 'clone_node'
17:13:26: ERROR[main]: ...opie\bin\..\mods\plantlife_modpack\trunks/generating.lua:233: in main chunk
17:13:26: ERROR[main]: [C]: in function 'dofile'
17:13:26: ERROR[main]: ...st - Copie\bin\..\mods\plantlife_modpack\trunks\init.lua:11: in main chunk
17:13:26: ERROR[main]: ======= END OF ERROR FROM LUA ========
local function clone_node(name)
print(dump(name))
node2={}
node=minetest.registered_nodes[name]
...
...
18:04:56: ERROR[main]: ========== ERROR FROM LUA ===========
18:04:56: ERROR[main]: Failed to load and run script from
18:04:56: ERROR[main]: L:\Minetest\minetest - Copie\bin\..\mods\plantlife_modpack\trunks\init.lua:
18:04:56: ERROR[main]: ...opie\bin\..\mods\plantlife_modpack\trunks/generating.lua:7: bad argument #1 to 'pairs' (table expected, got nil)
18:04:56: ERROR[main]: stack traceback:
18:04:56: ERROR[main]: [C]: in function 'pairs'
18:04:56: ERROR[main]: ...opie\bin\..\mods\plantlife_modpack\trunks/generating.lua:7: in function 'clone_node'
18:04:56: ERROR[main]: ...opie\bin\..\mods\plantlife_modpack\trunks/generating.lua:234: in main chunk
18:04:56: ERROR[main]: [C]: in function 'dofile'
18:04:56: ERROR[main]: ...st - Copie\bin\..\mods\plantlife_modpack\trunks\init.lua:11: in main chunk
18:04:56: ERROR[main]: ======= END OF ERROR FROM LUA ========
18:04:56: ERROR[main]: Server: Failed to load and run L:\Minetest\minetest - Copie\bin\..\mods\plantlife_modpack\trunks\init.lua
18:04:56: ERROR[main]: ModError: ModError: Failed to load and run L:\Minetest\minetest - Copie\bin\..\mods\plantlife_modpack\trunks\init.lua
"default:tree"
"default:jungletree"
"trees:tree_conifer"
"trees:tree_mangrove"
Users browsing this forum: No registered users and 7 guests