zorman2000
d78fee695e
Actions: added experimental, still WIP path-finding code in Lua
2016-12-28 22:10:06 -05:00
zorman2000
646b422082
Actions: Added some fundamental movement actions.
...
Places: Added functions for adding and getting places, and for finding places of specific types. Added beds, chairs and chest as places.
NPC: Added places map and action queue.
2016-12-18 12:32:39 -05:00
zorman2000
a2e38ab85f
NPC: Rewrote external inventory methods.
...
Trade: Added change casual offers timer functionality.
2016-12-17 14:27:23 -05:00
zorman2000
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.
2016-12-17 12:01:35 -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
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.
2016-12-15 14:42:45 -05:00
zorman2000
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.
2016-12-14 20:03:51 -05:00
zorman2000
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.
2016-12-11 20:52:57 -05:00