Search found 6 matches

by fantity
Mon Jun 04, 2012 18:28
Forum: General Discussion
Topic: Make a block randomly spawn
Replies: 9
Views: 2229

Bump.
by fantity
Sun Jun 03, 2012 20:38
Forum: General Discussion
Topic: Make a block randomly spawn
Replies: 9
Views: 2229

No, you also have to copy the local ore generation function. Example: local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume, ore_per_chunk, height_min, height_max) if maxp.y < height_min or minp.y > height_max then return end local y_min = math.max(minp.y, height_min) local...
by fantity
Sun Jun 03, 2012 18:37
Forum: General Discussion
Topic: Make a block randomly spawn
Replies: 9
Views: 2229

Bump. Can someone tell me what to do?
by fantity
Sun Jun 03, 2012 17:41
Forum: General Discussion
Topic: Make a block randomly spawn
Replies: 9
Views: 2229

I know your asking Calinou, but I have the link: http://minetest.net/forum/viewtopic.php?id=549&p=4 So I use this code? minetest.register_on_generated(function(minp, maxp, seed) local copper_perlin = minetest.env:get_perlin(471, 3, 0.6, 200) generate_ore_perlin("moreores:mineral_copper&quo...
by fantity
Sun Jun 03, 2012 15:50
Forum: General Discussion
Topic: Make a block randomly spawn
Replies: 9
Views: 2229

Link?
by fantity
Sun Jun 03, 2012 15:10
Forum: General Discussion
Topic: Make a block randomly spawn
Replies: 9
Views: 2229

Make a block randomly spawn

I have made a custom ore and texture, but I am wondering how I make that block randomly spawn when a map is made.