Adjust goblin stats.
This commit is contained in:
parent
a0fa05a60f
commit
c1c60d1f8b
3 changed files with 11 additions and 6 deletions
2
abms.lua
2
abms.lua
|
@ -686,7 +686,7 @@ for _, mushroom in pairs(mushrooms) do
|
||||||
end
|
end
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"default:dirt"},
|
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,
|
interval = time_factor,
|
||||||
chance = 300,
|
chance = 300,
|
||||||
catch_up = false,
|
catch_up = false,
|
||||||
|
|
14
goblin.lua
14
goblin.lua
|
@ -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"])
|
local m = table.copy(minetest.registered_entities["fun_caves:goblin_digger"])
|
||||||
m.name = 'fun_caves:goblin_coal'
|
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.textures = { {"goblins_goblin_coal1.png"}, {"goblins_goblin_coal2.png"}, }
|
||||||
m.base_texture = m.textures[1]
|
m.base_texture = m.textures[1]
|
||||||
m.drops = drops['coal']
|
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"])
|
local m = table.copy(minetest.registered_entities["fun_caves:goblin_digger"])
|
||||||
m.name = 'fun_caves:goblin_copper'
|
m.name = 'fun_caves:goblin_copper'
|
||||||
|
m.damage = 2
|
||||||
m.hp_min = 7
|
m.hp_min = 7
|
||||||
m.hp_max = 15
|
m.hp_max = 15
|
||||||
m.armor = 75
|
m.armor = 70
|
||||||
m.textures = { {"goblins_goblin_copper1.png"}, {"goblins_goblin_copper2.png"}, }
|
m.textures = { {"goblins_goblin_copper1.png"}, {"goblins_goblin_copper2.png"}, }
|
||||||
m.base_texture = m.textures[1]
|
m.base_texture = m.textures[1]
|
||||||
m.drops = drops['copper']
|
m.drops = drops['copper']
|
||||||
|
@ -337,7 +341,7 @@ m.name = 'fun_caves:goblin_gold'
|
||||||
m.damage = 3
|
m.damage = 3
|
||||||
m.hp_min = 7
|
m.hp_min = 7
|
||||||
m.hp_max = 15
|
m.hp_max = 15
|
||||||
m.armor = 75
|
m.armor = 60
|
||||||
m.textures = { {"goblins_goblin_gold1.png"}, {"goblins_goblin_gold2.png"}, }
|
m.textures = { {"goblins_goblin_gold1.png"}, {"goblins_goblin_gold2.png"}, }
|
||||||
m.base_texture = m.textures[1]
|
m.base_texture = m.textures[1]
|
||||||
m.drops = drops['gold']
|
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"])
|
local m = table.copy(minetest.registered_entities["fun_caves:goblin_digger"])
|
||||||
m.name = 'fun_caves:goblin_iron'
|
m.name = 'fun_caves:goblin_iron'
|
||||||
m.damage = 3
|
m.damage = 2
|
||||||
m.hp_min = 7
|
m.hp_min = 7
|
||||||
m.hp_max = 15
|
m.hp_max = 15
|
||||||
m.armor = 75
|
m.armor = 80
|
||||||
m.textures = { {"goblins_goblin_iron1.png"}, {"goblins_goblin_iron2.png"}, }
|
m.textures = { {"goblins_goblin_iron1.png"}, {"goblins_goblin_iron2.png"}, }
|
||||||
m.base_texture = m.textures[1]
|
m.base_texture = m.textures[1]
|
||||||
m.drops = drops['iron']
|
m.drops = drops['iron']
|
||||||
|
@ -381,7 +385,7 @@ m.name = 'fun_caves:goblin_king'
|
||||||
m.damage = 3
|
m.damage = 3
|
||||||
m.hp_min = 10
|
m.hp_min = 10
|
||||||
m.hp_max = 20
|
m.hp_max = 20
|
||||||
m.armor = 50
|
m.armor = 40
|
||||||
m.textures = { {"goblins_goblin_king.png"}, }
|
m.textures = { {"goblins_goblin_king.png"}, }
|
||||||
m.base_texture = m.textures[1]
|
m.base_texture = m.textures[1]
|
||||||
m.drops = drops['king']
|
m.drops = drops['king']
|
||||||
|
|
1
mobs.lua
1
mobs.lua
|
@ -860,6 +860,7 @@ for _, mob in pairs(t_mobs) do
|
||||||
name = mob,
|
name = mob,
|
||||||
level = level,
|
level = level,
|
||||||
}
|
}
|
||||||
|
--print(mob, level)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue