Fix pricing mistake from #1982

Sell price of AKS74U_SD_DZ and AKS74U_Kobra_SD_DZ were wrong, since they
use 545 silencer (3 Goldbar). Sell price of Mosin PU variants was wrong
since it uses SCOPED not PSO attachment. @worldwidesorrow

Also corrected comment, extra Sa58 are camo variants while _DZ variants
are non-camo, so not entirely redundant

Lowered sell price of hemp, since these plants are pretty common. They
are guaranteed spawns In their spawn locations, and you can easily get 5
or more per server restart.
This commit is contained in:
ebayShopper
2017-11-10 15:38:31 -05:00
parent 0fadd1e5fc
commit 67f89ceb53
10 changed files with 47 additions and 31 deletions

View File

@@ -28,6 +28,7 @@
[UPDATED] Removed server control panel, because it is abused by players and not currently used by admins [UPDATED] Removed server control panel, because it is abused by players and not currently used by admins
[UPDATED] Moved large format strings in dayz_server to str formatText to avoid A2 2048 format character limit corrupting hive data in some cases. [UPDATED] Moved large format strings in dayz_server to str formatText to avoid A2 2048 format character limit corrupting hive data in some cases.
[UPDATED] Vehicles can now only be sold from the "Gear" sell menu. This prevents accidental selling when using the "sell all" feature on backpacks and vehicle inventories. [UPDATED] Vehicles can now only be sold from the "Gear" sell menu. This prevents accidental selling when using the "sell all" feature on backpacks and vehicle inventories.
[UPDATED] Added all upgraded weapons to the traders as sell only for the sell price of the base weapon plus the sell price of attachments. This allows them to be sold without removing attachments first. #1982 @worldwidesorrow
[FIXED] Kamaz refuel trucks no longer allow automatic refueling. #1855 @coresync2k @dreamforceinc [FIXED] Kamaz refuel trucks no longer allow automatic refueling. #1855 @coresync2k @dreamforceinc
[FIXED] Trees at POIs can be chopped down now. Other trees spawned with createVehicle can be added to dayz_treeTypes in variables.sqf to allow chopping them down. [FIXED] Trees at POIs can be chopped down now. Other trees spawned with createVehicle can be added to dayz_treeTypes in variables.sqf to allow chopping them down.

View File

@@ -49,7 +49,8 @@ sniperrifles[] = {
{Loot_WEAPON, 1, CZ550_DZ}, //huntingrifle {Loot_WEAPON, 1, CZ550_DZ}, //huntingrifle
{Loot_WEAPON, 0.8, M24_des_EP1}, {Loot_WEAPON, 0.8, M24_des_EP1},
{Loot_WEAPON, 0.8, M24_DZ}, //M24 {Loot_WEAPON, 0.8, M24_DZ}, //M24
{Loot_WEAPON, 0.7, BAF_LRR_scoped}, {Loot_WEAPON, 0.6, BAF_LRR_scoped},
{Loot_WEAPON, 0.6, BAF_LRR_scoped_W},
{Loot_WEAPON, 0.5, M107_DZ}, {Loot_WEAPON, 0.5, M107_DZ},
{Loot_WEAPON, 0.5, KSVK_DZE}, {Loot_WEAPON, 0.5, KSVK_DZE},
{Loot_WEAPON, 0.5, VSS_vintorez}, {Loot_WEAPON, 0.5, VSS_vintorez},

View File

@@ -14,7 +14,7 @@ class Category_627 {
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {1,"ItemGoldBar10oz"}; sell[] = {1,"ItemGoldBar10oz"};
}; };
class FN_FAL_ANPVS4_DZE { // The DZE version has togglable night vision class FN_FAL_ANPVS4_DZE { // _DZE has toggleable night vision
type = "trade_weapons"; type = "trade_weapons";
buy[] = {2,"ItemGoldBar10oz"}; buy[] = {2,"ItemGoldBar10oz"};
sell[] = {1,"ItemGoldBar10oz"}; sell[] = {1,"ItemGoldBar10oz"};
@@ -42,17 +42,17 @@ class Category_627 {
class DMR_Gh_DZ { class DMR_Gh_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {3,"ItemGoldBar10oz"}; sell[] = {31,"ItemGoldBar"};
}; };
class BAF_LRR_scoped { // Tan Lapua Variant class BAF_LRR_scoped { //Tan Lapua
type = "trade_weapons"; type = "trade_weapons";
buy[] = {6,"ItemGoldBar10oz"}; buy[] = {7,"ItemGoldBar10oz"};
sell[] = {3,"ItemGoldBar10oz"}; sell[] = {4,"ItemGoldBar10oz"};
}; };
class BAF_LRR_scoped_W { //Green Lapua Variant class BAF_LRR_scoped_W { //Green Lapua
type = "trade_weapons"; type = "trade_weapons";
buy[] = {6,"ItemGoldBar10oz"}; buy[] = {7,"ItemGoldBar10oz"};
sell[] = {3,"ItemGoldBar10oz"}; sell[] = {4,"ItemGoldBar10oz"};
}; };
class m107_DZ { class m107_DZ {
type = "trade_weapons"; type = "trade_weapons";

View File

@@ -559,12 +559,12 @@ class Category_485 {
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {9,"ItemGoldBar"}; sell[] = {9,"ItemGoldBar"};
}; };
class Sa58V_CCO_EP1 { // This rifle should be removed because it is redundant class Sa58V_CCO_EP1 { //Desert camo no attachment support
type = "trade_weapons"; type = "trade_weapons";
buy[] = {4,"ItemGoldBar"}; buy[] = {4,"ItemGoldBar"};
sell[] = {2,"ItemGoldBar"}; sell[] = {2,"ItemGoldBar"};
}; };
class Sa58V_RCO_EP1 { // This rifle should be removed because it is redundant class Sa58V_RCO_EP1 { //Desert camo no attachment support
type = "trade_weapons"; type = "trade_weapons";
buy[] = {8,"ItemGoldBar"}; buy[] = {8,"ItemGoldBar"};
sell[] = {4,"ItemGoldBar"}; sell[] = {4,"ItemGoldBar"};

View File

@@ -118,6 +118,6 @@ class Category_541 {
class ItemKiloHemp { class ItemKiloHemp {
type = "trade_items"; type = "trade_items";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {2,"ItemGoldBar"}; sell[] = {1,"ItemGoldBar"};
}; };
}; };

View File

@@ -7,7 +7,7 @@ class Category_489 {
class M9_SD_DZ { class M9_SD_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {2,"ItemGoldBar"}; sell[] = {25,"ItemSilverBar10oz"};
}; };
class G17_DZ { class G17_DZ {
type = "trade_weapons"; type = "trade_weapons";
@@ -17,27 +17,27 @@ class Category_489 {
class G17_FL_DZ { class G17_FL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {1,"ItemGoldBar"}; sell[] = {12,"ItemSilverBar10oz"};
}; };
class G17_MFL_DZ { class G17_MFL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {2,"ItemGoldBar"}; sell[] = {22,"ItemSilverBar10oz"};
}; };
class G17_SD_DZ { class G17_SD_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {2,"ItemGoldBar"}; sell[] = {22,"ItemSilverBar10oz"};
}; };
class G17_SD_FL_DZ { class G17_SD_FL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {3,"ItemGoldBar"}; sell[] = {32,"ItemSilverBar10oz"};
}; };
class G17_SD_MFL_DZ { class G17_SD_MFL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {4,"ItemGoldBar"}; sell[] = {42,"ItemSilverBar10oz"};
}; };
class Makarov_DZ { class Makarov_DZ {
type = "trade_weapons"; type = "trade_weapons";
@@ -47,7 +47,7 @@ class Category_489 {
class Makarov_SD_DZ { class Makarov_SD_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {1,"ItemGoldBar"}; sell[] = {21,"ItemSilverBar10oz"};
}; };
class Revolver_DZ { class Revolver_DZ {
type = "trade_weapons"; type = "trade_weapons";

View File

@@ -102,57 +102,57 @@ class Category_574 {
class Mosin_FL_DZ { class Mosin_FL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {1,"ItemGoldBar"}; sell[] = {12,"ItemSilverBar10oz"};
}; };
class Mosin_MFL_DZ { class Mosin_MFL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {2,"ItemGoldBar"}; sell[] = {22,"ItemSilverBar10oz"};
}; };
class Mosin_Belt_DZ { class Mosin_Belt_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {2,"ItemGoldBar"}; sell[] = {22,"ItemSilverBar10oz"};
}; };
class Mosin_Belt_FL_DZ { class Mosin_Belt_FL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {3,"ItemGoldBar"}; sell[] = {32,"ItemSilverBar10oz"};
}; };
class Mosin_Belt_MFL_DZ { class Mosin_Belt_MFL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {4,"ItemGoldBar"}; sell[] = {42,"ItemSilverBar10oz"};
}; };
class Mosin_PU_DZ { class Mosin_PU_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {4,"ItemGoldBar"}; sell[] = {32,"ItemSilverBar10oz"};
}; };
class Mosin_PU_FL_DZ { class Mosin_PU_FL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {5,"ItemGoldBar"}; sell[] = {42,"ItemSilverBar10oz"};
}; };
class Mosin_PU_MFL_DZ { class Mosin_PU_MFL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {6,"ItemGoldBar"}; sell[] = {52,"ItemSilverBar10oz"};
}; };
class Mosin_PU_Belt_DZ { class Mosin_PU_Belt_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {6,"ItemGoldBar"}; sell[] = {52,"ItemSilverBar10oz"};
}; };
class Mosin_PU_Belt_FL_DZ { class Mosin_PU_Belt_FL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {7,"ItemGoldBar"}; sell[] = {62,"ItemSilverBar10oz"};
}; };
class Mosin_PU_Belt_MFL_DZ { class Mosin_PU_Belt_MFL_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {8,"ItemGoldBar"}; sell[] = {72,"ItemSilverBar10oz"};
}; };
}; };

View File

@@ -22,7 +22,7 @@ class Category_488 {
class MP5_SD_DZ { class MP5_SD_DZ {
type = "trade_weapons"; type = "trade_weapons";
buy[] = {-1,"ItemGoldBar"}; // Sell only buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {2,"ItemGoldBar"}; sell[] = {22,"ItemSilverBar10oz"};
}; };
class Bizon_DZ { class Bizon_DZ {
type = "trade_weapons"; type = "trade_weapons";

View File

@@ -44,6 +44,11 @@ class Category_527 {
buy[] = {6,"ItemSilverBar10oz"}; buy[] = {6,"ItemSilverBar10oz"};
sell[] = {3,"ItemSilverBar10oz"}; sell[] = {3,"ItemSilverBar10oz"};
}; };
class 100Rnd_556x45_M249 {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class 200Rnd_556x45_M249 { class 200Rnd_556x45_M249 {
type = "trade_items"; type = "trade_items";
buy[] = {4,"ItemGoldBar"}; buy[] = {4,"ItemGoldBar"};
@@ -54,6 +59,11 @@ class Category_527 {
buy[] = {2,"ItemGoldBar"}; buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"}; sell[] = {1,"ItemGoldBar"};
}; };
class 200Rnd_762x51_M240 {
type = "trade_items";
buy[] = {-1,"ItemGoldBar"}; // Sell only
sell[] = {1,"ItemGoldBar"};
};
class 20Rnd_9x39_SP5_VSS { class 20Rnd_9x39_SP5_VSS {
type = "trade_items"; type = "trade_items";
buy[] = {3,"ItemGoldBar"}; buy[] = {3,"ItemGoldBar"};

View File

@@ -32,6 +32,10 @@ class BAF_LRR_scoped
{ {
weight = 5.6; weight = 5.6;
}; };
class BAF_LRR_scoped_W
{
weight = 5.6;
};
class Anzio_20 class Anzio_20
{ {
weight = 14; weight = 14;