Commit Graph

16 Commits

Author SHA1 Message Date
zorman2000
7c3801a5ce NPC: Fix small bug due to actions API change 2017-01-19 21:31:40 -05:00
zorman2000
5d2c820d88 Actions: 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). 2017-01-19 20:42:46 -05:00
zorman2000
60b847a02a Actions: (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.
2017-01-18 19:34:02 -05:00
zorman2000
49cdae423f More fixes to Readme. 2017-01-06 08:05:06 -05:00
zorman2000
461749f8af More fixes to the Readme to reflect properly progress 2017-01-06 08:02:35 -05:00
zorman2000
73a12d76cc Further fix to the README.: 2017-01-06 08:01:16 -05:00
zorman2000
554fde4643 Adds 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.
2017-01-06 07:57:42 -05:00
zorman2000
a3b463ff26 Relationships: Added married NPC dialogue 2016-12-04 15:00:55 -05:00
Héctor Franqui
d96f78d21b Updated readme formatting 2016-12-03 07:48:35 -05:00
Héctor Franqui
293500e5e1 Update readme with copyright notice. 2016-12-03 07:46:56 -05:00
zorman2000
954752c9e3 Updated README 2016-11-29 23:55:49 -05:00
Héctor Franqui
c2afdb834f Updated readme
Fixed some stuff
2016-11-20 17:50:07 -05:00
Héctor Franqui
a8c8c20516 Added description and high-level roadmap.
Added a description and roadmap to the readme so that their is a better understanding of what the mod is supposed to become.
2016-11-20 17:49:01 -05:00
Héctor Franqui
2511261a52 Update README.md
Removed old documentation. Will add later.
2016-11-14 10:39:13 -05:00
Hector Franqui
18657cc108 Progress on gifts and relationships. Still requires further debugging to understand some timer issues. 2016-11-14 06:28:37 -05:00
Héctor Franqui
54dbb55744 Initial commit 2016-11-12 07:08:57 -05:00