Commit Graph

9 Commits

Author SHA1 Message Date
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
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
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
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