4c102a70a4Spawner: Large code refactor to remove dependency on plotmarkers. Most spawner functions can now be called without giving a plotmarker. Move scanning functions to places.lua. Places: Cleanup and add more area-scanning functions. Schedules: Bugfix where schedules weren't being executed due to wrong "end" order in the do_custom() function. Data: Moved random data to "data" folder. Textures: Add 14 male textures and 10 female textures. Occupations: Small tweaks to "default_basic" occupation.
Hector Franqui
2017-08-25 09:31:45 -0400
3edc959d3aDialogues: Finish implementation of registered dialogues. Ported all trade dialogues to use new dialogue system.
Hector Franqui
2017-07-19 14:00:29 -0400
b5dc9926cdAdd 5 additional male textures. Rename child textures to be more representative.
Hector Franqui
2017-07-13 19:05:39 -0400
bff013bc44Utilities: Add simple utility code to work with arrays and Lua tables
Hector Franqui
2017-07-13 19:04:00 -0400
5eceb09cdbRandom data: Separate random data in different files for better classification. Add registrations as well.
Hector Franqui
2017-07-13 19:02:40 -0400
e79fb91ff3Dialogues: Re-write dialogues to allow Minetest's like registration system instead of the actual table lookup system. In general, dialogues now are registered in similar fashion as nodes, entities and others are registered in Minetest. Relationships: Re-write to the way favorite/disliked items are defined, now allow Minetest's like registration as well. Random data: Random data now includes registrations for gift items and dialogues.
Hector Franqui
2017-07-13 19:01:28 -0400
bf935fd091Dialogues: Fix bug with NPCs being frozen if 'Esc' button was pressed to exit dialogue
Hector Franqui
2017-06-29 19:01:03 -0400
6141af11aaRelationships: Increase gift timer and relationship decrease timer to more usual values. Fixed small bug on giving unliked items.
Hector Franqui
2017-06-27 18:39:13 -0400
e70888c3e5Fix bug with 'ignore' nodes when some map areas are not fully loaded but NPC try to perform actions on them.
Hector Franqui
2017-06-27 18:38:28 -0400
cc56446206NPC: (WIP) Schedule properties support adding one or multiple items to NPC inventory, and support taking one item from NPC inventory. Attempt to fix child textures issue (2).
Hector Franqui
2017-06-21 21:07:36 -0400
7110c49b42Spawner: Avoid multiple spawning by not replacing the mg_villages:plotmarker, but just override its definition. NPC: (WIP) Support change properties on schedules.
Hector Franqui
2017-06-21 07:16:11 -0400
fd4cec0d63Spawner: Assign sits, furnaces and storage nodes to spawned NPCs. Small basic schedule change: NPCs now sit from 12-1 on whatever sit they 'own'. Fixed /restore_plotmarkers not clearing all metadata. NPC: Attempted to add a fix for the children growing on their own (due to mobs_redo).
Hector Franqui
2017-06-19 21:03:24 -0400
3df43ab580Spawner: Assign sits, furnaces and storage nodes to spawned NPCs. Small basic schedule change: NPCs now sit from 12-1 on whatever sit they 'own'. Fixed /restore_plotmarkers not clearing all metadata. NPC: Attempted to add a fix for the children growing on their own (due to mobs_redo).
Hector Franqui
2017-06-19 20:54:26 -0400
c19ea70242Spawner: Add clearing of 'replaced' string to /restore_plotmarkers
Hector Franqui
2017-06-18 11:19:33 -0400
fb549e7f93Pathfinder: Drop jumper.lua's pathfinder in favor of MarkBu's pathfinder with slight modifications, as the later one supports 3D paths. Clean up old pathfinder code. Add path decoration to MarkBu pathfinder's generated paths. Change actions.lua and places.lua to use the new pathfinder. Properly modify README.md.
Hector Franqui
2017-06-17 11:47:51 -0400
e1bf931064Relationships: change texture of smoke to use default's mod texture
Hector Franqui
2017-06-17 11:45:57 -0400
caa39d97abNPC: Fixed bugs around new logs and npc chat functions. Fixed bug with child texture.
1.0-alpha-0
Hector Franqui
2017-06-17 10:22:00 -0400
a91160ecc6NPC: Cleaned up debugging logs. Standarized logs to have different levels. Show by default only INFO, ERROR log messages. Dialogues: Standarized function for NPC chat messages. Removed trader.lua and trader_test.lua which are part of old 'mobs_npc' mod.
Hector Franqui
2017-06-17 09:44:25 -0400
bf0f643e3eNPC: Changed general issue with names. Now names are a dedicated variable, not anymore a nametag. NPC names aren't visible anymore. Spawner: Added NPC statistics to plotmarkers. Add statistics-based spawning for a more balanced, family-type spawning of NPCs.
Hector Franqui
2017-06-17 09:08:29 -0400
adeeecd43ePathfinding (WIP): Use MarkBu's pathfinder mod as the new pathfinder. Actions: Modify walk_to_pos to use new pathfinding code. Allow support for giving positions as strings or tables referring to specific places on Places Map. Spawner: Assign beds to NPCs. Increase amount of NPCs now being spawned as they are able to reach top floor beds. Places: Slight overhaul and changes. Add more info to places. NPC: Hide nametag.
Hector Franqui
2017-06-14 18:42:36 -0400
d4e8744cfbSpawner: Assign entrance door to every NPC spawned. Increased ABM chance to make NPC spawning less laggy. Improved building scanning, finally now has correct data for scanning nodes. Places: Finding entrances is limited now to MTG doors.
Hector Franqui
2017-05-19 14:36:11 -0400
1d1a56592bActions: Rewrite API to use executor function + constants of commands. Re-write NPC add action/task functions, do_custom() to use new actions API. Spawner: Find building entrances (WIP) Places: Fix numerous bugs with add/get places functions. Actions: Fix bugs with sittable task.
Hector Franqui
2017-05-13 13:17:45 -0400
9b3d458872Spawner: Part 1: Add initial code to find doors front/behind position. Detect first floor nodes.
Hector Franqui
2017-05-05 18:34:16 -0400
f4c374314aActions: Enhance walking reliability by adding a moveto() at the end of every step and just before the next step. Increase walking speed constants to more normal values.
Hector Franqui
2017-05-05 09:13:30 -0400
55c6146e94Spawning: Find entrance doors to building.
Zorman2000
2017-04-10 22:42:21 -0400
ef973e47ccPathfinding: Cleaned up pathfinder.lua logs. Changed init.lua to refer to proper files. Updated comment about Jumper library in pathfinder.lua
Zorman2000
2017-04-04 10:20:19 -0400
297dd379a6Pathfinding: Fix for mod security - joining up Jumper library code (WIP)
Zorman2000
2017-04-03 21:48:17 -0400
afe8dc8f6ePlaces: Detect building entrances (WIP)
Zorman2000
2017-03-27 20:05:18 -0400
d375762d11NPCs: Add random female and male names. Spawner: Start adding metadata to spawner, places to NPCs. (WIP)
Zorman2000
2017-03-27 14:47:31 -0400
b5ef1f8ed8Spawner: automatic and manual spawning now works completely.
Zorman2000
2017-03-27 14:03:20 -0400
d18d1ce897Trading: Fix price items not being accounted for.
Zorman2000
2017-03-27 10:53:21 -0400
626ca68eb5Spawner: Working node spawning.
Zorman2000
2017-03-23 10:20:08 -0400
e937cc4ce4Spawner: Moved all spawning code to spawner.lua. Started progress on node timer-based NPC spawning (WIP)
Zorman2000
2017-03-22 22:08:41 -0400
3649d5bc6aSpawner: Adds ABM for replacement for when LBM fails.
Zorman2000
2017-03-18 12:58:36 -0400
f5fbda142eSpawner: Adds LBM to replace mg_villages:plotmarker with advanced_npc:auto_spawner (WIP). Adds initial scan code (WIP).
Zorman2000
2017-03-18 10:32:37 -0400
bd6d735170Actions: Change use sittable and use bed interface to use them as tasks. Schedules: Allow tasks to be added as well as actions.
zorman2000
2017-03-09 19:41:44 -0500
d8b90d95c3Trade: Add function to store trade offers on NPC data based on the trading status. Add support to avoid flipping sold items out of stock to buy immediately.
zorman2000
2017-02-01 11:36:20 -0500
54c005ec34Trade: Add dedicated trading prompts. Dialogue: Add support to show dedicated trading prompts for dedicated traders. (WIP) Get buy/sell offers for dedicated traders.
zorman2000
2017-01-29 20:30:43 -0500
d7a8de5b86Trade: A list of buyable items is now calculated with the maximum amount buyable (given the currency), the minimum buyable amount and the minimum price. Port casual trading to use this system. Refactor the offer function to also support dedicated trading.
zorman2000
2017-01-29 20:08:34 -0500
75af34beb5Dialogue: full support for flag-based dialogues. Added support for nested dialogue trees. Trade: (WIP) Refactor code to support dedicated trading.
zorman2000
2017-01-26 12:55:04 -0500
7c3801a5ceNPC: Fix small bug due to actions API change
zorman2000
2017-01-19 21:31:40 -0500
5d2c820d88Actions: No longer have 'self' as part of the arguments object for each action. This caused an error with Lua serialization that crashed Minetest while the NPC was executing actions and it got unloaded (like exit game or mapblock unloaded).
zorman2000
2017-01-19 20:42:46 -0500
dd4d445b3aActions: Fix unlock not working properly. Pathfinding: Fix bug of map not generating if difference between z-coordinates is zero. Code cleanup.
zorman2000
2017-01-19 20:11:11 -0500
60b847a02aActions: (WIP) Add locks, unlocks and re-execution of actions if there are interruptions. Need to improve the lock/unlock mechanism. Dialogues, trading: Add lock and unlock upon starting/finishing an interaction. Updated README with progress. Pathfinding: Fix slight bug that avoid a map being generated if the difference of start and end positions' z coordinate is zero.
zorman2000
2017-01-18 19:34:02 -0500
e265bc283eActions: Set default walking speed to two nodes per second. NPC: Set default wandering speed to one node per second.
zorman2000
2017-01-16 12:16:42 -0500
9556e76b79Actions: Add ability for NPC to fully use a furnace. Add ability to add tasks to action queue.
zorman2000
2017-01-13 22:54:27 -0500
137f02e863Actions: Add set interval action, that allows to increase the action timer interval to effectively produce wait times.
zorman2000
2017-01-13 07:22:00 -0500
e3fc7be783Places: Add correct detection of sittable nodes, including stairs used as benches. Add staircase detection method, for basic staircases. Ability to detect the bottom, middle and top nodes. Useful for future implementation of being able to use 2nd floors.
zorman2000
2017-01-12 19:40:20 -0500
7e41e328e8Actions: Support for sitting on benches and stairs.
zorman2000
2017-01-11 07:54:50 -0500
e69272c359Actions: Default doors and cottages' mod doors are fully supported now. Default bed and cottages' mod beds fully supported now.
zorman2000
2017-01-10 14:21:45 -0500
641bdd8874Actions: Fully working 2D pathfinding code, including doors. Added NPC actions so that it now closes doors after opening them. Fixed rotations for opening/closing doors and for reaching the goal point. Added full support to cottages mod gates and half doors. WIP: Support for cottages beds and sleeping mats.
zorman2000
2017-01-09 11:34:38 -0500
49cdae423fMore fixes to Readme.
zorman2000
2017-01-06 08:05:06 -0500
461749f8afMore fixes to the Readme to reflect properly progress
zorman2000
2017-01-06 08:02:35 -0500
73a12d76ccFurther fix to the README.:
zorman2000
2017-01-06 08:01:16 -0500
554fde4643Adds pathfinding library Jumper by Ronald Yonaba. This includes an implementation of the A* pathfinding algorithm which makes NPC now always get to their goal node. Pathfinding: Adds functions that allows to map the Minetest 3D map to a 2D array to use by the pathfinding algorithm. Actions: Use new code for find_path function. Improves door opening while walking on paths, and also now close them. Cottages fence gates and doors are also now supported in addition to the default doors and gates. Changes to the Readme and the License.
zorman2000
2017-01-06 07:57:42 -0500
80b7eb6ec9Actions: Added action to use a bed (from the default beds mod).
zorman2000
2016-12-29 21:34:15 -0500
7f22a74d7dActions: Added door opening/closing to walk action.
zorman2000
2016-12-29 19:02:25 -0500
cffd307cfeActions: Added action to open/close doors, fence gates and anything that uses the default doors mod.
zorman2000
2016-12-29 17:26:09 -0500
6549a7e4f9Actions: Fixed turns walking through paths. Improved algorithm to include doors and fence gates using default API. NPC: Improved collisionbox.
zorman2000
2016-12-29 15:09:30 -0500
d78fee695eActions: added experimental, still WIP path-finding code in Lua
zorman2000
2016-12-28 22:10:06 -0500
646b422082Actions: Added some fundamental movement actions. Places: Added functions for adding and getting places, and for finding places of specific types. Added beds, chairs and chest as places. NPC: Added places map and action queue.
zorman2000
2016-12-18 12:32:39 -0500