[up_sect_firsta_ak74]
;Отдача(1)-10%
;------------
cost		      		= 550
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		      		= 850
value					= +15

;увеличение дисперсии в процентах при максимальном износе						
fire_dispersion_condition_factor	=	-1.5	;	15	;->	13.5
;увеличение изношености при выстреле очередью						
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



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

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

[up_sect_firstf_ak74]
;Отдача(3)-30%
;------------
cost		      		= 1150
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		      		= 550
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		      		= 850
value					= +20

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

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

rpm                     = +75

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

bullet_speed            = +110
fire_dispersion_base	= -0.03 ;0.7

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

;увеличение дисперсии в процентах при максимальном износе						
fire_dispersion_condition_factor	=	-1	;	13.5	;->	12.5
;увеличение изношености при выстреле очередью						
condition_queue_shot_dec	=	-0.00002	;	0.00017	;->	0.00015
;увеличение изношености при одиночном выстреле						
condition_shot_dec	=	-0.00001	;	0.000085	;->	0.000075
;шанс осечки при изношености больше чем misfireStartCondition						
misfire_start_prob	=	-0.0003	;	0.00255	;->	0.00225
;шанс осечки при изношености больше чем misfireEndCondition						
misfire_end_prob	=	-0.0043	;	0.03655	;->	0.03225



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

bullet_speed            = +75
fire_dispersion_base	= -0.02 ;0.7

[up_sect_thirdd_ak74]
;Отдача(2)-20%
;------------
cost		      		= 850
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		      		= 1150
value					= +25

rpm                     = +125

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

inv_weight = -1.3

[up_sect_fourtc_ak74]
;Удобство(2)15%
;--------------
cost		      		= 850
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		      		= 1150
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		      		= 1200
scope_status = 2
scopes_sect				= scope_ak74, scope_x2.7_ak74, scope_live_detector_ak74, scope_night_ak74

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

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

[up_firsta_ak74]
scheme_index            = 0, 0
known                   = 1
effects                 = up_gr_firstcd_ak74
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                 = up_gr_firstef_ak74
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                 = up_gr_seconcd_ak74
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                 = up_gr_seconef_ak74
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                 = up_gr_seconef_ak74
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                 = up_gr_thirdcd_ak74
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                 = up_gr_thirdef_ak74
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                 = up_gr_thirdef_ak74
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                 = up_gr_fourtcd_ak74
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                 = up_gr_fourtef_ak74
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_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_gr_firstab_ak74]
elements                = up_firsta_ak74

[up_gr_firstcd_ak74]
elements                = up_firstc_ak74

[up_gr_firstef_ak74]
elements                = up_firste_ak74, up_firstf_ak74

[up_gr_seconab_ak74]
elements                = up_secona_ak74

[up_gr_seconcd_ak74]
elements                = up_seconc_ak74, up_second_ak74

[up_gr_seconef_ak74]
elements                = up_secone_ak74

[up_gr_thirdab_ak74]
elements                = up_thirda_ak74

[up_gr_thirdcd_ak74]
elements                = up_thirdc_ak74, 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_fifthcd_ak74]
elements                = up_fifthc_ak74
