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

;увеличение дисперсии в процентах при максимальном износе						
fire_dispersion_condition_factor	=	-1	;	16	;->	15
;увеличение изношености при выстреле очередью						
condition_queue_shot_dec	=	0	;	0.0013	;->	0.0013
;увеличение изношености при одиночном выстреле						
condition_shot_dec	=	0	;	0.0011	;->	0.0011
;шанс осечки при изношености больше чем misfireStartCondition						
misfire_start_prob	=	-0.0004	;	0.004	;->	0.0036
;шанс осечки при изношености больше чем misfireEndCondition						
misfire_end_prob	=	-0.0057	;	0.057	;->	0.0513


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

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

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


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

bullet_speed            = +80
fire_dispersion_base	= -0.01 ;0.7

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

rpm          = +95

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

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

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

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

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

[up_sect_seconc_val]
;Удобство(2)15%
;--------------
cost		      		= 1400
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_secone_val]
;Удобство(3)25%
;--------------
cost		      		= 1800
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_seconf_val]
;Отдача(3)-30%
;------------
cost		      		= 1800
value					= -30

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

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

[up_sect_thirda_val]
;Настильность(1)10%
;------------------
cost		      		= 1000
value					= +10

bullet_speed            = +65

[up_sect_thirdc_val]
;Надежность(2)20%
;---------------
cost		      		= 1400
value					= +20

;увеличение дисперсии в процентах при максимальном износе						
fire_dispersion_condition_factor	=	-1	;	15	;->	14
;увеличение изношености при выстреле очередью						
condition_queue_shot_dec	=	-0.00026	;	0.0013	;->	0.00104
;увеличение изношености при одиночном выстреле						
condition_shot_dec	=	-0.00022	;	0.0011	;->	0.00088
;шанс осечки при изношености больше чем misfireStartCondition						
misfire_start_prob	=	-0.0008	;	0.0036	;->	0.0028
;шанс осечки при изношености больше чем misfireEndCondition						
misfire_end_prob	=	-0.0114	;	0.0513	;->	0.0399


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

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

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

rpm          = +95


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

bullet_speed          = +95
fire_dispersion_base  = -0.02

[up_sect_fourta_val]
;Скорострельность(1)10%
;------------------
cost		      		= 1000
value					= +10

rpm          = +60


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

;увеличение дисперсии в процентах при максимальном износе						
fire_dispersion_condition_factor	=	-1	;	14	;->	13
;увеличение изношености при выстреле очередью						
condition_queue_shot_dec	=	-0.000195	;	0.00104	;->	0.000845
;увеличение изношености при одиночном выстреле						
condition_shot_dec	=	-0.000165	;	0.00088	;->	0.000715
;шанс осечки при изношености больше чем misfireStartCondition						
misfire_start_prob	=	-0.0006	;	0.0028	;->	0.0022
;шанс осечки при изношености больше чем misfireEndCondition						
misfire_end_prob	=	-0.00855	;	0.0399	;->	0.03135


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

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

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

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

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

[up_sect_fiftha_val]
;Увеличен патронтаж
;------------
cost		      		= 1500
value					= +10
ammo_mag_size        	= +10 

[up_firsta_val]
scheme_index            = 0, 0
known                   = 1
;;invented                = 1                							; 0
effects                 = up_gr_firstcd_val
section                 = up_sect_firsta_val
property                = prop_reliability

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = a & b

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_a2_name
description             = st_up_auto_a2_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_1

[up_firstc_val]
scheme_index            = 1, 0
known                   = 1
effects                 = up_gr_firstef_val
section                 = up_sect_firstc_val
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_auto_c1_name
description             = st_up_auto_c1_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_2

[up_firstd_val]
scheme_index            = 1, 1
known                   = 1
effects                 = up_gr_firstef_val
section                 = up_sect_firstd_val
property                = prop_bullet_speed

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_auto_b2_name
description             = st_up_auto_b2_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_3

[up_firste_val]
scheme_index            = 2, 0
known                   = 1
effects                 =
section                 = up_sect_firste_val
property                = prop_rpm


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_auto_c3_name
description             = st_up_auto_c3_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_4

[up_firstf_val]
scheme_index            = 2, 1
known                   = 1
effects                 =
section                 = up_sect_firstf_val
property                = prop_dispersion

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_auto_c5_name
description             = st_up_auto_c5_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_5

[up_secona_val]
scheme_index            = 0, 1
known                   = 1
effects                 = up_gr_seconcd_val
section                 = up_sect_secona_val
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_pri_a1_name
description             = st_up_pri_a1_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_6

[up_seconc_val]
scheme_index            = 1, 2
known                   = 1
effects                 = up_gr_seconef_val
section                 = up_sect_seconc_val
property                = prop_inertion

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_pri_b2_name
description             = st_up_pri_b2_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_7

[up_secone_val]
scheme_index            = 2, 2
known                   = 1
effects                 =
section                 = up_sect_secone_val
property                = prop_inertion

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = a & b

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_pri_c3_name
description             = st_up_pri_c3_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_8

[up_seconf_val]
scheme_index            = 2, 3
known                   = 1
effects                 =
section                 = up_sect_seconf_val
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

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = 
name                    = st_up_pri_c1_name
description             = st_up_pri_c1_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_9


[up_thirda_val]
scheme_index            = 0, 2
known                   = 1
effects                 = up_gr_thirdcd_val
section                 = up_sect_thirda_val
property                = prop_bullet_speed

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_ret_a1_name
description             = st_up_ret_a1_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_10

[up_thirdc_val]
scheme_index            = 1, 3
known                   = 1
effects                 = up_gr_thirdef_val
section                 = up_sect_thirdc_val
property                = prop_reliability

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_ret_b1_name
description             = st_up_ret_b1_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_11


[up_thirdd_val]
scheme_index            = 1, 4
known                   = 1
effects                 = up_gr_thirdef_val
section                 = up_sect_thirdd_val
property                = prop_dispersion

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_ret_b3_name
description             = st_up_ret_b3_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_12

[up_thirde_val]
scheme_index            = 2, 4
known                   = 1
effects                 =
section                 = up_sect_thirde_val
property                = prop_rpm

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_ret_c2_name
description             = st_up_ret_c2_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_13

[up_thirdf_val]
scheme_index            = 2, 5
effects                 =
section                 = up_sect_thirdf_val
property                = prop_bullet_speed

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_ret_c1_name
description             = st_up_ret_c1_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_14

[up_fourta_val]
scheme_index            = 0, 3
effects                 = up_gr_fourtcd_val
section                 = up_sect_fourta_val
property                = prop_rpm

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


[up_fourtc_val]
scheme_index            = 1, 5
effects                 = up_gr_fourtef_val
section                 = up_sect_fourtc_val
property                = prop_reliability

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_zat_b3_name
description             = st_up_zat_b3_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_16

[up_fourte_val]
scheme_index            = 2, 6
effects                 =
section                 = up_sect_fourte_val
property                = prop_dispersion

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_zat_c5_name
description             = st_up_zat_c5_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_17


[up_fourtf_val]
scheme_index            = 2, 7
effects                 =
section                 = up_sect_fourtf_val
property                = prop_recoil

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_zat_c1_name
description             = st_up_zat_c1_descr
icon                    = ui_inGame2_upgrade_SA_Lavina_18

[up_fiftha_val]
scheme_index            = 0, 4
effects                 =
section                 = up_sect_fiftha_val
property                = prop_ammo_size 

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


[up_gr_firstab_val]
elements                = up_firsta_val

[up_gr_firstcd_val]
elements                = up_firstc_val, up_firstd_val

[up_gr_firstef_val]
elements                = up_firste_val, up_firstf_val

[up_gr_seconab_val]
elements                = up_secona_val

[up_gr_seconcd_val]
elements                = up_seconc_val

[up_gr_seconef_val]
elements                = up_secone_val, up_seconf_val

[up_gr_thirdab_val]
elements                = up_thirda_val

[up_gr_thirdcd_val]
elements                = up_thirdc_val, up_thirdd_val

[up_gr_thirdef_val]
elements                = up_thirde_val, up_thirdf_val

[up_gr_fourtab_val]
elements                = up_fourta_val

[up_gr_fourtcd_val]
elements                = up_fourtc_val

[up_gr_fourtef_val]
elements                = up_fourte_val, up_fourtf_val

[up_gr_fifthab_val]
elements                = up_fiftha_val

