-- ÏÐÎÏÀÂØÈÉ ÑÅÐÆÀÍÒ
function hamster_kuznec1_start()
local monolith_counter={
    {position={x=195.508,y=-12.715,z=83.955},gv=1936,lv=53914},
    {position={x=446.772,y=-50.002,z=4.245},gv=1918,lv=145746},
    {position={x=358.22232055664,y=-50.200393676758,z=-2.6917326450348},gv=1927,lv=97518},
    {position={x=613.09045410156,y=-50.499229431152,z=-7.7338180541992},gv=1899,lv=220487},
    {position={x=524.4794921875,y=-49.257015228271,z=-237.4397277832},gv=2114,lv=177330}
}
    	local a = table.random(monolith_counter)
    	local obj = create("lost_sergeant", xyz(a.position.x,a.position.y,a.position.z), a.lv, a.gv)
		map_spot(obj.id, "crlc_small", "Lost Sergeant")
		sms("info_recieved_0", nil, nil, 10000)
end
function hamster_kuznec1_have()
	return has("sergeant_counter") or has_info("hamster_kuznec1_bonus")
end	
function hamster_kuznec1_done()
	lost("sergeant_counter",1)
	got("ammo_7.62x54_7h14",3)
end
function hamster_kuznec1_done_bonus()
	got("ammo_7.62x54_7h14",3)
	got("wpn_mp133",1)
end

function lost_sergeant_hit()
	iterate_level_objects("lost_sergeant", function(obj)
		local h = hit()
		h.power = 0.2
		h.direction = vector():set(0, 0, 0)
		h.impulse = 0
		h.draftsman = db.actor
		h.type = hit.strike
		obj:hit (h)
		return false
	end)
end
function hamster_kuznec1_sergant()
	got("sergeant_counter")
	new_dialog.atak_larger_done()
end
function hamster_kuznec1_bonus()
	new_dialog.give_foto_arts()
end
function lost_sergeant_delete()
	find_and_release("lost_sergeant")
end