Code:
function NPC_TeleportSecroute_Town_contact()
-- 임시 변수 선언과 동시에 NPC ID 가져오기
local npc_id = get_npc_id()
-- <이름 출력> 각 NPC에 따라 적합한
-- 라크시 -> 시크루트 일 때 (1016 시크루트 텔레포터 롤라이)
if npc_id == 1016 then
dlg_title("@90101601")
-- 카탄 -> 시크루트 일 때 (2016 시크루트 텔레포터 크리스)
elseif npc_id == 2016 then
dlg_title("@90201601")
-- 수련자의 섬 -> 시크루트 일 때 (3024 시크루트 텔레포터 리아)
elseif npc_id == 3024 then
dlg_title("@90302401")
-- 호라이즌 -> 시크루트 일 때 (4016 시크루트 텔레포터 제스)
elseif npc_id == 4016 then
dlg_title("@90401601")
-- 론도 -> 시크루트 일 때 (6016 시크루트 텔레포터 티앙)
elseif npc_id == 6016 then
dlg_title("@90601601")
-- 마레 마을 -> 시크루트 일 때 (7027 시크루트 텔레포터 시뮨)
elseif npc_id == 7027 then
dlg_title("@90702701")
-- 도시 유적 -> 시크루트 일 때 (7040 시크루트 텔레포터 란코프)
elseif npc_id == 7040 then
dlg_title("@90704001")
end
-- <대사 출력> 각 NPC에 따라 적합한
-- 라크시 -> 시크루트 일 때 (1016 시크루트 텔레포터 롤라이)
if npc_id == 1016 then
dlg_text("Guten Tag! Ich bringe dich mit Vergnuegen ins Versteckte Dorf wenn du es wuenscht.")
-- 카탄 -> 시크루트 일 때 (2016 시크루트 텔레포터 크리스)
elseif npc_id == 2016 then
dlg_text("Guten Tag! Ich bringe dich mit Vergnuegen ins Versteckte Dorf wenn du es wuenscht.")
-- 수련자의 섬 -> 시크루트 일 때 (3024 시크루트 텔레포터 리아)
elseif npc_id == 3024 then
dlg_text("Guten Tag! Ich bringe dich mit Vergnuegen ins Versteckte Dorf wenn du es wuenscht.")
-- 호라이즌 -> 시크루트 일 때 (4016 시크루트 텔레포터 제스)
elseif npc_id == 4016 then
dlg_text("Guten Tag! Ich bringe dich mit Vergnuegen ins Versteckte Dorf wenn du es wuenscht.")
-- 론도 -> 시크루트 일 때 (6016 시크루트 텔레포터 티앙)
elseif npc_id == 6016 then
dlg_text("Guten Tag! Ich bringe dich mit Vergnuegen ins Versteckte Dorf wenn du es wuenscht.")
-- 마레 마을 -> 시크루트 일 때 (7027 시크루트 텔레포터 시뮨)
elseif npc_id == 7027 then
dlg_text("Guten Tag! Ich bringe dich mit Vergnuegen ins Versteckte Dorf wenn du es wuenscht.")
-- 도시 유적 -> 시크루트 일 때 (7040 시크루트 텔레포터 시뮨)
elseif npc_id == 7040 then
dlg_text("Guten Tag! Ich bringe dich mit Vergnuegen ins Versteckte Dorf wenn du es wuenscht.")
end
-- TO DO : 시크루트 마을 텔레포트 좌표 세팅
-- 시크루트 프리패스가 활성�*된 상태(프리미엄 회원)
if is_premium() then
-- <시크루트로 텔레포트 하는 메뉴 출력> 각 NPC에 따라
-- 라크시 -> 시크루트 일 때 (1016 시크루트 텔레포터 롤라이)
if npc_id == 1016 then
dlg_menu("Kostenfrei ins HV", 'RunTeleport_Secroute( 0 , 222175 , 17949 )')
-- 카탄 -> 시크루트 일 때 (2016 시크루트 텔레포터 크리스)
elseif npc_id == 2016 then
dlg_menu("Kostenfrei ins HV", 'RunTeleport_Secroute( 0 , 222175 , 17949 )')
-- 수련자의 섬 -> 시크루트 일 때 (3024 시크루트 텔레포터 리아)
elseif npc_id == 3024 then
dlg_menu("Kostenfrei ins HV", 'RunTeleport_Secroute( 0 , 222175 , 17949 )')
-- 호라이즌 -> 시크루트 일 때 (4016 시크루트 텔레포터 제스)
elseif npc_id == 4016 then
dlg_menu("Kostenfrei ins HV", 'RunTeleport_Secroute( 0 , 222175 , 17949 )')
-- 론도 -> 시크루트 일 때 (6016 시크루트 텔레포터 티앙)
elseif npc_id == 6016 then
dlg_menu("Kostenfrei ins HV", 'RunTeleport_Secroute( 0 , 222175 , 17949 )')
-- 마레 마을 -> 시크루트 일 때 (7027 시크루트 텔레포터 시뮨)
elseif npc_id == 7027 then
dlg_menu("Kostenfrei ins HV", 'RunTeleport_Secroute( 0 , 222175 , 17949 )')
-- 도시 유적 -> 시크루트 일 때 (7040 시크루트 텔레포터 란코프)
elseif npc_id == 7040 then
dlg_menu("Kostenfrei ins HV", 'RunTeleport_Secroute( 0 , 222175 , 17949 )')
end
end
-- <�*브메뉴> 각 NPC에 따라
-- 라크시 -> 시크루트 일 때 (1016 시크루트 텔레포터 롤라이)
--if npc_id == 1016 then
--dlg_menu("@90101611", 'NPC_TeleportSecroute_Town_sub( 1 )')
-- 카탄 -> 시크루트 일 때 (2016 시크루트 텔레포터 크리스)
--elseif npc_id == 2016 then
--dlg_menu("@90201611", 'NPC_TeleportSecroute_Town_sub( 1 )')
-- 수련자의 섬 -> 시크루트 일 때 (3024 시크루트 텔레포터 리아)
--elseif npc_id == 3024 then
--dlg_menu("@90302411", 'NPC_TeleportSecroute_Town_sub( 1 )')
-- 호라이즌 -> 시크루트 일 때 (4016 시크루트 텔레포터 제스)
--elseif npc_id == 4016 then
--dlg_menu("@90401611", 'NPC_TeleportSecroute_Town_sub( 1 )')
-- 론도 -> 시크루트 일 때 (6016 시크루트 텔레포터 티앙)
--elseif npc_id == 6016 then
--dlg_menu("@90601611", 'NPC_TeleportSecroute_Town_sub( 1 )')
-- 마레 마을 -> 시크루트 일 때 (7027 시크루트 텔레포터 시뮨)
--elseif npc_id == 7027 then
--dlg_menu("@90601611", 'NPC_TeleportSecroute_Town_sub( 1 )')
-- 도시 유적 -> 시크루트 일 때 (7040 시크루트 텔레포터 란코프)
--elseif npc_id == 7040 then
--dlg_menu("@90601611", 'NPC_TeleportSecroute_Town_sub( 1 )')
--end
--대�* 종료
[B][COLOR="Red"]dlg_menu( "Buy HV Pass", "open_market( 'HV_Pass_Market' )" )[/COLOR][/B]
dlg_menu( "Auf wiedersehen", "" )
-- 다이얼로그 출력하기
dlg_show()
end