[up_sect_firsta_ak74]
;Отдача(1)-10%
;------------
cost		      		= 3150
value					= -10

cam_dispersion              = -0.16		;0.5
cam_dispersion_inc         	= -0.06		;0.5
cam_step_angle_horz        	= -0.02		;1.5 [0.73 в остатке]

zoom_cam_dispersion         = -0.12		;0.5 [0.093 в остатке]
zoom_cam_dispersion_inc     = -0.07		;0.5
zoom_cam_step_angle_horz    = -0.02 	;1.0 [0.505 в остатке]

[up_sect_firstc_ak74]
;Надежность(2)15%
;---------------
cost		      		= 4850
value					= +15

;увеличение дисперсии в процентах при максимальном износе
fire_dispersion_condition_factor    = -1.5 ;15
;увеличение изношености при выстреле очередью
condition_queue_shot_dec	= -0.0001 ;0.0013
;увеличение изношености при одиночном выстреле
condition_shot_dec      	= -0.0001 ;0.0011
;шанс осечки при изношености больше чем misfireStartCondition
misfire_start_prob	     	= -0.0015
;шанс осечки при изношености больше чем misfireEndCondition
misfire_end_prob	     	= -0.015 ;0.03

[up_sect_firste_ak74]
;Точность(3)30%
;---------------
cost		      		= 6550
value					= +30

fire_dispersion_base	= -0.09 ;0.7
fire_dispersion_condition_factor    = -1 ;15

[up_sect_firstf_ak74]
;Отдача(3)-30%
;------------
cost		      		= 7150
value					= -30

cam_dispersion              = -0.3		;0.5
cam_dispersion_inc         	= -0.16		;0.5
cam_step_angle_horz        	= -0.11		;1.5 [0.73 в остатке]

zoom_cam_dispersion         = -0.31		;0.5 [0.093 в остатке]
zoom_cam_dispersion_inc     = -0.17		;0.5
zoom_cam_step_angle_horz    = -0.11 	;1.0 [0.505 в остатке]

[up_sect_secona_ak74]
;Удобство(1)10%
;--------------
cost		      		= 3350
value					= +10

crosshair_inertion		   = -0.5
 
PDM_disp_base 				= -0.05 ;0.5
PDM_disp_vel_factor 		= -0.25 ;1.5
PDM_disp_accel_factor 		= -0.25 ;1.5

[up_sect_seconc_ak74]
;Точность(2)20%
;---------------
cost		      		= 4900
value					= +20

fire_dispersion_base	= -0.07 ;0.7
fire_dispersion_condition_factor    = -1 ;15

[up_sect_second_ak74]
;Скорострельность(2)15%
;----------------------
cost		      		= 4900
value					= +15

rpm                     = +75

[up_sect_secone_ak74]
;Настильность(3)30%
;------------------
cost		      		= 6900
value					= +30

bullet_speed            = +110
fire_dispersion_base	= -0.03 ;0.7

[up_sect_thirda_ak74]
;Надежность(1)10%
;---------------
cost		      		= 3150
value					= +10

;увеличение дисперсии в процентах при максимальном износе
fire_dispersion_condition_factor    = -1 ;15
;увеличение изношености при выстреле очередью
condition_queue_shot_dec	= -0.0001 ;0.0013
;увеличение изношености при одиночном выстреле
condition_shot_dec      	= -0.0001 ;0.0011
;шанс осечки при изношености больше чем misfireStartCondition
misfire_start_prob	     	= -0.0005
;шанс осечки при изношености больше чем misfireEndCondition
misfire_end_prob	     	= -0.01 ;0.03

[up_sect_thirdc_ak74]
;Настильность(2)20%
;------------------
cost		      		= 4900
value					= +20

bullet_speed            = +75
fire_dispersion_base	= -0.02 ;0.7

[up_sect_thirdd_ak74]
;Отдача(2)-20%
;------------
cost		      		= 4900
value					= -20

cam_dispersion              = -0.21		;0.5
cam_dispersion_inc         	= -0.1		;0.5
cam_step_angle_horz        	= -0.06		;1.5 [0.73 в остатке]

zoom_cam_dispersion         = -0.21		;0.5 [0.093 в остатке]
zoom_cam_dispersion_inc     = -0.12		;0.5
zoom_cam_step_angle_horz    = -0.04 	;1.0 [0.505 в остатке]


[up_sect_thirde_ak74]
;Скорострельность(3)25%
;----------------------
cost		      		= 6900
value					= +25

rpm                     = +125

[up_sect_fourta_ak74]
;Вес
;------------------
cost		      		= 3950
value					= -1.3

inv_weight = -1.3

[up_sect_fourtc_ak74]
;Удобство(2)15%
;--------------
cost		      		= 4900
value					= +15

crosshair_inertion		   = -0.75
 
PDM_disp_base 				= -0.1 ;0.5
PDM_disp_vel_factor 		= -0.35 ;1.5
PDM_disp_accel_factor 		= -0.35 ;1.5

[up_sect_fourte_ak74]
;Удобство(3)25%
;--------------
cost		      		= 6950
value					= +25

crosshair_inertion		   = -1.25
 
PDM_disp_base 				= -0.15 ;0.5
PDM_disp_vel_factor 		= -0.4 ;1.5
PDM_disp_accel_factor 		= -0.4 ;1.5

[up_sect_fiftha_ak74]
cost		      		= 7200
scope_status                    = 2
scopes_sect			= scope_ak74, scope_x2.7_ak74, scope_live_detector_ak74, scope_night_ak74

[up_sect_fiftha_ak74_2]
cost		      		= 7200
scope_status                    = 2
scopes_sect			= scope_ak74_pacific, scope_x2.7_ak74_pacific, scope_live_detector_ak74_pacific, scope_night_ak74_pacific

[up_sect_fiftha_ak74_3]
cost		      		= 7200
scope_status                    = 2
scopes_sect			= scope_ak101, scope_x2.7_ak101, scope_live_detector_ak101, scope_night_ak101

[up_sect_fiftha_ak74_4]
cost		      		= 7200
scope_status                    = 2
scopes_sect			= scope_ak105, scope_x2.7_ak105, scope_live_detector_ak105, scope_night_ak105

[up_sect_fiftha_ak74_5]
cost		      		= 7200
scope_status                    = 2
scopes_sect			= scope_rpk74, scope_x2.7_rpk74, scope_live_detector_rpk74, scope_night_rpk74

[up_sect_fifthc_ak74]
;Смена Каллибра
;--------------
cost		      		= 8500
value					= "5.56x45"
ammo_class          	= ammo_5.56x45_ss190, ammo_5.56x45_ap, ammo_5.56x45_gd

;увеличение изношености при выстреле очередью
condition_queue_shot_dec	= 0.0001 ;0.0013
;увеличение изношености при одиночном выстреле
condition_shot_dec      	= 0.0001 ;0.0011
;шанс осечки при изношености больше чем misfireStartCondition
misfire_start_prob	     	= 0.0005
;шанс осечки при изношености больше чем misfireEndCondition
misfire_end_prob	     	= 0.005 ;0.03

[up_firsta_ak74]
scheme_index            = 0, 0
known                   = 1
effects                 = 
section                 = up_sect_firsta_ak74
property                = prop_recoil

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = on_weapon_upgrade_something_here

; ui
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_auto_a1_name
description             = st_up_auto_a1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_1

;;...
[up_firstc_ak74]
scheme_index            = 1, 0
known                   = 1
effects                 = 
section                 = up_sect_firstc_ak74
property                = prop_reliability

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

; ui
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_auto_b1_name
description             = st_up_auto_b1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_2

[up_firste_ak74]
scheme_index            = 2, 0
known                   = 1
effects                 =
section                 = up_sect_firste_ak74
property                = prop_dispersion

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

; ui
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_auto_c4_name
description             = st_up_auto_c4_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_3

[up_firstf_ak74]
scheme_index            = 2, 1
known                   = 1
effects                 =
section                 = up_sect_firstf_ak74
property                = prop_recoil

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_auto_c1_name
description             = st_up_auto_c1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_4

[up_secona_ak74]
scheme_index            = 0, 1
known                   = 1
effects                 = 
section                 = up_sect_secona_ak74
property                = prop_inertion

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

; ui
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_ret_a2_name
description             = st_up_ret_a2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_5

[up_seconc_ak74]
scheme_index            = 1, 1
known                   = 1
effects                 = 
section                 = up_sect_seconc_ak74
property                = prop_dispersion

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_ret_b3_name
description             = st_up_ret_b3_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_6

[up_second_ak74]
scheme_index            = 1, 2
known                   = 1
effects                 = 
section                 = up_sect_second_ak74
property                = prop_rpm


precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

; ui
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_ret_b2_name
description             = st_up_ret_b2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_7

[up_secone_ak74]
scheme_index            = 2, 2
known                   = 1
effects                 =
section                 = up_sect_secone_ak74
property                = prop_bullet_speed

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here_h

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_ret_c1_name
description             = st_up_ret_c1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_8

[up_thirda_ak74]
scheme_index            = 0, 2
known                   = 1
effects                 = 
section                 = up_sect_thirda_ak74
property                = prop_reliability

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           =
name                    = st_up_zat_a1_name
description             = st_up_zat_a1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_9

[up_thirdc_ak74]
scheme_index            = 1, 3
effects                 = 
section                 = up_sect_thirdc_ak74
property                = prop_bullet_speed

known                   = 1

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_zat_b5_name
description             = st_up_zat_b5_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_10

[up_thirdd_ak74]
scheme_index            = 1, 4
known                   = 1
effects                 = 
section                 = up_sect_thirdd_ak74
property                = prop_recoil

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_zat_b2_name
description             = st_up_zat_b2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_11


[up_thirde_ak74]
scheme_index            = 2, 3
known                   = 1
effects                 =
section                 = up_sect_thirde_ak74
property                = prop_rpm

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

; ui
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_zat_c3_name
description             = st_up_zat_c3_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_12

[up_fourta_ak74]
scheme_index            = 0, 3
known                   = 1
effects                 = 
section                 = up_sect_fourta_ak74
property                = prop_weight

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

; ui
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_stk_a1_name
description             = st_up_stk_a1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_13

[up_fourtc_ak74]
scheme_index            = 1, 5
known                   = 1
effects                 = 
section                 = up_sect_fourtc_ak74
property                = prop_inertion

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_stk_b2_name
description             = st_up_stk_b2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_14


[up_fourte_ak74]
scheme_index            = 2, 4
known                   = 1
effects                 =
section                 = up_sect_fourte_ak74
property                = prop_inertion

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_stk_c3_name
description             = st_up_stk_c3_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_15

[up_fiftha_ak74]
scheme_index            = 0, 4
known                   = 1
effects                 = 
section                 = up_sect_fiftha_ak74
property                = prop_scope_attach
precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true
effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_add_a2_name
description             = st_up_add_a2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_16

[up_fiftha_ak74_2]
scheme_index            = 0, 4
known                   = 1
effects                 = 
section                 = up_sect_fiftha_ak74_2
property                = prop_scope_attach
precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true
effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_add_a2_name
description             = st_up_add_a2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_16

[up_fiftha_ak74_3]
scheme_index            = 0, 4
known                   = 1
effects                 = 
section                 = up_sect_fiftha_ak74_3
property                = prop_scope_attach
precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true
effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_add_a2_name
description             = st_up_add_a2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_16

[up_fiftha_ak74_4]
scheme_index            = 0, 4
known                   = 1
effects                 = 
section                 = up_sect_fiftha_ak74_4
property                = prop_scope_attach
precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true
effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_add_a2_name
description             = st_up_add_a2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_16

[up_fiftha_ak74_5]
scheme_index            = 0, 4
known                   = 1
effects                 = 
section                 = up_sect_fiftha_ak74_5
property                = prop_scope_attach
precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true
effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_add_a2_name
description             = st_up_add_a2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_16

[up_fifthc_ak74]
scheme_index            = 1, 6
known                   = 1
effects                 =
section                 = up_sect_fifthc_ak74
property                = prop_calibre


precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = true

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_add_b2_name
description             = st_up_add_b2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2_17

[up_sect_change_components_ak74]
cost 		           = 28500
condition_queue_shot_dec   = -0.0001
condition_shot_dec         = -0.0001
misfire_start_prob	   = -0.0015
misfire_end_prob	   = -0.02
fire_dispersion_base       = -0.02
fire_dispersion_condition_factor = -1
rpm                        = +50
bullet_speed		   = +100
ammo_mag_size	           = +2

[up_change_components_ak74]
scheme_index            = 2, 5
effects                 =
section                 = up_sect_change_components_ak74
property                = prop_mod_weapon
known                   = 1
precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = a & b
effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_change_components_name
description             = st_up_change_components_descr
icon                    = ui_mod_up_instant_weapon

[up_gr_change_components_ak74]
elements                = up_change_components_ak74

[up_gr_firstab_ak74]
elements                = up_firsta_ak74
[up_gr_firstcd_ak74]
elements                = up_firstc_ak74
[up_gr_firste_ak74]
elements                = up_firste_ak74
[up_gr_firstf_ak74]
elements                = up_firstf_ak74
[up_gr_seconab_ak74]
elements                = up_secona_ak74
[up_gr_seconc_ak74]
elements                = up_seconc_ak74
[up_gr_second_ak74]
elements                = up_second_ak74
[up_gr_seconef_ak74]
elements                = up_secone_ak74
[up_gr_thirdab_ak74]
elements                = up_thirda_ak74
[up_gr_thirdc_ak74]
elements                = up_thirdc_ak74
[up_gr_thirdd_ak74]
elements                = up_thirdd_ak74
[up_gr_thirdef_ak74]
elements                = up_thirde_ak74
[up_gr_fourtab_ak74]
elements                = up_fourta_ak74
[up_gr_fourtcd_ak74]
elements                = up_fourtc_ak74
[up_gr_fourtef_ak74]
elements                = up_fourte_ak74
[up_gr_fifthab_ak74]
elements                = up_fiftha_ak74
[up_gr_fifthab_ak74_2]
elements                = up_fiftha_ak74_2
[up_gr_fifthab_ak74_3]
elements                = up_fiftha_ak74_3
[up_gr_fifthab_ak74_4]
elements                = up_fiftha_ak74_4
[up_gr_fifthab_ak74_5]
elements                = up_fiftha_ak74_5
[up_gr_fifthcd_ak74]
elements                = up_fifthc_ak74
