mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
0.3.9.0456
fixed typo with cfgItemInteractions usage that prevented base building
This commit is contained in:
parent
e2c46afc14
commit
6461cabcac
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -117,9 +117,9 @@ switch _interactOption do {
|
|||||||
_buildingCountLimit = ["CfgEpochClient", "buildingCountLimit", 200] call EPOCH_fnc_returnConfigEntryV2;
|
_buildingCountLimit = ["CfgEpochClient", "buildingCountLimit", 200] call EPOCH_fnc_returnConfigEntryV2;
|
||||||
_partCheck = _item in (magazines player);
|
_partCheck = _item in (magazines player);
|
||||||
|
|
||||||
_buildClass = getText(_cfgItemInteractions >> _item >> "buildClass");
|
_buildClass = getText(_cfgItemInteractions >> "buildClass");
|
||||||
if (_buildClass != "" && _partCheck) then {
|
if (_buildClass != "" && _partCheck) then {
|
||||||
_isStorage = getNumber(_cfgItemInteractions >> _item >> "isStorage");
|
_isStorage = getNumber(_cfgItemInteractions >> "isStorage");
|
||||||
|
|
||||||
_isOk = if (_isStorage == 1 || _buildClass isKindOf "Secure_Storage_Temp") then { EPOCH_StorageSlotsCount > 0 } else { EPOCH_BuildingSlotCount > 0 };
|
_isOk = if (_isStorage == 1 || _buildClass isKindOf "Secure_Storage_Temp") then { EPOCH_StorageSlotsCount > 0 } else { EPOCH_BuildingSlotCount > 0 };
|
||||||
|
|
||||||
@ -288,8 +288,8 @@ switch _interactOption do {
|
|||||||
if (_item call _removeItem) then {
|
if (_item call _removeItem) then {
|
||||||
|
|
||||||
// find _paintCanIndex from config
|
// find _paintCanIndex from config
|
||||||
_paintCanIndex = getNumber(_cfgItemInteractions >> _item >> "textureIndex");
|
_paintCanIndex = getNumber(_cfgItemInteractions >> "textureIndex");
|
||||||
_paintCanColor = getText(_cfgItemInteractions >> _item >> "colorName");
|
_paintCanColor = getText(_cfgItemInteractions >> "colorName");
|
||||||
|
|
||||||
[_vehicle,_paintCanIndex,player,Epoch_personalToken] remoteExec ["EPOCH_server_paintBUILD",2];
|
[_vehicle,_paintCanIndex,player,Epoch_personalToken] remoteExec ["EPOCH_server_paintBUILD",2];
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
build=455;
|
build=456;
|
||||||
|
@ -1 +1 @@
|
|||||||
build=455;
|
build=456;
|
||||||
|
@ -1 +1 @@
|
|||||||
build=455;
|
build=456;
|
||||||
|
@ -1 +1 @@
|
|||||||
build=455;
|
build=456;
|
||||||
|
Loading…
Reference in New Issue
Block a user