Commit Graph

7 Commits

Author SHA1 Message Date
zorman2000 f717c3f1e5 Trade: Working buy/sell trade mechanism.
Various cleanups and modularizations for supporting dedicated traders.
Data: Added more favorite items for phase 1.
2016-12-15 20:51:06 -05:00
zorman2000 2720be8d48 Trading: WIP
Added functions to determine trade state.
NPC: Added inventory and inventory functions.
Added variables to definition related with trading
2016-12-05 20:22:33 -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 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
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