[up_sect_a_l85]
cost		      		= 2000
value					= +15
rpm                     = 100

[up_sect_b_l85]
cost		      		= 2000
value					= +5
fire_dispersion_base	= -0.03 ;0.8

[up_sect_c_l85]
cost		      		= 2000
value					= -30

cam_dispersion              = -0.12		;0.4
cam_dispersion_inc         	= -0.12		;0.4
cam_step_angle_horz        	= -0.6		;2.0

zoom_cam_dispersion          = -0.09	;0.3
zoom_cam_dispersion_inc      = -0.09	;0.3
zoom_cam_step_angle_horz     = -0.5		;1.5

[up_sect_d_l85]
cost		      		= 2000
value					= -50
value2					= st_upgr_rpm_lowered
rpm                     = -200

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

zoom_cam_dispersion          = -0.15	;0.3
zoom_cam_dispersion_inc      = -0.15	;0.3
zoom_cam_step_angle_horz     = -0.75	;1.5


[up_sect_e_l85]
cost		      		= 2000
grenade_launcher_status = 2
grenade_launcher_name   = wpn_addon_grenade_launcher_m203
grenade_launcher_x      = 128
grenade_launcher_y      = 28

[up_sect_f_l85]
cost		      		= 2000
value					= +50
bullet_speed			= 200
hit_power				= 1.15

[up_sect_g_l85]
cost					= 2000
value					= "x1.6"
scope_zoom_factor       = 10 	;30 

[up_sect_h_l85]
cost					= 2000
value					= "x4"
scope_zoom_factor       = -15 	;30

[up_sect_i_l85]
cost		      		= 2000
value					= +15
ammo_mag_size           = 15

[up_sect_j_l85]
cost		      		= 2000
value					= "5.45x39"
ammo_class          	= ammo_5.45x39_fmj, ammo_5.45x39_ap

[up_sect_ac_l85]
cost		      		= 3000
value					= +25
rpm						= 150

[up_sect_bd_l85]
cost		      		= 3000
value					= +50
bullet_speed			= 200
hit_power				= 1.2

[up_sect_eg_l85]
cost		      		= 3000
value					= -20

cam_dispersion              = -0.08		;0.4
cam_dispersion_inc         	= -0.08		;0.4
cam_step_angle_horz        	= -0.4		;2.0

zoom_cam_dispersion          = -0.06	;0.3
zoom_cam_dispersion_inc      = -0.06	;0.3
zoom_cam_step_angle_horz     = -0.3		;1.5

[up_sect_fh_l85]
cost		      		= 3000
value					= +7
fire_dispersion_base	= -0.03 ;0.8

[up_sect_aceg_l85]
cost		      		= 5000
value					= +50
rpm						= 300

[up_sect_bdfh_l85]
cost		      		= 5000
value					= +10
fire_dispersion_base    = -0.04 ;0.8

[up_a_l85]
scheme_index            = 0, 0
known                   = 1
effects                 = up_gr_ac_l85
section                 = up_sect_a_l85
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           = money(1000), item(habar)
name                    = st_upg_zatvor_rpm
description             = st_upg_zatvor_rpm_descr
icon                    = ui_wp_upgrade_30

;;...
[up_b_l85]
scheme_index            = 0, 1
known                   = 1
effects                 = up_gr_bd_l85
section                 = up_sect_b_l85
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

; 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_l85]
scheme_index            = 0, 2
known                   = 1
effects                 = up_gr_ac_l85
section                 = up_sect_c_l85
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           = money(1000), item(habar)
name                    = st_upg_porsh_recoil
description             = st_upg_porsh_recoil_descr
icon                    = ui_wp_upgrade_41

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

[up_e_l85]
scheme_index            = 0, 4
known                   = 1
effects                 = up_gr_eg_l85
section                 = up_sect_e_l85
property                = prop_underbarrel_slot

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_bind_grenade
description             = st_upg_bind_grenade_descr
icon                    = ui_wp_upgrade_35

[up_f_l85]
scheme_index            = 0, 5
known                   = 1
effects                 = up_gr_fh_l85
section                 = up_sect_f_l85
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           = money(1000), item(habar)
name                    = st_upg_barrel_curved
description             = st_upg_barrel_curved_descr
icon                    = ui_wp_upgrade_25

[up_g_l85]
scheme_index            = 0, 6
known                   = 1
effects                 = up_gr_eg_l85
section                 = up_sect_g_l85
property                = prop_scope_1.6x

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_scope_1_6x_opt
description             = st_upg_scope_1_6x_opt_descr
icon                    = ui_wp_upgrade_29

[up_h_l85]
scheme_index            = 0, 7
known                   = 1
effects                 = up_gr_fh_l85
section                 = up_sect_h_l85
property                = prop_scope_4x

precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = a & b

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here_h

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_scope_4x_opt
description             = st_upg_scope_4x_opt_descr
icon                    = ui_wp_upgrade_28

[up_i_l85]
scheme_index            = 0, 8
known                   = 1
effects                 = 
section                 = up_sect_i_l85
property                = prop_ammo_size

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           = money(1000), item(habar)
name                    = st_upg_charger_big
description             = st_upg_charger_big_descr
icon                    = ui_wp_upgrade_19

[up_j_l85]
scheme_index            = 1, 4
known                   = 1
effects                 = 
section                 = up_sect_j_l85
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

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_5_45
description             = st_upg_calibre_5_45_descr
icon                    = ui_wp_upgrade_21


[up_ac_l85]
scheme_index            = 1, 0
known                   = 1
effects                 = up_gr_aceg_l85
section                 = up_sect_ac_l85
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           = money(1000), item(habar)
name                    = st_upg_auto_rpm
description             = st_upg_auto_rpm_descr
icon                    = ui_wp_upgrade_38

[up_bd_l85]
scheme_index            = 1, 1
known                   = 1
effects                 = up_gr_bdfh_l85
section                 = up_sect_bd_l85
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           = money(1000), item(habar)
name                    = st_upg_hard_barrel_curved
description             = st_upg_hard_barrel_curved_descr
icon                    = ui_wp_upgrade_23

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

[up_fh_l85]
scheme_index            = 1, 3
known                   = 1
effects                 = up_gr_bdfh_l85
section                 = up_sect_fh_l85
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           = money(1000), item(habar)
name                    = st_upg_electro_accur
description             = st_upg_electro_accur_descr
icon                    = ui_wp_upgrade_34

[up_aceg_l85]
scheme_index            = 2, 0
known                   = 1
effects                 =
section                 = up_sect_aceg_l85
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           = money(1000), item(habar)
name                    = st_upg_barrel_rpm
description             = st_upg_barrel_rpm_descr
icon                    = ui_wp_upgrade_27

[up_bdfh_l85]
scheme_index            = 2, 1
known                   = 1
effects                 =
section                 = up_sect_bdfh_l85
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           = money(1000), item(habar)
name                    = st_upg_trigger_accur
description             = st_upg_trigger_accur_descr
icon                    = ui_wp_upgrade_33


[up_gr_ab_l85]
elements                = up_a_l85, up_b_l85

[up_gr_cd_l85]
elements                = up_c_l85, up_d_l85

[up_gr_ef_l85]
elements                = up_e_l85, up_f_l85

[up_gr_gh_l85]
elements                = up_g_l85, up_h_l85

[up_gr_i_l85]
elements                = up_i_l85

[up_gr_j_l85]
elements                = up_j_l85


[up_gr_ac_l85]
elements                = up_ac_l85

[up_gr_bd_l85]
elements                = up_bd_l85

[up_gr_eg_l85]
elements                = up_eg_l85

[up_gr_fh_l85]
elements                = up_fh_l85

[up_gr_aceg_l85]
elements                = up_aceg_l85

[up_gr_bdfh_l85]
elements                = up_bdfh_l85
