Skip to content

Commit

Permalink
Merge pull request #1210 from Vdauphin/Add-mission_more_IED_type
Browse files Browse the repository at this point in the history
Add: Market and stall objects to IED objects
  • Loading branch information
Vdauphin authored Oct 26, 2021
2 parents 61e0349 + 37b9bc6 commit 6992973
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion =BTC=co@30_Hearts_and_Minds.Altis/core/def/mission.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ if (isServer) then {
private _ieds = ["Land_GarbageContainer_closed_F", "Land_GarbageContainer_open_F", "Land_Portable_generator_F", "Land_WoodenBox_F", "Land_BarrelTrash_grey_F", "Land_Sacks_heap_F", "Land_Wreck_Skodovka_F", "Land_WheelieBin_01_F", "Land_GarbageBin_03_F"] + btc_type_pallet + btc_type_barrel + (_allClassSorted select {
_x isKindOf "GasTank_base_F" ||
{_x isKindOf "Garbage_base_F"} ||
{_x isKindOf "Stall_base_F"} ||
{_x isKindOf "Market_base_F"} ||
(_x isKindOf "Constructions_base_F" &&
{
"bricks" in toLower _x
Expand All @@ -353,7 +355,7 @@ if (isServer) then {
"offroad" in toLower _x
})
});
btc_type_ieds = _ieds - ["Land_Garbage_line_F","Land_Garbage_square3_F","Land_Garbage_square5_F"];
btc_type_ieds = _ieds - ["Land_Garbage_line_F","Land_Garbage_square3_F","Land_Garbage_square5_F", "Land_MarketShelter_F", "Land_ClothShelter_01_F", "Land_ClothShelter_02_F"];
btc_model_ieds = btc_type_ieds apply {(toLower getText(_cfgVehicles >> _x >> "model")) select [1]};
btc_type_blacklist = btc_type_tags + btc_type_flowers + ["UserTexture1m_F"]; publicVariable "btc_type_blacklist";

Expand Down

0 comments on commit 6992973

Please sign in to comment.