ACE3/addons/fortify/ACEX_Fortify_Presets.hpp
PabstMirror bcbd762748
Fortify - Categories (#9167)
* Fortify - Categories

* Update fnc_registerObjects.sqf

* Apply suggestions from code review

Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>

* Apply suggestions from code review

* Update docs/wiki/framework/fortify-framework.md

Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>

* Update addons/fortify/ACEX_Fortify_Presets.hpp

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* just use flat objects array

* Update fnc_getPlaceableSet.sqf

---------

Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
2023-03-18 19:23:20 -05:00

90 lines
3.2 KiB
C++

class ACEX_Fortify_Presets {
class small {
displayName = CSTRING(small);
objects[] = {
{"Land_BagFence_Round_F", 5},
{"Land_BagFence_Short_F", 5},
{"Land_BagFence_Long_F", 10},
{"Land_Plank_01_4m_F", 10},
{"Land_BagBunker_Small_F", 25}
};
};
class smallGreen {
displayName = CSTRING(smallGreen);
objects[] = {
{"Land_BagFence_01_round_green_F", 5},
{"Land_BagFence_01_short_green_F", 5},
{"Land_BagFence_01_long_green_F", 10},
{"Land_Plank_01_4m_F", 10},
{"Land_WoodenShelter_01_F", 25}
};
};
class medium {
displayName = CSTRING(medium);
objects[] = {
{"Land_HBarrierTower_F", 100},
{"Land_HBarrierWall4_F", 25},
{"Land_HBarrierWall_corner_F", 25},
{"Land_HBarrier_1_F", 5}
};
};
class mediumGreen {
displayName = CSTRING(mediumGreen);
objects[] = {
{"Land_HBarrier_01_big_tower_green_F", 100},
{"Land_HBarrier_01_wall_4_green_F", 25},
{"Land_HBarrier_01_wall_corner_green_F", 25},
{"Land_HBarrier_01_line_1_green_F", 5}
};
};
class big {
displayName = CSTRING(big);
objects[] = {
{"Land_BagBunker_Tower_F", 50},
{"Land_BagBunker_Large_F", 100},
{"Land_BagBunker_Small_F", 25},
{"Land_Cargo_Patrol_V1_F", 100},
{"Land_BagFence_Round_F", 5},
{"Land_BagFence_Short_F", 5},
{"Land_BagFence_Long_F", 10}
};
};
class bigGreen {
displayName = CSTRING(bigGreen);
objects[] = {
{"Land_PillboxBunker_01_big_F", 100},
{"Land_PillboxWall_01_3m_F", 10},
{"Land_PillboxWall_01_6m_F", 15},
{"Land_PillboxBunker_01_hex_F", 50},
{"Land_PillboxBunker_01_rectangle_F", 50},
{"Land_Plank_01_8m_F", 10},
{"Land_Plank_01_4m_F", 5},
{"Land_BagFence_01_round_green_F", 5},
{"Land_BagFence_01_short_green_F", 5},
{"Land_BagFence_01_long_green_F", 10}
};
};
class bigCombo {
displayName = CSTRING(bigCombo);
objects[] = {
{"Land_BagBunker_Tower_F", 50, "big"},
{"Land_BagBunker_Large_F", 100, "big"},
{"Land_BagBunker_Small_F", 25, "big"},
{"Land_Cargo_Patrol_V1_F", 100, "big"},
{"Land_BagFence_Round_F", 5, "big"},
{"Land_BagFence_Short_F", 5, "big"},
{"Land_BagFence_Long_F", 10, "big"},
{"Land_PillboxBunker_01_big_F", 100, "bigGreen"},
{"Land_PillboxWall_01_3m_F", 10, "bigGreen"},
{"Land_PillboxWall_01_6m_F", 15, "bigGreen"},
{"Land_PillboxBunker_01_hex_F", 50, "bigGreen"},
{"Land_PillboxBunker_01_rectangle_F", 50, "bigGreen"},
{"Land_Plank_01_8m_F", 10, "bigGreen"},
{"Land_Plank_01_4m_F", 5, "bigGreen"},
{"Land_BagFence_01_round_green_F", 5, "bigGreen"},
{"Land_BagFence_01_short_green_F", 5, "bigGreen"},
{"Land_BagFence_01_long_green_F", 10, "bigGreen"}
};
};
};