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

@@ -120,6 +120,7 @@ class Pickup_PK_INS_DZE: Pickup_PK_INS_DZ {
// Performance 1
class Pickup_PK_GUE_DZE1: Pickup_PK_GUE_DZE {
original = "Pickup_PK_GUE_DZE";
maxspeed = 150; // max engine limit 125-130
terrainCoef = 1.8;
@@ -128,6 +129,7 @@ class Pickup_PK_GUE_DZE1: Pickup_PK_GUE_DZE {
};
};
class Pickup_PK_TK_GUE_EP1_DZE1: Pickup_PK_TK_GUE_EP1_DZE {
original = "Pickup_PK_TK_GUE_EP1_DZE";
maxspeed = 150; // max engine limit 125-130
terrainCoef = 1.8;
@@ -136,6 +138,7 @@ class Pickup_PK_TK_GUE_EP1_DZE1: Pickup_PK_TK_GUE_EP1_DZE {
};
};
class Pickup_PK_INS_DZE1: Pickup_PK_INS_DZE {
original = "Pickup_PK_INS_DZE";
maxspeed = 150; // max engine limit 125-130
terrainCoef = 1.8;