1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2024-12-22 00:40:28 +01:00

lil tweaks

This commit is contained in:
tenplus1 2024-09-15 08:38:31 +01:00
parent 5c956edfe3
commit 1a576f2bb1
5 changed files with 9 additions and 7 deletions

View File

@ -1,5 +1,5 @@
-- transpation and drops
-- translation and drops
local S = minetest.get_translator("mobs_monster")

View File

@ -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")

View File

@ -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)

View File

@ -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

View File

@ -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
})