From 7b45d05bd8e3f476f1d801203f2968993b52a31f Mon Sep 17 00:00:00 2001 From: EyesOfAHawk Date: Thu, 18 Oct 2018 03:23:18 +1300 Subject: Remove type argument from buildin_getnpcid. --- npc/re/jobs/2e/kagerou_oboro.txt | 14 +++++++------- npc/re/jobs/3-1/archbishop.txt | 2 +- npc/re/jobs/3-2/genetic.txt | 12 ++++++------ npc/re/jobs/3-2/sura.txt | 4 ++-- npc/re/jobs/novice/academy.txt | 10 +++++----- 5 files changed, 21 insertions(+), 21 deletions(-) (limited to 'npc/re/jobs') diff --git a/npc/re/jobs/2e/kagerou_oboro.txt b/npc/re/jobs/2e/kagerou_oboro.txt index efb1faf03..5c54a0114 100644 --- a/npc/re/jobs/2e/kagerou_oboro.txt +++ b/npc/re/jobs/2e/kagerou_oboro.txt @@ -1990,15 +1990,15 @@ job_ko,127,125,4 script Red Leopard Joe#ko 4_M_JOB_ASSASSIN,{ mes "[Red Leopard Joe]"; mes "Let's now create a new prototype weapon."; next; - specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_01")); + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid("Crafting Tools#ko_01")); mes "[Red Leopard Joe]"; mes "Feel free to use tools from here, and..."; next; - specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_02")); + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid("Crafting Tools#ko_02")); mes "[Red Leopard Joe]"; mes "...there..."; next; - specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_03")); + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid("Crafting Tools#ko_03")); setquest 5142; mes "[Red Leopard Joe]"; mes "...and everywhere else. Now let's begin!!"; @@ -2183,15 +2183,15 @@ L_Weapon: next; switch(select("Crafting tools?", "I don't have enough materials.", "How do you expect me to make a weapon?" + getarg(0))) { case 1: - specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_01")); + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid("Crafting Tools#ko_01")); mes "[Red Leopard Joe]"; mes "Feel free to use tools from here, and..."; next; - specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_02")); + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid("Crafting Tools#ko_02")); mes "[Red Leopard Joe]"; mes "...there..."; next; - specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_03")); + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid("Crafting Tools#ko_03")); mes "[Red Leopard Joe]"; mes "...and everywhere else."; close; @@ -2199,7 +2199,7 @@ L_Weapon: mes "[Red Leopard Joe]"; mes "You haven't brought enough materials?"; next; - specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Drawer#ko")); + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid("Drawer#ko")); mes "[Red Leopard Joe]"; mes "Then we'll have to pay a visit to the village. Try the ^FF0000drawer^000000 over there. It'll take you to the village."; close; diff --git a/npc/re/jobs/3-1/archbishop.txt b/npc/re/jobs/3-1/archbishop.txt index 6b04533db..e59492ce5 100644 --- a/npc/re/jobs/3-1/archbishop.txt +++ b/npc/re/jobs/3-1/archbishop.txt @@ -1262,7 +1262,7 @@ OnTouch: mes "So bright and warm...."; next; mes "- Shoooo -"; - specialeffect(EF_CLOAKING, AREA, getnpcid(0, "Valkyrie Anguhilde#end")); + specialeffect(EF_CLOAKING, AREA, getnpcid("Valkyrie Anguhilde#end")); hideonnpc "Valkyrie Anguhilde#end"; emotion e_omg,1; next; diff --git a/npc/re/jobs/3-2/genetic.txt b/npc/re/jobs/3-2/genetic.txt index e85819f97..d9fb1bce6 100644 --- a/npc/re/jobs/3-2/genetic.txt +++ b/npc/re/jobs/3-2/genetic.txt @@ -189,11 +189,11 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "- Zooooooooooooooooing -"; specialeffect EF_ENDURE; next; - specialeffect(EF_REPAIRWEAPON, AREA, getnpcid(0, "#from1to2gen")); + specialeffect(EF_REPAIRWEAPON, AREA, getnpcid("#from1to2gen")); mes "- (Screeching Sounds)!!! -"; mes "- (Screeching)!!! -"; next; - specialeffect(EF_CRASHEARTH, AREA, getnpcid(0, "#from1to2gen")); + specialeffect(EF_CRASHEARTH, AREA, getnpcid("#from1to2gen")); mes "- Bump! Bump! Bump! -"; next; mes "[Devries]"; @@ -451,8 +451,8 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "Damn!"; next; if (job_gen == 60) { - specialeffect(EF_FLASHER, AREA, getnpcid(0, "Super Cultivator#gen")); - specialeffect(EF_PHARMACY_OK, AREA, getnpcid(0, "Super Cultivator#gen")); + specialeffect(EF_FLASHER, AREA, getnpcid("Super Cultivator#gen")); + specialeffect(EF_PHARMACY_OK, AREA, getnpcid("Super Cultivator#gen")); mes "[Devries]"; mes "Popo, look at that!"; mes "That's really a mysterious plant!"; @@ -485,8 +485,8 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ job_gen = 62; changequest 2215,2216; } else { - specialeffect(EF_SPELLBREAKER, AREA, getnpcid(0, "Super Cultivator#gen")); - specialeffect(EF_PHARMACY_FAIL, AREA, getnpcid(0, "Super Cultivator#gen")); + specialeffect(EF_SPELLBREAKER, AREA, getnpcid("Super Cultivator#gen")); + specialeffect(EF_PHARMACY_FAIL, AREA, getnpcid("Super Cultivator#gen")); mes "[Devries]"; mes "Uh oh! You failed, Popo."; mes "It didn't grow at all, it's withered already."; diff --git a/npc/re/jobs/3-2/sura.txt b/npc/re/jobs/3-2/sura.txt index 567469d46..63e689acc 100644 --- a/npc/re/jobs/3-2/sura.txt +++ b/npc/re/jobs/3-2/sura.txt @@ -130,8 +130,8 @@ ve_in,237,125,0 script King Crab#job_shu 1_M_PAY_ELDER,{ next; mes "[King Crab & Sludge Worm]"; mes "Aaaaaahhhhhhhhk!!!!!!!!"; - specialeffect(EF_FIRESPLASHHIT, AREA, getnpcid(0, "King Crab#job_shu")); - specialeffect(EF_FIRESPLASHHIT, AREA, getnpcid(0, "Sludge Worm#job_shu")); + specialeffect(EF_FIRESPLASHHIT, AREA, getnpcid("King Crab#job_shu")); + specialeffect(EF_FIRESPLASHHIT, AREA, getnpcid("Sludge Worm#job_shu")); next; mes "- What is that amazing power? -"; mes "- I've never seen this -"; diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt index a69f7008d..3b260d3db 100644 --- a/npc/re/jobs/novice/academy.txt +++ b/npc/re/jobs/novice/academy.txt @@ -2328,7 +2328,7 @@ izlude,140,249,7 script Academy Student#0 4_M_NOV_RUMIN,{ close(); } if (questprogress(7478) == 1 && !questprogress(7479)) { - specialeffect(EF_STEAL, AREA, getnpcid(0, "Cultivated Red Plant#"+strnpcinfo(NPC_NAME_HIDDEN))); + specialeffect(EF_STEAL, AREA, getnpcid("Cultivated Red Plant#"+strnpcinfo(NPC_NAME_HIDDEN))); donpcevent("Cultivated Red Plant#"+strnpcinfo(NPC_NAME_HIDDEN)+"::OnDisable"); emotion(e_gasp, 1); emotion(e_heh); @@ -5693,7 +5693,7 @@ izlude,95,146,5 script Mom#iz 4_F_CAVE1,{ mes("^0000cd[Come to me, honey~]^000000"); next(); enablenpc("Etinifni#"+strnpcinfo(NPC_NAME_HIDDEN)); - specialeffect(EF_PORTAL, AREA, getnpcid(0, "Etinifni#"+strnpcinfo(NPC_NAME_HIDDEN))); + specialeffect(EF_PORTAL, AREA, getnpcid("Etinifni#"+strnpcinfo(NPC_NAME_HIDDEN))); mes("[Etinifni]"); mes("What's up? Where am I?"); next(); @@ -5779,7 +5779,7 @@ izlude,99,138,3 script Romantic Male#iz 4_M_SITDOWN,{ mes("[Romantic Male]"); mes("Are you lifting up our good old memories renting my wedding dress and your tuxedo!! It will strenghthen our relationship, won't it?"); next(); - specialeffect(EF_HEARTCASTING, AREA, getnpcid(0, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN))); + specialeffect(EF_HEARTCASTING, AREA, getnpcid("Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN))); emotion(e_kis, 0, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN)); mes("[Romantic Male]"); mes("Honey~~ I love you!! Sweetheart~"); @@ -5813,7 +5813,7 @@ izlude,97,138,5 script Romantic Female#iz 4_F_SITDOWN,{ mes("[Romantic Female]"); mes("You are tired of sitting, aren't you?"); next(); - specialeffect(EF_HEARTCASTING, AREA, getnpcid(0, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN))); + specialeffect(EF_HEARTCASTING, AREA, getnpcid("Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN))); emotion(e_kis, 0, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN)); mes("[Romantic Female]"); mes("My sweetheart!!! I love you!!!"); @@ -5821,7 +5821,7 @@ izlude,97,138,5 script Romantic Female#iz 4_F_SITDOWN,{ mes("[Romantic Male]"); mes("Yes, thank you for sharing your SP! You are also tired, aren't you?"); next(); - specialeffect(EF_HEARTCASTING, AREA, getnpcid(0, "Romantic Male#"+strnpcinfo(NPC_NAME_HIDDEN))); + specialeffect(EF_HEARTCASTING, AREA, getnpcid("Romantic Male#"+strnpcinfo(NPC_NAME_HIDDEN))); emotion(e_kis2, 0, "Romantic Male#"+strnpcinfo(NPC_NAME_HIDDEN)); mes("[Romantic Male]"); mes("My sweetheart!! I love you!!!"); -- cgit v1.2.3-70-g09d2