diff --git a/fire_spirit.lua b/fire_spirit.lua index dcd975d..0644edb 100644 --- a/fire_spirit.lua +++ b/fire_spirit.lua @@ -1,5 +1,5 @@ --- transpation and drops +-- translation and drops local S = minetest.get_translator("mobs_monster") diff --git a/init.lua b/init.lua index c4a7d32..d2b0145 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,6 @@ --- transpation and get mod path +-- translation and mod path + local S = minetest.get_translator("mobs_monster") local path = minetest.get_modpath(minetest.get_current_modname()) .. "/" @@ -51,4 +52,4 @@ if minetest.get_modpath("lucky_block") then dofile(path .. "lucky_block.lua") end -print ("[MOD] Mobs Monster loaded") +print ("[MOD] Mobs Redo Monsters loaded") diff --git a/lava_flan.lua b/lava_flan.lua index 5c006c3..fdbfbd0 100644 --- a/lava_flan.lua +++ b/lava_flan.lua @@ -270,6 +270,7 @@ mobs:register_mob("mobs_monster:obsidian_flan", { }) -- spawn egg + mobs:register_egg("mobs_monster:obsidian_flan", S("Obsidian Flan"), "default_obsidian.png", 1) diff --git a/sand_monster.lua b/sand_monster.lua index c8a9121..ee74bf7 100644 --- a/sand_monster.lua +++ b/sand_monster.lua @@ -3,7 +3,7 @@ local S = minetest.get_translator("mobs_monster") -- custom particle effects -local effect = function(pos, amount, texture, min_size, max_size, radius, gravity, glow) +local function effect(pos, amount, texture, min_size, max_size, radius, gravity, glow) radius = radius or 2 min_size = min_size or 0.5 diff --git a/spider.lua b/spider.lua index b3fe0c8..a4dea60 100644 --- a/spider.lua +++ b/spider.lua @@ -1,9 +1,9 @@ --- Translation support + local S = minetest.get_translator("mobs_monster") -- helper function -local get_velocity = function(self) +local function get_velocity(self) local v = self.object:get_velocity() @@ -232,7 +232,7 @@ if not mobs.custom_spawn_monster then max_light = 8, chance = 7000, active_object_count = 1, - min_height = 25, + min_height = 2, max_height = 31000 })