From a3b428fe14615941cec91af0d088e0d235836357 Mon Sep 17 00:00:00 2001 From: Hector Franqui Date: Sat, 17 Jun 2017 13:21:24 -0400 Subject: [PATCH] Fix README.txt and restore correct spawning frequency. --- README.md | 2 +- spawner.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 59f2e6c..afafe32 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ License __advanced_npc__ is Copyright (C) 2016-2017 Hector Franqui (zorman2000), licensed under the GPLv3 license. See `license.txt` for details. -The `pathfinder.lua` file contains code slighlty modified from the [pathfinder mod](https://github.com/Yonaba/Jumper) by MarkBu, which is licensed as WTFPL. See `actions/pathfinder.lua` for details. +The `pathfinder.lua` file contains code slighlty modified from the [pathfinder mod](https://github.com/MarkuBu/pathfinder) by MarkBu, which is licensed as WTFPL. See `actions/pathfinder.lua` for details. Current NPC textures are from mobs_redo mod. The following textures are by Zorman2000: diff --git a/spawner.lua b/spawner.lua index 2c7fb9a..8cc125c 100644 --- a/spawner.lua +++ b/spawner.lua @@ -620,8 +620,8 @@ if minetest.get_modpath("mg_villages") ~= nil then minetest.register_abm({ label = "Replace mg_villages:plotmarker with Advanced NPC auto spawners", nodenames = {"mg_villages:plotmarker"}, - interval = 10,--npc.spawner.replacement_interval, - chance = 1, --5, + interval = npc.spawner.replacement_interval, + chance = 5, catch_up = true, action = function(pos, node, active_object_count, active_object_count_wider) -- Check if replacement is needed