Commit Graph

40 Commits

Author SHA1 Message Date
zorman2000 a77dfacac7 Removed old chat code 2016-12-04 15:37:12 -05:00
zorman2000 01699d1d4a Relationships: Improved marriage dialogue.
When relationships change phase, dialogues are now updated as well.
Data: Added placeholder dialogues for both sexes and all phases.
2016-12-04 15:25:22 -05:00
zorman2000 a3b463ff26 Relationships: Added married NPC dialogue 2016-12-04 15:00:55 -05:00
zorman2000 f956101f61 Relationships: Added favorite and disliked items hints to dialogues. 2016-12-04 13:14:03 -05:00
zorman2000 216c77ca81 Dialogues: fixed bug with options dialogue 2016-12-04 10:01:37 -05:00
zorman2000 de33f45db1 Merge branch 'master' of https://github.com/zorman2000/advanced_npc 2016-12-04 09:30:50 -05:00
zorman2000 f462e6af75 Dialogues: added support for custom functions on multi-option dialogues.
Data: dialogues are now Lua tables indexed by numbers
2016-12-04 09:30:25 -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
Héctor Franqui 14a121498e License change to GPL3 2016-12-03 07:41:38 -05:00
zorman2000 e89cd1e18d Relationships: completed support to increase relationship on talk. Implemented timer on this too.
Dialogues: Improved way responses are being stored into table for each player.
Added support for multi option dialogue and the dialogue action as well. WIP in function action type.
Cleaned up code.
2016-12-02 18:39:06 -05:00
zorman2000 eeabe601dd WIP: Gain relationship points by talking 2016-12-02 08:09:14 -05:00
zorman2000 762337cc6d Dialogues: Added function to select random dialogues for NPCs from random data.
Modified NPCs so random dialogues are chosen on initialization.
Added function to start a dialogue, choosing randomly NPCs dialogues.
Changed NPC code to use new dialogue code
2016-12-01 14:37:00 -05:00
zorman2000 46e3d2543b Added random data store: helps on generating random NPCs 2016-12-01 14:01:47 -05:00
zorman2000 9f82ae5b7b Dialogues: Changed prompt for yes/no dialogue to show on formspec instad of sent as message.
Added item name now when giving a gift to NPC.
Positive answer for yes/no dialogue is now a constant.
2016-12-01 09:26:57 -05:00
zorman2000 954752c9e3 Updated README 2016-11-29 23:55:49 -05:00
zorman2000 d6fd49b1ae Finished yes/no dialogue for dialogues.
Implemented using function callbacks for each option (positive or negative answer)
Implemented dialogue for confirming that player wants to give a gift to NPC rather than just losing the item
2016-11-29 23:53:46 -05:00
zorman2000 a877fe64cb Added yes/no dialogue box using normal formspecs. Added handler for formspecs 2016-11-29 14:44:27 -05:00
zorman2000 f89dfe780e Removed SmartFS as not supporting the wanted features 2016-11-29 14:10:32 -05:00
zorman2000 47847d2951 Fix bug in marriage check for receiving gifts 2016-11-29 14:05:09 -05:00
zorman2000 f53abf7072 Chat: started working on dialogue formspec.
Added smartfs for formspec functionality as library:
2016-11-29 04:27:07 -05:00
zorman2000 00e6531f91 Change to chat.lua 2016-11-26 14:30:24 -05:00
zorman2000 0c018729db Create copy of chat.lua 2016-11-26 14:27:35 -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
Hector Franqui 6e806d1d5b Marriage NPC cannot receive gifts from other NPC/players 2016-11-19 13:19:59 -05:00
Hector Franqui 39224ed644 Fixed bug with gifts on marriage 2016-11-19 13:01:00 -05:00
Hector Franqui c60d13112b Finished implementation of gifts per phases. Added relationship timer decrease. Added disliked items 2016-11-19 12:38:16 -05:00
Hector Franqui 032cf67d99 Finished implementation of gifts per phases. Added relationship timer decrease. Added disliked items 2016-11-19 12:34:41 -05:00
Hector Franqui 82b9d97d6f Started partial implementation for per-phase gifts 2016-11-19 08:04:45 -05:00
Hector Franqui 7d85cdc063 Bugfix for correct timerand entity parameters 2016-11-14 18:39:41 -05:00
Héctor Franqui 9ee5c186f1 Update npc.lua
Removed child options for gifts, relationships and favorite items.
2016-11-14 15:40:35 -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
Hector Franqui e0e3c10741 Deleting Eclipse project files 2016-11-12 07:28:48 -05:00
Hector Franqui 7ec4184d26 Merge remote-tracking branch 'refs/remotes/origin/master' 2016-11-12 07:18:57 -05:00
Héctor Franqui 3228f0af73 Delete LICENSE
Changing license to MIT due to mobs_npc using such license.
2016-11-12 07:15:47 -05:00
Hector Franqui 1c29facef2 Simple change, test commit. 2016-11-12 07:13:03 -05:00
Héctor Franqui 54dbb55744 Initial commit 2016-11-12 07:08:57 -05:00
zorman2000 eb158f6f15 First commit. Using mobs_npc code as start. 2016-11-12 07:06:09 -05:00