#include "ars_notrade_lits.ltx"

;СЫЧ

[trader]
buy_condition =  {+zat_b22_medic_respawn} buy_tier_2, trade_generic_buy
sell_condition = {+zat_b22_medic_respawn} sell_tier_2, trade_generic_sell

buy_supplies = {+jup_a9_tech_way_info =is_faction_friend_to_actor(stalker) +zat_b30_sultan_loose =wealthy_functor} sci_supplies_stalker_wealthy_tier_2, {=is_faction_friend_to_actor(stalker) +zat_b30_sultan_loose =wealthy_functor} supplies_stalker_wealthy_tier_2, {+jup_a9_tech_way_info =is_faction_friend_to_actor(bandit) +zat_b30_barmen_under_sultan =wealthy_functor} sci_supplies_bandit_wealthy_tier_2, {=is_faction_friend_to_actor(bandit) +zat_b30_barmen_under_sultan =wealthy_functor} supplies_bandit_wealthy_tier_2, {+jup_a9_tech_way_info =is_faction_friend_to_actor(stalker) +zat_b30_sultan_loose} sci_supplies_stalker_tier_2, {=is_faction_friend_to_actor(stalker) +zat_b30_sultan_loose} supplies_stalker_tier_2, {+jup_a9_tech_way_info =is_faction_friend_to_actor(bandit) +zat_b30_barmen_under_sultan} sci_supplies_bandit_tier_2, {=is_faction_friend_to_actor(bandit) +zat_b30_barmen_under_sultan} supplies_bandit_tier_2, {+jup_a9_tech_way_info =is_faction_friend_to_actor(stalker) =is_faction_friend_to_actor(bandit)} sci_supplies_stalker_bandit_tier, {=is_faction_friend_to_actor(stalker) =is_faction_friend_to_actor(bandit)} supplies_stalker_bandit_tier, {+jup_a9_tech_way_info =is_faction_friend_to_actor(stalker)} sci_supplies_stalker_tier_1, {=is_faction_friend_to_actor(stalker)} supplies_stalker_tier_1, {+jup_a9_tech_way_info =is_faction_friend_to_actor(bandit)} sci_supplies_bandit_tier_1, {=is_faction_friend_to_actor(bandit)} supplies_bandit_tier_1, {+jup_a9_tech_way_info} sci_supplies_generic, supplies_generic

discounts = {+zat_b7_actor_really_helped_bandits +zat_b30_barmen_under_sultan =information_dealer_functor} discount_3, {+zat_b7_actor_really_helped_stalkers +zat_b30_sultan_loose =information_dealer_functor} discount_3, {+zat_b7_actor_really_helped_stalkers +zat_b30_sultan_loose} discount_1, {+zat_b30_barmen_under_sultan +zat_b7_actor_really_helped_bandits} discount_1, {=information_dealer_functor} discount_2

buy_item_condition_factor = 0.8

[discount_1]
buy =  1
sell = 0.90

[discount_2]
buy =  1
sell = 0.85

[discount_3]
buy =  1
sell = 0.80


;----------------------------------------------------------------------------------------------------
/// В этих секциях задается цена и ее разброс 
/// ammo_5.45x39_fmj = 1, 3 
/// Так торговец продаст патроны и цена может быть от 100% до 300%( рандомно ) 
/// Если поставить так: 
/// ammo_5.45x39_fmj = 10, 10 
/// То разброса цен не будет и цена составляет 1000%, т.е в 10 раз больше реальной цены. 
;----------------------------------------------------------------------------------------------------

[trade_generic_buy]:ars_notrade_list

;Аммуниция
ammo_9x18_fmj			= 0.4, 0.2
ammo_9x18_pmm			= 0.4, 0.2
ammo_9x19_pbp			= 0.4, 0.2
ammo_9x19_fmj			= 0.4, 0.2
ammo_11.43x23_hydro		= 0.4, 0.2
ammo_11.43x23_fmj		= 0.4, 0.2
ammo_12x70_buck			= 0.4, 0.2
ammo_12x76_zhekan		= 0.4, 0.2
ammo_5.45x39_ap			= 0.4, 0.2
ammo_5.45x39_fmj		= 0.4, 0.2
ammo_5.56x45_ss190		= 0.4, 0.2
ammo_5.56x45_ap			= 0.4, 0.2
grenade_f1				= 0.4, 0.2
grenade_rgd5			= 0.4, 0.2
grenade_light           = 0.4, 0.2

;Оружие
wpn_pm					= 0.2,	0.15
wpn_pb					= 0.2,	0.15
wpn_fort				= 0.25,	0.2
wpn_hpsa				= 0.25,	0.2
wpn_beretta				= 0.25,	0.2
wpn_walther				= 0.25,	0.2
wpn_sig220				= 0.25,	0.2
wpn_colt1911			= 0.25,	0.2
wpn_usp					= 0.25,	0.2
wpn_desert_eagle		= 0.25,	0.2
wpn_bm16				= 0.25,	0.2
wpn_toz34				= 0.25,	0.2
wpn_wincheaster1300		= 0.25,	0.2
wpn_spas12				= 0.25,	0.2
wpn_protecta			= 0.25,	0.2
wpn_ak74u				= 0.25,	0.2
wpn_mp5					= 0.25,	0.2
wpn_ak74				= 0.25,	0.2
wpn_abakan				= 0.25,	0.2
wpn_l85					= 0.25,	0.2
wpn_lr300				= 0.25,	0.2
wpn_sig550				= 0.25,	0.2
wpn_groza				= 0.25,	0.2
wpn_val					= 0.25,	0.2
wpn_vintorez			= 0.25,	0.2
wpn_svu					= 0.25,	0.2
wpn_svd					= 0.25,	0.2
wpn_rg-6				= 0.25,	0.2
wpn_rpg7				= 0.25,	0.2
wpn_g36					= 0.25,	0.2
wpn_fn2000				= 0.25,	0.2
wpn_pkm					= 0.25,	0.2

;Броники
novice_outfit						= 0.1, 0.05
specops_outfit						= 0.1, 0.05
specops_outfit_2					= 0.1, 0.05
military_outfit						= 0.1, 0.05
stalker_outfit						= 0.1, 0.05
scientific_outfit					= 0.1, 0.05
exo_outfit							= 0.1, 0.05
svoboda_light_outfit				= 0.1, 0.05
svoboda_heavy_outfit				= 0.1, 0.05
cs_heavy_outfit						= 0.1, 0.05
dolg_outfit							= 0.1, 0.05
dolg_heavy_outfit					= 0.1, 0.05
bandit_outfit						= 0.1, 0.05
bandit_blackrain_outfit				= 0.1, 0.05
bandit_brownrain_outfit				= 0.1, 0.05
bandit_light_outfit					= 0.1, 0.05
merc_outfit							= 0.1, 0.05
monolith_outfit						= 0.1, 0.05
soldier_outfit						= 0.1, 0.05
svoboda_outfit						= 0.1, 0.05
dolg_scientific_outfit				= 0.1, 0.05
monolith_scientific_outfit 			= 0.1, 0.05
neutral_assault_outfit				= 0.1, 0.05
monolith_assault_outfit				= 0.1, 0.05
monolith_exo_outfit					= 0.1, 0.05
svoboda_exo_outfit					= 0.1, 0.05
dolg_exo_outfit						= 0.1, 0.05
merc_exo_outfit						= 0.1, 0.05
ecolog_outfit						= 0.1, 0.05

;Шлемы
helm_respirator						= 0.08, 0.05
helm_respirator_gp7                 = 0.08, 0.05
helm_hardhat						= 0.08, 0.05
helm_protective						= 0.08, 0.05
helm_tactic							= 0.08, 0.05
helm_battle							= 0.08, 0.05
helm_battle_dolg                    = 0.08, 0.05

;Предметы
detector_simple						= 0.15, 0.1
detector_advanced					= 0.3, 0.15
detector_elite						= 0.4, 0.2
detector_scientific					= 0.5, 0.3

;Части монстров
mutant_dog_tail						= 0.8, 0.4
mutant_psevdodog_tail   			= 0.8, 0.4

;Уникальные предметы
wpn_pm_actor						= 0.5, 0.2
wpn_sig550_luckygun 				= 0.5, 0.2
wpn_pkm_zulus						= 0.5, 0.2
wpn_wincheaster1300_trapper 		= 0.5, 0.2
wpn_desert_eagle_nimble 			= 0.5, 0.2
wpn_groza_nimble					= 0.5, 0.2
wpn_mp5_nimble 						= 0.5, 0.2
wpn_sig220_nimble					= 0.5, 0.2
wpn_spas12_nimble 					= 0.5, 0.2
wpn_svd_nimble 						= 0.5, 0.2
wpn_svu_nimble 						= 0.5, 0.2
wpn_usp_nimble 						= 0.5, 0.2
wpn_vintorez_nimble 				= 0.5, 0.2
wpn_g36_nimble						= 0.5, 0.2
wpn_fn2000_nimble 					= 0.5, 0.2
wpn_protecta_nimble 				= 0.5, 0.2
stalker_outfit_barge 				= 0.5, 0.3
stalker_medic_outfit                = 0.5, 0.3
helm_respirator_joker 				= 0.5, 0.3
helm_hardhat_snag 					= 0.5, 0.3
wpn_ak74u_snag  					= 0.5, 0.2
wpn_fort_snag  						= 0.5, 0.2

[buy_tier_2]:trade_generic_buy


;----------------------------------------------------------------------------------------------------
/// В этих секциях задается цена и ее разброс 
/// ammo_5.45x39_fmj = 1, 3 
/// Так торговец продаст патроны и цена может быть от 100% до 300%( рандомно ) 
/// Если поставить так: 
/// ammo_5.45x39_fmj = 10, 10 
/// То разброса цен не будет и цена составляет 1000%, т.е в 10 раз больше реальной цены. 
;----------------------------------------------------------------------------------------------------

[trade_generic_sell]:ars_notrade_list
;Аммуниция
ammo_9x18_fmj			= 1.2, 2
ammo_9x18_pmm			= 1.2, 2
ammo_9x19_pbp			= 1.2, 2
ammo_9x19_fmj			= 1.2, 2
ammo_11.43x23_hydro		= 1.2, 2
ammo_11.43x23_fmj		= 1.2, 2
ammo_12x70_buck			= 1.2, 2
ammo_12x76_zhekan		= 1.2, 2
ammo_5.45x39_ap			= 1.2, 2
ammo_5.45x39_fmj		= 1.2, 2
ammo_9x39_ap			= 1.2, 2
ammo_9x39_pab9			= 1.2, 2
ammo_5.56x45_ss190		= 1.2, 2
ammo_5.56x45_ap			= 1.2, 2
ammo_7.62x54_7h1		= 1.2, 2
ammo_og-7b				= 1.2, 2
ammo_vog-25				= 1.2, 2
grenade_f1				= 1.2, 2
grenade_rgd5			= 1.2, 2
grenade_light           = 1.2, 2
ammo_m209				= 1.2, 2

;Оружие
wpn_pm					= 1, 2
wpn_pb					= 1, 2
wpn_fort				= 1, 2
wpn_hpsa				= 1, 2
wpn_beretta				= 1, 2
wpn_walther				= 1, 2
wpn_sig220				= 1, 2
wpn_colt1911			= 1, 2
wpn_usp					= 1, 2
wpn_desert_eagle		= 1, 2
wpn_bm16				= 1, 2
wpn_toz34				= 1, 2
wpn_wincheaster1300		= 1, 2
wpn_spas12				= 1, 2
wpn_ak74u				= 1, 2
wpn_mp5					= 1, 2
wpn_ak74				= 1, 2
wpn_abakan				= 1, 2
wpn_l85					= 1, 2
wpn_lr300				= 1, 2
wpn_sig550				= 1, 2
wpn_protecta			= 1, 2
wpn_groza				= 1, 2
wpn_val					= 1, 2
wpn_vintorez			= 1, 2
wpn_svu					= 1, 2
wpn_svd					= 1, 2
wpn_rg-6				= 1, 2
wpn_rpg7				= 1, 2
wpn_g36					= 1, 2
wpn_fn2000				= 1, 2

;Апдейды
wpn_addon_scope					= 1, 2
wpn_addon_scope_x2.7			= 1, 2
wpn_addon_scope_detector		= 1, 2
wpn_addon_scope_night			= 1, 2
wpn_addon_scope_susat			= 1, 2
wpn_addon_scope_susat_x1.6		= 1, 2
wpn_addon_scope_susat_custom	= 1, 2
wpn_addon_scope_susat_dusk		= 1, 2
wpn_addon_scope_susat_night		= 1, 2
wpn_addon_silencer				= 1, 2
wpn_addon_grenade_launcher		= 1, 2
wpn_addon_grenade_launcher_m203 = 1, 2

;Броники
novice_outfit				= 2, 4
specops_outfit				= 2, 4
specops_outfit_2			= 2, 4
military_outfit				= 2, 4
stalker_outfit				= 2, 4
scientific_outfit			= 2, 4
exo_outfit					= 2, 4
svoboda_light_outfit		= 2, 4
svoboda_heavy_outfit		= 2, 4
cs_heavy_outfit				= 2, 4
dolg_outfit					= 2, 4
dolg_heavy_outfit			= 2, 4
bandit_outfit				= 2, 4
bandit_blackrain_outfit		= 2, 4
bandit_brownrain_outfit		= 2, 4
bandit_light_outfit			= 2, 4
merc_outfit					= 2, 4
monolith_outfit				= 2, 4
soldier_outfit				= 2, 4
svoboda_outfit				= 2, 4
dolg_scientific_outfit		= 2, 4
svoboda_scientific_outfit	= 2, 4
monolith_scientific_outfit	= 2, 4
neutral_assault_outfit		= 2, 4
monolith_assault_outfit		= 2, 4
monolith_exo_outfit			= 2, 4
svoboda_exo_outfit			= 2, 4
dolg_exo_outfit				= 2, 4
merc_exo_outfit				= 2, 4
ecolog_outfit				= 2, 4

;Шлемы
helm_respirator				= 2, 6
helm_respirator_gp7			= 2, 6
helm_hardhat				= 2, 6
helm_protective				= 2, 6
helm_tactic					= 2, 6
helm_battle					= 2, 6
helm_battle_dolg			= 2, 6

;Еда
bread						= 1, 1.8
kolbasa						= 1, 1.8
conserva					= 1, 1.8
vodka						= 1, 1.8
energy_drink				= 1, 1.8
food_cpp5					= 1, 1.8
food_gde-3					= 1, 1.8
pivo						= 1, 1.8

;Предметы
hand_radio				= 1, 2
detector_simple			= 1, 2
detector_advanced		= 1, 2
detector_elite			= 1, 2
detector_scientific		= 1, 2
guitar_a				= 1, 2
guitar_b				= 1, 2
harmonica_a				= 1, 2
sleeping_bag			= 1, 2
inventory_ruck			= 1, 2
termos_small_empty		= 1, 2
termos_empty			= 1, 2

;Медикаменты
bandage                  = 1, 2
medkit                   = 1, 2
medkit_army              = 1, 2
antirad                  = 1, 2

;Бустеры
drug_booster             = 1, 2
drug_coagulant           = 1, 2
drug_psy_blockade        = 1, 2
drug_antidot             = 1, 2
drug_radioprotector      = 1, 2
drug_anabiotic           = 1, 2

;Уникальные вещи
wpn_pm_actor				= 1.2, 3
wpn_sig550_luckygun 		= 1.2, 3
wpn_pkm_zulus				= 1.2, 3
wpn_wincheaster1300_trapper = 1.2, 3
wpn_desert_eagle_nimble 	= 1.2, 3
wpn_groza_nimble			= 1.2, 3
wpn_mp5_nimble 				= 1.2, 3
wpn_sig220_nimble			= 1.2, 3
wpn_spas12_nimble 			= 1.2, 3
wpn_svd_nimble 				= 1.2, 3
wpn_svu_nimble 				= 1.2, 3
wpn_usp_nimble 				= 1.2, 3
wpn_vintorez_nimble 		= 1.2, 3
wpn_g36_nimble				= 1.2, 3
wpn_fn2000_nimble 			= 1.2, 3
wpn_protecta_nimble 		= 1.2, 3
stalker_outfit_barge 		= 1, 2
helm_respirator_joker 		= 1, 2
helm_hardhat_snag 			= 1, 2
wpn_ak74u_snag  			= 1, 2
wpn_fort_snag  				= 1, 2

[sell_tier_2]:trade_generic_sell



;----------------------------------------------------------------------------------------------------
/// Сдесь товары которые должны быть в продаже, их колличество и шанс появления 
/// ammo_9x18_fmj = 10, 0.6 
/// патроны 9х18 в колличестве 10 пачек и с шансом 60%. 
/// Причем шанс расчитывается для КАЖДОЙ пачки, так что кол патронов могет быть разным. 
/// Если поставить 
/// ammo_9x18_fmj = 10, 1 
/// То всегда будет 10 пачек. 
;----------------------------------------------------------------------------------------------------

[supplies_generic]
;Аммуниция
ammo_9x18_fmj			= 4, 0.7
ammo_9x19_fmj			= 4, 0.7
ammo_11.43x23_fmj		= 4, 0.7
ammo_12x70_buck			= 4, 0.7
ammo_5.45x39_fmj		= 4, 0.7
ammo_5.56x45_ss190		= 4, 0.7
grenade_rgd5			= 2, 0.5
grenade_light           = 4, 0.7

;Оружие
wpn_pm					= 1, 0.9
wpn_fort				= 1, 0.9
wpn_ak74u				= 1, 0.9
wpn_bm16				= 1, 1

;Апдейды
wpn_addon_silencer 		= 2, 0.5

;Броники
novice_outfit           = 1, 0.7
bandit_outfit           = 1, 0.7
merc_outfit             = 1, 0.7

;Шлемы
helm_respirator         = 1, 0.4

;Предметы
detector_advanced		= 2, 0.5
sleeping_bag			= 3, 0.5
inventory_ruck			= 3, 0.5
termos_small_empty		= 2, 0.5
termos_empty			= 1, 0.5


[supplies_scientific]:supplies_generic

[sci_supplies_generic]:supplies_generic

[supplies_bandit_tier_1]:supplies_generic
;Аммуниция
ammo_9x18_pmm			= 4, 0.5
ammo_9x19_pbp			= 4, 0.5
ammo_11.43x23_hydro		= 4, 0.5
ammo_12x76_zhekan		= 4, 0.5
ammo_5.45x39_ap			= 4, 0.5
ammo_5.56x45_ap			= 4, 0.5
grenade_f1				= 2, 0.5

;Оружие
wpn_hpsa				= 1, 0.7
wpn_ak74 				= 1, 0.7
wpn_toz34				= 1, 0.8

;Апдейды
wpn_addon_scope 		= 1, 0.7

;Броники
stalker_outfit           = 1, 0.6
bandit_blackrain_outfit   = 1, 0.6
bandit_brownrain_outfit   = 1, 0.6

;Шлемы
helm_hardhat             = 1, 0.4

;Медикаменты
bandage                  = 4, 1
medkit                   = 4, 1
medkit_army              = 4, 0.5
antirad                  = 4, 1

;Бустеры
drug_booster             = 4, 0.4
drug_coagulant           = 4, 0.4
drug_psy_blockade        = 4, 0.4
drug_antidot             = 4, 0.4
drug_radioprotector      = 4, 0.4
drug_anabiotic           = 4, 0.4

[sci_supplies_bandit_tier_1]:supplies_bandit_tier_1

[supplies_stalker_tier_1]:supplies_generic, supplies_bandit_tier_1

[sci_supplies_stalker_tier_1]:supplies_stalker_tier_1

[supplies_stalker_bandit_tier]:supplies_generic

[sci_supplies_stalker_bandit_tier]:supplies_stalker_bandit_tier

[supplies_bandit_tier_2]:supplies_generic, supplies_bandit_tier_1

;Оружие
wpn_beretta				= 1, 0.5
wpn_colt1911			= 1, 0.5
wpn_mp5 				= 1, 0.5
wpn_wincheaster1300		= 1, 0.7
wpn_spas12 				= 1, 0.2

;Броники
bandit_light_outfit       = 1, 0.7

[sci_supplies_bandit_tier_2]:supplies_bandit_tier_2

[supplies_stalker_tier_2]:supplies_stalker_tier_1

[sci_supplies_stalker_tier_2]:supplies_stalker_tier_2

[supplies_stalker_wealthy_tier_2]:supplies_stalker_tier_2

[sci_supplies_stalker_wealthy_tier_2]:supplies_stalker_wealthy_tier_2

[supplies_bandit_wealthy_tier_2]:supplies_bandit_tier_2

[sci_supplies_bandit_wealthy_tier_2]:supplies_bandit_wealthy_tier_2