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

◆ SpawnAdditionalItems()

void Car::SpawnAdditionalItems ( )
inlineprotected

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

3017 {
3018 GetInventory().CreateInInventory("Wrench");
3019 GetInventory().CreateInInventory("LugWrench");
3020 GetInventory().CreateInInventory("Screwdriver");
3021 GetInventory().CreateInInventory("EpoxyPutty");
3022
3023 GetInventory().CreateInInventory("CanisterGasoline");
3024
3025 EntityAI ent;
3026 ItemBase container;
3027 ent = GetInventory().CreateInInventory("CanisterGasoline");
3028 if (Class.CastTo(container, ent))
3029 {
3030 container.SetLiquidType(LIQUID_WATER, true);
3031 }
3032
3033 ent = GetInventory().CreateInInventory("Blowtorch");
3034 if (ent)
3035 {
3036 ent.GetInventory().CreateInInventory("LargeGasCanister");
3037 }
3038
3039 ent = GetInventory().CreateInInventory("Blowtorch");
3040 if (ent)
3041 {
3042 ent.GetInventory().CreateInInventory("LargeGasCanister");
3043 }
3044 }
class LogManager EntityAI
class GP5GasMask extends MaskBase ItemBase
const int LIQUID_WATER
Определения 3_Game/constants.c:541

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