Commit Graph

13 Commits

Author SHA1 Message Date
Hector Franqui 3edc959d3a Dialogues: Finish implementation of registered dialogues.
Ported all trade dialogues to use new dialogue system.
2017-07-19 14:00:29 -04:00
Hector Franqui 5eceb09cdb Random data: Separate random data in different files for better classification. Add registrations as well. 2017-07-13 19:02:40 -04:00
Hector Franqui 1d1a56592b Actions: Rewrite API to use executor function + constants of commands.
Re-write NPC add action/task functions, do_custom() to use new actions API.
Spawner: Find building entrances (WIP)
Places: Fix numerous bugs with add/get places functions.
Actions: Fix bugs with sittable task.
2017-05-13 13:17:45 -04:00
Zorman2000 297dd379a6 Pathfinding: Fix for mod security - joining up Jumper library code (WIP) 2017-04-03 21:48:17 -04:00
Zorman2000 d375762d11 NPCs: Add random female and male names.
Spawner: Start adding metadata to spawner, places to NPCs. (WIP)
2017-03-27 14:47:31 -04:00
zorman2000 75af34beb5 Dialogue: full support for flag-based dialogues.
Added support for nested dialogue trees.
Trade: (WIP) Refactor code to support dedicated trading.
2017-01-26 12:55:04 -05:00
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