[Help]MapGen

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

[Help]MapGen

by Ragnar » Fri Dec 28, 2012 14:28

i need help with the mapgen.lua
i cant seem to find the apple generating code anywhere but the aliasing...
eg.
minetest.register_alias("mapgen_apple", "default:apple")
this is the only thing that has "apple" in it...
so if i would register "acorn" there, would it also generate that?
eg.
minetest.register_alias("mapgen_apple", "911:acorn")
would it then generate acorns?
i know it sounds absurd, but thats the thing i dont find in the API page...
atleast when i look for mapgen, generate etc...
help?
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Dec 28, 2012 14:52

Look at src/mapgen.cpp for generation of trees and other things.
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Fri Dec 28, 2012 14:55

ok?
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Fri Dec 28, 2012 14:56

well thanks anyway...
gonna try it tomorrow...
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 16 guests

cron