[up_sect_a_mp5]
cost		      		= 750
value					= +15
rpm                     = 100

misfire_probability     = 0.0001
misfire_condition_k     = 0.0001
condition_shot_dec      = 0.00001

fire_distance           = +550
bullet_speed            = +400

cam_dispersion              = -0.1	;0.1
cam_dispersion_inc          = -0.2	;0.6
cam_step_angle_horz         = -0.2	;0.6

zoom_cam_dispersion          = -0.1	;0.1
zoom_cam_dispersion_inc      = -0.4	;0.5
zoom_cam_step_angle_horz     = -0.2	;0.5

[up_sect_b_mp5]
cost		      		= 750
value					= +40
fire_dispersion_base	= -0.3 	

misfire_probability     = 0.0001
misfire_condition_k     = 0.0001
condition_shot_dec      = 0.00001

fire_distance           = +550
bullet_speed            = +400

cam_dispersion              = -0.1	;0.1
cam_dispersion_inc          = -0.2	;0.6
cam_step_angle_horz         = -0.2	;0.6

zoom_cam_dispersion          = -0.1	;0.1
zoom_cam_dispersion_inc      = -0.4	;0.5
zoom_cam_step_angle_horz     = -0.2	;0.5

[up_sect_c_mp5]
cost	      	     	= 750
value					= +10
control_inertion_factor = -0.1
inv_weight              = -0.3

[up_sect_d_mp5]
cost		      		= 750
value					= +50
bullet_speed			= 100
hit_power				= 0.6, 0.6, 0.6, 0.6

[up_sect_e_mp5]
cost		      		= 750
value					= -20

cam_dispersion              = -0.2		;1.0
cam_dispersion_inc         	= -0.1		;0.5
cam_step_angle_horz        	= -0.4		;2.0

zoom_cam_dispersion          = -0.1		;0.5
zoom_cam_dispersion_inc      = -0.1		;0.5
zoom_cam_step_angle_horz     = -0.4		;2.0

[up_sect_f_mp5]
cost		      		= 750
value					= -30
value2					= st_upgr_rpm_lowered
rpm                     = -200

cam_dispersion              = -0.3		;1.0
cam_dispersion_inc         	= -0.15		;0.5
cam_step_angle_horz        	= -0.6		;2.0

zoom_cam_dispersion          = -0.15	;0.5
zoom_cam_dispersion_inc      = -0.15	;0.5
zoom_cam_step_angle_horz     = -0.6		;2.0

[up_sect_h_mp5]
cost		      		= 750
value					= +15
ammo_mag_size           = 15

[up_sect_i_mp5]
cost		      		= 1500
value					= "9x18"
ammo_class				= ammo_9x18_fmj, ammo_9x18_pmm

[up_sect_ac_mp5]
cost		      		= 1125
value					= -20

cam_dispersion              = -0.2		;1.0
cam_dispersion_inc         	= -0.1		;0.5
cam_step_angle_horz        	= -0.4		;2.0

zoom_cam_dispersion          = -0.1		;0.5
zoom_cam_dispersion_inc      = -0.1		;0.5
zoom_cam_step_angle_horz     = -0.4		;2.0

[up_sect_bd_mp5]
cost		      		= 1125
value					= +50
bullet_speed			= 100
hit_power				= 0.7, 0.7, 0.7, 0.7

[up_a_mp5]
scheme_index            = 0, 0
known                   = 1
effects                 = up_gr_ac_mp5
section                 = up_sect_a_mp5
property                = prop_rpm

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           = money(1000), item(habar)
name                    = st_upg_zatvor_rpm
description             = st_upg_zatvor_rpm_descr
icon                    = ui_wp_upgrade_30

;;...
[up_b_mp5]
scheme_index            = 0, 1
known                   = 1
effects                 = up_gr_bd_mp5
section                 = up_sect_b_mp5
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           = money(1000), item(habar)
name                    = st_upg_zatvor_recoil
description             = st_upg_zatvor_recoil_descr
icon                    = ui_wp_upgrade_31

[up_c_mp5]
scheme_index            = 0, 2
known                   = 1
effects                 = up_gr_ac_mp5
section                 = up_sect_c_mp5
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           = money(1000), item(habar)
name                    = st_upg_barrel_weight
description             = st_upg_barrel_weight_descr
icon                    = ui_wp_upgrade_52

[up_d_mp5]
scheme_index            = 0, 3
known                   = 1
effects                 = up_gr_bd_mp5
section                 = up_sect_d_mp5
property                = prop_bullet_speed

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           = money(1000), item(habar)
name                    = st_upg_barrel_curved
description             = st_upg_barrel_curved_descr
icon                    = ui_wp_upgrade_25

[up_e_mp5]
scheme_index            = 0, 4
known                   = 1
effects                 = 
section                 = up_sect_e_mp5
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           = money(1000), item(habar)
name                    = st_upg_porsh_recoil
description             = st_upg_porsh_recoil_descr
icon                    = ui_wp_upgrade_41

[up_f_mp5]
scheme_index            = 0, 5
known                   = 1
effects                 = 
section                 = up_sect_f_mp5
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           = money(1000), item(habar)
name                    = st_upg_porsh_rpm
description             = st_upg_porsh_rpm_descr
icon                    = ui_wp_upgrade_42

[up_h_mp5]
scheme_index            = 0, 6
known                   = 1
effects                 = 
section                 = up_sect_h_mp5
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

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = money(1000), item(habar)
name                    = st_upg_charger_big
description             = st_upg_charger_big_descr
icon                    = ui_wp_upgrade_19

[up_i_mp5]
scheme_index            = 0, 7
known                   = 1
effects                 = 
section                 = up_sect_i_mp5
property                = prop_calibre

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           = money(1000), item(habar)
name                    = st_upg_calibre_9_18
description             = st_upg_calibre_9_18_descr
icon                    = ui_wp_upgrade_20


[up_ac_mp5]
scheme_index            = 1, 0
known                   = 1
effects                 = 
section                 = up_sect_ac_mp5
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           = money(1000), item(habar)
name                    = st_upg_barrel_recoil
description             = st_upg_barrel_recoil_descr
icon                    = ui_wp_upgrade_24

[up_bd_mp5]
scheme_index            = 1, 1
known                   = 1
effects                 = 
section                 = up_sect_bd_mp5
property                = prop_bullet_speed

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           = money(1000), item(habar)
name                    = st_upg_barrel_curved
description             = st_upg_barrel_curved_descr
icon                    = ui_wp_upgrade_25



[up_gr_ab_mp5]
elements                = up_a_mp5, up_b_mp5

[up_gr_cd_mp5]
elements                = up_c_mp5, up_d_mp5

[up_gr_ef_mp5]
elements                = up_e_mp5, up_f_mp5

[up_gr_h_mp5]
elements                = up_h_mp5

[up_gr_i_mp5]
elements                = up_i_mp5


[up_gr_ac_mp5]
elements                = up_ac_mp5

[up_gr_bd_mp5]
elements                = up_bd_mp5
