Change the amount of goblins spawned

pull/21/head
Brandon 2015-08-22 11:59:24 -05:00
parent b8b963b003
commit 000dc4db4d
2 changed files with 5 additions and 5 deletions

View File

@ -554,10 +554,10 @@ minetest.register_craft({
--
-- Crafting (tool repair)
--
minetest.register_craft({
type = "toolrepair",
additional_wear = -0.02,
})
--minetest.register_craft({
-- type = "toolrepair",
-- additional_wear = -0.02,
--})
--
-- Cooking recipes

View File

@ -107,7 +107,7 @@ minetest.register_on_generated( function (minp, maxp, blockseed)
local size = xsize * zsize
math.randomseed(os.clock())
local fillratio = ( math.random(10,16) / 100 )
local fillratio = ( math.random(8,14) / 100 )
local numgoblins = 2 + ( ((xsize * 2) * (zsize * 2)) * fillratio )
for e=1,numgoblins do