;Скорострельность(1)10%
;----------------------
[up_sect_firsta_ak74u]
cost		      		= 400
value					= +10
rpm                     = +65 ;600

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

;увеличение дисперсии в процентах при максимальном износе						
fire_dispersion_condition_factor	=	-1	;	10	;->	9
;увеличение изношености при выстреле очередью						
condition_queue_shot_dec	=	-0.00003	;	0.0002	;->	0.00017
;увеличение изношености при одиночном выстреле						
condition_shot_dec	=	-0.000015	;	0.0001	;->	0.000085
;шанс осечки при изношености больше чем misfireStartCondition						
misfire_start_prob	=	-0.00045	;	0.003	;->	0.00255
;шанс осечки при изношености больше чем misfireEndCondition						
misfire_end_prob	=	-0.00645	;	0.043	;->	0.03655



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

cam_dispersion              = -0.18		;1.2
cam_dispersion_inc         	= -0.09		;0.6
cam_step_angle_horz        	= -0.22			;1.5 [0.73 в остатке]

zoom_cam_dispersion          = -0.05	;0.5 [0.093 в остатке]
zoom_cam_dispersion_inc      = -0.075	;0.5
zoom_cam_step_angle_horz     = -0.2 	;1.0 [0.505 в остатке]

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

cam_dispersion              = -0.27		;0.5
cam_dispersion_inc         	= -0.12		;0.5
cam_step_angle_horz        	= -0.32			;1.5 [0.73 в остатке]

zoom_cam_dispersion          = -0.25	;0.5 [0.093 в остатке]
zoom_cam_dispersion_inc      = -0.125	;0.5
zoom_cam_step_angle_horz     = -0.25 	;1.0 [0.505 в остатке]

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

cam_dispersion              = -0.08		;0.5
cam_dispersion_inc         	= -0.03		;0.5
cam_step_angle_horz        	= -0.12			;1.5 [0.73 в остатке]

zoom_cam_dispersion          = -0.05	;0.5 [0.093 в остатке]
zoom_cam_dispersion_inc      = -0.035	;0.5
zoom_cam_step_angle_horz     = -0.05 	;1.0 [0.505 в остатке]

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

;увеличение дисперсии в процентах при максимальном износе						
fire_dispersion_condition_factor	=	-1	;	9	;->	8
;увеличение изношености при выстреле очередью						
condition_queue_shot_dec	=	-0.00003	;	0.00017	;->	0.00014
;увеличение изношености при одиночном выстреле						
condition_shot_dec	=	-0.000015	;	0.000085	;->	0.00007
;шанс осечки при изношености больше чем misfireStartCondition						
misfire_start_prob	=	-0.00045	;	0.00255	;->	0.0021
;шанс осечки при изношености больше чем misfireEndCondition						
misfire_end_prob	=	-0.00645	;	0.03655	;->	0.0301


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

cam_dispersion              = -0.27		;0.5
cam_dispersion_inc         	= -0.12		;0.5
cam_step_angle_horz        	= -0.32		;1.5 [0.73 в остатке]

zoom_cam_dispersion          = -0.25	;0.5 [0.093 в остатке]
zoom_cam_dispersion_inc      = -0.125	;0.5
zoom_cam_step_angle_horz     = -0.25 	;1.0 [0.505 в остатке]

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

crosshair_inertion		   = -0.5
 
PDM_disp_base 				= -0.1 ;0.5
PDM_disp_vel_factor 		= -0.3 ;1.5
PDM_disp_accel_factor 		= -0.3 ;1.5

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

cam_dispersion              = -0.08		;0.5
cam_dispersion_inc         	= -0.03		;0.5
cam_step_angle_horz        	= -0.12			;1.5 [0.73 в остатке]

zoom_cam_dispersion          = -0.05	;0.5 [0.093 в остатке]
zoom_cam_dispersion_inc      = -0.035	;0.5
zoom_cam_step_angle_horz     = -0.05 	;1.0 [0.505 в остатке]
;Скорострельность(2)15%
;----------------------
[up_sect_thirdc_ak74u]
cost		      		= 650
value					= +15

rpm                     = +90 ;600

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

;увеличение дисперсии в процентах при максимальном износе						
fire_dispersion_condition_factor	=	-1	;	8	;->	7
;увеличение изношености при выстреле очередью						
condition_queue_shot_dec	=	-0.00003	;	0.00014	;->	0.00011
;увеличение изношености при одиночном выстреле						
condition_shot_dec	=	-0.000015	;	0.00007	;->	0.000055
;шанс осечки при изношености больше чем misfireStartCondition						
misfire_start_prob	=	-0.00045	;	0.0021	;->	0.00165
;шанс осечки при изношености больше чем misfireEndCondition						
misfire_end_prob	=	-0.00645	;	0.0301	;->	0.02365



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

crosshair_inertion		   = -0.5
 
PDM_disp_base 				= -0.1 ;0.5
PDM_disp_vel_factor 		= -0.3 ;1.5
PDM_disp_accel_factor 		= -0.3 ;1.5

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

cam_dispersion              = -0.08		;0.5
cam_dispersion_inc         	= -0.03		;0.5
cam_step_angle_horz        	= -0.12			;1.5 [0.73 в остатке]

zoom_cam_dispersion          = -0.05	;0.5 [0.093 в остатке]
zoom_cam_dispersion_inc      = -0.035	;0.5
zoom_cam_step_angle_horz     = -0.05 	;1.0 [0.505 в остатке]

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

rpm                     = +90 ;600

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

rpm                     = +125 ;600

;Объем магазина +10
;--------------------
[up_sect_fiftha_ak74u]
cost		      		= 800
value					= +10
ammo_mag_size        	= 10
;--------END----------


[up_firsta_ak74u]
scheme_index            = 0, 0
known                   = 1
effects                 = up_gr_firstcd_ak74u
section                 = up_sect_firsta_ak74u
property                = prop_rpm

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_zat_a3_name
description             = st_up_zat_a3_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_1

;;...
[up_firstc_ak74u]
scheme_index            = 1, 0
known                   = 1
effects                 = up_gr_firstef_ak74u
section                 = up_sect_firstc_ak74u
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_zat_b4_name
description             = st_up_zat_b4_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_2

[up_firstd_ak74u]
scheme_index            = 1, 1
known                   = 1
effects                 = up_gr_firstef_ak74u
section                 = up_sect_firstd_ak74u
property                = prop_recoil

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = a & b

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_b1_name
description             = st_up_zat_b1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_3

[up_firste_ak74u]
scheme_index            = 2, 0
known                   = 1
effects                 =
section                 = up_sect_firste_ak74u
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_c1_name
description             = st_up_zat_c1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_4

[up_secona_ak74u]
scheme_index            = 0, 1
known                   = 1
effects                 = up_gr_seconcd_ak74u
section                 = up_sect_secona_ak74u
property                = prop_recoil

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_a1_name
description             = st_up_auto_a1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_5

[up_seconc_ak74u]
scheme_index            = 1, 2
known                   = 1
effects                 = up_gr_seconef_ak74u
section                 = up_sect_seconc_ak74u
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_auto_b1_name
description             = st_up_auto_b1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_6

[up_secone_ak74u]
scheme_index            = 2, 1
known                   = 1
effects                 =
section                 = up_sect_secone_ak74u
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_2U_7

[up_seconf_ak74u]
scheme_index            = 2, 2
known                   = 1
effects                 =
section                 = up_sect_seconf_ak74u
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_auto_c6_name
description             = st_up_auto_c6_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_8

[up_thirda_ak74u]
scheme_index            = 0, 2
known                   = 1
effects                 = up_gr_thirdcd_ak74u
section                 = up_sect_thirda_ak74u
property                = prop_recoil

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_usm_a1_name
description             = st_up_usm_a1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_9

[up_thirdc_ak74u]
scheme_index            = 1, 3
known                   = 1
effects                 = up_gr_thirdef_ak74u
section                 = up_sect_thirdc_ak74u
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_usm_b2_name
description             = st_up_usm_b2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_10



[up_thirdd_ak74u]
scheme_index            = 1, 4
known                   = 1
effects                 = up_gr_thirdef_ak74u
section                 = up_sect_thirdd_ak74u
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_usm_b1_name
description             = st_up_usm_b1_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_11


[up_thirde_ak74u]
scheme_index            = 2, 3
known                   = 1
effects                 =
section                 = up_sect_thirde_ak74u
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_usm_c3_name
description             = st_up_usm_c3_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_12


[up_fourta_ak74u]
scheme_index            = 0, 3
known                   = 1
effects                 = up_gr_fourtcd_ak74u
section                 = up_sect_fourta_ak74u
property                = prop_recoil

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_a3_name
description             = st_up_ret_a3_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_13

[up_fourtc_ak74u]
scheme_index            = 1, 5
known                   = 1
effects                 = up_gr_fourtef_ak74u
section                 = up_sect_fourtc_ak74u
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_2U_14

[up_fourte_ak74u]
scheme_index            = 2, 4
known                   = 1
effects                 =
section                 = up_sect_fourte_ak74u
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_c2_name
description             = st_up_ret_c2_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_15


[up_fiftha_ak74u]
scheme_index            = 0, 4
known                   = 1
effects                 =
section                 = up_sect_fiftha_ak74u
property                = prop_ammo_size 

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_add_a4_name
description             = st_up_add_a4_descr
icon                    = ui_inGame2_upgrade_AKM_74_2U_16


[up_gr_firstab_ak74u]
elements                = up_firsta_ak74u

[up_gr_firstcd_ak74u]
elements                = up_firstc_ak74u, up_firstd_ak74u

[up_gr_firstef_ak74u]
elements                = up_firste_ak74u

[up_gr_seconab_ak74u]
elements                = up_secona_ak74u

[up_gr_seconcd_ak74u]
elements                = up_seconc_ak74u

[up_gr_seconef_ak74u]
elements                = up_secone_ak74u, up_seconf_ak74u

[up_gr_thirdab_ak74u]
elements                = up_thirda_ak74u

[up_gr_thirdcd_ak74u]
elements                = up_thirdc_ak74u, up_thirdd_ak74u

[up_gr_thirdef_ak74u]
elements                = up_thirde_ak74u

[up_gr_fourtab_ak74u]
elements                = up_fourta_ak74u

[up_gr_fourtcd_ak74u]
elements                = up_fourtc_ak74u

[up_gr_fourtef_ak74u]
elements                = up_fourte_ak74u

[up_gr_fifthab_ak74u]
elements                = up_fiftha_ak74u