Can i make the deserts to spawn sand,sandstone instead of:desert sand,

sky
Member
 
Posts: 152
Joined: Tue Oct 16, 2012 11:59

Can i make the deserts to spawn sand,sandstone instead of:desert sand,

by sky » Fri Oct 26, 2012 12:50

desert stone. desert sand i dont like them but it would be cool if i can change them
Last edited by sky on Fri Oct 26, 2012 12:50, edited 1 time in total.
 

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

by PilzAdam » Fri Oct 26, 2012 12:57

Go to mapgen.lua in the default mod and change line 25 and 26 to:
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
minetest.register_alias("mapgen_desert_sand", "default:sand")
minetest.register_alias("mapgen_desert_stone", "default:sandstone")
 

sky
Member
 
Posts: 152
Joined: Tue Oct 16, 2012 11:59

by sky » Fri Oct 26, 2012 13:15

thanks
 

sky
Member
 
Posts: 152
Joined: Tue Oct 16, 2012 11:59

by sky » Fri Oct 26, 2012 13:27

and i dont want to make another topic how can i add in mapgen.lua another tree because i have jungletrees with mod but i want another tree spawn behind the normal trees and junglegrass
Last edited by sky on Fri Oct 26, 2012 13:28, edited 1 time in total.
 

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

by PilzAdam » Fri Oct 26, 2012 13:29

Thats not easy. You have to write a new mod for that. It is not possible with the core mapgenerator.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 22 guests

cron