VoxeLibre/mods/ITEMS/mcl_mobspawners
teknomunk add9cbe3bc Fix mob spawner crash (#4337)
This fixes #4336 crash at login about mcl_mobspawners. Also adds an API call, `mcl_mobs.register_conversion` for converting one mob into another and updates rovers and stalkers to use this API call.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4337
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-05-30 08:29:12 +00:00
..
locale Update Russian translation. Fix 1. 2023-09-02 15:51:49 +08:00
init.lua Fix mob spawner crash (#4337) 2024-05-30 08:29:12 +00:00
mod.conf Move data from deprecated files to mod.conf 2021-03-18 17:37:12 +01:00
README.md Change MineClone 2 to VoxeLibre 2024-05-07 11:38:00 +00:00

This mod adds a mob spawner for VoxeLibre. Monsters will appear around the mob spawner in semi-regular intervals.

This mod is originally based on the mob spawner from Mobs Redo by TenPlus1 but has been modified quite a lot to fit the needs of VoxeLibre.

Players can get a mob spawner by giveme and is initially empty after placing.

Programmer notes

To set the mob spawned by a mob spawner, first place the mob spawner (e.g. with minetest.set_node), then use the function mcl_mobspawners.setup_spawner to set its attributes. See the comment in init.lua for more info.

License (code and texture)

MIT License