Getting buy/sell to be restricted

can only sell if in player inventory, only need resourcename to buy