
--' Мы отказываемся вступить в осознание, нас переносит на вторую станцию
function osoznanie_decline(npc, actor)
    db.actor:disable_info_portion("oso_init_dialog")
	npc:stop_talk()
    actor:stop_talk()
	xr_effects.enable_ui(db.actor, nil)
 -- alterei
	  db.storage[db.actor:id()].pstor["freepset"] = "yes"
      local osodoor = vector():set( 17.30, -42.46, 32.11 )
	  alife():create("zone_teleport", osodoor, db.actor:level_vertex_id(), db.actor:game_vertex_id())
      level.add_pp_effector ("blink.ppe", 234, false)
	  level.show_indicators()
	  level.enable_input()
	  db.actor:restore_weapon()
	  db.declinedotele = "yup"


--[[ preciso criar script para saida	  
	local point = patrol("mon_jump_aes2_walk")
	local look = patrol("mon_jump_aes2_look")
	
	db.actor:set_actor_position(point:point(0))
	local dir = look:point(0):sub(point:point(0))
	db.actor:set_actor_direction(-dir:getH())
--]]
	
end

--' Мы соглашаемся вступить в осознание, конец игры.
function osoznanie_agree(npc, actor)
	db.actor:disable_info_portion("oso_init_dialog")
	npc:stop_talk()
    actor:stop_talk()
	xr_effects.enable_ui(db.actor, nil)	  
	game.start_tutorial("mov_join_osoznanie")
	
end