DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SpawnUniversalParts()

void Car::SpawnUniversalParts ( )
inlineprotected

См. определение в файле CarScript.c строка 2500

2501 {
2502 GameInventory inventory = GetInventory();
2503 inventory.CreateInInventory("HeadlightH7");
2504 inventory.CreateInInventory("HeadlightH7");
2505 inventory.CreateInInventory("HeadlightH7");
2506 inventory.CreateInInventory("HeadlightH7");
2507
2509 GetInventory().CreateInInventory(GetElectricitySourceDeviceType());
2510
2511 if (IsVitalRadiator())
2512 {
2513 inventory.CreateInInventory("CarRadiator");
2514 inventory.CreateInInventory("CarRadiator");
2515 }
2516
2517 if (IsVitalSparkPlug())
2518 {
2519 inventory.CreateInInventory("SparkPlug");
2520 inventory.CreateInInventory("SparkPlug");
2521 }
2522
2523 if (IsVitalGlowPlug())
2524 {
2525 inventory.CreateInInventory("GlowPlug");
2526 inventory.CreateInInventory("GlowPlug");
2527 }
2528 }
override bool IsVitalGlowPlug()
override bool NeedElectricitySourceDevice()
override string GetElectricitySourceDeviceType()
override bool IsVitalSparkPlug()
bool IsVitalRadiator()
Определения CarScript.c:2206
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory

Перекрестные ссылки GameInventory::CreateInInventory(), CarScript::GetElectricitySourceDeviceType(), CarScript::IsVitalGlowPlug(), CarScript::IsVitalRadiator(), CarScript::IsVitalSparkPlug() и CarScript::NeedElectricitySourceDevice().