merchant_inventory_strategy 
Controls the behavior of merchant stock availability and rotation.
Procs | |
| manage_inventory | Called once every minute. |
|---|---|
| setup_inventory | Called once on merchant initialization. |
Proc Details
manage_inventory
Called once every minute.
list/active_list: The 'active' supply or demand list, contianing things merchants are currently wanting to buy or sell.list/inactive_list: The 'inactive' supply or demand list, containing things not available currently, but potentially could be later on.tick_count: How many times the Trade subsystem has fired in the current round. The modulo operator can be used along with this to only manipulate the lists every X minutes.
setup_inventory
Called once on merchant initialization.
list/active_list: The 'active' supply or demand list, contianing things merchants are currently wanting to buy or sell. On init, this is probably empty.list/inactive_list: The 'inactive' supply or demand list, containing things not available currently, but potentially could be later on. On init, this is probably where everything is.