[up_sect_a_ak74u]
cost		      		= 903
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_ak74u]
cost		      		= 903
value					= +20
fire_dispersion_base	= -0.2 	;1

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_ak74u]
cost	      	     	= 903
inv_weight              = +15
control_inertion_factor = -0.1
inv_weight              = -0.3
PDM_disp_vel_factor 	= -0.3 ;1.3
PDM_disp_accel_factor 	= -0.3 ;1.3

[up_sect_d_ak74u]
cost		      		= 903
value					= +50
bullet_speed			= 200
hit_power				= 0.6, 0.6, 0.6, 0.6

[up_sect_e_ak74u]
cost		      		= 903
value					= -30

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

zoom_cam_dispersion          = -0.15	;0.5
zoom_cam_dispersion_inc      = -0.15	;0.5
zoom_cam_step_angle_horz     = -0.3 	;1.0


[up_sect_f_ak74u]
cost		      		= 903
value					= -50
value2					= st_upgr_rpm_lowered
rpm                     = -200

cam_dispersion              = -0.25		;0.5
cam_dispersion_inc         	= -0.25		;0.5
cam_step_angle_horz        	= -0.75		;1.5

zoom_cam_dispersion          = -0.25	;0.5
zoom_cam_dispersion_inc      = -0.25	;0.5
zoom_cam_step_angle_horz     = -0.5		;1.0

[up_sect_i_ak74u]
cost		      		= 903
value					= +15
ammo_mag_size           = 15

[up_sect_ac_ak74u]
cost		      		= 1355
value					= +25
rpm						= 150

[up_sect_bd_ak74u]
cost		      		= 1355
value					= +50
bullet_speed			= 200
hit_power				= 0.7, 0.7, 0.7, 0.7

[up_a_ak74u]
scheme_index            = 0, 0
known                   = 1
effects                 = up_gr_ac_ak74u
section                 = up_sect_a_ak74u
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           = up_a_ak74u
name                    = st_upg_zatvor_rpm
description             = st_upg_zatvor_rpm_descr
icon                    = ui_wp_upgrade_30

;;...
[up_b_ak74u]
scheme_index            = 0, 1
known                   = 1
effects                 = up_gr_bd_ak74u
section                 = up_sect_b_ak74u
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           = up_b_ak74u
name                    = st_upg_zatvor_recoil
description             = st_upg_zatvor_recoil_descr
icon                    = ui_wp_upgrade_31

[up_c_ak74u]
scheme_index            = 0, 2
known                   = 1
effects                 = up_gr_ac_ak74u
section                 = up_sect_c_ak74u
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_ak74u]
scheme_index            = 0, 3
known                   = 1
effects                 = up_gr_bd_ak74u
section                 = up_sect_d_ak74u
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_ak74u]
scheme_index            = 0, 4
known                   = 1
effects                 = 
section                 = up_sect_e_ak74u
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           = up_c_ak74u
name                    = st_upg_porsh_recoil
description             = st_upg_porsh_recoil_descr
icon                    = ui_wp_upgrade_41

[up_f_ak74u]
scheme_index            = 0, 5
known                   = 1
effects                 = 
section                 = up_sect_f_ak74u
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           = up_d_ak74u
name                    = st_upg_porsh_rpm
description             = st_upg_porsh_rpm_descr
icon                    = ui_wp_upgrade_42

[up_i_ak74u]
scheme_index            = 0, 6
known                   = 1
effects                 = 
section                 = up_sect_i_ak74u
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           = up_i_ak74u
name                    = st_upg_charger_big
description             = st_upg_charger_big_descr
icon                    = ui_wp_upgrade_19

[up_ac_ak74u]
scheme_index            = 1, 0
known                   = 1
effects                 = 
section                 = up_sect_ac_ak74u
property                = prop_rpm

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           = up_ac_ak74u
name                    = st_upg_auto_rpm
description             = st_upg_auto_rpm_descr
icon                    = ui_wp_upgrade_38

[up_bd_ak74u]
scheme_index            = 1, 1
known                   = 1
effects                 = 
section                 = up_sect_bd_ak74u
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

; ui
prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           = up_bd_ak74u
name                    = st_upg_barrel_curved
description             = st_upg_barrel_curved_descr
icon                    = ui_wp_upgrade_25


[up_gr_ab_ak74u]
elements                = up_a_ak74u, up_b_ak74u

[up_gr_cd_ak74u]
elements                = up_c_ak74u, up_d_ak74u

[up_gr_ef_ak74u]
elements                = up_e_ak74u, up_f_ak74u

[up_gr_i_ak74u]
elements                = up_i_ak74u

[up_gr_ac_ak74u]
elements                = up_ac_ak74u

[up_gr_bd_ak74u]
elements                = up_bd_ak74u
