mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
add sandbag preview image, proper editor category (#6008)
This commit is contained in:
parent
33e25535c9
commit
b7dd5c5692
@ -1,5 +1,5 @@
|
||||
|
||||
class CBA_Extended_EventHandlers;
|
||||
class CBA_Extended_EventHandlers_base;
|
||||
|
||||
class CfgVehicles {
|
||||
class Man;
|
||||
@ -25,6 +25,9 @@ class CfgVehicles {
|
||||
scopeCurator = 2;
|
||||
displayName = CSTRING(sandbagEmpty_displayName);
|
||||
vehicleClass = "Items";
|
||||
editorCategory = "EdCat_Equipment";
|
||||
editorSubcategory = "EdSubcat_InventoryItems";
|
||||
editorPreview = QPATHTOF(data\preview_sandbag.jpg);
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_Sandbag_empty,1);
|
||||
};
|
||||
@ -47,7 +50,7 @@ class CfgVehicles {
|
||||
class ThingX;
|
||||
class ACE_SandbagObject: ThingX {
|
||||
class EventHandlers {
|
||||
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
||||
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base {};
|
||||
};
|
||||
|
||||
author = ECSTRING(common,ACETeam);
|
||||
@ -79,7 +82,7 @@ class CfgVehicles {
|
||||
class ACE_MainActions {
|
||||
selection = "";
|
||||
distance = 5;
|
||||
condition = "true";
|
||||
condition = "(true)";
|
||||
|
||||
class ACE_PickUp {
|
||||
selection = "";
|
||||
@ -94,6 +97,10 @@ class CfgVehicles {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
editorCategory = "EdCat_Supplies";
|
||||
editorSubcategory = QEGVAR(main,subcategory);
|
||||
editorPreview = QPATHTOF(data\preview_sandbag.jpg);
|
||||
};
|
||||
|
||||
class ACE_SandbagObject_NoGeo: ACE_SandbagObject {
|
||||
|
BIN
addons/sandbag/data/preview_sandbag.jpg
Normal file
BIN
addons/sandbag/data/preview_sandbag.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 82 KiB |
Loading…
Reference in New Issue
Block a user