Advanced trading selling upgraded vehicles.

These changes allow the player to sell upgraded vehicles with them not
being added to the trader (as to not polute the lists). This basically
refers to an upgraded vehicle as a child of the base vehicle so it will
get the same sell price as the base vehicle.

This still follows the original trading convention, the vehicle base
needs to be in the trader category, i.e you cant sell an armored SUV at
stary vehicle trader.
This commit is contained in:
oiad
2016-08-19 22:15:47 +12:00
parent 554dad4e9e
commit d987fb290c
15 changed files with 51 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ class Kamaz_DZE: Kamaz_Base {
};
};
class KamazOpen_DZE1: KamazOpen_DZE {
original = "KamazOpen_DZE";
maxspeed = 100; //base 80
terrainCoef = 1.8; // base 2.0
turnCoef = 2.0; // base 3.7
@@ -33,6 +34,7 @@ class KamazOpen_DZE1: KamazOpen_DZE {
};
};
class Kamaz_DZE1: Kamaz_DZE {
original = "Kamaz_DZE";
maxspeed = 100; //base 80
terrainCoef = 1.8; // base 2.0
turnCoef = 2.0; // base 3.7
@@ -89,6 +91,7 @@ class KamazRefuel_DZ: KamazRefuel {
//For future Developement = transportFuel = 10400; // refueltruck
};
class KamazRefuel_DZE1: KamazRefuel_DZ {
original = "KamazRefuel_DZ";
maxspeed = 100; //base 80
terrainCoef = 1.8; // base 2.0
turnCoef = 2.0; // base 3.7