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

◆ SpawnAdditionalItems()

void Car::SpawnAdditionalItems ( )
inlineprotected

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

2531 {
2532 GameInventory inventory = GetInventory();
2533 inventory.CreateInInventory("Wrench");
2534 inventory.CreateInInventory("LugWrench");
2535 inventory.CreateInInventory("Screwdriver");
2536 inventory.CreateInInventory("EpoxyPutty");
2537
2538 inventory.CreateInInventory("CanisterGasoline");
2539
2540 EntityAI ent;
2541 ItemBase container;
2542 ent = inventory.CreateInInventory("CanisterGasoline");
2543 if (Class.CastTo(container, ent))
2544 {
2545 container.SetLiquidType(LIQUID_WATER, true);
2546 }
2547
2548 ent = inventory.CreateInInventory("Blowtorch");
2549 if (ent)
2550 {
2551 ent.GetInventory().CreateInInventory("LargeGasCanister");
2552 }
2553
2554 ent = inventory.CreateInInventory("Blowtorch");
2555 if (ent)
2556 {
2557 ent.GetInventory().CreateInInventory("LargeGasCanister");
2558 }
2559 }
class LogManager EntityAI
class GP5GasMask extends MaskBase ItemBase
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
const int LIQUID_WATER
Определения 3_Game/DayZ/constants.c:578

Перекрестные ссылки Class::CastTo(), GameInventory::CreateInInventory() и LIQUID_WATER.