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

rpm						= 40

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

cam_dispersion          = -0.15 	;0.5
cam_dispersion_inc		= -0.15		;0.5
cam_step_angle_horz		= -0.1		;0.5

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

bullet_speed		 	= 60
fire_dispersion_base	= -0.02 

[up_sect_firste_walther]
;Режим автоматической стрельбы по три выстрела
;------------------
cost		      		= 7500
;value					= +20

fire_modes		  = 1, 3
rpm               = 300

cam_dispersion          = -0.3	;0.5
cam_dispersion_inc		= -0.3		;0.5
cam_step_angle_horz		= -0.2 	;0.5

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

bullet_speed		 	= 30

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

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

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

rpm						= 80

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

bullet_speed		 	= 80


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

;увеличение дисперсии в процентах при максимальном износе
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.001
;шанс осечки при изношености больше чем misfireEndCondition
misfire_end_prob	     	= -0.01 ;0.03

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


crosshair_inertion			= -1

PDM_disp_base 				= -0.2
PDM_disp_vel_factor 		= -0.35
PDM_disp_accel_factor 		= -0.35

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

cam_dispersion          = -0.15	;0.5
cam_dispersion_inc		= -0.15		;0.5
cam_step_angle_horz		= -0.1 	;0.5

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

fire_dispersion_base	= -0.04
fire_dispersion_condition_factor    = -1

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

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


[up_firsta_walther]
scheme_index            = 0, 0
known                   = 1
;;invented                = 1                							; 0
effects                 = 
section                 = up_sect_firsta_walther
property                = prop_rpm

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_zatp_a1_name
description             = st_up_zatp_a1_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_1

;;...
[up_firstc_walther]
scheme_index            = 1, 0
known                   = 1
effects                 = 
section                 = up_sect_firstc_walther
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_zatp_b6_name
description             = st_up_zatp_b6_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_2

[up_firstd_walther]
scheme_index            = 1, 1
known                   = 1
effects                 = 
section                 = up_sect_firstd_walther
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_zatp_b8_name
description             = st_up_zatp_b8_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_3

[up_firste_walther]
scheme_index            = 2, 0
known                   = 1
effects                 =
section                 = up_sect_firste_walther
property                = prop_3xfire

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_zatp_c7_name
description             = st_up_zatp_c7_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_4



[up_secona_walther]
scheme_index            = 0, 1
known                   = 1
effects                 = 
section                 = up_sect_secona_walther
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_barp_a1_name
description             = st_up_barp_a1_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_5

[up_seconc_walther]
scheme_index            = 1, 2
known                   = 1
effects                 = 
section                 = up_sect_seconc_walther
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

; ui
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           =
name                    = st_up_barp_b1_name
description             = st_up_barp_b1_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_6

[up_secone_walther]
scheme_index            = 2, 1
known                   = 1
effects                 =
section                 = up_sect_secone_walther
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_barp_c1_name
description             = st_up_barp_c1_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_7

[up_seconf_walther]
scheme_index            = 2, 2
known                   = 1
effects                 =
section                 = up_sect_seconf_walther
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_barp_c3_name
description             = st_up_barp_c3_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_8


[up_thirda_walther]
scheme_index            = 0, 2
known                   = 1
effects                 = 
section                 = up_sect_thirda_walther
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_stvp_a1_name
description             = st_up_stvp_a1_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_9

[up_thirdc_walther]
scheme_index            = 1, 3
known                   = 1
effects                 =
section                 = up_sect_thirdc_walther
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

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           =
name                    = st_up_stvp_b5_name
description             = st_up_stvp_b5_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_10

[up_thirdd_walther]
scheme_index            = 1, 4
known                   = 1
effects                 =
section                 = up_sect_thirdd_walther
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_stvp_b3_name
description             = st_up_stvp_b3_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_11

[up_fourta_walther]
scheme_index            = 0, 3
known                   = 1
effects                 = 
section                 = up_sect_fourta_walther
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_usmp_a1_name
description             = st_up_usmp_a1_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_12


[up_fourtc_walther]
scheme_index            = 1, 5
known                   = 1
effects                 =
section                 = up_sect_fourtc_walther
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_usmp_b5_name
description             = st_up_usmp_b5_descr
icon                    = ui_inGame2_upgrade_Volker_P9M_13


[up_sect_change_components_walther]
cost 		           = 9600
condition_queue_shot_dec   = -0.0001
condition_shot_dec         = -0.0001
misfire_start_prob	   = -0.0015
misfire_end_prob	   = -0.02
fire_dispersion_base       = -0.03
fire_dispersion_condition_factor = -1
rpm                        = +50
bullet_speed		   = +150

[up_change_components_walther]
scheme_index            = 2, 3
effects                 =
section                 = up_sect_change_components_walther
property                = prop_mod_weapon
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_change_components_name
description             = st_up_change_components_descr
icon                    = ui_mod_up_instant_weapon

[up_gr_change_components_walther]
elements                = up_change_components_walther

[up_gr_firstab_walther]
elements                = up_firsta_walther
[up_gr_firstc_walther]
elements                = up_firstc_walther
[up_gr_firstd_walther]
elements                = up_firstd_walther
[up_gr_firstef_walther]
elements                = up_firste_walther
[up_gr_seconab_walther]
elements                = up_secona_walther
[up_gr_seconcd_walther]
elements                = up_seconc_walther
[up_gr_secone_walther]
elements                = up_secone_walther
[up_gr_seconf_walther]
elements                = up_seconf_walther
[up_gr_thirdab_walther]
elements                = up_thirda_walther
[up_gr_thirdc_walther]
elements                = up_thirdc_walther
[up_gr_thirdd_walther]
elements                = up_thirdd_walther
[up_gr_fourtab_walther]
elements                = up_fourta_walther
[up_gr_fourtcd_walther]
elements                = up_fourtc_walther