Feature: Added Buy/Sell Functionality
Added sellprice variable to handle the logic and updated the transaction code to accomplish.
Freelancer only supports one value displayed in dealer menu's however, so the /price command was added.
Available to all visitors of the base, the /price buy changes the prices displayed in the menu to what the base is buying from players for, /price sell changes it to what the base is selling for. There is condition statements in place to not reveal all items listed in the /shop menu when the /price commands are used
Also changed dealer view logic to display what the base buys the item for if the item you have is out of stock on the base, otherwise by default, prices shown are what the base sells the item for.
Feature: Added Buy/Sell Functionality Added sellprice variable to handle the logic and updated the transaction code to accomplish. Freelancer only supports one value displayed in dealer menu's however, so the /price command was added. Available to all visitors of the base, the /price buy changes the prices displayed in the menu to what the base is buying from players for, /price sell changes it to what the base is selling for. There is condition statements in place to not reveal all items listed in the /shop menu when the /price commands are used Also changed dealer view logic to display what the base buys the item for if the item you have is out of stock on the base, otherwise by default, prices shown are what the base sells the item for.
/base help menus updated with feature info