Page 1 of 1

[HELP] Generation

PostPosted: Thu Jan 10, 2013 14:39
by Ragnar
so, i need help with generating stuff, like apples...literally...
im making peanuts, and stuff like that, and could someone help me?
maybe make a code, or help me make one...
and no, i do not want to check the .cpp / .h file, cause i dont think that the language in Visual Basic is C++...
and i didnt really learn that language as well... i just copy/pasted the code from the description (YouTube) to a place...
so could somebody please help me?

PostPosted: Thu Jan 10, 2013 14:48
by Likwid H-Craft
What, you like do make stuff giving to player, when breack tree yes?

PostPosted: Thu Jan 10, 2013 14:51
by Ragnar
no, like apples...
they generate on trees...
on ANY trees...
just they would be Peanuts...

PostPosted: Thu Jan 10, 2013 14:53
by Likwid H-Craft
Oh I never seen them, on trees well, you can copy the code plz, so I can see what, it is so I can edit it and, make it work.

PostPosted: Thu Jan 10, 2013 14:56
by Topywo
http://minetest.net/forum/viewtopic.php?id=3613

Might help, but there's also the possibility to make fruit with the new L-tree (didn't try that though)

PostPosted: Thu Jan 10, 2013 15:01
by Ragnar
Likwid H-Craft wrote:Oh I never seen them, on trees well, you can copy the code plz, so I can see what, it is so I can edit it and, make it work.

you do know, that copy/paste-ing isnt modding right?
its tweaking/forking...
im making a mod from scratch...
thats modding...
the only code help (except the gen code) i get from here

PostPosted: Thu Jan 10, 2013 15:05
by Ragnar
Topywo wrote:http://minetest.net/forum/viewtopic.php?id=3613

Might help, but there's also the possibility to make fruit with the new L-tree (didn't try that though)

so what youre telling me, is that all i need to do is add
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
grow_time = 40
max_fruit = 200
current_fruit = 0
current_fruit_list = {}
fruit_timer =0

and then its generating?
DA FUQ :D