mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-08 08:50:20 +01:00
add self.messages field
This commit is contained in:
parent
e4ac59609a
commit
83f0b901a4
3
api.lua
3
api.lua
@ -28,7 +28,7 @@ local use_cmi = minetest.global_exists("cmi")
|
|||||||
|
|
||||||
mobs = {
|
mobs = {
|
||||||
mod = "redo",
|
mod = "redo",
|
||||||
version = "20220731",
|
version = "20220804",
|
||||||
intllib = S,
|
intllib = S,
|
||||||
invis = minetest.global_exists("invisibility") and invisibility or {}
|
invis = minetest.global_exists("invisibility") and invisibility or {}
|
||||||
}
|
}
|
||||||
@ -3680,6 +3680,7 @@ minetest.register_entity(name, setmetatable({
|
|||||||
stay_near = def.stay_near,
|
stay_near = def.stay_near,
|
||||||
randomly_turn = def.randomly_turn ~= false,
|
randomly_turn = def.randomly_turn ~= false,
|
||||||
ignore_invisibility = def.ignore_invisibility,
|
ignore_invisibility = def.ignore_invisibility,
|
||||||
|
messages = def.messages,
|
||||||
|
|
||||||
on_spawn = def.on_spawn,
|
on_spawn = def.on_spawn,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user