ACE3/addons/map/CfgWeapons.hpp
Dystopian 1fe7c5c29c Map - Improve flashlight support (#6608)
* Improve flashlight support

* Speed up items check loop

* Speed up more

* Remove useless var
2018-10-25 11:39:27 -05:00

27 lines
879 B
C++

class CfgWeapons {
class ItemCore;
class InventoryFlashlightItem_Base_F;
class acc_flashlight: ItemCore {
class ItemInfo: InventoryFlashlightItem_Base_F {
class FlashLight {
ACE_Flashlight_Colour = "white";
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_white_ca.paa);
ACE_Flashlight_Size = DEFAULT_FLASHLIGHT_SIZE;
ACE_Flashlight_Sound = 1;
};
};
};
class acc_flashlight_pistol: ItemCore {
class ItemInfo: InventoryFlashlightItem_Base_F {
class FlashLight {
ACE_Flashlight_Colour = "white";
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_white_ca.paa);
ACE_Flashlight_Size = DEFAULT_FLASHLIGHT_SIZE;
ACE_Flashlight_Sound = 1;
};
};
};
};