1444 {
1447 if (actionMask != EConstructionTools.TOOL_NO_ACTION)
1448 {
1449 if (tool)
1450 {
1451 string toolCfgPath = "cfgVehicles" + " " + tool.GetType() + " " + "dismantle_action_type";
1452
1453 if (
g_Game.ConfigIsExisting(toolCfgPath))
1454 {
1455 int toolActionType =
g_Game.ConfigGetInt(toolCfgPath);
1456 if ((actionMask & toolActionType) > 0)
1457 {
1458 return true;
1459 }
1460 }
1461 }
1462 else if (actionMask & EConstructionTools.TOOL_HANDS)
1463 {
1464 return true;
1465 }
1466 }
1467
1468 return false;
1469 }
ConstructionPart GetConstructionPart()
int GetDismantleActionTypeMask()
Instanced construction part data classes for dynamic data, statics now stored on EntityType level in ...