fixes to building and crafting

+ [CHANGED] Lowered build preview count to 3 from 10.
This commit is contained in:
vbawol
2013-04-21 12:14:10 -05:00
parent 407e67067d
commit cda602ece3
6 changed files with 1008 additions and 17 deletions

View File

@@ -74,13 +74,8 @@ _reason = "";
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
if (count _this == 2) then {
_item = _this select 0;
_crafting = _this select 1; // "Crafting1"
} else {
_item = _this;
_crafting = "Crafting";
};
_item = _this;
_crafting = "Crafting";
// check if fire is reqired
_needNear = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "neednearby");