mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
New vehicle upgrade system
Need test with datsun vehicle to ensure it works fine
This commit is contained in:
@@ -176,7 +176,7 @@ class ItemORP: CA_Magazine {
|
||||
class ItemActions {
|
||||
class Upgrades {
|
||||
text = $STR_EPOCH_PLAYER_UPGRADEV;
|
||||
script = "spawn player_upgradeVehicle;";
|
||||
script = "['ORP'] spawn player_upgradeVehicle;";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -194,7 +194,7 @@ class ItemAVE: CA_Magazine {
|
||||
class ItemActions {
|
||||
class Upgrades {
|
||||
text = $STR_EPOCH_PLAYER_UPGRADEV;
|
||||
script = "spawn player_upgradeVehicle;";
|
||||
script = "['AVE'] spawn player_upgradeVehicle;";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -212,7 +212,7 @@ class ItemLRK: CA_Magazine {
|
||||
class ItemActions {
|
||||
class Upgrades {
|
||||
text = $STR_EPOCH_PLAYER_UPGRADEV;
|
||||
script = "spawn player_upgradeVehicle;";
|
||||
script = "['LRK'] spawn player_upgradeVehicle;";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -230,7 +230,7 @@ class ItemTNK: CA_Magazine {
|
||||
class ItemActions {
|
||||
class Upgrades {
|
||||
text = $STR_EPOCH_PLAYER_UPGRADEV;
|
||||
script = "spawn player_upgradeVehicle;";
|
||||
script = "['TNK'] spawn player_upgradeVehicle;";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user