Commit Graph

  • a2e38ab85f NPC: Rewrote external inventory methods. Trade: Added change casual offers timer functionality. zorman2000 2016-12-17 14:27:23 -0500
  • 42619ad035 Removed debug.txt file zorman2000 2016-12-17 12:02:51 -0500
  • c15e8232d5 Trade: Fully working buy and sell offers. Improvements to prices and price-related mechanisms. NPC: Improved get_item_name and get_item_count methods. zorman2000 2016-12-17 12:01:35 -0500
  • 72ab610cd8 Added new texture for marriage ring. zorman2000 2016-12-15 21:33:57 -0500
  • f717c3f1e5 Trade: Working buy/sell trade mechanism. Various cleanups and modularizations for supporting dedicated traders. Data: Added more favorite items for phase 1. zorman2000 2016-12-15 20:51:06 -0500
  • 376c6e1df0 Trade: Casual trading dialogues are now shown for NPCs correctly. Added infrastructure to hold results from dialogues. Added casual buy/sell trade formspec. WIP: Trade mechanism for casual buy/sell. zorman2000 2016-12-15 14:42:45 -0500
  • da30d96395 Dialogues: Made multi-option dialogue less tall, negative option now normally spaced compared to the rest of the buttons. Slight code cleanup. zorman2000 2016-12-14 20:14:34 -0500
  • 0b0abc4706 NPCs: Now spawn with 1 or 2 items from the favorite items list. Trade: Added dialogues for buys and sells for casual trading. Dialogues: Added a 30% chance for NPC to make a trade offer. Trade: Trade offers WIP. zorman2000 2016-12-14 20:03:51 -0500
  • 83c9b2c681 Cleanup: moved relationships into own file. Moved trading and pricing code to another folder, separate files. NPC: Added further inventory functionality. Trading: Added price data structure, which allows for setting prices for items. Also includes some default definitions. zorman2000 2016-12-11 20:52:57 -0500
  • 2720be8d48 Trading: WIP Added functions to determine trade state. NPC: Added inventory and inventory functions. Added variables to definition related with trading zorman2000 2016-12-05 20:22:33 -0500
  • a77dfacac7 Removed old chat code zorman2000 2016-12-04 15:37:12 -0500
  • 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. zorman2000 2016-12-04 15:24:32 -0500
  • a3b463ff26 Relationships: Added married NPC dialogue zorman2000 2016-12-04 15:00:55 -0500
  • f956101f61 Relationships: Added favorite and disliked items hints to dialogues. zorman2000 2016-12-04 13:14:03 -0500
  • 216c77ca81 Dialogues: fixed bug with options dialogue zorman2000 2016-12-04 10:01:37 -0500
  • de33f45db1 Merge branch 'master' of https://github.com/zorman2000/advanced_npc zorman2000 2016-12-04 09:30:50 -0500
  • f462e6af75 Dialogues: added support for custom functions on multi-option dialogues. Data: dialogues are now Lua tables indexed by numbers zorman2000 2016-12-04 09:30:25 -0500
  • d96f78d21b Updated readme formatting Héctor Franqui 2016-12-03 07:48:35 -0500
  • 293500e5e1 Update readme with copyright notice. Héctor Franqui 2016-12-03 07:46:56 -0500
  • 14a121498e License change to GPL3 Héctor Franqui 2016-12-03 07:41:38 -0500
  • 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. zorman2000 2016-12-02 18:39:06 -0500
  • eeabe601dd WIP: Gain relationship points by talking zorman2000 2016-12-02 08:09:14 -0500
  • 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 zorman2000 2016-12-01 14:37:00 -0500
  • 46e3d2543b Added random data store: helps on generating random NPCs zorman2000 2016-12-01 14:01:47 -0500
  • 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. zorman2000 2016-12-01 09:26:57 -0500
  • 954752c9e3 Updated README zorman2000 2016-11-29 23:55:49 -0500
  • 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 zorman2000 2016-11-29 23:53:46 -0500
  • a877fe64cb Added yes/no dialogue box using normal formspecs. Added handler for formspecs zorman2000 2016-11-29 14:44:27 -0500
  • f89dfe780e Removed SmartFS as not supporting the wanted features zorman2000 2016-11-29 14:10:32 -0500
  • 47847d2951 Fix bug in marriage check for receiving gifts zorman2000 2016-11-29 14:05:09 -0500
  • f53abf7072 Chat: started working on dialogue formspec. Added smartfs for formspec functionality as library: zorman2000 2016-11-29 04:27:07 -0500
  • 00e6531f91 Change to chat.lua zorman2000 2016-11-26 14:30:24 -0500
  • 0c018729db Create copy of chat.lua zorman2000 2016-11-26 14:27:35 -0500
  • c2afdb834f Updated readme Héctor Franqui 2016-11-20 17:50:07 -0500
  • a8c8c20516 Added description and high-level roadmap. Héctor Franqui 2016-11-20 17:49:01 -0500
  • 6e806d1d5b Marriage NPC cannot receive gifts from other NPC/players Hector Franqui 2016-11-19 13:19:59 -0500
  • 39224ed644 Fixed bug with gifts on marriage Hector Franqui 2016-11-19 13:01:00 -0500
  • c60d13112b Finished implementation of gifts per phases. Added relationship timer decrease. Added disliked items Hector Franqui 2016-11-19 12:38:16 -0500
  • 032cf67d99 Finished implementation of gifts per phases. Added relationship timer decrease. Added disliked items Hector Franqui 2016-11-19 12:34:41 -0500
  • 82b9d97d6f Started partial implementation for per-phase gifts Hector Franqui 2016-11-19 08:04:45 -0500
  • 7d85cdc063 Bugfix for correct timerand entity parameters Hector Franqui 2016-11-14 18:39:41 -0500
  • 9ee5c186f1 Update npc.lua Héctor Franqui 2016-11-14 15:40:35 -0500
  • 2511261a52 Update README.md Héctor Franqui 2016-11-14 10:39:13 -0500
  • 18657cc108 Progress on gifts and relationships. Still requires further debugging to understand some timer issues. Hector Franqui 2016-11-14 06:28:37 -0500
  • e0e3c10741 Deleting Eclipse project files Hector Franqui 2016-11-12 07:28:48 -0500
  • 7ec4184d26 Merge remote-tracking branch 'refs/remotes/origin/master' Hector Franqui 2016-11-12 07:18:57 -0500
  • 3228f0af73 Delete LICENSE Héctor Franqui 2016-11-12 07:15:47 -0500
  • 1c29facef2 Simple change, test commit. Hector Franqui 2016-11-12 07:13:03 -0500
  • 54dbb55744 Initial commit Héctor Franqui 2016-11-12 07:08:57 -0500
  • eb158f6f15 First commit. Using mobs_npc code as start. zorman2000 2016-11-12 07:06:09 -0500