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:
4
init.lua
4
init.lua
@ -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"))
|
||||
|
Reference in New Issue
Block a user