From cb09377d264cf4658bb9a915b8cae9e562849dc1 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Fri, 9 Sep 2016 14:05:06 -0400 Subject: [PATCH] Add GPS, Rangefinder and NVG back as sell only Partially reverts https://github.com/EpochModTeam/DayZ-Epoch/commit/743554858262bc4f71686d3cf53eb09411a20eba @AirwavesMan now that buy or sell only is available via: https://github.com/EpochModTeam/DayZ-Epoch/commit/ffef03186313e10b2802554b8a02ca538eca0a51 --- .../Category/FriendlyToolbeltItems.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyToolbeltItems.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyToolbeltItems.hpp index 309c1bf0f..259630d00 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyToolbeltItems.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyToolbeltItems.hpp @@ -14,11 +14,26 @@ class Category_679 { buy[] = {6,"ItemSilverBar"}; sell[] = {3,"ItemSilverBar"}; }; + class ItemGPS { + type = "trade_weapons"; + buy[] = {-1,"ItemGoldBar"}; // Sell only + sell[] = {1,"ItemGoldBar"}; + }; class Binocular { type = "trade_weapons"; buy[] = {2,"ItemSilverBar"}; sell[] = {1,"ItemSilverBar"}; }; + class Binocular_Vector { + type = "trade_weapons"; + buy[] = {-1,"ItemGoldBar"}; // Sell only + sell[] = {1,"ItemGoldBar"}; + }; + class NVGoggles { + type = "trade_weapons"; + buy[] = {-1,"ItemGoldBar"}; // Sell only + sell[] = {1,"ItemGoldBar"}; + }; class ItemFlashlight { type = "trade_weapons"; buy[] = {2,"ItemSilverBar"};