Adjust goblin stats.

This commit is contained in:
Duane 2016-08-04 23:43:07 -05:00
parent a0fa05a60f
commit c1c60d1f8b
3 changed files with 11 additions and 6 deletions

View file

@ -686,7 +686,7 @@ for _, mushroom in pairs(mushrooms) do
end
minetest.register_abm({
nodenames = {"default:dirt"},
neighbors = {'fun_caves:stone_with_lichen', 'fun_caves:stone_with_algae'},
neighbors = {'fun_caves:stone_with_lichen', 'fun_caves:stone_with_algae', 'fun_caves:giant_mushroom_stem'},
interval = time_factor,
chance = 300,
catch_up = false,

View file

@ -291,6 +291,9 @@ mobs:register_egg("fun_caves:goblin_cobbler", "Goblin Egg (cobbler)", "default_m
local m = table.copy(minetest.registered_entities["fun_caves:goblin_digger"])
m.name = 'fun_caves:goblin_coal'
m.hp_min = 7
m.hp_max = 15
m.armor = 90
m.textures = { {"goblins_goblin_coal1.png"}, {"goblins_goblin_coal2.png"}, }
m.base_texture = m.textures[1]
m.drops = drops['coal']
@ -303,9 +306,10 @@ mobs:register_egg("fun_caves:goblin_coal", "Goblin Egg (coal)", "default_mossyco
local m = table.copy(minetest.registered_entities["fun_caves:goblin_digger"])
m.name = 'fun_caves:goblin_copper'
m.damage = 2
m.hp_min = 7
m.hp_max = 15
m.armor = 75
m.armor = 70
m.textures = { {"goblins_goblin_copper1.png"}, {"goblins_goblin_copper2.png"}, }
m.base_texture = m.textures[1]
m.drops = drops['copper']
@ -337,7 +341,7 @@ m.name = 'fun_caves:goblin_gold'
m.damage = 3
m.hp_min = 7
m.hp_max = 15
m.armor = 75
m.armor = 60
m.textures = { {"goblins_goblin_gold1.png"}, {"goblins_goblin_gold2.png"}, }
m.base_texture = m.textures[1]
m.drops = drops['gold']
@ -362,10 +366,10 @@ mobs:register_egg("fun_caves:goblin_ice", "Goblin Egg (ice)", "default_mossycobb
local m = table.copy(minetest.registered_entities["fun_caves:goblin_digger"])
m.name = 'fun_caves:goblin_iron'
m.damage = 3
m.damage = 2
m.hp_min = 7
m.hp_max = 15
m.armor = 75
m.armor = 80
m.textures = { {"goblins_goblin_iron1.png"}, {"goblins_goblin_iron2.png"}, }
m.base_texture = m.textures[1]
m.drops = drops['iron']
@ -381,7 +385,7 @@ m.name = 'fun_caves:goblin_king'
m.damage = 3
m.hp_min = 10
m.hp_max = 20
m.armor = 50
m.armor = 40
m.textures = { {"goblins_goblin_king.png"}, }
m.base_texture = m.textures[1]
m.drops = drops['king']

View file

@ -860,6 +860,7 @@ for _, mob in pairs(t_mobs) do
name = mob,
level = level,
}
--print(mob, level)
end
end
end