Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
truck_01_covered.c
Go to the documentation of this file.
1 class Truck_01_Covered extends Truck_01_Base {};
2 
3 class Truck_01_Covered_Orange extends Truck_01_Covered
4 {
5  override void OnDebugSpawn()
6  {
10 
11  GetInventory().CreateInInventory("Truck_01_Wheel");
12  GetInventory().CreateInInventory("Truck_01_Wheel");
13 
14  GetInventory().CreateInInventory("Truck_01_WheelDouble");
15  GetInventory().CreateInInventory("Truck_01_WheelDouble");
16  GetInventory().CreateInInventory("Truck_01_WheelDouble");
17  GetInventory().CreateInInventory("Truck_01_WheelDouble");
18 
19  GetInventory().CreateInInventory("Truck_01_Door_1_1_Orange");
20  GetInventory().CreateInInventory("Truck_01_Door_2_1_Orange");
21  GetInventory().CreateInInventory("Truck_01_Hood_Orange");
22 
23  //-----IN CAR CARGO
24  GetInventory().CreateInInventory("Truck_01_Wheel");
25  GetInventory().CreateInInventory("Truck_01_Wheel");
26  GetInventory().CreateInInventory("Truck_01_WheelDouble");
27  GetInventory().CreateInInventory("Truck_01_WheelDouble");
28  }
29 }
30 
31 class Truck_01_Covered_Blue extends Truck_01_Covered
32 {
33  override void OnDebugSpawn()
34  {
38 
39  GetInventory().CreateInInventory("Truck_01_Wheel");
40  GetInventory().CreateInInventory("Truck_01_Wheel");
41 
42  GetInventory().CreateInInventory("Truck_01_WheelDouble");
43  GetInventory().CreateInInventory("Truck_01_WheelDouble");
44  GetInventory().CreateInInventory("Truck_01_WheelDouble");
45  GetInventory().CreateInInventory("Truck_01_WheelDouble");
46 
47  GetInventory().CreateInInventory("Truck_01_Door_1_1_Blue");
48  GetInventory().CreateInInventory("Truck_01_Door_2_1_Blue");
49  GetInventory().CreateInInventory("Truck_01_Hood_Blue");
50 
51  //-----IN CAR CARGO
52  GetInventory().CreateInInventory("Truck_01_Wheel");
53  GetInventory().CreateInInventory("Truck_01_Wheel");
54  GetInventory().CreateInInventory("Truck_01_WheelDouble");
55  GetInventory().CreateInInventory("Truck_01_WheelDouble");
56  }
57 }
SpawnAdditionalItems
protected void SpawnAdditionalItems()
Definition: carscript.c:2670
Truck_01_Base
Definition: truck_01_chassis.c:1
SpawnUniversalParts
protected void SpawnUniversalParts()
Definition: carscript.c:2632
FillUpCarFluids
protected void FillUpCarFluids()
Definition: carscript.c:2700
OnDebugSpawn
class Truck_01_Covered_Orange extends Truck_01_Covered OnDebugSpawn()
Definition: truck_01_covered.c:33
Truck_01_Covered
Definition: truck_01_covered.c:3