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

◆ SpawnAdditionalItems()

void Car::SpawnAdditionalItems ( )
inlineprotected

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

3161 {
3162 GameInventory inventory = GetInventory();
3163 inventory.CreateInInventory("Wrench");
3164 inventory.CreateInInventory("LugWrench");
3165 inventory.CreateInInventory("Screwdriver");
3166 inventory.CreateInInventory("EpoxyPutty");
3167
3168 inventory.CreateInInventory("CanisterGasoline");
3169
3170 EntityAI ent;
3171 ItemBase container;
3172 ent = inventory.CreateInInventory("CanisterGasoline");
3173 if (Class.CastTo(container, ent))
3174 {
3175 container.SetLiquidType(LIQUID_WATER, true);
3176 }
3177
3178 ent = inventory.CreateInInventory("Blowtorch");
3179 if (ent)
3180 {
3181 ent.GetInventory().CreateInInventory("LargeGasCanister");
3182 }
3183
3184 ent = inventory.CreateInInventory("Blowtorch");
3185 if (ent)
3186 {
3187 ent.GetInventory().CreateInInventory("LargeGasCanister");
3188 }
3189 }
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:544

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