mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
13 lines
488 B
Plaintext
13 lines
488 B
Plaintext
#define STRINGIFY(x) #x
|
|
#define NAME(name) dz_fn_loot_##name
|
|
#define PATH(sub_path) STRINGIFY(\z\addons\dayz_code\loot\sub_path)
|
|
#define CPP compile preprocessFileLineNumbers
|
|
|
|
NAME(select) = CPP PATH(select.sqf);
|
|
NAME(spawn) = CPP (if (isServer) then { PATH(spawn_server.sqf) } else { PATH(spawn.sqf) });
|
|
NAME(spawnGroup) = CPP PATH(spawnGroup.sqf);
|
|
NAME(insert) = CPP PATH(insert.sqf);
|
|
NAME(insertCargo) = CPP PATH(insertCargo.sqf);
|
|
|
|
//Loot init
|
|
call CPP PATH(init.sqf); |