function tainik_for_skat()
	if db.actor:object("sgus") and
		db.actor:object("tushenka") and
		db.actor:object("oreshki") and
		db.actor:object("sardines") and
		db.actor:object("af_gold_fish") and
		db.actor:object("af_cristall") then
		return true
	end
	return false
end

function relocate_item_skat(npc,gg)
	dialogs.relocate_item_section(gg,"sgus","out")
	dialogs.relocate_item_section(gg,"tushenka","out")
	dialogs.relocate_item_section(gg,"oreshki","out")
	dialogs.relocate_item_section(gg,"sardines","out")
	dialogs.relocate_item_section(gg,"af_gold_fish","out")
	dialogs.relocate_item_section(gg,"af_cristall","out")
end

function relocate_irbis_dokumenty(npc, gg)
	dialogs.relocate_item_section(gg, "gen_irbis_dokumenty", "out")
end

function relocate_money_gg(npc, gg)
	dialogs.relocate_money(gg, 5000, "in")
end

function search_docs_for_irbis_complete()
		if db.actor:object("doc_5") then
			return true
		end
	return false
end

function give_reward_for_quest(npc, gg)
	dialogs.relocate_item_section(gg, "doc_5", "out")
end

function give_reward_for_quest_2(npc, gg)
	dialogs.relocate_item_section(gg, "karta_peschera", "in")
	dialogs.relocate_item_section(gg, "karta_logovo", "in")
	dialogs.relocate_item_section(gg, "code_door_peshera", "in")
end

function give_proseva(npc, gg)
	db.actor:set_character_community ("dragon", 0, 0)
	dialogs.relocate_item_section(npc, "proseva", "in")
end

function gen_kloun_quest()
		if db.actor:object("gen_kloun_flash") then
			return true
		end
	return false
end

function gen_kloun_quest_wpn(gg, npc)
	dialogs.relocate_item_section(npc, "wpn_svd", "in")
	dialogs.relocate_item_section(npc, "ammo_7.62x54_ap", "in")
end

function gen_kloun_quest_bomb(gg, npc)
	dialogs.relocate_item_section(npc, "bomba_big", "in")
	dialogs.relocate_item_section(npc, "detonator_2", "in")
end

function gen_kloun_relocate_money(gg, npc)
	dialogs.relocate_money(npc, 20000, "in")
end

function gen_kloun_quest_reward(gg, npc)
	dialogs.relocate_item_section(npc, "gen_kloun_flash", "out")
end	

function gen_spawn_snorks()
	amk.spawn_item("snork_strong",vector():set(232.938,18.175,-114.249), 605750, 3147, 7)
	alife():create("wpn_akms",vector():set(28.957,5.104,165.225),137998,2199)
end