diff --git a/mods/default/tools.lua b/mods/default/tools.lua index 415be4a..0d9d0c1 100755 --- a/mods/default/tools.lua +++ b/mods/default/tools.lua @@ -356,9 +356,9 @@ minetest.register_tool("default:sword_diamond", { full_punch_interval = 0.6, max_drop_level=1, groupcaps={ - snappy={times={[1]=1.90, [2]=0.90, [3]=0.30}, uses=40, maxlevel=3}, + snappy={times={[1]=1.80, [2]=0.90, [3]=0.30}, uses=40, maxlevel=3}, }, - damage_groups = {fleshy=8}, + damage_groups = {fleshy=9}, }, skill=SKILL_CRYSTAL, sounds = {[0]="default_sword_steel",[1]="default_sword_steel2"}, diff --git a/mods/mg/dungeons.lua b/mods/mg/dungeons.lua index e11074b..e4fe916 100755 --- a/mods/mg/dungeons.lua +++ b/mods/mg/dungeons.lua @@ -101,7 +101,7 @@ minetest.register_on_generated( function (minp, maxp, blockseed) math.randomseed(os.clock()) local fillratio = ( math.random(10,16) / 100 ) - local numgoblins = ((xsize * 2) * (zsize * 2)) * fillratio + local numgoblins = 2 + ( ((xsize * 2) * (zsize * 2)) * fillratio ) for e=1,numgoblins do local rx = math.random((center.x-(xsize-1)),(center.x+(xsize-1))) diff --git a/mods/mobs/api.lua b/mods/mobs/api.lua index 23ebd26..86ce596 100755 --- a/mods/mobs/api.lua +++ b/mods/mobs/api.lua @@ -819,7 +819,7 @@ function mobs:register_spawn(name, nodes, max_light, min_light, chance, active_o mobs.spawning_mobs[name] = true minetest.register_abm({ nodenames = nodes, - --neighbors = {"air"}, + neighbors = {"air"}, interval = 30, chance = chance, action = function(pos, node, _, active_object_count_wider) diff --git a/mods/mobs/monsters/goblins.lua b/mods/mobs/monsters/goblins.lua index 12fc9fc..c78e7e7 100755 --- a/mods/mobs/monsters/goblins.lua +++ b/mods/mobs/monsters/goblins.lua @@ -10,9 +10,9 @@ mobs:register_mob("mobs:goblin", { textures = {"goblins_goblin_coal1.png"}, visual_size = {x=1, y=1}, makes_footstep_sound = false, - view_range = 4, - walk_velocity = 1, - run_velocity = 2, + view_range = 8, + walk_velocity = 2, + run_velocity = 3, damage = 1.5, drops = { }, armor = 150, @@ -36,6 +36,10 @@ mobs:register_mob("mobs:goblin", { }, jump = true, sounds = { + death = "mobs_goblin_death", + random = "mobs_goblin_ambience", + attack = "default_punch2", + war_cry = "mobs_goblin_warcry", }, step=0.5, blood_amount = 15, @@ -56,13 +60,13 @@ mobs:register_mob("mobs:goblin_king", { textures = {"goblins_goblin_king.png"}, visual_size = {x=1, y=1}, makes_footstep_sound = false, - view_range = 7, - walk_velocity = 1, - run_velocity = 2.5, + view_range = 12, + walk_velocity = 2, + run_velocity = 3.5, damage = 2, drops = { {name = "mobs:goblin_king_crown", - chance = 101, + chance = 40, min = 1, max = 1,}, }, @@ -87,6 +91,10 @@ mobs:register_mob("mobs:goblin_king", { }, jump = true, sounds = { + death = "mobs_goblin_death", + random = "mobs_goblin_king_ambience", + attack = "default_punch2", + war_cry = "mobs_goblin_warcry", }, step=0.5, blood_amount = 15, diff --git a/mods/mobs/sounds/mobs_goblin_ambience.ogg b/mods/mobs/sounds/mobs_goblin_ambience.ogg new file mode 100755 index 0000000..413834f Binary files /dev/null and b/mods/mobs/sounds/mobs_goblin_ambience.ogg differ diff --git a/mods/mobs/sounds/mobs_goblin_death.ogg b/mods/mobs/sounds/mobs_goblin_death.ogg new file mode 100755 index 0000000..758c706 Binary files /dev/null and b/mods/mobs/sounds/mobs_goblin_death.ogg differ diff --git a/mods/mobs/sounds/mobs_goblin_king_ambience.ogg b/mods/mobs/sounds/mobs_goblin_king_ambience.ogg new file mode 100755 index 0000000..8057685 Binary files /dev/null and b/mods/mobs/sounds/mobs_goblin_king_ambience.ogg differ diff --git a/mods/mobs/sounds/mobs_goblin_warcry.ogg b/mods/mobs/sounds/mobs_goblin_warcry.ogg new file mode 100755 index 0000000..7ccfcea Binary files /dev/null and b/mods/mobs/sounds/mobs_goblin_warcry.ogg differ