Fix crash when npc close a door
Comment debug messages
|1 year ago|
|.idea||2 years ago|
|actions||1 year ago|
|backup||3 years ago|
|data||1 year ago|
|doc||2 years ago|
|locale||3 years ago|
|occupations||1 year ago|
|textures||2 years ago|
|trade||1 year ago|
|README.md||2 years ago|
|depends.txt||2 years ago|
|description.txt||2 years ago|
|dialogue.lua||1 year ago|
|init.lua||2 years ago|
|license.txt||3 years ago|
|mod.conf||3 years ago|
|npc.lua||1 year ago|
|random_data.lua||2 years ago|
|relationships.lua||1 year ago|
|spawner.lua||1 year ago|
|spawner_marker.lua||2 years ago|
|utils.lua||2 years ago|
Advanced NPC is a mod for Minetest using mobs_redo API. The goal of this mod is to be able to have live villages in Minetest. These NPCs are highly inspired by the typical NPCs of Harvest Moon games. The general idea is that on almost all buildings of a village there are NPCs that are kind of intelligent: they have daily tasks they perform, can speak to players, can trade with the player, can use their own items (chests and furnaces for example), know where to go around their house and village, can be lumbers, miners or any other Minetest-suitable profession and can ultimately engage into relationships with the player. And while basically only players are mentioned here, the ultimate goal is that they can do all of this also among themselves, so that villages are alive and evolving by themselves, without player intervention.
NOTE: Advanced NPC is still under development. While the mod is largely stable, it lacks one of the most important pieces: spawning. Currently, NPCs can be spawned using eggs (found in creative inventory as ‘NPC’) and by themselves on villages of the mg_villages mod. NPCs will spawn automatically on mg_villages villages and over time will populate the entire village. If something goes wrong, you can reset the village by:
spawner.luaand commenting out all of
Download the mod here (link always pointing to latest version)
For this mod to work correctly, you also need to install the mobs_redo mod. After installation, make sure you enable it in your world.
advanced_npc is Copyright © 2016-2017 Hector Franqui (zorman2000), licensed under the GPLv3 license. See
license.txt for details.
pathfinder.lua file contains code slighlty modified from the pathfinder mod 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:
This mod requires a good user manual, and also is planned to have an extensive API, properly documented. Unfortunately, these still aren’t ready. A very very very WIP manual can be found in the wiki
See it on the wiki.