Restrict goblin range.
This commit is contained in:
parent
dc1b4544c1
commit
925378daa1
1 changed files with 11 additions and 17 deletions
28
goblin.lua
28
goblin.lua
|
@ -266,8 +266,8 @@ mobs:register_mob("fun_caves:goblin_digger", {
|
|||
})
|
||||
|
||||
mobs:register_egg("fun_caves:goblin_digger", "Goblin Egg (digger)", "default_mossycobble.png", 1)
|
||||
mobs:register_spawn("fun_caves:goblin_digger", {"group:stone"}, 100, 0, 20 * spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_digger", {"default:mossycobble"}, 100, 0, spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_digger", {'fun_caves:stone_with_algae', 'fun_caves:stone_with_lichen'}, 100, 0, 20 * spawn_frequency, 3, 2000)
|
||||
mobs:register_spawn("fun_caves:goblin_digger", {"default:mossycobble"}, 100, 0, spawn_frequency, 3, 2000)
|
||||
|
||||
|
||||
local m = table.copy(minetest.registered_entities["fun_caves:goblin_digger"])
|
||||
|
@ -278,8 +278,8 @@ m.drops = drops['cobbler']
|
|||
minetest.registered_entities["fun_caves:goblin_cobbler"] = m
|
||||
mobs.spawning_mobs["fun_caves:goblin_cobbler"] = true
|
||||
|
||||
mobs:register_spawn("fun_caves:goblin_cobbler", {"group:stone"}, 100, 0, 10 * spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_cobbler", {"default:mossycobble"}, 100, 0, spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_cobbler", {'fun_caves:stone_with_algae', 'fun_caves:stone_with_lichen'}, 100, 0, 10 * spawn_frequency, 3, 2000)
|
||||
mobs:register_spawn("fun_caves:goblin_cobbler", {"default:mossycobble"}, 100, 0, spawn_frequency, 3, 2000)
|
||||
mobs:register_egg("fun_caves:goblin_cobbler", "Goblin Egg (cobbler)", "default_mossycobble.png", 1)
|
||||
|
||||
|
||||
|
@ -291,8 +291,7 @@ m.drops = drops['coal']
|
|||
minetest.registered_entities["fun_caves:goblin_coal"] = m
|
||||
mobs.spawning_mobs["fun_caves:goblin_coal"] = true
|
||||
|
||||
--mobs:register_spawn("fun_caves:goblin_coal", {'default:coalblock', "default:stone_with_coal"}, 100, 0, spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_coal", {"default:mossycobble"}, 100, 0, spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_coal", {"default:mossycobble"}, 100, 0, spawn_frequency, 3, 2000)
|
||||
mobs:register_egg("fun_caves:goblin_coal", "Goblin Egg (coal)", "default_mossycobble.png", 1)
|
||||
|
||||
|
||||
|
@ -307,8 +306,7 @@ m.drops = drops['copper']
|
|||
minetest.registered_entities["fun_caves:goblin_copper"] = m
|
||||
mobs.spawning_mobs["fun_caves:goblin_copper"] = true
|
||||
|
||||
--mobs:register_spawn("fun_caves:goblin_copper", {"default:stone_with_copper"}, 100, 0, spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_copper", {"default:mossycobble"}, 100, 0, 2 * spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_copper", {"default:mossycobble"}, 100, 0, 2 * spawn_frequency, 3, 2000)
|
||||
mobs:register_egg("fun_caves:goblin_copper", "Goblin Egg (copper)", "default_mossycobble.png", 1)
|
||||
|
||||
|
||||
|
@ -324,8 +322,7 @@ m.drops = drops['diamond']
|
|||
minetest.registered_entities["fun_caves:goblin_diamond"] = m
|
||||
mobs.spawning_mobs["fun_caves:goblin_diamond"] = true
|
||||
|
||||
--mobs:register_spawn("fun_caves:goblin_diamond", {"default:stone_with_diamond"}, 100, 0, spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_diamond", {"default:mossycobble"}, 100, 0, 2 * spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_diamond", {"default:mossycobble"}, 100, 0, 2 * spawn_frequency, 3, 2000)
|
||||
mobs:register_egg("fun_caves:goblin_diamond", "Goblin Egg (diamond)", "default_mossycobble.png", 1)
|
||||
|
||||
|
||||
|
@ -341,8 +338,7 @@ m.drops = drops['gold']
|
|||
minetest.registered_entities["fun_caves:goblin_gold"] = m
|
||||
mobs.spawning_mobs["fun_caves:goblin_gold"] = true
|
||||
|
||||
--mobs:register_spawn("fun_caves:goblin_gold", {"default:stone_with_gold"}, 100, 0, spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_gold", {"default:mossycobble"}, 100, 0, 2 * spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_gold", {"default:mossycobble"}, 100, 0, 2 * spawn_frequency, 3, 2000)
|
||||
mobs:register_egg("fun_caves:goblin_gold", "Goblin Egg (gold)", "default_mossycobble.png", 1)
|
||||
|
||||
|
||||
|
@ -354,7 +350,7 @@ m.drops = drops['ice']
|
|||
minetest.registered_entities["fun_caves:goblin_ice"] = m
|
||||
mobs.spawning_mobs["fun_caves:goblin_ice"] = true
|
||||
|
||||
mobs:register_spawn("fun_caves:goblin_ice", {"default:ice"}, 100, 0, 10 * spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_ice", {"default:ice"}, 100, 0, 10 * spawn_frequency, 3, 2000)
|
||||
mobs:register_egg("fun_caves:goblin_ice", "Goblin Egg (ice)", "default_mossycobble.png", 1)
|
||||
|
||||
|
||||
|
@ -370,8 +366,7 @@ m.drops = drops['iron']
|
|||
minetest.registered_entities["fun_caves:goblin_iron"] = m
|
||||
mobs.spawning_mobs["fun_caves:goblin_iron"] = true
|
||||
|
||||
--mobs:register_spawn("fun_caves:goblin_iron", {"default:stone_with_iron"}, 100, 0, spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_iron", {"default:mossycobble"}, 100, 0, 2 * spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_iron", {"default:mossycobble"}, 100, 0, 2 * spawn_frequency, 3, 2000)
|
||||
mobs:register_egg("fun_caves:goblin_iron", "Goblin Egg (iron)", "default_mossycobble.png", 1)
|
||||
|
||||
|
||||
|
@ -387,8 +382,7 @@ m.drops = drops['king']
|
|||
minetest.registered_entities["fun_caves:goblin_king"] = m
|
||||
mobs.spawning_mobs["fun_caves:goblin_king"] = true
|
||||
|
||||
--mobs:register_spawn("fun_caves:goblin_king", {"default:stone_with_mese"}, 100, 0, spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_king", {"default:mossycobble"}, 100, 0, 3 * spawn_frequency, 3, -51)
|
||||
mobs:register_spawn("fun_caves:goblin_king", {"default:mossycobble"}, 100, 0, 3 * spawn_frequency, 3, 2000)
|
||||
mobs:register_egg("fun_caves:goblin_king", "Goblin Egg (king)", "default_mossycobble.png", 1)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue