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

;увеличение дисперсии в процентах при максимальном износе
fire_dispersion_condition_factor    = -1 ;15
;шанс осечки при изношености больше чем misfireStartCondition
misfire_start_prob	     	= -0.0004
;шанс осечки при изношености больше чем misfireEndCondition
misfire_end_prob	     	= -0.005 ;0.03

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

cam_dispersion              = -0.04	;0.7
cam_dispersion_inc         	= -0.03		;0.7
cam_step_angle_horz        	= -0.2	;0.7
cam_max_angle               = -1.0   

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

bullet_speed            = +100
fire_dispersion_base	= -0.02 ;0.7
hit_impulse             = +30

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

rpm                     = +150

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

cam_dispersion              = -0.02		;0.7
cam_dispersion_inc         	= -0.01		;0.7
cam_step_angle_horz        	= -0.1	;0.7

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

cam_dispersion              = -0.04		;0.7
cam_dispersion_inc         	= -0.03		;0.7
cam_step_angle_horz        	= -0.2	;0.7
cam_max_angle               = -1.0   

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

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

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

rpm						= +150

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

;увеличение дисперсии в процентах при максимальном износе
fire_dispersion_condition_factor    = -1 ;15
;шанс осечки при изношености больше чем misfireStartCondition
misfire_start_prob	     	= -0.0004
;шанс осечки при изношености больше чем misfireEndCondition
misfire_end_prob	     	= -0.005 ;0.03

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

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

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

rpm						= +100


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

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

[up_sect_fourta_pkm]
;Точность(1)10%
;---------------
cost		      		= 3000
value					= +10

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

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

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

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

cam_dispersion              = -0.07		;0.7
cam_dispersion_inc         	= -0.05		;0.7
cam_step_angle_horz        	= -0.4	;0.7
cam_max_angle               = -2.0   

[up_sect_fiftha_pkm]
;Увеличенный объем ленточной коробки
;---------------
cost		      		= 8000
value					= +100

ammo_mag_size           = 100

[up_firsta_pkm]
scheme_index            = 0, 0
known                   = 1
effects                 = up_gr_firstcd_pkm
section                 = up_sect_firsta_pkm
property                = prop_reliability

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_zath_a1_name
description             = st_up_zath_a1_descr
icon                    = ui_inGame2_upgrade_RP74_1

;;...
[up_firstc_pkm]
scheme_index            = 1, 0
known                   = 1
effects                 = up_gr_firstef_pkm
section                 = up_sect_firstc_pkm
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_zath_b2_name
description             = st_up_zath_b2_descr
icon                    = ui_inGame2_upgrade_RP74_2

[up_firstd_pkm]
scheme_index            = 1, 1
known                   = 1
effects                 = up_gr_firstef_pkm
section                 = up_sect_firstd_pkm
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_zath_b1_name
description             = st_up_zath_b1_descr
icon                    = ui_inGame2_upgrade_RP74_3

[up_firste_pkm]
scheme_index            = 2, 0
known                   = 1
effects                 =
section                 = up_sect_firste_pkm
property                = prop_rpm

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_zath_c1_name
description             = st_up_zath_c1_descr
icon                    = ui_inGame2_upgrade_RP74_4

[up_secona_pkm]
scheme_index            = 0, 1
known                   = 1
effects                 = up_gr_seconcd_pkm
section                 = up_sect_secona_pkm
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_auth_a1_name
description             = st_up_auth_a1_descr
icon                    = ui_inGame2_upgrade_RP74_5

[up_seconc_pkm]
scheme_index            = 1, 2
known                   = 1
effects                 = up_gr_seconef_pkm
section                 = up_sect_seconc_pkm
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_auth_b1_name
description             = st_up_auth_b1_descr
icon                    = ui_inGame2_upgrade_RP74_6

[up_secone_pkm]
scheme_index            = 2, 1
known                   = 1
effects                 =
section                 = up_sect_secone_pkm
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_auth_c2_name
description             = st_up_auth_c2_descr
icon                    = ui_inGame2_upgrade_RP74_7

[up_seconf_pkm]
scheme_index            = 2, 2
known                   = 1
effects                 =
section                 = up_sect_seconf_pkm
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_auth_c1_name
description             = st_up_auth_c1_descr
icon                    = ui_inGame2_upgrade_RP74_8

[up_thirda_pkm]
scheme_index            = 0, 2
known                   = 1
effects                 = up_gr_thirdcd_pkm
section                 = up_sect_thirda_pkm
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_stvh_b1_name
description             = st_up_stvh_b1_descr
icon                    = ui_inGame2_upgrade_RP74_1

[up_thirdc_pkm]
scheme_index            = 1, 3
known                   = 1
effects                 = up_gr_thirdef_pkm
section                 = up_sect_thirdc_pkm
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_stvh_b2_name
description             = st_up_stvh_b2_descr
icon                    = ui_inGame2_upgrade_RP74_10



[up_thirdd_pkm]
scheme_index            = 1, 4
known                   = 1
effects                 = up_gr_thirdef_pkm
section                 = up_sect_thirdd_pkm
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_stvh_a1_name
description             = st_up_stvh_a1_descr
icon                    = ui_inGame2_upgrade_RP74_11


[up_thirde_pkm]
scheme_index            = 2, 3
known                   = 1
effects                 =
section                 = up_sect_thirde_pkm
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_stvh_c1_name
description             = st_up_stvh_c1_descr
icon                    = ui_inGame2_upgrade_RP74_12


[up_fourta_pkm]
scheme_index            = 0, 3
known                   = 1
effects                 = up_gr_fourtcd_pkm
section                 = up_sect_fourta_pkm
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_prih_a1_name
description             = st_up_prih_a1_descr
icon                    = ui_inGame2_upgrade_RP74_13

[up_fourtc_pkm]
scheme_index            = 1, 5
known                   = 1
effects                 = up_gr_fourtef_pkm
section                 = up_sect_fourtc_pkm
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_prih_b1_name
description             = st_up_prih_b1_descr
icon                    = ui_inGame2_upgrade_RP74_14

[up_fourte_pkm]
scheme_index            = 2, 4
known                   = 1
effects                 =
section                 = up_sect_fourte_pkm
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_prih_c1_name
description             = st_up_prih_c1_descr
icon                    = ui_inGame2_upgrade_RP74_15


[up_fiftha_pkm]
scheme_index            = 0, 4
known                   = 1
effects                 =
section                 = up_sect_fiftha_pkm
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_addh_a1_name
description             = st_up_addh_a1_descr
icon                    = ui_inGame2_upgrade_RP74_16


[up_gr_firstab_pkm]
elements                = up_firsta_pkm

[up_gr_firstcd_pkm]
elements                = up_firstc_pkm, up_firstd_pkm

[up_gr_firstef_pkm]
elements                = up_firste_pkm

[up_gr_seconab_pkm]
elements                = up_secona_pkm

[up_gr_seconcd_pkm]
elements                = up_seconc_pkm

[up_gr_seconef_pkm]
elements                = up_secone_pkm, up_seconf_pkm

[up_gr_thirdab_pkm]
elements                = up_thirda_pkm

[up_gr_thirdcd_pkm]
elements                = up_thirdc_pkm, up_thirdd_pkm

[up_gr_thirdef_pkm]
elements                = up_thirde_pkm

[up_gr_fourtab_pkm]
elements                = up_fourta_pkm

[up_gr_fourtcd_pkm]
elements                = up_fourtc_pkm

[up_gr_fourtef_pkm]
elements                = up_fourte_pkm

[up_gr_fifthab_pkm]
elements                = up_fiftha_pkm