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

rpm						= 35

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

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

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

cam_dispersion         		= -0.2		;0.5
cam_dispersion_inc			= -0.2		;0.5
cam_step_angle_horz			= -0.15;    ;1.0

zoom_cam_dispersion         = -0.05
zoom_cam_dispersion_inc     = -0.2
zoom_cam_step_angle_horz    = -0.3

[up_sect_firste_beretta]
;Режим полностью автоматического огня
;---------------
cost		      		= 5700
;value					= +20

fire_modes		  = 1, -1

rpm               = 300

cam_dispersion         		= -0.3		;0.5
cam_dispersion_inc			= -0.3		;0.5
cam_step_angle_horz			= -0.1;    ;1.0

zoom_cam_dispersion         = -0.05
zoom_cam_dispersion_inc     = -0.15
zoom_cam_step_angle_horz    = -0.5

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

rpm						= 35

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

bullet_speed		 	= +50
fire_dispersion_base	= -0.01 

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

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

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

rpm						= 65

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

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

[up_sect_thirdc_beretta]
;Удобство(2)15%
;--------------
cost		      		= 1300
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_beretta]
;Отдача(2)-20%
;------------
cost		      		= 1800
value					= -20

cam_dispersion         		= -0.2		;0.5
cam_dispersion_inc			= -0.2		;0.5
cam_step_angle_horz			= -0.15;    ;1.0

zoom_cam_dispersion         = -0.05
zoom_cam_dispersion_inc     = -0.2
zoom_cam_step_angle_horz    = -0.3

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

fire_dispersion_base	= -0.04
fire_dispersion_condition_factor  = -1

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

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


[up_sect_fifthc_beretta]
;Смена калибра на 9х18
;---------------
cost		      		= 4500
value					= "9x18"

ammo_class		 		= ammo_9x18_fmj, ammo_9x18_pmm, ammo_9x18_hpm

;увеличение изношености при выстреле очередью
condition_queue_shot_dec	= 0.0001 ;0.0013
;увеличение изношености при одиночном выстреле
condition_shot_dec      	= 0.0001 ;0.0011
;шанс осечки при изношености больше чем misfireStartCondition
misfire_start_prob	     	= 0.0008
;шанс осечки при изношености больше чем misfireEndCondition
misfire_end_prob	     	= 0.008 ;0.03

[up_firsta_beretta]
scheme_index            = 0, 0
known                   = 1
;;invented                = 1                							; 0
effects                 = 
section                 = up_sect_firsta_beretta
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_Marta_1

;;...
[up_firstc_beretta]
scheme_index            = 1, 0
known                   = 1
effects                 = 
section                 = up_sect_firstc_beretta
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_zatp_b5_name
description             = st_up_zatp_b5_descr
icon                    = ui_inGame2_upgrade_Marta_2

[up_firstd_beretta]
scheme_index            = 1, 1
known                   = 1
effects                 = 
section                 = up_sect_firstd_beretta
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_zatp_b7_name
description             = st_up_zatp_b7_descr
icon                    = ui_inGame2_upgrade_Marta_3

[up_firste_beretta]
scheme_index            = 2, 0
known                   = 1
effects                 =
section                 = up_sect_firste_beretta
property                = prop_autofire

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_c6_name
description             = st_up_zatp_c6_descr
icon                    = ui_inGame2_upgrade_Marta_4



[up_secona_beretta]
scheme_index            = 0, 1
known                   = 1
effects                 = 
section                 = up_sect_secona_beretta
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_barp_a3_name
description             = st_up_barp_a3_descr
icon                    = ui_inGame2_upgrade_Marta_5

[up_seconc_beretta]
scheme_index            = 1, 2
known                   = 1
effects                 = 
section                 = up_sect_seconc_beretta
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_b4_name
description             = st_up_barp_b4_descr
icon                    = ui_inGame2_upgrade_Marta_6

[up_second_beretta]
scheme_index            = 1, 3
known                   = 1
effects                 = 
section                 = up_sect_second_beretta
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_Marta_7


[up_secone_beretta]
scheme_index            = 2, 1
known                   = 1
effects                 =
section                 = up_sect_secone_beretta
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_Marta_8


[up_thirda_beretta]
scheme_index            = 0, 2
known                   = 1
effects                 = 
section                 = up_sect_thirda_beretta
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_a2_name
description             = st_up_stvp_a2_descr
icon                    = ui_inGame2_upgrade_Marta_9

[up_thirdc_beretta]
scheme_index            = 1, 4
known                   = 1
effects                 =
section                 = up_sect_thirdc_beretta
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_Marta_10

[up_thirdd_beretta]
scheme_index            = 1, 5
known                   = 1
effects                 =
section                 = up_sect_thirdd_beretta
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_Marta_11

[up_fourta_beretta]
scheme_index            = 0, 3
known                   = 1
effects                 = 
section                 = up_sect_fourta_beretta
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_b1_name
description             = st_up_usmp_b1_descr
icon                    = ui_inGame2_upgrade_Marta_12


[up_fourtc_beretta]
scheme_index            = 1, 6
known                   = 1
effects                 =
section                 = up_sect_fourtc_beretta
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_b4_name
description             = st_up_usmp_b4_descr
icon                    = ui_inGame2_upgrade_Marta_13


[up_fifthc_beretta]
scheme_index            = 1, 7
known                   = 1
effects                 =
section                 = up_sect_fifthc_beretta
property                = prop_calibre


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_add_b3_name
description             = st_up_add_b3_descr
icon                    = ui_inGame2_upgrade_Marta_15

[up_sect_change_components_beretta]
cost 		           = 20000
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.02
fire_dispersion_condition_factor = -1
rpm                        = +25
bullet_speed		   = +150
ammo_mag_size	           = +2

[up_change_components_beretta]
scheme_index            = 2, 2
effects                 =
section                 = up_sect_change_components_beretta
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_beretta]
elements                = up_change_components_beretta

[up_gr_firstab_beretta]
elements                = up_firsta_beretta
[up_gr_firstc_beretta]
elements                = up_firstc_beretta
[up_gr_firstd_beretta]
elements                = up_firstd_beretta
[up_gr_firstef_beretta]
elements                = up_firste_beretta
[up_gr_seconab_beretta]
elements                = up_secona_beretta
[up_gr_seconc_beretta]
elements                = up_seconc_beretta
[up_gr_second_beretta]
elements                = up_second_beretta
[up_gr_seconef_beretta]
elements                = up_secone_beretta
[up_gr_thirdab_beretta]
elements                = up_thirda_beretta
[up_gr_thirdc_beretta]
elements                = up_thirdc_beretta
[up_gr_thirdd_beretta]
elements                = up_thirdd_beretta
[up_gr_fourtab_beretta]
elements                = up_fourta_beretta
[up_gr_fourtcd_beretta]
elements                = up_fourtc_beretta
[up_gr_fifthcd_beretta]
elements                = up_fifthc_beretta
