Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp
ebaydayz 564144ee41 Revert vanilla work bench to player_buildVanilla
Partial revert of:

2d9097a6af

This workbench is currently not obtainable either by crafting or the
loot tables, so it is not used anyway. But with Epoch player_build
attempting to build it sends the player flying / sliding backwards at
high speed. Using the vanilla player_build that does not happen.

I tested building all the other items changed in the above commit and
none of them have this problem.
2016-11-05 16:34:00 -04:00

21 lines
696 B
C++

class ItemWorkBench : CA_Magazine
{
scope = public;
count = 1;
type = 256;
displayName = $STR_BLD_name_ItemWorkBench;//"Work Bench (Packed)"
model = "z\addons\dayz_buildings\models\workbench_flat.p3d";
picture = "\z\addons\dayz_buildings\equip\item_workbench.paa"; // add to PBO
descriptionShort = $STR_BLD_desc_ItemWorkBench;//"A Folded Workbench, required for House Building and Some Crafting"
vehicle = "WorkBench";
sfx = "tentunpack";
class ItemActions {
class Build {
text = $STR_BLD_build_ItemWorkBench;//"place WorkBench"
script = "; ['ItemWorkBench','Build'] spawn player_build;";
require[] = {};
consume[] = {"ItemWorkBench"};
create = "WorkBench";
};
};
};