From d1c89870910b9f1a8bff1f09e90c72aec83a0cf3 Mon Sep 17 00:00:00 2001 From: Filip Maj Date: Mon, 13 Jun 2016 21:26:19 -0400 Subject: [PATCH] Scripted almost all of lower limsa. --- .../actors/chara/npc/Npc.cs | 2 +- .../base/chara/npc/object/TaskBoard.lua | 13 ++++- .../chara/npc/populace/PopulaceStandard.lua | 6 ++- .../populace/shop/PopulaceShopSalesman.lua | 2 +- .../openingStop_fstBtl03_03@0A600.lua | 0 .../pplStd_fst0Btl03_01@0A600.lua | 0 .../pplStd_fst0Btl03_02@0A600.lua | 0 .../fighterAlly_ocn0Btl02_02@0C196.lua | 0 .../fighterAlly_ocn0Btl02_03@0C196.lua | 0 .../jellyfishSc_ocn0Btl02_04@0C196.lua | 0 .../PopulaceStandard}/pplStd_01@0C100.lua | 0 .../PopulaceStandard}/pplStd_02@0C100.lua | 0 .../PopulaceStandard}/pplStd_03@0C100.lua | 0 .../PopulaceStandard}/pplStd_04@0C100.lua | 0 .../PopulaceStandard}/pplStd_05@0C100.lua | 0 .../PopulaceStandard}/pplStd_06@0C100.lua | 0 .../PopulaceStandard}/pplStd_07@0C100.lua | 0 .../PopulaceStandard}/pplStd_08@0C100.lua | 0 .../PopulaceStandard}/pplStd_09@0C100.lua | 0 .../PopulaceStandard}/pplStd_0a@0C100.lua | 0 .../PopulaceStandard}/pplStd_0b@0C100.lua | 0 .../PopulaceStandard}/pplStd_0c@0C100.lua | 0 .../PopulaceStandard}/pplStd_0d@0C100.lua | 0 .../PopulaceStandard}/pplStd_0e@0C100.lua | 0 .../PopulaceStandard}/pplStd_0f@0C100.lua | 0 .../PopulaceStandard}/pplStd_11@0C100.lua | 0 .../ocn0Battle02/PopulaceStandard}/zone.lua | 0 .../PopulaceStandard/aergwynt.lua} | 7 +-- .../PopulaceStandard/baderon.lua | 5 +- .../sea0Town01/PopulaceStandard/chantine.lua | 7 +++ .../PopulaceStandard/estrilda.lua | 5 +- .../PopulaceStandard/frithuric.lua | 5 +- .../sea0Town01/PopulaceStandard/fzhumii.lua | 5 ++ .../PopulaceStandard/gigirya.lua | 9 ++-- .../PopulaceStandard/gnibnpha.lua | 5 +- .../PopulaceStandard/gregory.lua | 5 +- .../PopulaceStandard/isleen.lua | 5 +- .../sea0Town01/PopulaceStandard/istrilda.lua | 5 ++ .../PopulaceStandard/josias.lua | 5 +- .../PopulaceStandard/kakamehi.lua | 5 +- .../sea0Town01/PopulaceStandard/kokoto.lua | 7 +++ .../sea0Town01/PopulaceStandard/laniaitte.lua | 5 ++ .../PopulaceStandard/lauda.lua | 5 +- .../PopulaceStandard/maunie.lua | 5 +- .../PopulaceStandard/nanaka.lua | 5 +- .../PopulaceStandard/stephannot.lua | 5 +- .../PopulaceStandard/tirauland.lua | 5 +- .../PopulaceStandard/zanthael.lua | 5 +- .../PopulaceStandard/zehrymm.lua | 5 +- .../sea0Town01a/PopulaceStandard/aergwynt.lua | 5 ++ .../sea0Town01a/PopulaceStandard/ahldskyf.lua | 5 ++ .../PopulaceStandard/angry_river.lua | 5 ++ .../sea0Town01a/PopulaceStandard/astrid.lua | 5 ++ .../sea0Town01a/PopulaceStandard/audaine.lua | 5 ++ .../sea0Town01a/PopulaceStandard/bloemerl.lua | 5 ++ .../sea0Town01a/PopulaceStandard/ceadda.lua | 5 ++ .../sea0Town01a/PopulaceStandard/clifton.lua | 5 ++ .../PopulaceStandard/daca_jinjahl.lua | 5 ++ .../PopulaceStandard/delado_madalado.lua | 5 ++ .../sea0Town01a/PopulaceStandard/dodoroba.lua | 5 ++ .../drowsy-eyed_adventurer.lua | 5 ++ .../sea0Town01a/PopulaceStandard/elilwaen.lua | 5 ++ .../sea0Town01a/PopulaceStandard/fabodji.lua | 5 ++ .../sea0Town01a/PopulaceStandard/gert.lua | 5 ++ .../PopulaceStandard/glowing_goodwife.lua | 5 ++ .../sea0Town01a/PopulaceStandard/haldberk.lua | 5 ++ .../PopulaceStandard/hrhanbolo.lua | 5 ++ .../sea0Town01a/PopulaceStandard/ivan.lua | 5 ++ .../PopulaceStandard/kehda_mujuuk.lua | 5 ++ .../PopulaceStandard/laniaitte.lua | 5 +- .../PopulaceStandard/leveridge.lua | 5 ++ .../sea0Town01a/PopulaceStandard/lilina.lua | 5 ++ .../sea0Town01a/PopulaceStandard/lorhzant.lua | 5 ++ .../PopulaceStandard/maetistym.lua | 5 ++ .../sea0Town01a/PopulaceStandard/maisie.lua | 5 ++ .../PopulaceStandard/mareillie.lua | 5 ++ .../sea0Town01a/PopulaceStandard/nnmulika.lua | 5 ++ .../sea0Town01a/PopulaceStandard/ortolf.lua | 5 ++ .../positively_pungent_pirate.lua | 5 ++ .../sea0Town01a/PopulaceStandard/ptahjha.lua | 5 ++ .../sea0Town01a/PopulaceStandard/rbaharra.lua | 5 ++ .../sea0Town01a/PopulaceStandard/rerenasu.lua | 5 ++ .../PopulaceStandard/robairlain.lua | 5 ++ .../PopulaceStandard/rubh_epocan.lua | 5 ++ .../sea0Town01a/PopulaceStandard/rubh_hob.lua | 5 ++ .../sea0Town01a/PopulaceStandard/shoshoma.lua | 5 ++ .../PopulaceStandard/skarnwaen.lua | 5 ++ .../PopulaceStandard/skoefmynd.lua | 5 ++ .../sure-voiced_barracuda_knight.lua | 5 ++ .../sea0Town01a/PopulaceStandard/tatasako.lua | 5 ++ .../PopulaceStandard/thosinbaen.lua | 5 ++ .../unconscious_adventurer.lua | 5 ++ .../sea0Town01a/PopulaceStandard/undsatz.lua | 5 ++ .../sea0Town01a/PopulaceStandard/xavalien.lua | 5 ++ .../sea0Town01a/PopulaceStandard/zonggo.lua | 5 ++ .../pplStd_wil0Btl01_01@0B800.lua | 0 .../pplStd_wil0Btl01_02@0B800.lua | 0 .../pplStd_wil0Btl01_03@0B800.lua | 0 .../pplStd_wil0Btl01_04@0B800.lua | 0 .../pplStd_wil0Btl01_05@0B800.lua | 0 .../pplStd_wil0Btl01_06@0B800.lua | 0 .../pplStd_wil0Btl01_07@0B800.lua | 0 .../pplStd_wil0Btl01_08@0B800.lua | 0 .../pplStd_wil0Btl01_09@0B800.lua | 0 .../pplStd_wil0Btl01_0a@0B800.lua | 0 .../pplStd_wil0Btl01_0b@0B800.lua | 0 data/scripts/zones1/128/npcs/testNutEater.lua | 3 -- .../zones1/133/npcs/aetheryteP_01@08500.lua | 34 ------------ .../zones1/133/npcs/pplGuildlev_01@08500.lua | 38 -------------- .../zones1/133/npcs/pplLinkshel_01@08500.lua | 28 ---------- .../zones1/133/npcs/pplPassiveG_01@08500.lua | 37 ------------- .../zones1/133/npcs/pplShopSal_01@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_02@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_03@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_04@08500.lua | 52 ------------------- .../zones1/133/npcs/pplShopSal_05@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_06@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_07@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_08@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_09@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_0a@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_0b@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_0c@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_0d@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_0e@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_0f@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_10@08500.lua | 13 ----- .../zones1/133/npcs/pplShopSal_11@08500.lua | 13 ----- .../zones1/133/npcs/pplStd_01@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_02@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_03@08500.lua | 12 ----- .../zones1/133/npcs/pplStd_04@08500.lua | 12 ----- .../zones1/133/npcs/pplStd_05@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_06@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_07@08500.lua | 12 ----- .../zones1/133/npcs/pplStd_08@08500.lua | 12 ----- .../zones1/133/npcs/pplStd_09@08500.lua | 12 ----- .../zones1/133/npcs/pplStd_0a@08500.lua | 12 ----- .../zones1/133/npcs/pplStd_0b@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_0c@08500.lua | 15 ------ .../zones1/133/npcs/pplStd_0d@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_0e@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_0f@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_10@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_11@08500.lua | 12 ----- .../zones1/133/npcs/pplStd_12@08500.lua | 12 ----- .../zones1/133/npcs/pplStd_13@08500.lua | 14 ----- .../zones1/133/npcs/pplStd_14@08500.lua | 14 ----- .../zones1/133/npcs/taskBoard_01@08500.lua | 11 ---- data/scripts/zones1/133/zone.lua | 9 ---- .../155/npcs/doorStd_fst0Twn01a_31@0CE00.lua | 7 --- data/scripts/zones1/155/zone.lua | 10 ---- data/scripts/zones1/166/zone.lua | 20 ------- data/scripts/zones1/175/zone.lua | 10 ---- data/scripts/zones1/184/zone.lua | 20 ------- .../zones1/244/npcs/objBed_01@0F400.lua | 24 --------- .../zones1/244/npcs/objInnDoor_01@0F400.lua | 18 ------- .../zones1/244/npcs/objItemStore_01@0F400.lua | 9 ---- .../zones1/244/npcs/pplCutscene_01@0F400.lua | 9 ---- data/scripts/zones1/244/npcs/test1.lua | 9 ---- data/scripts/zones1/244/zone.lua | 10 ---- 161 files changed, 293 insertions(+), 911 deletions(-) rename data/scripts/{zones1/166/npcs => unique/fst0Battle03}/openingStop_fstBtl03_03@0A600.lua (100%) rename data/scripts/{zones1/166/npcs => unique/fst0Battle03}/pplStd_fst0Btl03_01@0A600.lua (100%) rename data/scripts/{zones1/166/npcs => unique/fst0Battle03}/pplStd_fst0Btl03_02@0A600.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/fighterAlly_ocn0Btl02_02@0C196.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/fighterAlly_ocn0Btl02_03@0C196.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/jellyfishSc_ocn0Btl02_04@0C196.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_01@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_02@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_03@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_04@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_05@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_06@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_07@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_08@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_09@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_0a@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_0b@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_0c@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_0d@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_0e@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_0f@0C100.lua (100%) rename data/scripts/{zones1/193/npcs => unique/ocn0Battle02/PopulaceStandard}/pplStd_11@0C100.lua (100%) rename data/scripts/{zones1/193 => unique/ocn0Battle02/PopulaceStandard}/zone.lua (100%) rename data/scripts/unique/{sea0Town01a/PopulaceStandard/leueue.lua => sea0Town01/PopulaceStandard/aergwynt.lua} (58%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/baderon.lua (75%) create mode 100644 data/scripts/unique/sea0Town01/PopulaceStandard/chantine.lua rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/estrilda.lua (88%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/frithuric.lua (87%) create mode 100644 data/scripts/unique/sea0Town01/PopulaceStandard/fzhumii.lua rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/gigirya.lua (66%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/gnibnpha.lua (76%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/gregory.lua (87%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/isleen.lua (75%) create mode 100644 data/scripts/unique/sea0Town01/PopulaceStandard/istrilda.lua rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/josias.lua (87%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/kakamehi.lua (87%) create mode 100644 data/scripts/unique/sea0Town01/PopulaceStandard/kokoto.lua create mode 100644 data/scripts/unique/sea0Town01/PopulaceStandard/laniaitte.lua rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/lauda.lua (87%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/maunie.lua (87%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/nanaka.lua (87%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/stephannot.lua (87%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/tirauland.lua (90%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/zanthael.lua (76%) rename data/scripts/unique/{sea0Town01a => sea0Town01}/PopulaceStandard/zehrymm.lua (75%) create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/aergwynt.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/ahldskyf.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/angry_river.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/astrid.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/audaine.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/bloemerl.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/ceadda.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/clifton.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/daca_jinjahl.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/delado_madalado.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/dodoroba.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/drowsy-eyed_adventurer.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/elilwaen.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/fabodji.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/gert.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/glowing_goodwife.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/haldberk.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/hrhanbolo.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/ivan.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/kehda_mujuuk.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/leveridge.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/lilina.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/lorhzant.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/maetistym.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/maisie.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/mareillie.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/nnmulika.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/ortolf.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/positively_pungent_pirate.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/ptahjha.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/rbaharra.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/rerenasu.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/robairlain.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/rubh_epocan.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/rubh_hob.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/shoshoma.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/skarnwaen.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/skoefmynd.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/sure-voiced_barracuda_knight.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/tatasako.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/thosinbaen.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/unconscious_adventurer.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/undsatz.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/xavalien.lua create mode 100644 data/scripts/unique/sea0Town01a/PopulaceStandard/zonggo.lua rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_01@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_02@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_03@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_04@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_05@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_06@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_07@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_08@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_09@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_0a@0B800.lua (100%) rename data/scripts/{zones1/184/npcs => unique/wil0Battle01}/pplStd_wil0Btl01_0b@0B800.lua (100%) delete mode 100644 data/scripts/zones1/128/npcs/testNutEater.lua delete mode 100644 data/scripts/zones1/133/npcs/aetheryteP_01@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplGuildlev_01@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplLinkshel_01@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplPassiveG_01@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_01@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_02@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_03@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_04@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_05@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_06@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_07@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_08@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_09@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_0a@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_0b@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_0c@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_0d@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_0e@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_0f@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_10@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplShopSal_11@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_01@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_02@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_03@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_04@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_05@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_06@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_07@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_08@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_09@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_0a@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_0b@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_0c@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_0d@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_0e@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_0f@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_10@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_11@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_12@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_13@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/pplStd_14@08500.lua delete mode 100644 data/scripts/zones1/133/npcs/taskBoard_01@08500.lua delete mode 100644 data/scripts/zones1/133/zone.lua delete mode 100644 data/scripts/zones1/155/npcs/doorStd_fst0Twn01a_31@0CE00.lua delete mode 100644 data/scripts/zones1/155/zone.lua delete mode 100644 data/scripts/zones1/166/zone.lua delete mode 100644 data/scripts/zones1/175/zone.lua delete mode 100644 data/scripts/zones1/184/zone.lua delete mode 100644 data/scripts/zones1/244/npcs/objBed_01@0F400.lua delete mode 100644 data/scripts/zones1/244/npcs/objInnDoor_01@0F400.lua delete mode 100644 data/scripts/zones1/244/npcs/objItemStore_01@0F400.lua delete mode 100644 data/scripts/zones1/244/npcs/pplCutscene_01@0F400.lua delete mode 100644 data/scripts/zones1/244/npcs/test1.lua delete mode 100644 data/scripts/zones1/244/zone.lua diff --git a/FFXIVClassic Map Server/actors/chara/npc/Npc.cs b/FFXIVClassic Map Server/actors/chara/npc/Npc.cs index b1742075..c0071cfe 100644 --- a/FFXIVClassic Map Server/actors/chara/npc/Npc.cs +++ b/FFXIVClassic Map Server/actors/chara/npc/Npc.cs @@ -314,7 +314,7 @@ namespace FFXIVClassic_Map_Server.Actors if (child != null && child.Globals["init"] != null) result = child.Call(child.Globals["init"], this); - else if (parent.Globals["init"] != null) + else if (parent != null && parent.Globals["init"] != null) result = parent.Call(parent.Globals["init"], this); else return null; diff --git a/data/scripts/base/chara/npc/object/TaskBoard.lua b/data/scripts/base/chara/npc/object/TaskBoard.lua index 9d1f09e4..37555a36 100644 --- a/data/scripts/base/chara/npc/object/TaskBoard.lua +++ b/data/scripts/base/chara/npc/object/TaskBoard.lua @@ -3,9 +3,18 @@ function init(npc) end function onEventStarted(player, npc, triggerName) - player:endEvent(); + questNOC = getStaticActor("Noc000"); + + if (npc:getActorClassId() == 1200193) then + player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskLimsa", nil, nil, nil); + elseif (npc:getActorClassId() == 1200194) then + player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskUldah", nil, nil, nil); + else + player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskGridania", nil, nil, nil); + end + end -function onEventUpdate(player, npc, resultId) +function onEventUpdate(player, npc, step, menuOptionSelected) player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/base/chara/npc/populace/PopulaceStandard.lua b/data/scripts/base/chara/npc/populace/PopulaceStandard.lua index 8eee275e..8ddfb16c 100644 --- a/data/scripts/base/chara/npc/populace/PopulaceStandard.lua +++ b/data/scripts/base/chara/npc/populace/PopulaceStandard.lua @@ -4,6 +4,10 @@ function init(npc) end function onEventStarted(player, npc) - player:sendMessage(0x20, "", "This PopulaceStandard actor has no event set.") + player:sendMessage(0x20, "", "This PopulaceStandard actor has no event set. Actor Class Id: " .. tostring(npc:getActorClassId())); + player:endEvent(); +end + +function onEventUpdate(player, npc, blah, menuSelect) player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/base/chara/npc/populace/shop/PopulaceShopSalesman.lua b/data/scripts/base/chara/npc/populace/shop/PopulaceShopSalesman.lua index 32712b2e..6c9f53ce 100644 --- a/data/scripts/base/chara/npc/populace/shop/PopulaceShopSalesman.lua +++ b/data/scripts/base/chara/npc/populace/shop/PopulaceShopSalesman.lua @@ -3,7 +3,7 @@ function init(npc) end function onEventStarted(player, npc) - player:sendMessage(0x20, "", "This PopulaceShopSalesman actor has no event set.") + player:sendMessage(0x20, "", "This PopulaceShopSalesman actor has no event set. Actor Class Id: " .. tostring(npc:getActorClassId())) player:endEvent(); --player:runEventFunction("welcomeTalk"); end diff --git a/data/scripts/zones1/166/npcs/openingStop_fstBtl03_03@0A600.lua b/data/scripts/unique/fst0Battle03/openingStop_fstBtl03_03@0A600.lua similarity index 100% rename from data/scripts/zones1/166/npcs/openingStop_fstBtl03_03@0A600.lua rename to data/scripts/unique/fst0Battle03/openingStop_fstBtl03_03@0A600.lua diff --git a/data/scripts/zones1/166/npcs/pplStd_fst0Btl03_01@0A600.lua b/data/scripts/unique/fst0Battle03/pplStd_fst0Btl03_01@0A600.lua similarity index 100% rename from data/scripts/zones1/166/npcs/pplStd_fst0Btl03_01@0A600.lua rename to data/scripts/unique/fst0Battle03/pplStd_fst0Btl03_01@0A600.lua diff --git a/data/scripts/zones1/166/npcs/pplStd_fst0Btl03_02@0A600.lua b/data/scripts/unique/fst0Battle03/pplStd_fst0Btl03_02@0A600.lua similarity index 100% rename from data/scripts/zones1/166/npcs/pplStd_fst0Btl03_02@0A600.lua rename to data/scripts/unique/fst0Battle03/pplStd_fst0Btl03_02@0A600.lua diff --git a/data/scripts/zones1/193/npcs/fighterAlly_ocn0Btl02_02@0C196.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/fighterAlly_ocn0Btl02_02@0C196.lua similarity index 100% rename from data/scripts/zones1/193/npcs/fighterAlly_ocn0Btl02_02@0C196.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/fighterAlly_ocn0Btl02_02@0C196.lua diff --git a/data/scripts/zones1/193/npcs/fighterAlly_ocn0Btl02_03@0C196.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/fighterAlly_ocn0Btl02_03@0C196.lua similarity index 100% rename from data/scripts/zones1/193/npcs/fighterAlly_ocn0Btl02_03@0C196.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/fighterAlly_ocn0Btl02_03@0C196.lua diff --git a/data/scripts/zones1/193/npcs/jellyfishSc_ocn0Btl02_04@0C196.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/jellyfishSc_ocn0Btl02_04@0C196.lua similarity index 100% rename from data/scripts/zones1/193/npcs/jellyfishSc_ocn0Btl02_04@0C196.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/jellyfishSc_ocn0Btl02_04@0C196.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_01@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_01@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_01@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_01@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_02@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_02@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_02@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_02@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_03@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_03@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_03@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_03@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_04@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_04@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_04@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_04@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_05@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_05@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_05@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_05@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_06@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_06@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_06@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_06@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_07@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_07@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_07@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_07@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_08@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_08@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_08@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_08@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_09@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_09@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_09@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_09@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_0a@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0a@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_0a@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0a@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_0b@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0b@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_0b@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0b@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_0c@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0c@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_0c@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0c@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_0d@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0d@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_0d@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0d@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_0e@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0e@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_0e@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0e@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_0f@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0f@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_0f@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_0f@0C100.lua diff --git a/data/scripts/zones1/193/npcs/pplStd_11@0C100.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_11@0C100.lua similarity index 100% rename from data/scripts/zones1/193/npcs/pplStd_11@0C100.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/pplStd_11@0C100.lua diff --git a/data/scripts/zones1/193/zone.lua b/data/scripts/unique/ocn0Battle02/PopulaceStandard/zone.lua similarity index 100% rename from data/scripts/zones1/193/zone.lua rename to data/scripts/unique/ocn0Battle02/PopulaceStandard/zone.lua diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/leueue.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/aergwynt.lua similarity index 58% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/leueue.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/aergwynt.lua index df182b71..9a3c9d72 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/leueue.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/aergwynt.lua @@ -1,8 +1,5 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithInn_Desk", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithAergwynt_001", nil, nil, nil); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/baderon.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/baderon.lua similarity index 75% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/baderon.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/baderon.lua index c5db34b3..4a0828a9 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/baderon.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/baderon.lua @@ -1,8 +1,5 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithBaderon_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01/PopulaceStandard/chantine.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/chantine.lua new file mode 100644 index 00000000..c9e2b749 --- /dev/null +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/chantine.lua @@ -0,0 +1,7 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithChantine_001", nil, nil, nil); + --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithChantine_002", nil, nil, nil); --LNC + --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithChantine_003", nil, nil, nil); --LNC NO GUILD +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/estrilda.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/estrilda.lua similarity index 88% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/estrilda.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/estrilda.lua index 9dde70cc..901e0167 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/estrilda.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/estrilda.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_001", nil, nil, nil); --DEFAULT --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_002", nil, nil, nil); --IF ARCHER --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_003", nil, nil, nil); --IF ARCHER -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/frithuric.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/frithuric.lua similarity index 87% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/frithuric.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/frithuric.lua index 7db5699a..282202b0 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/frithuric.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/frithuric.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_002", nil, nil, nil); --LTW --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_003", nil, nil, nil); --LTW NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01/PopulaceStandard/fzhumii.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/fzhumii.lua new file mode 100644 index 00000000..a0ef7609 --- /dev/null +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/fzhumii.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFzhumii_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/gigirya.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/gigirya.lua similarity index 66% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/gigirya.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/gigirya.lua index 241443a7..adeb0095 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/gigirya.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/gigirya.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_001", nil, nil, nil); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_002", nil, nil, nil); --THM - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_003", nil, nil, nil); --THM NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); + --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_003", nil, nil, nil); --THM NO GUILD end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/gnibnpha.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/gnibnpha.lua similarity index 76% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/gnibnpha.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/gnibnpha.lua index e95df398..2753feb9 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/gnibnpha.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/gnibnpha.lua @@ -1,8 +1,5 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGnibnpha_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/gregory.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/gregory.lua similarity index 87% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/gregory.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/gregory.lua index d54ba774..bcff8b2e 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/gregory.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/gregory.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGregory_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGregory_002", nil, nil, nil); --CNJ --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGregory_003", nil, nil, nil); --CNJ NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/isleen.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/isleen.lua similarity index 75% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/isleen.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/isleen.lua index e7272e05..07b960c8 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/isleen.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/isleen.lua @@ -1,8 +1,5 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithIsleen_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01/PopulaceStandard/istrilda.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/istrilda.lua new file mode 100644 index 00000000..07b960c8 --- /dev/null +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/istrilda.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithIsleen_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/josias.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/josias.lua similarity index 87% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/josias.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/josias.lua index 2b0b5de4..0255f127 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/josias.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/josias.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithJosias_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithJosias_002", nil, nil, nil); --CRP --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithJosias_003", nil, nil, nil); --CRP NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/kakamehi.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/kakamehi.lua similarity index 87% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/kakamehi.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/kakamehi.lua index c0e41c14..210c636f 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/kakamehi.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/kakamehi.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_002", nil, nil, nil); --IF ALC --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_003", nil, nil, nil); --IF ALC -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01/PopulaceStandard/kokoto.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/kokoto.lua new file mode 100644 index 00000000..9109881d --- /dev/null +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/kokoto.lua @@ -0,0 +1,7 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKokoto_001", nil, nil, nil); + --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKokoto_002", nil, nil, nil); --LNC + --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKokoto_003", nil, nil, nil); --LNC NO GUILD +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01/PopulaceStandard/laniaitte.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/laniaitte.lua new file mode 100644 index 00000000..00697c1a --- /dev/null +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/laniaitte.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLaniaitte_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/lauda.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/lauda.lua similarity index 87% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/lauda.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/lauda.lua index 994a1500..1af326d7 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/lauda.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/lauda.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLauda_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLauda_002", nil, nil, nil); --BTN --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLauda_003", nil, nil, nil); --BTN NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/maunie.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/maunie.lua similarity index 87% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/maunie.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/maunie.lua index 5d04df95..cf4f156e 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/maunie.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/maunie.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaunie_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaunie_002", nil, nil, nil); --PUG --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaunie_003", nil, nil, nil); --PUG NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/nanaka.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/nanaka.lua similarity index 87% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/nanaka.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/nanaka.lua index 56577c21..5fa715f9 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/nanaka.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/nanaka.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNanaka_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNanaka_002", nil, nil, nil); --GSM --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNanaka_003", nil, nil, nil); --GSM NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/stephannot.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/stephannot.lua similarity index 87% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/stephannot.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/stephannot.lua index ffcbf8ab..d87748c5 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/stephannot.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/stephannot.lua @@ -1,10 +1,7 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithStephannot_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithStephannot_002", nil, nil, nil); --MIN --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithStephannot_003", nil, nil, nil); --MIN NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/tirauland.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/tirauland.lua similarity index 90% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/tirauland.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/tirauland.lua index 7847c6e0..99da464f 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/tirauland.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/tirauland.lua @@ -1,11 +1,8 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_001", nil, nil, nil); --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_002", nil, nil, nil); --LNC --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_003", nil, nil, nil); --LNC NO GUILD --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_010", nil, nil, nil); --NOT DOW/DOM -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/zanthael.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/zanthael.lua similarity index 76% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/zanthael.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/zanthael.lua index 78fcbcbc..cba68034 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/zanthael.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/zanthael.lua @@ -1,8 +1,5 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithZanthael_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/zehrymm.lua b/data/scripts/unique/sea0Town01/PopulaceStandard/zehrymm.lua similarity index 75% rename from data/scripts/unique/sea0Town01a/PopulaceStandard/zehrymm.lua rename to data/scripts/unique/sea0Town01/PopulaceStandard/zehrymm.lua index ccc65c37..5d4e81a0 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/zehrymm.lua +++ b/data/scripts/unique/sea0Town01/PopulaceStandard/zehrymm.lua @@ -1,8 +1,5 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithZehrymm_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/aergwynt.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/aergwynt.lua new file mode 100644 index 00000000..9a3c9d72 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/aergwynt.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithAergwynt_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/ahldskyf.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/ahldskyf.lua new file mode 100644 index 00000000..7a5ed1fd --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/ahldskyf.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithAhldskyff_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/angry_river.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/angry_river.lua new file mode 100644 index 00000000..84b4db93 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/angry_river.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithAngryriver_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/astrid.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/astrid.lua new file mode 100644 index 00000000..4fd7cffd --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/astrid.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithAstrid_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/audaine.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/audaine.lua new file mode 100644 index 00000000..3b95431f --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/audaine.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithAudaine_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/bloemerl.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/bloemerl.lua new file mode 100644 index 00000000..0af86c39 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/bloemerl.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithBloemerl_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/ceadda.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/ceadda.lua new file mode 100644 index 00000000..e5241f75 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/ceadda.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithCeadda_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/clifton.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/clifton.lua new file mode 100644 index 00000000..4cb317d6 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/clifton.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithClifton_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/daca_jinjahl.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/daca_jinjahl.lua new file mode 100644 index 00000000..798dcb89 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/daca_jinjahl.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithDacajinjahl_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/delado_madalado.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/delado_madalado.lua new file mode 100644 index 00000000..d4d311da --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/delado_madalado.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithDeladomadalado_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/dodoroba.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/dodoroba.lua new file mode 100644 index 00000000..694081d4 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/dodoroba.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithDodoroba_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/drowsy-eyed_adventurer.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/drowsy-eyed_adventurer.lua new file mode 100644 index 00000000..0047f97d --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/drowsy-eyed_adventurer.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithAdventurer031_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/elilwaen.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/elilwaen.lua new file mode 100644 index 00000000..baf33e30 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/elilwaen.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithElilwaen_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/fabodji.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/fabodji.lua new file mode 100644 index 00000000..d04da928 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/fabodji.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFabodji_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/gert.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/gert.lua new file mode 100644 index 00000000..38cec65a --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/gert.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGert_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/glowing_goodwife.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/glowing_goodwife.lua new file mode 100644 index 00000000..098c250d --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/glowing_goodwife.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLady001_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/haldberk.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/haldberk.lua new file mode 100644 index 00000000..1bd9ba8b --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/haldberk.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithHaldberk_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/hrhanbolo.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/hrhanbolo.lua new file mode 100644 index 00000000..875b4727 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/hrhanbolo.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNnagali_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/ivan.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/ivan.lua new file mode 100644 index 00000000..a65ba2f1 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/ivan.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithIvan_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/kehda_mujuuk.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/kehda_mujuuk.lua new file mode 100644 index 00000000..62f7e385 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/kehda_mujuuk.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKehdamujuuk_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/laniaitte.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/laniaitte.lua index 29d88250..00697c1a 100644 --- a/data/scripts/unique/sea0Town01a/PopulaceStandard/laniaitte.lua +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/laniaitte.lua @@ -1,8 +1,5 @@ + function onEventStarted(player, npc) defaultSea = getStaticActor("DftSea"); player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLaniaitte_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/leveridge.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/leveridge.lua new file mode 100644 index 00000000..9075a088 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/leveridge.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithDavyd_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/lilina.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/lilina.lua new file mode 100644 index 00000000..6d46da8a --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/lilina.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLilina_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/lorhzant.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/lorhzant.lua new file mode 100644 index 00000000..fa2ad6ea --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/lorhzant.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLorhzant_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/maetistym.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/maetistym.lua new file mode 100644 index 00000000..8bc22c03 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/maetistym.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaetistym_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/maisie.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/maisie.lua new file mode 100644 index 00000000..1db1afb6 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/maisie.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaisie_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/mareillie.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/mareillie.lua new file mode 100644 index 00000000..b31fe357 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/mareillie.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMareillie_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/nnmulika.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/nnmulika.lua new file mode 100644 index 00000000..ce8c95d1 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/nnmulika.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNnmulika_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/ortolf.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/ortolf.lua new file mode 100644 index 00000000..65a400ef --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/ortolf.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithOrtolf_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/positively_pungent_pirate.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/positively_pungent_pirate.lua new file mode 100644 index 00000000..cbf46d83 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/positively_pungent_pirate.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithPirate031_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/ptahjha.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/ptahjha.lua new file mode 100644 index 00000000..5e0d8e93 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/ptahjha.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithSkarnwaen_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/rbaharra.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/rbaharra.lua new file mode 100644 index 00000000..89d39df3 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/rbaharra.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithRbaharra_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/rerenasu.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/rerenasu.lua new file mode 100644 index 00000000..e20510cf --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/rerenasu.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithRerenasu_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/robairlain.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/robairlain.lua new file mode 100644 index 00000000..c68c5649 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/robairlain.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithRobairlain_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/rubh_epocan.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/rubh_epocan.lua new file mode 100644 index 00000000..a6ecc74d --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/rubh_epocan.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithRubh_epocan_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/rubh_hob.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/rubh_hob.lua new file mode 100644 index 00000000..03fc9991 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/rubh_hob.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithRubh_hob_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/shoshoma.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/shoshoma.lua new file mode 100644 index 00000000..6fedc5ad --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/shoshoma.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithShoshoma_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/skarnwaen.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/skarnwaen.lua new file mode 100644 index 00000000..5e0d8e93 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/skarnwaen.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithSkarnwaen_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/skoefmynd.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/skoefmynd.lua new file mode 100644 index 00000000..5d2a7471 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/skoefmynd.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithSkoefmynd_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/sure-voiced_barracuda_knight.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/sure-voiced_barracuda_knight.lua new file mode 100644 index 00000000..c9ab2c3b --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/sure-voiced_barracuda_knight.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKob031_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/tatasako.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/tatasako.lua new file mode 100644 index 00000000..9296ca3c --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/tatasako.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTatasako_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/thosinbaen.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/thosinbaen.lua new file mode 100644 index 00000000..5e0d8e93 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/thosinbaen.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithSkarnwaen_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/unconscious_adventurer.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/unconscious_adventurer.lua new file mode 100644 index 00000000..61c585cc --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/unconscious_adventurer.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithAdventurer032_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/undsatz.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/undsatz.lua new file mode 100644 index 00000000..de401b63 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/undsatz.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithUndsatz_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/xavalien.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/xavalien.lua new file mode 100644 index 00000000..906ead71 --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/xavalien.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithXavalien_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/unique/sea0Town01a/PopulaceStandard/zonggo.lua b/data/scripts/unique/sea0Town01a/PopulaceStandard/zonggo.lua new file mode 100644 index 00000000..8eee7a3e --- /dev/null +++ b/data/scripts/unique/sea0Town01a/PopulaceStandard/zonggo.lua @@ -0,0 +1,5 @@ + +function onEventStarted(player, npc) + defaultSea = getStaticActor("DftSea"); + player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithZonggo_001", nil, nil, nil); +end \ No newline at end of file diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_01@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_01@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_01@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_01@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_02@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_02@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_02@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_02@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_03@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_03@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_03@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_03@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_04@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_04@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_04@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_04@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_05@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_05@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_05@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_05@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_06@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_06@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_06@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_06@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_07@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_07@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_07@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_07@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_08@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_08@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_08@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_08@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_09@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_09@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_09@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_09@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_0a@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_0a@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_0a@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_0a@0B800.lua diff --git a/data/scripts/zones1/184/npcs/pplStd_wil0Btl01_0b@0B800.lua b/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_0b@0B800.lua similarity index 100% rename from data/scripts/zones1/184/npcs/pplStd_wil0Btl01_0b@0B800.lua rename to data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_0b@0B800.lua diff --git a/data/scripts/zones1/128/npcs/testNutEater.lua b/data/scripts/zones1/128/npcs/testNutEater.lua deleted file mode 100644 index 84cccabd..00000000 --- a/data/scripts/zones1/128/npcs/testNutEater.lua +++ /dev/null @@ -1,3 +0,0 @@ -function init(npc) - return "/Chara/Npc/Monster/Lemming/NuteaterStandard", false, false, false, false, false, npc.getActorClassId(), true, true, 10, 1, 4, true, true, true, true, true, true, true, true, 2; -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/aetheryteP_01@08500.lua b/data/scripts/zones1/133/npcs/aetheryteP_01@08500.lua deleted file mode 100644 index 35689e98..00000000 --- a/data/scripts/zones1/133/npcs/aetheryteP_01@08500.lua +++ /dev/null @@ -1,34 +0,0 @@ ---[[ - -AetheryteParent Script - -Functions: - -eventAetheryteParentSelect(0x0, false, 0x60, 0x138807,0,0,0,0) -eventAetheryteParentDesion( -showAetheryteTips( -eventGLSelect(0) -eventSelectGLDetail(0x2a48, a, f4241, 136, 98b1d9, 1, 1, true, false) -eventGLDifficulty(0x2a48) -eventGLStart(0x2a48, 2, c8, 0, 0, 0, 0) -eventGLBoost() -eventGLPlay -eventGLReward() - - -Menu Ids: - ---]] - -function init(npc) - return "/Chara/Npc/Object/Aetheryte/AetheryteParent", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc, triggerName) - player:runEventFunction("eventAetheryteParentSelect", 0x0, false, 0x61, 0x0,0,0,0,0); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - --player:runEventFunction("askOfferQuest", player, 1000); - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplGuildlev_01@08500.lua b/data/scripts/zones1/133/npcs/pplGuildlev_01@08500.lua deleted file mode 100644 index 0a609d1e..00000000 --- a/data/scripts/zones1/133/npcs/pplGuildlev_01@08500.lua +++ /dev/null @@ -1,38 +0,0 @@ ---[[ - -PopulaceGuildlevePublisher Script - -Functions: - -eventTalkType(level (changes factionLeves), sayIntro, brokenBladePoints, shieldsPoints, hornhandPoints, showTutorialLeves, doOmen (!=0), menuId (to Jump), leveAllowances, ?, ?, ?) -eventTalkPack(startGuildlevePack, endGuildlevePack) -eventTalkCard(card1,card2,card3,card4,card5,card6,card7,card8) -eventTalkDetail(guildLeveId, factionEvaluating, rewardType1, rewardQuantity1, rewardType2, rewardQuantity2, boostPoint, previouslyCompleted, completionBonus) -eventTalkAfterOffer() -eventHistoryleveExist(guildLeveId) -eventHistoryleveCannot() -eventGLChangeDetail(?, guildLeveId, boostPoint, rewardType1, rewardQuantity1, rewardType2, rewardQuantity2, factionEvaluating, previouslyCompleted) -eventTalkChangeOne(skipQuestion) -talkOfferMaxOver() -askRetryRegionalleve(guildLeveId, leveAllowances); - -Menu Ids: - ---]] - -function init(npc) - return "/Chara/Npc/Populace/PopulaceGuildlevePublisher", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("eventTalkType", 0x30, true, 0x02CE, 0x356, 0x367, true, 0, nil, 0x29, 0,0,0); -end - -function onEventUpdate(player, npc, step, menuOptionSelected) - --player:runEventFunction("eventTalkType", 0x32, true, 0x02CE, 0x356, 0x367, false, 2, nil, 0x29, 0,0,0); - player:runEventFunction("eventTalkPack", 201, 207); - --player:runEventFunction("eventTalkCard", 0x30C3, 0x30C4, 0x30C1, 0x30C5, 0x30C6, 0x30C7, 0x30C8, 0x30C9); - --player:runEventFunction("eventTalkDetail", 0x30C4, 2, 0xF4242, 0xD, 0xF4242, 0, 0xFF, true, 11); - --player:runEventFunction("eventGLChangeDetail", 0xDEAD, 0x30C4, 0xFF, 0xF4242, 0xD, 0xF4242, 0, 2, true); - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplLinkshel_01@08500.lua b/data/scripts/zones1/133/npcs/pplLinkshel_01@08500.lua deleted file mode 100644 index 801aee97..00000000 --- a/data/scripts/zones1/133/npcs/pplLinkshel_01@08500.lua +++ /dev/null @@ -1,28 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceLinkshellManager", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - isNew = false; - player:runEventFunction("eventTalkStep1", isNew); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - if (menuOptionSelected == nil) then - player:endEvent(); - return; - end - - isNew = false; - if (menuOptionSelected == 1) then - player:runEventFunction("eventTalkStep2", isNew); - elseif (menuOptionSelected == 10) then - player:endEvent(); - return; - elseif (menuOptionSelected == 3) then - --createLinkshell - player:runEventFunction("eventTalkStepMakeupDone", isNew); - end - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplPassiveG_01@08500.lua b/data/scripts/zones1/133/npcs/pplPassiveG_01@08500.lua deleted file mode 100644 index c9cbb5df..00000000 --- a/data/scripts/zones1/133/npcs/pplPassiveG_01@08500.lua +++ /dev/null @@ -1,37 +0,0 @@ ---[[ - -PopulacePassiveGLPublisher Script - -Functions: - -askOfferPack() - Show Classes -askOfferRank() - Show Ranks -askOfferQuest(player) -confirmOffer(nil, questId) -confirmMaxOffer() -talkOfferWelcome(actor, leveAllowances) -talkOfferDecide() -talkOfferMaxOver() -selectDiscardGuildleve(player) -confirmJournal() -askDiscardGuildleve() -confirmDiscardGuildleve(nil, questId) -askRetryRegionalleve(questId, leveAllowances) -finishTalkTurn() - -Menu Ids: - ---]] - -function init(npc) - return "/Chara/Npc/Populace/PopulacePassiveGLPublisher", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("talkOfferWelcome", player, 1); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - --player:runEventFunction("askOfferQuest", player, 1000); - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_01@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_01@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_01@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_02@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_02@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_02@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_03@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_03@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_03@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_04@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_04@08500.lua deleted file mode 100644 index 7eaf9f87..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_04@08500.lua +++ /dev/null @@ -1,52 +0,0 @@ ---[[ - -PopulaceGuildlevePublisher Script - -Functions: - -welcomeTalk(say1, player, say2, say3) - -openShopBuy(player, shopId) -selectShopBuy(player) -closeShopBuy(player) - -openShopSell(player, shopId -selectShopSell(player) -closeShopSell(player) - -informSellPrice(num, num, num) - -finishTalkTurn(nil) - -selectMode(param): If >0, show class tutorial for id [param]. If <0, show gear affinity/condition instead, unless -7,-8,-9 then show normal. -selectModeOfClassVendor() -selectModeOfMultiWeaponVendor(param? is -1) -selectModeOfMultiArmorVendor(param? is -1) -confirmSellingItem() -informSellPrice(100, 100) -selectFacility -confirmUseFacility - - -Menu Ids: - ---]] - -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("selectModeOfMultiWeaponVendor", -1); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:runEventFunction("informSellPrice", 0x1, 0x1E, 0x46); - - --player:runEventFunction("openShopSell", player, 0x1389); - --player:runEventFunction("selectShopSell", player); - --player:runEventFunction("closeShopSell", player); - --player:endEvent(); - -end diff --git a/data/scripts/zones1/133/npcs/pplShopSal_05@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_05@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_05@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_06@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_06@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_06@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_07@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_07@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_07@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_08@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_08@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_08@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_09@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_09@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_09@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_0a@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_0a@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_0a@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_0b@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_0b@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_0b@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_0c@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_0c@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_0c@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_0d@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_0d@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_0d@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_0e@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_0e@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_0e@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_0f@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_0f@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_0f@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_10@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_10@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_10@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplShopSal_11@08500.lua b/data/scripts/zones1/133/npcs/pplShopSal_11@08500.lua deleted file mode 100644 index f33db312..00000000 --- a/data/scripts/zones1/133/npcs/pplShopSal_11@08500.lua +++ /dev/null @@ -1,13 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:runEventFunction("welcomeTalk"); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_01@08500.lua b/data/scripts/zones1/133/npcs/pplStd_01@08500.lua deleted file mode 100644 index 34c6215b..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_01@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_002", nil, nil, nil); --IF ALC - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_003", nil, nil, nil); --IF ALC -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_02@08500.lua b/data/scripts/zones1/133/npcs/pplStd_02@08500.lua deleted file mode 100644 index 9a7a1c5a..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_02@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_001", nil, nil, nil); --DEFAULT - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_002", nil, nil, nil); --IF ARCHER - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_003", nil, nil, nil); --IF ARCHER -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_03@08500.lua b/data/scripts/zones1/133/npcs/pplStd_03@08500.lua deleted file mode 100644 index cd8bb503..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_03@08500.lua +++ /dev/null @@ -1,12 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithIsleen_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_04@08500.lua b/data/scripts/zones1/133/npcs/pplStd_04@08500.lua deleted file mode 100644 index bc72b122..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_04@08500.lua +++ /dev/null @@ -1,12 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithZanthael_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_05@08500.lua b/data/scripts/zones1/133/npcs/pplStd_05@08500.lua deleted file mode 100644 index e1e3ae0a..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_05@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNanaka_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNanaka_002", nil, nil, nil); --GSM - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNanaka_003", nil, nil, nil); --GSM NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_06@08500.lua b/data/scripts/zones1/133/npcs/pplStd_06@08500.lua deleted file mode 100644 index afbdee77..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_06@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_002", nil, nil, nil); --THM - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_003", nil, nil, nil); --THM NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_07@08500.lua b/data/scripts/zones1/133/npcs/pplStd_07@08500.lua deleted file mode 100644 index 5081d5bd..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_07@08500.lua +++ /dev/null @@ -1,12 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithInn_Desk", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_08@08500.lua b/data/scripts/zones1/133/npcs/pplStd_08@08500.lua deleted file mode 100644 index f8c621a1..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_08@08500.lua +++ /dev/null @@ -1,12 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithBaderon_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_09@08500.lua b/data/scripts/zones1/133/npcs/pplStd_09@08500.lua deleted file mode 100644 index 174eb851..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_09@08500.lua +++ /dev/null @@ -1,12 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithZehrymm_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_0a@08500.lua b/data/scripts/zones1/133/npcs/pplStd_0a@08500.lua deleted file mode 100644 index 3c63bd8b..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_0a@08500.lua +++ /dev/null @@ -1,12 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGnibnpha_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_0b@08500.lua b/data/scripts/zones1/133/npcs/pplStd_0b@08500.lua deleted file mode 100644 index cd7a3f45..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_0b@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithJosias_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithJosias_002", nil, nil, nil); --CRP - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithJosias_003", nil, nil, nil); --CRP NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_0c@08500.lua b/data/scripts/zones1/133/npcs/pplStd_0c@08500.lua deleted file mode 100644 index c5d09cef..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_0c@08500.lua +++ /dev/null @@ -1,15 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_002", nil, nil, nil); --LNC - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_003", nil, nil, nil); --LNC NO GUILD - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_010", nil, nil, nil); --NOT DOW/DOM -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_0d@08500.lua b/data/scripts/zones1/133/npcs/pplStd_0d@08500.lua deleted file mode 100644 index 004f497a..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_0d@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaunie_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaunie_002", nil, nil, nil); --PUG - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaunie_003", nil, nil, nil); --PUG NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_0e@08500.lua b/data/scripts/zones1/133/npcs/pplStd_0e@08500.lua deleted file mode 100644 index c764559a..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_0e@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithStephannot_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithStephannot_002", nil, nil, nil); --MIN - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithStephannot_003", nil, nil, nil); --MIN NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_0f@08500.lua b/data/scripts/zones1/133/npcs/pplStd_0f@08500.lua deleted file mode 100644 index ee4a2a8b..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_0f@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGregory_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGregory_002", nil, nil, nil); --CNJ - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGregory_003", nil, nil, nil); --CNJ NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_10@08500.lua b/data/scripts/zones1/133/npcs/pplStd_10@08500.lua deleted file mode 100644 index 116c149a..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_10@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLauda_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLauda_002", nil, nil, nil); --BTN - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLauda_003", nil, nil, nil); --BTN NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_11@08500.lua b/data/scripts/zones1/133/npcs/pplStd_11@08500.lua deleted file mode 100644 index 9d73b68f..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_11@08500.lua +++ /dev/null @@ -1,12 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLaniaitte_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_12@08500.lua b/data/scripts/zones1/133/npcs/pplStd_12@08500.lua deleted file mode 100644 index f8c621a1..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_12@08500.lua +++ /dev/null @@ -1,12 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithBaderon_001", nil, nil, nil); -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_13@08500.lua b/data/scripts/zones1/133/npcs/pplStd_13@08500.lua deleted file mode 100644 index 36d8672e..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_13@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_002", nil, nil, nil); --LTW - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_003", nil, nil, nil); --LTW NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/pplStd_14@08500.lua b/data/scripts/zones1/133/npcs/pplStd_14@08500.lua deleted file mode 100644 index 36d8672e..00000000 --- a/data/scripts/zones1/133/npcs/pplStd_14@08500.lua +++ /dev/null @@ -1,14 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - defaultSea = getStaticActor("DftSea"); - player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_001", nil, nil, nil); - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_002", nil, nil, nil); --LTW - --player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_003", nil, nil, nil); --LTW NO GUILD -end - -function onEventUpdate(player, npc) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/npcs/taskBoard_01@08500.lua b/data/scripts/zones1/133/npcs/taskBoard_01@08500.lua deleted file mode 100644 index 7e60d68d..00000000 --- a/data/scripts/zones1/133/npcs/taskBoard_01@08500.lua +++ /dev/null @@ -1,11 +0,0 @@ -function init(npc) - return "/Chara/Npc/Object/TaskBoard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc) - player:endEvent(); -end - -function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest) - player:endEvent(); -end \ No newline at end of file diff --git a/data/scripts/zones1/133/zone.lua b/data/scripts/zones1/133/zone.lua deleted file mode 100644 index bf2f4cfe..00000000 --- a/data/scripts/zones1/133/zone.lua +++ /dev/null @@ -1,9 +0,0 @@ -function onZoneInit(zone) -end - -function onZoneIn(player) - player:sendMessage(0x1D,"",">Callback \"onZoneIn\" for zone 133 running."); -end - -function onZoneOut(zone, player) -end \ No newline at end of file diff --git a/data/scripts/zones1/155/npcs/doorStd_fst0Twn01a_31@0CE00.lua b/data/scripts/zones1/155/npcs/doorStd_fst0Twn01a_31@0CE00.lua deleted file mode 100644 index 62ea5815..00000000 --- a/data/scripts/zones1/155/npcs/doorStd_fst0Twn01a_31@0CE00.lua +++ /dev/null @@ -1,7 +0,0 @@ -function init(npc) - return "/Chara/Npc/MapObj/DoorStandard", false, false, false, false, false, 5900001 , false, false, 0, 0, 0x141, 0xB7d; -end - -function onEventStarted(player, npc, triggerName) - -end \ No newline at end of file diff --git a/data/scripts/zones1/155/zone.lua b/data/scripts/zones1/155/zone.lua deleted file mode 100644 index 703d61b9..00000000 --- a/data/scripts/zones1/155/zone.lua +++ /dev/null @@ -1,10 +0,0 @@ - - -function onZoneInit(zone) -end - -function onZoneIn(zone, player) -end - -function onZoneOut(zone, player) -end \ No newline at end of file diff --git a/data/scripts/zones1/166/zone.lua b/data/scripts/zones1/166/zone.lua deleted file mode 100644 index 2657611f..00000000 --- a/data/scripts/zones1/166/zone.lua +++ /dev/null @@ -1,20 +0,0 @@ - - -function onZoneInit(zone) -end - -function onZoneIn(player) - - openingQuest = player:getQuest(110005); - - --Opening Quest - if (openingQuest ~= nil) then - if (openingQuest:GetQuestFlag(0) == false) then - player:kickEvent(player:getDirector(), "noticeEvent"); - end - end - -end - -function onZoneOut(zone, player) -end \ No newline at end of file diff --git a/data/scripts/zones1/175/zone.lua b/data/scripts/zones1/175/zone.lua deleted file mode 100644 index 703d61b9..00000000 --- a/data/scripts/zones1/175/zone.lua +++ /dev/null @@ -1,10 +0,0 @@ - - -function onZoneInit(zone) -end - -function onZoneIn(zone, player) -end - -function onZoneOut(zone, player) -end \ No newline at end of file diff --git a/data/scripts/zones1/184/zone.lua b/data/scripts/zones1/184/zone.lua deleted file mode 100644 index acf245c1..00000000 --- a/data/scripts/zones1/184/zone.lua +++ /dev/null @@ -1,20 +0,0 @@ - - -function onZoneInit(zone) -end - -function onZoneIn(player) - - openingQuest = player:getQuest(110009); - - --Opening Quest - if (openingQuest ~= nil) then - if (openingQuest:GetQuestFlag(0) == false) then - player:kickEvent(player:getDirector(), "noticeEvent"); - end - end - -end - -function onZoneOut(zone, player) -end \ No newline at end of file diff --git a/data/scripts/zones1/244/npcs/objBed_01@0F400.lua b/data/scripts/zones1/244/npcs/objBed_01@0F400.lua deleted file mode 100644 index 64dfbd15..00000000 --- a/data/scripts/zones1/244/npcs/objBed_01@0F400.lua +++ /dev/null @@ -1,24 +0,0 @@ -function init(npc) - return "/Chara/Npc/Object/ObjectBed", false, false, false, false, false, 0x1250FB, false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc, triggerName) - player:runEventFunction("askLogout", player); -end - -function onEventUpdate(player, npc, eventStep, menuOptionSelected) - - if (menuOptionSelected == 1) then - player:endEvent(); - return; - elseif (menuOptionSelected == 2) then - player:quitGame(); - elseif (menuOptionSelected == 3) then - player:logout(); - elseif (menuOptionSelected == 4) then - player:sendMessage(33, "", "Heck the bed"); - end - - player:endEvent(); - -end \ No newline at end of file diff --git a/data/scripts/zones1/244/npcs/objInnDoor_01@0F400.lua b/data/scripts/zones1/244/npcs/objInnDoor_01@0F400.lua deleted file mode 100644 index b63ad3eb..00000000 --- a/data/scripts/zones1/244/npcs/objInnDoor_01@0F400.lua +++ /dev/null @@ -1,18 +0,0 @@ -function init(npc) - return "/Chara/Npc/Object/ObjectInnDoor", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc, triggerName) - defaultFst = getStaticActor("DftFst"); - player:runEventFunction("delegateEvent", player, defaultFst, "defaultTalkWithInn_ExitDoor", nil, nil, nil); -end - -function onEventUpdate(player, npc, resultId, isExitYes) - - if (isExitYes ~= nil and isExitYes == 1) then - getWorldManager():DoZoneChange(player, 1); - else - player:endEvent(); - end - -end \ No newline at end of file diff --git a/data/scripts/zones1/244/npcs/objItemStore_01@0F400.lua b/data/scripts/zones1/244/npcs/objItemStore_01@0F400.lua deleted file mode 100644 index 7df900c1..00000000 --- a/data/scripts/zones1/244/npcs/objItemStore_01@0F400.lua +++ /dev/null @@ -1,9 +0,0 @@ -function init(npc) - return "/Chara/Npc/Object/ObjectItemStorage", false, false, false, false, false, 0x1250F8, false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc, triggerName) -end - -function onEventUpdate(player, npc) -end \ No newline at end of file diff --git a/data/scripts/zones1/244/npcs/pplCutscene_01@0F400.lua b/data/scripts/zones1/244/npcs/pplCutscene_01@0F400.lua deleted file mode 100644 index 04153882..00000000 --- a/data/scripts/zones1/244/npcs/pplCutscene_01@0F400.lua +++ /dev/null @@ -1,9 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceCutScenePlayer", false, false, false, false, false, 0x107B38, false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc, triggerName) -end - -function onEventUpdate(player, npc) -end \ No newline at end of file diff --git a/data/scripts/zones1/244/npcs/test1.lua b/data/scripts/zones1/244/npcs/test1.lua deleted file mode 100644 index 7bdabb1f..00000000 --- a/data/scripts/zones1/244/npcs/test1.lua +++ /dev/null @@ -1,9 +0,0 @@ -function init(npc) - return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST"; -end - -function onEventStarted(player, npc, triggerName) -end - -function onEventUpdate(player, npc) -end \ No newline at end of file diff --git a/data/scripts/zones1/244/zone.lua b/data/scripts/zones1/244/zone.lua deleted file mode 100644 index 703d61b9..00000000 --- a/data/scripts/zones1/244/zone.lua +++ /dev/null @@ -1,10 +0,0 @@ - - -function onZoneInit(zone) -end - -function onZoneIn(zone, player) -end - -function onZoneOut(zone, player) -end \ No newline at end of file