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

;увеличение изношености при выстреле очередью
condition_queue_shot_dec    = -0.0005 ;0.0013
;увеличение изношености при одиночном выстреле
condition_shot_dec          = -0.0005 ;0.0011

[up_sect_firstc_sniper]
;6x zoom
cost		      		= 2500

scope_zoom_factor       = -10 

[up_sect_secona_sniper]
cost                    = 5000
scope_dynamic_zoom = on

[up_sect_seconc_sniper]
;Контрастный прицел
;------------
cost                    = 3200

scope_nightvision = scope_contrast

[up_sect_second_sniper]
;ПНВ
;------------
cost                    = 5000

scope_nightvision = scope_nightvision

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

bullet_speed            = +200
fire_dispersion_base    = -0.01     ;0.15

[up_sect_thirdc_sniper]
;Тепловизор
;------------
cost                    = 5000

scope_alive_detector = scope_detector


[up_firsta_sniper]
scheme_index            = 0, 0
known                   = 1
effects                 = up_gr_firstcd_sniper
section                 = up_sect_firsta_sniper
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_stvs_a1_name
description             = st_up_stvs_a1_descr
icon                    = ui_inGame2_upgrade_SVDm2_6

[up_firstc_sniper]
scheme_index            = 1, 0
known                   = 1
effects                 =
section                 = up_sect_firstc_sniper
property                = prop_scope_6x

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_opt_a4_name
description             = st_up_opt_a4_descr
icon                    = ui_inGame2_upgrade_SVDm2_13


[up_secona_sniper]
scheme_index            = 0, 1
known                   = 1
effects                 = up_gr_seconcd1_sniper, up_gr_seconcd2_sniper
section                 = up_sect_secona_sniper
property                = prop_scope

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_opt_c3_name
description             = st_up_opt_c3_descr
icon                    = ui_inGame2_upgrade_SVUmk2_15

[up_seconc_sniper]
scheme_index            = 1, 1
known                   = 1
effects                 =
section                 = up_sect_seconc_sniper
property                = prop_contrast

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_opt_b1_name
description             = st_up_opt_b1_descr
icon                    = ui_inGame2_upgrade_SVDm2_14


[up_second_sniper]
scheme_index            = 1, 2
known                   = 1
effects                 =
section                 = up_sect_second_sniper
property                = prop_nightvision

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_opt_c2_name
description             = st_up_opt_c2_descr
icon                    = ui_inGame2_upgrade_SVDm2_15


[up_thirda_sniper]
scheme_index            = 0, 2
known                   = 1
effects                 = up_gr_thirdcd_sniper
section                 = up_sect_thirda_sniper
property                = prop_bullet_speed

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_auts_c1_name
description             = st_up_auts_c1_descr
icon                    = ui_inGame2_upgrade_SVDm2_4


[up_thirdc_sniper]
scheme_index            = 1, 3
known                   = 1
effects                 =
section                 = up_sect_thirdc_sniper
property                = prop_autolockscope

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_opt_c1_name
description             = st_up_opt_c1_descr
icon                    = ui_inGame2_upgrade_SVDm2_16


[up_gr_firstab_sniper]
elements                = up_firsta_sniper

[up_gr_firstcd_sniper]
elements                = up_firstc_sniper

[up_gr_seconab_sniper]
elements                = up_secona_sniper

[up_gr_seconcd1_sniper]
elements                = up_seconc_sniper

[up_gr_seconcd2_sniper]
elements                = up_second_sniper

[up_gr_thirdab_sniper]
elements                = up_thirda_sniper

[up_gr_thirdcd_sniper]
elements                = up_thirdc_sniper
