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.
This commit is contained in:
zorman2000
2016-12-11 20:52:57 -05:00
parent 2720be8d48
commit 83c9b2c681
6 changed files with 667 additions and 529 deletions

View File

@ -25,8 +25,10 @@ mobs.intllib = S
-- NPC
dofile(path .. "/npc.lua")
dofile(path .. "/relationships.lua")
dofile(path .. "/dialogue.lua")
dofile(path .. "/random_data.lua")
dofile(path .. "/trade.lua")
dofile(path .. "/trade/trade.lua")
dofile(path .. "/trade/prices.lua")
print (S("[MOD] Advanced NPC loaded"))