A demo module for a dynamic store. The store inventory will vary based on settings stored as local variables and using an item list stored as a .2DA.
The script could be very easily modified to use another loot generation script instead of just making items from a list.
The readme.txt explains how it works. The only script needed is dynamic_store, which is in the module folder.
The store spends gold to attain new items. As players do business at the store it will gain capital and be able to stock better items. The store will also randomly sell off items, so the available items will change over time without any player interaction. But, only the transactions with players will increase the store's value and its ability to stock better items.
The demo modules starts with 200000 gold and will only stock some scrolls up to level 3, some magic items up to +3, and an assortment of other items.
To try the demo, just place the DynamicMerchant folder in the ~/Documents/Neverwinter Nights 2/modules folder and play the module.
Attachment | Size |
---|---|
![]() | 1.14 MB |