Fork of Advanced NPC for Minetest, using mobs_redo API.
Go to file
2016-12-02 08:09:14 -05:00
locale First commit. Using mobs_npc code as start. 2016-11-12 07:06:09 -05:00
textures Finished implementation of gifts per phases. Added relationship timer decrease. Added disliked items 2016-11-19 12:38:16 -05:00
chat-old.lua Create copy of chat.lua 2016-11-26 14:27:35 -05:00
chat.lua Dialogues: Added function to select random dialogues for NPCs from random data. 2016-12-01 14:37:00 -05:00
depends.txt First commit. Using mobs_npc code as start. 2016-11-12 07:06:09 -05:00
description.txt First commit. Using mobs_npc code as start. 2016-11-12 07:06:09 -05:00
dialogue.lua Dialogues: Added function to select random dialogues for NPCs from random data. 2016-12-01 14:37:00 -05:00
init.lua Dialogues: Added function to select random dialogues for NPCs from random data. 2016-12-01 14:37:00 -05:00
license.txt First commit. Using mobs_npc code as start. 2016-11-12 07:06:09 -05:00
mod.conf Progress on gifts and relationships. Still requires further debugging to understand some timer issues. 2016-11-14 06:28:37 -05:00
npc.lua WIP: Gain relationship points by talking 2016-12-02 08:09:14 -05:00
random_data.lua Dialogues: Added function to select random dialogues for NPCs from random data. 2016-12-01 14:37:00 -05:00
README.md Updated README 2016-11-29 23:55:49 -05:00
trader_test.lua First commit. Using mobs_npc code as start. 2016-11-12 07:06:09 -05:00
trader.lua First commit. Using mobs_npc code as start. 2016-11-12 07:06:09 -05:00

advanced_npc

Advanced NPC framework for Minetest, based on mobs_redo. 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 for example), know where to go around their 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 completely alive and evolving by themselves, without necessary player intervention.


Current roadmap:

Version 1.0

Phase 1: Gifts and relationships: In progress

  • NPCs should be able to receive items
  • NPCs will have favorite and disliked items
  • Giving an NPC their favorite or disliked item will affect positively/negatively their relationship with that player.
  • Eventually, an NPC can fall in love with that player and marry him/her
  • Relationships among NPCs should be possible too

Phase 2: Dialogues: In progress

  • NPCs should be able to perform complex dialogues:
    • Specific dialogues on certain environment flag (so that events can change what an NPC says
    • Answers and responses by player

Phase 3: Trading

  • NPCs should be able to trade, either buy or sell items to/from player and other NPCs
  • Goal is to implement trading with player first

Phase 4: Owning nodes, being able to go to places

  • NPCs should be able to own chests, furnaces and doors and use them
  • NPCs should be able to go to specific places in their own homes or villages or in the world in general:
    • For this, a places framework should be defined
    • NPCs at least should know where their bed is, and use it

Phase 5: Activities and jobs

  • NPCs should be able to dig and place nodes
  • NPCs should be able to perform different activities on different times of the day

Phase 6: Advanced spawners for villages

Version 2.0

Phase 7: Make NPCs scriptable

Phase 8: Improve NPCs so that they can be farmers, lumberjacks and miners

Phase 9: Improve NPCs so that they can tame and own farm animals

Phase 10: Improve NPCs so that they can run on carts, boats and (maybe) horses

Version 3.0

Phase 11: Integrate with commerce mod

Phase 12: Improve relationships for obtaining more benefits from a married NPC

Phase 13: Improve AI to include support for house families

Phase 14: Improve AI to create village communities