mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
14 lines
653 B
C++
14 lines
653 B
C++
#ifndef _INCLUDE_GUARD_LOOT
|
|
#define _INCLUDE_GUARD_LOOT
|
|
|
|
#include "\z\addons\dayz_code\Configs\CfgLoot\LootDefines.hpp"
|
|
|
|
#define Loot_GetGroup(name) (dz_loot_groups find (name))
|
|
#define Loot_Select(group, count) ([group, count] call dz_fn_loot_select)
|
|
#define Loot_SelectSingle(group) (Loot_Select(group, 1) select 0)
|
|
#define Loot_Spawn(def, loc) ([def, loc] call dz_fn_loot_spawn)
|
|
#define Loot_SpawnGroup(group, loc) ([group, loc] call dz_fn_loot_spawnGroup)
|
|
#define Loot_Insert(unit, group, count) ([unit, group, count] call dz_fn_loot_insert)
|
|
#define Loot_InsertCargo(object, group, count) ([object, group, count] call dz_fn_loot_insertCargo)
|
|
|
|
#endif |