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

@@ -31,6 +31,7 @@ class datsun1_civil_3_open_DZE: datsun1_civil_3_open {
// Performance 1
class datsun1_civil_1_open_DZE1: datsun1_civil_1_open_DZE {
original = "datsun1_civil_1_open_DZE";
maxspeed = 150; // max engine limit 125-130
terrainCoef = 1.8;
class HitPoints: HitPoints {
@@ -52,6 +53,7 @@ class datsun1_civil_1_open_DZE1: datsun1_civil_1_open_DZE {
};
};
class datsun1_civil_2_covered_DZE1: datsun1_civil_2_covered_DZE {
original = "datsun1_civil_2_covered_DZE";
maxspeed = 150; // car 100
terrainCoef = 1.8;
class HitPoints: HitPoints {
@@ -73,6 +75,7 @@ class datsun1_civil_2_covered_DZE1: datsun1_civil_2_covered_DZE {
};
};
class datsun1_civil_3_open_DZE1: datsun1_civil_3_open_DZE {
original = "datsun1_civil_3_open_DZE";
maxspeed = 150; // car 100
terrainCoef = 1.8;
class HitPoints: HitPoints {