summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-18 05:22:33 +0100
committerHaru <haru@dotalux.com>2015-12-18 05:22:33 +0100
commit8bb331ce4c2e662a096c9f7a8fd308dc1e5eac0a (patch)
tree54669433655bb853309ea1cae12da049622324fa /npc
parent53abb8cdf92cd3d153b0a3d5b99b55cbd631f36c (diff)
parent0828824948c77bbfc357e08e8a5a0a96671b1ca6 (diff)
downloadhercules-8bb331ce4c2e662a096c9f7a8fd308dc1e5eac0a.tar.gz
hercules-8bb331ce4c2e662a096c9f7a8fd308dc1e5eac0a.tar.bz2
hercules-8bb331ce4c2e662a096c9f7a8fd308dc1e5eac0a.tar.xz
hercules-8bb331ce4c2e662a096c9f7a8fd308dc1e5eac0a.zip
Merge branch 'dastgir-ScriptCleanup2' into hercules
Closes #920 as merged
Diffstat (limited to 'npc')
-rw-r--r--npc/airports/airships.txt38
-rw-r--r--npc/airports/einbroch.txt4
-rw-r--r--npc/airports/hugel.txt4
-rw-r--r--npc/airports/izlude.txt4
-rw-r--r--npc/airports/lighthalzen.txt4
-rw-r--r--npc/airports/rachel.txt4
-rw-r--r--npc/airports/yuno.txt4
-rw-r--r--npc/battleground/bg_common.txt2
-rw-r--r--npc/battleground/flavius/flavius01.txt60
-rw-r--r--npc/battleground/flavius/flavius02.txt60
-rw-r--r--npc/battleground/flavius/flavius_enter.txt8
-rw-r--r--npc/battleground/kvm/kvm_item_pay.txt6
-rw-r--r--npc/battleground/tierra/tierra01.txt56
-rw-r--r--npc/battleground/tierra/tierra02.txt56
-rw-r--r--npc/battleground/tierra/tierra_enter.txt8
-rw-r--r--npc/cities/alberta.txt28
-rw-r--r--npc/cities/aldebaran.txt66
-rw-r--r--npc/cities/einbroch.txt4
-rw-r--r--npc/cities/geffen.txt6
-rw-r--r--npc/cities/hugel.txt2
-rw-r--r--npc/cities/jawaii.txt8
-rw-r--r--npc/cities/lighthalzen.txt4
-rw-r--r--npc/cities/lutie.txt24
-rw-r--r--npc/cities/prontera.txt2
-rw-r--r--npc/cities/umbala.txt28
-rw-r--r--npc/cities/yuno.txt6
-rw-r--r--npc/custom/bgqueue/flavius.txt60
-rw-r--r--npc/custom/card_remover.txt4
-rw-r--r--npc/custom/etc/penal_servitude.txt24
-rw-r--r--npc/custom/events/hallow06.txt2
-rw-r--r--npc/custom/events/uneasy_cemetery.txt14
-rw-r--r--npc/custom/events/valentinesdayexp.txt6
-rw-r--r--npc/custom/events/xmas_rings_event.txt16
-rw-r--r--npc/custom/quests/bandit_beard.txt4
-rw-r--r--npc/custom/quests/dead_branch.txt12
-rw-r--r--npc/custom/quests/elvenear.txt2
-rw-r--r--npc/custom/quests/event_6_new_hats.txt76
-rw-r--r--npc/custom/quests/jewel_case.txt2
-rw-r--r--npc/custom/quests/kahohorn.txt2
-rw-r--r--npc/custom/quests/may_hats.txt62
-rw-r--r--npc/custom/quests/sunglasses.txt4
-rw-r--r--npc/custom/quests/tha_statues.txt2
-rw-r--r--npc/custom/quests/thq/THQS_QuestNPC.txt24
-rw-r--r--npc/custom/quests/thq/THQS_Quests.txt74
-rw-r--r--npc/custom/quests/umbalian_language.txt20
-rw-r--r--npc/events/MemorialDay_2008.txt8
-rw-r--r--npc/events/RWC_2011.txt40
-rw-r--r--npc/events/RWC_2012.txt8
-rw-r--r--npc/events/StPatrick_2008.txt8
-rw-r--r--npc/events/children_week.txt10
-rw-r--r--npc/events/christmas_2005.txt84
-rw-r--r--npc/events/christmas_2008.txt8
-rw-r--r--npc/events/easter_2008.txt46
-rw-r--r--npc/events/easter_2010.txt32
-rw-r--r--npc/events/gdevent_aru.txt48
-rw-r--r--npc/events/gdevent_sch.txt48
-rw-r--r--npc/events/god_se_festival.txt8
-rw-r--r--npc/events/halloween_2006.txt60
-rw-r--r--npc/events/halloween_2009.txt26
-rw-r--r--npc/events/idul_fitri.txt2
-rw-r--r--npc/events/lunar_2008.txt42
-rw-r--r--npc/events/valentinesday.txt2
-rw-r--r--npc/events/valentinesday_2009.txt28
-rw-r--r--npc/events/valentinesday_2012.txt2
-rw-r--r--npc/events/xmas.txt4
-rw-r--r--npc/instances/EndlessTower.txt24
-rw-r--r--npc/instances/NydhoggsNest.txt4
-rw-r--r--npc/instances/SealedShrine.txt48
-rw-r--r--npc/jobs/1-1e/gunslinger.txt22
-rw-r--r--npc/jobs/1-1e/ninja.txt14
-rw-r--r--npc/jobs/1-1e/taekwon.txt2
-rw-r--r--npc/jobs/2-1/assassin.txt28
-rw-r--r--npc/jobs/2-1/blacksmith.txt54
-rw-r--r--npc/jobs/2-1/hunter.txt18
-rw-r--r--npc/jobs/2-1/knight.txt8
-rw-r--r--npc/jobs/2-1/priest.txt6
-rw-r--r--npc/jobs/2-1/wizard.txt28
-rw-r--r--npc/jobs/2-1e/StarGladiator.txt16
-rw-r--r--npc/jobs/2-2/alchemist.txt56
-rw-r--r--npc/jobs/2-2/bard.txt50
-rw-r--r--npc/jobs/2-2/crusader.txt8
-rw-r--r--npc/jobs/2-2/dancer.txt4
-rw-r--r--npc/jobs/2-2/monk.txt80
-rw-r--r--npc/jobs/2-2/rogue.txt50
-rw-r--r--npc/jobs/2-2/sage.txt84
-rw-r--r--npc/jobs/2-2e/SoulLinker.txt8
-rw-r--r--npc/jobs/novice/supernovice.txt8
-rw-r--r--npc/jobs/valkyrie.txt4
-rw-r--r--npc/merchants/alchemist.txt4
-rw-r--r--npc/merchants/ammo_dealer.txt2
-rw-r--r--npc/merchants/buying_shops.txt4
-rw-r--r--npc/merchants/cash_hair.txt10
-rw-r--r--npc/merchants/coin_exchange.txt2
-rw-r--r--npc/merchants/dye_maker.txt2
-rw-r--r--npc/merchants/gemstone.txt2
-rw-r--r--npc/merchants/hair_dyer.txt48
-rw-r--r--npc/merchants/hair_style.txt32
-rw-r--r--npc/merchants/icecream.txt4
-rw-r--r--npc/merchants/milk_trader.txt10
-rw-r--r--npc/merchants/novice_exchange.txt12
-rw-r--r--npc/merchants/old_pharmacist.txt48
-rw-r--r--npc/merchants/quivers.txt2
-rw-r--r--npc/merchants/refine.txt72
-rw-r--r--npc/merchants/socket_enchant.txt2
-rw-r--r--npc/merchants/socket_enchant2.txt14
-rw-r--r--npc/merchants/wander_pet_food.txt8
-rw-r--r--npc/other/arena/arena_room.txt2
-rw-r--r--npc/other/comodo_gambling.txt8
-rw-r--r--npc/other/gympass.txt4
-rw-r--r--npc/other/item_merge.txt2
-rw-r--r--npc/other/marriage.txt16
-rw-r--r--npc/other/monster_race.txt30
-rw-r--r--npc/other/poring_war.txt74
-rw-r--r--npc/other/powernpc.txt6
-rw-r--r--npc/other/pvp.txt10
-rw-r--r--npc/other/turbo_track.txt12
-rw-r--r--npc/pre-re/jobs/1-1/archer.txt30
-rw-r--r--npc/pre-re/jobs/1-1/mage.txt64
-rw-r--r--npc/pre-re/jobs/1-1/merchant.txt138
-rw-r--r--npc/pre-re/jobs/1-1/swordman.txt2
-rw-r--r--npc/pre-re/jobs/1-1/thief.txt20
-rw-r--r--npc/pre-re/jobs/novice/novice.txt122
-rw-r--r--npc/pre-re/quests/collection/quest_alligator.txt8
-rw-r--r--npc/pre-re/quests/collection/quest_caramel.txt8
-rw-r--r--npc/pre-re/quests/collection/quest_coco.txt8
-rw-r--r--npc/pre-re/quests/collection/quest_creamy.txt8
-rw-r--r--npc/pre-re/quests/collection/quest_demonpungus.txt8
-rw-r--r--npc/pre-re/quests/collection/quest_dokebi.txt4
-rw-r--r--npc/pre-re/quests/collection/quest_dryad.txt8
-rw-r--r--npc/pre-re/quests/collection/quest_fabre.txt4
-rw-r--r--npc/pre-re/quests/collection/quest_frilldora.txt4
-rw-r--r--npc/pre-re/quests/collection/quest_goat.txt8
-rw-r--r--npc/pre-re/quests/collection/quest_golem.txt4
-rw-r--r--npc/pre-re/quests/collection/quest_hode.txt8
-rw-r--r--npc/pre-re/quests/collection/quest_leafcat.txt8
-rw-r--r--npc/pre-re/quests/collection/quest_pecopeco.txt4
-rw-r--r--npc/pre-re/quests/collection/quest_pupa.txt4
-rw-r--r--npc/pre-re/quests/skills/novice_skills.txt14
-rw-r--r--npc/quests/bunnyband.txt10
-rw-r--r--npc/quests/cooking_quest.txt140
-rw-r--r--npc/quests/counteragent_mixture.txt32
-rw-r--r--npc/quests/dandelion_request.txt60
-rw-r--r--npc/quests/doomed_swords.txt72
-rw-r--r--npc/quests/doomed_swords_quest.txt50
-rw-r--r--npc/quests/eye_of_hellion.txt102
-rw-r--r--npc/quests/first_class/tu_acolyte.txt50
-rw-r--r--npc/quests/first_class/tu_archer.txt44
-rw-r--r--npc/quests/first_class/tu_ma_th01.txt32
-rw-r--r--npc/quests/first_class/tu_magician01.txt8
-rw-r--r--npc/quests/first_class/tu_merchant.txt34
-rw-r--r--npc/quests/first_class/tu_sword.txt12
-rw-r--r--npc/quests/first_class/tu_thief01.txt12
-rw-r--r--npc/quests/guildrelay.txt418
-rw-r--r--npc/quests/gunslinger_quests.txt68
-rw-r--r--npc/quests/juice_maker.txt16
-rw-r--r--npc/quests/kiel_hyre_quest.txt238
-rw-r--r--npc/quests/lvl4_weapon_quest.txt296
-rw-r--r--npc/quests/mage_solution.txt12
-rw-r--r--npc/quests/monstertamers.txt86
-rw-r--r--npc/quests/mrsmile.txt10
-rw-r--r--npc/quests/newgears/2004_headgears.txt424
-rw-r--r--npc/quests/newgears/2005_headgears.txt48
-rw-r--r--npc/quests/newgears/2006_headgears.txt104
-rw-r--r--npc/quests/newgears/2008_headgears.txt54
-rw-r--r--npc/quests/ninja_quests.txt50
-rw-r--r--npc/quests/obb_quest.txt56
-rw-r--r--npc/quests/okolnir.txt12
-rw-r--r--npc/quests/partyrelay.txt384
-rw-r--r--npc/quests/quests_13_1.txt612
-rw-r--r--npc/quests/quests_13_2.txt326
-rw-r--r--npc/quests/quests_airship.txt12
-rw-r--r--npc/quests/quests_alberta.txt198
-rw-r--r--npc/quests/quests_aldebaran.txt32
-rw-r--r--npc/quests/quests_amatsu.txt132
-rw-r--r--npc/quests/quests_ayothaya.txt74
-rw-r--r--npc/quests/quests_comodo.txt108
-rw-r--r--npc/quests/quests_ein.txt206
-rw-r--r--npc/quests/quests_geffen.txt18
-rw-r--r--npc/quests/quests_gonryun.txt76
-rw-r--r--npc/quests/quests_hugel.txt192
-rw-r--r--npc/quests/quests_juperos.txt72
-rw-r--r--npc/quests/quests_lighthalzen.txt162
-rw-r--r--npc/quests/quests_louyang.txt130
-rw-r--r--npc/quests/quests_lutie.txt82
-rw-r--r--npc/quests/quests_morocc.txt142
-rw-r--r--npc/quests/quests_moscovia.txt182
-rw-r--r--npc/quests/quests_nameless.txt294
-rw-r--r--npc/quests/quests_niflheim.txt46
-rw-r--r--npc/quests/quests_payon.txt44
-rw-r--r--npc/quests/quests_prontera.txt62
-rw-r--r--npc/quests/quests_rachel.txt136
-rw-r--r--npc/quests/quests_umbala.txt32
-rw-r--r--npc/quests/quests_veins.txt132
-rw-r--r--npc/quests/quests_yuno.txt70
-rw-r--r--npc/quests/seals/brisingamen_seal.txt4
-rw-r--r--npc/quests/seals/god_weapon_creation.txt90
-rw-r--r--npc/quests/seals/megingard_seal.txt74
-rw-r--r--npc/quests/seals/mjolnir_seal.txt54
-rw-r--r--npc/quests/seals/sleipnir_seal.txt482
-rw-r--r--npc/quests/skills/acolyte_skills.txt8
-rw-r--r--npc/quests/skills/alchemist_skills.txt34
-rw-r--r--npc/quests/skills/archer_skills.txt24
-rw-r--r--npc/quests/skills/assassin_skills.txt8
-rw-r--r--npc/quests/skills/bard_skills.txt32
-rw-r--r--npc/quests/skills/blacksmith_skills.txt20
-rw-r--r--npc/quests/skills/crusader_skills.txt20
-rw-r--r--npc/quests/skills/dancer_skills.txt16
-rw-r--r--npc/quests/skills/hunter_skills.txt8
-rw-r--r--npc/quests/skills/knight_skills.txt6
-rw-r--r--npc/quests/skills/mage_skills.txt10
-rw-r--r--npc/quests/skills/merchant_skills.txt64
-rw-r--r--npc/quests/skills/monk_skills.txt6
-rw-r--r--npc/quests/skills/priest_skills.txt10
-rw-r--r--npc/quests/skills/sage_skills.txt18
-rw-r--r--npc/quests/skills/swordman_skills.txt30
-rw-r--r--npc/quests/skills/thief_skills.txt34
-rw-r--r--npc/quests/skills/wizard_skills.txt10
-rw-r--r--npc/quests/thana_quest.txt90
-rw-r--r--npc/quests/the_sign_quest.txt518
-rw-r--r--npc/re/cities/brasilis.txt4
-rw-r--r--npc/re/cities/dewata.txt16
-rw-r--r--npc/re/cities/malangdo.txt4
-rw-r--r--npc/re/instances/BakonawaLake.txt8
-rw-r--r--npc/re/instances/BangungotHospital.txt8
-rw-r--r--npc/re/instances/HazyForest.txt12
-rw-r--r--npc/re/instances/MalangdoCulvert.txt6
-rw-r--r--npc/re/instances/OctopusCave.txt4
-rw-r--r--npc/re/instances/OldGlastHeim.txt4
-rw-r--r--npc/re/instances/WolfchevLaboratory.txt16
-rw-r--r--npc/re/jobs/1-1/acolyte.txt2
-rw-r--r--npc/re/jobs/1-1/archer.txt8
-rw-r--r--npc/re/jobs/1-1/swordman.txt2
-rw-r--r--npc/re/jobs/1-1/thief.txt2
-rw-r--r--npc/re/jobs/3-1/archbishop.txt74
-rw-r--r--npc/re/jobs/3-1/guillotine_cross.txt34
-rw-r--r--npc/re/jobs/3-1/mechanic.txt8
-rw-r--r--npc/re/jobs/3-1/ranger.txt68
-rw-r--r--npc/re/jobs/3-1/rune_knight.txt26
-rw-r--r--npc/re/jobs/3-1/warlock.txt78
-rw-r--r--npc/re/jobs/3-2/genetic.txt22
-rw-r--r--npc/re/jobs/3-2/minstrel.txt14
-rw-r--r--npc/re/jobs/3-2/royal_guard.txt34
-rw-r--r--npc/re/jobs/3-2/shadow_chaser.txt70
-rw-r--r--npc/re/jobs/3-2/sorcerer.txt18
-rw-r--r--npc/re/jobs/3-2/sura.txt6
-rw-r--r--npc/re/jobs/3-2/wanderer.txt6
-rw-r--r--npc/re/jobs/novice/academy.txt306
-rw-r--r--npc/re/jobs/novice/novice.txt82
-rw-r--r--npc/re/jobs/novice/supernovice_ex.txt16
-rw-r--r--npc/re/jobs/repair.txt4
-rw-r--r--npc/re/merchants/3rd_trader.txt10
-rw-r--r--npc/re/merchants/alchemist.txt2
-rw-r--r--npc/re/merchants/card_separation.txt18
-rw-r--r--npc/re/merchants/catalog.txt4
-rw-r--r--npc/re/merchants/coin_exchange.txt34
-rw-r--r--npc/re/merchants/diamond.txt2
-rw-r--r--npc/re/merchants/enchan_mal.txt6
-rw-r--r--npc/re/merchants/enchan_mora.txt88
-rw-r--r--npc/re/merchants/enchan_upg.txt10
-rw-r--r--npc/re/merchants/flute.txt12
-rw-r--r--npc/re/merchants/ninja_craftsman.txt4
-rw-r--r--npc/re/merchants/quivers.txt2
-rw-r--r--npc/re/merchants/refine.txt2
-rw-r--r--npc/re/merchants/ticket_refiner.txt4
-rw-r--r--npc/re/quests/cupet.txt16
-rw-r--r--npc/re/quests/eden/11-25.txt2
-rw-r--r--npc/re/quests/eden/26-40.txt86
-rw-r--r--npc/re/quests/eden/41-55.txt4
-rw-r--r--npc/re/quests/eden/56-70.txt2
-rw-r--r--npc/re/quests/eden/71-85.txt10
-rw-r--r--npc/re/quests/eden/86-90.txt2
-rw-r--r--npc/re/quests/eden/91-99.txt2
-rw-r--r--npc/re/quests/eden/eden_common.txt10
-rw-r--r--npc/re/quests/eden/eden_iro.txt26
-rw-r--r--npc/re/quests/eden/eden_service.txt2
-rw-r--r--npc/re/quests/eden/eden_tutorial.txt28
-rw-r--r--npc/re/quests/homun_s.txt14
-rw-r--r--npc/re/quests/magic_books.txt34
-rw-r--r--npc/re/quests/pile_bunker.txt16
-rw-r--r--npc/re/quests/quests_brasilis.txt86
-rw-r--r--npc/re/quests/quests_dewata.txt162
-rw-r--r--npc/re/quests/quests_dicastes.txt136
-rw-r--r--npc/re/quests/quests_malangdo.txt390
-rw-r--r--npc/re/quests/quests_malaya.txt376
-rw-r--r--npc/re/quests/quests_mora.txt218
-rw-r--r--npc/re/woe-fe/invest_main.txt34
-rw-r--r--npc/warps/fields/abyss_warper.txt2
-rw-r--r--npc/woe-se/agit_main_se.txt40
288 files changed, 7003 insertions, 7003 deletions
diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt
index b5b187bc6..1535fef90 100644
--- a/npc/airports/airships.txt
+++ b/npc/airports/airships.txt
@@ -541,7 +541,7 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
mes "purchase fewer Apples.";
close;
}
- else if (checkweight(512,.@input) == 0) {
+ else if (checkweight(Apple,.@input) == 0) {
mes "[Fruitz]";
mes "Hmmm, I don't think";
mes "you've got enough room in";
@@ -551,7 +551,7 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
}
else {
Zeny -= .@pay;
- getitem 512,.@input; //Apple
+ getitem Apple,.@input;
mes "[Fruitz]";
mes "Thanks for stopping by";
mes "my shop. I hope you enjoy";
@@ -567,7 +567,7 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
next;
switch (select("Yes:No")) {
case 1:
- if (countitem(512) < 3 || countitem(713) < 1) {
+ if (countitem(Apple) < 3 || countitem(Empty_Bottle) < 1) {
mes "[Fruitz]";
mes "I'm sorry, but you don't";
mes "have enough materials to";
@@ -586,9 +586,9 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
mes "*Grind grind*";
mes "*Clang...!*^000000";
next;
- delitem 512,3; //Apple
- delitem 713,1; //Empty_Bottle
- getitem 531,1; //Apple_Juice
+ delitem Apple,3;
+ delitem Empty_Bottle,1;
+ getitem Apple_Juice,1;
mes "[Fruitz]";
mes "There you go~";
mes "I hope you enjoy!";
@@ -830,7 +830,7 @@ airplane_01,250,58,2 script Airship Staff#airplane01 1_F_02,{
}
airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -901,7 +901,7 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
mes "purchase less Apples.";
close;
}
- else if (checkweight(512,.@input) == 0) {
+ else if (checkweight(Apple,.@input) == 0) {
mes "[Meltz]";
mes "Hmm, I don't think you've";
mes "got enough room to carry";
@@ -912,7 +912,7 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
}
else {
Zeny -= .@pay;
- getitem 512,.@input; //Apple
+ getitem Apple,.@input;
mes "[Meltz]";
mes "Thanks for stopping by";
mes "my shop. I hope you enjoy";
@@ -928,7 +928,7 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
next;
switch (select("Yes:No")) {
case 1:
- if (countitem(512) < 3 || countitem(713) < 1) {
+ if (countitem(Apple) < 3 || countitem(Empty_Bottle) < 1) {
mes "[Meltz]";
mes "I'm sorry, but you don't";
mes "have enough materials to";
@@ -945,9 +945,9 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
mes "*Grind* *Grind*";
mes "*Clang...!*^000000";
next;
- delitem 512,3; //Apple
- delitem 713,1; //Empty_Bottle
- getitem 531,1; //Apple_Juice
+ delitem Apple,3;
+ delitem Empty_Bottle,1;
+ getitem Apple_Juice,1;
mes "[Meltz]";
mes "There you go~";
mes "Please come again.";
@@ -1357,7 +1357,7 @@ function script applegamble {
next;
continue;
}
- if (countitem(512) <.@amount) {
+ if (countitem(Apple) <.@amount) {
mes "I'm sorry, but you";
mes "don't seem to have";
mes "enough Apples for this";
@@ -1428,7 +1428,7 @@ function script applegamble {
if (.@tablesub > 8) {
mes "^FF0000" + strcharinfo(0) + "^000000, you got ^FF0000" + .@player3 + "^000000 and the total is now ^FF0000" + .@playertotal + "^000000. I don't want to take any risk, let's end this game in a draw. Let's play again some other time~";
close2;
- getitem 512,.@amount; //Apple
+ getitem Apple,.@amount;
end;
}
}
@@ -1445,7 +1445,7 @@ function script applegamble {
if (.@tablesub > 8) {
mes "I see, you don't want to take risk of losing this game. Neither do I, let's end this game in a draw. Let's play again some other time~";
close2;
- getitem 512,.@amount; //Apple
+ getitem Apple,.@amount;
end;
}
mes "Alright.";
@@ -1469,19 +1469,19 @@ function script applegamble {
if (.@tabletotal > 12) {
mes "I got ^0000FF" + .@table3 + "^000000 and the total is now ^0000FF" + .@tabletotal + "^000000. I lost this game since my total exceeded 12. Let me give you my apples. Congratulations, that was a great game.";
close2;
- getitem 512,.@giveapple; //Apple
+ getitem Apple,.@giveapple;
end;
}
else if (.@playertotal > .@tabletotal) {
mes "I got ^0000FF" + .@table3 + "^000000 and the total is now ^0000FF" + .@tabletotal + "^000000. With total ^FF0000" + .@playertotal + "^000000 you won this game, ^FF0000" + strcharinfo(0) + "^000000. Let me give you my apples. It was a great game and I hope we will play again some other time.";
close2;
- getitem 512,.@giveapple; //Apple
+ getitem Apple,.@giveapple;
end;
}
else if (.@playertotal == .@tabletotal) {
mes "I got ^0000FF" + .@table3 + "^000000 and the total is now ^0000FF" + .@tabletotal + "^000000. With total ^FF0000" + .@playertotal + "^000000 this game came out even, ^FF0000" + strcharinfo(0) + "^000000. Let me give you your apple back. It was a great game and I hope we will play again some other time.";
close2;
- getitem 512,.@amount; //Apple
+ getitem Apple,.@amount;
end;
}
else if (.@playertotal < .@tabletotal) {
diff --git a/npc/airports/einbroch.txt b/npc/airports/einbroch.txt
index 3c3f77a8e..2d1ff70ba 100644
--- a/npc/airports/einbroch.txt
+++ b/npc/airports/einbroch.txt
@@ -46,8 +46,8 @@ airport,143,43,5 script Airport Staff#airport1a::airport1 4_F_01,{
mes "you board the Airship?";
next;
if (select("Yes:No") == 1) {
- if (countitem(7311) > 0) {
- delitem 7311,1; //Free_Flying_Ship_Ticket
+ if (countitem(Free_Flying_Ship_Ticket) > 0) {
+ delitem Free_Flying_Ship_Ticket,1;
warp "airport",148,51;
end;
}
diff --git a/npc/airports/hugel.txt b/npc/airports/hugel.txt
index f5030bbd5..67d010ab5 100644
--- a/npc/airports/hugel.txt
+++ b/npc/airports/hugel.txt
@@ -36,8 +36,8 @@ OnTouch:
mes "Would you like to use the service?";
next;
if (select("Yes:No") == 1) {
- if (countitem(7311) > 0) {
- delitem 7311,1; //Free_Flying_Ship_Ticket
+ if (countitem(Free_Flying_Ship_Ticket) > 0) {
+ delitem Free_Flying_Ship_Ticket,1;
warp "airplane",244,58;
end;
}
diff --git a/npc/airports/izlude.txt b/npc/airports/izlude.txt
index 1144777fb..69abd9cd6 100644
--- a/npc/airports/izlude.txt
+++ b/npc/airports/izlude.txt
@@ -47,8 +47,8 @@
mes "would you still like to board?";
next;
if (select("Yes:No") == 1) {
- if (countitem(7311) > 0) {
- delitem 7311,1; //Free_Flying_Ship_Ticket
+ if (countitem(Free_Flying_Ship_Ticket) > 0) {
+ delitem Free_Flying_Ship_Ticket,1;
warp "airplane_01",244,58;
end;
}
diff --git a/npc/airports/lighthalzen.txt b/npc/airports/lighthalzen.txt
index fb307acb4..959da9c96 100644
--- a/npc/airports/lighthalzen.txt
+++ b/npc/airports/lighthalzen.txt
@@ -46,8 +46,8 @@ lhz_airport,143,43,5 script Airport Staff#lhz_air1a::lhz_airport1 4_F_01,{
mes "a Free Ticket for Airship.";
next;
if (select("Yes:No") == 1) {
- if (countitem(7311) > 0) {
- delitem 7311,1; //Free_Flying_Ship_Ticket
+ if (countitem(Free_Flying_Ship_Ticket) > 0) {
+ delitem Free_Flying_Ship_Ticket,1;
warp "lhz_airport",148,51;
end;
}
diff --git a/npc/airports/rachel.txt b/npc/airports/rachel.txt
index be2490013..1faa33979 100644
--- a/npc/airports/rachel.txt
+++ b/npc/airports/rachel.txt
@@ -38,8 +38,8 @@ OnTouch:
mes "Would you like to use the service?";
next;
if (select("Yes:No") == 1) {
- if (countitem(7311) > 0) {
- delitem 7311,1; //Free_Flying_Ship_Ticket
+ if (countitem(Free_Flying_Ship_Ticket) > 0) {
+ delitem Free_Flying_Ship_Ticket,1;
warp "airplane_01",245,60;
end;
}
diff --git a/npc/airports/yuno.txt b/npc/airports/yuno.txt
index b69f8e3af..dbda7d5e3 100644
--- a/npc/airports/yuno.txt
+++ b/npc/airports/yuno.txt
@@ -45,8 +45,8 @@ y_airport,143,43,5 script Airport Staff#y_air1a::y_airport1 4_F_01,{
mes "the boarding fee will be waived.So would you like to depart?";
next;
if (select("Yes:No") == 1) {
- if (countitem(7311) > 0) {
- delitem 7311,1; //Free_Flying_Ship_Ticket
+ if (countitem(Free_Flying_Ship_Ticket) > 0) {
+ delitem Free_Flying_Ship_Ticket,1;
warp "y_airport",148,51;
end;
}
diff --git a/npc/battleground/bg_common.txt b/npc/battleground/bg_common.txt
index 35cc52fe5..74bc26430 100644
--- a/npc/battleground/bg_common.txt
+++ b/npc/battleground/bg_common.txt
@@ -386,7 +386,7 @@ bat_room,1,151,3 script Switch#batgnd 4_DOG01,{
//== Badges Exchange =======================================
bat_room,160,150,3 script Erundek 4_M_MANAGER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
diff --git a/npc/battleground/flavius/flavius01.txt b/npc/battleground/flavius/flavius01.txt
index bed6e8115..8b02b0469 100644
--- a/npc/battleground/flavius/flavius01.txt
+++ b/npc/battleground/flavius/flavius01.txt
@@ -407,7 +407,7 @@ OnTouch:
bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
if ($@FlaviusBG1_id1 == getcharid(4)) {
if ($@FlaviusBG1_Victory == 1) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
@@ -415,7 +415,7 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Axl Rose]";
@@ -423,11 +423,11 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -435,7 +435,7 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Axl Rose]";
@@ -443,7 +443,7 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
@@ -459,7 +459,7 @@ OnInit:
bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
if ($@FlaviusBG1_id2 == getcharid(4)) {
if ($@FlaviusBG1_Victory == 2) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
@@ -467,7 +467,7 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Swandery]";
@@ -475,11 +475,11 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -487,7 +487,7 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Swandery]";
@@ -495,7 +495,7 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
@@ -592,7 +592,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
.@A_B_gap = $@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id1 == getcharid(4)) {
if (.@A_B_gap > 0) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
@@ -600,7 +600,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Axl Rose]";
@@ -608,11 +608,11 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else if (.@A_B_gap == 0) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -620,7 +620,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Axl Rose]";
@@ -628,11 +628,11 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -640,7 +640,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Axl Rose]";
@@ -648,7 +648,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
@@ -670,7 +670,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
.@A_B_gap = $@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id2 == getcharid(4)) {
if (.@A_B_gap > 0) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -678,7 +678,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Swandery]";
@@ -686,11 +686,11 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else if (.@A_B_gap == 0) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -698,7 +698,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Swandery]";
@@ -706,11 +706,11 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
@@ -718,7 +718,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Swandery]";
@@ -726,7 +726,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
diff --git a/npc/battleground/flavius/flavius02.txt b/npc/battleground/flavius/flavius02.txt
index 182a067c1..3d474cff5 100644
--- a/npc/battleground/flavius/flavius02.txt
+++ b/npc/battleground/flavius/flavius02.txt
@@ -407,7 +407,7 @@ OnTouch:
bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{
if ($@FlaviusBG2_id1 == getcharid(4)) {
if ($@FlaviusBG2_Victory == 1) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
@@ -415,7 +415,7 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Axl Rose]";
@@ -423,11 +423,11 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -435,7 +435,7 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Axl Rose]";
@@ -443,7 +443,7 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
@@ -459,7 +459,7 @@ OnInit:
bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{
if ($@FlaviusBG2_id2 == getcharid(4)) {
if ($@FlaviusBG2_Victory == 2) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
@@ -467,7 +467,7 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Swandery]";
@@ -475,11 +475,11 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -487,7 +487,7 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Swandery]";
@@ -495,7 +495,7 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
@@ -592,7 +592,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
.@A_B_gap = $@Guill_ScoreBG2 - $@Croix_ScoreBG2;
if ($@FlaviusBG2_id1 == getcharid(4)) {
if (.@A_B_gap > 0) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
@@ -600,7 +600,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Axl Rose]";
@@ -608,11 +608,11 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else if (.@A_B_gap == 0) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -620,7 +620,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Axl Rose]";
@@ -628,11 +628,11 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -640,7 +640,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Axl Rose]";
@@ -648,7 +648,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
@@ -670,7 +670,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
.@A_B_gap = $@Guill_ScoreBG2 - $@Croix_ScoreBG2;
if ($@FlaviusBG2_id2 == getcharid(4)) {
if (.@A_B_gap > 0) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -678,7 +678,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Swandery]";
@@ -686,11 +686,11 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else if (.@A_B_gap == 0) {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -698,7 +698,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Swandery]";
@@ -706,11 +706,11 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7829);
+ .@your_medal = countitem(BF_Badge2);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
@@ -718,7 +718,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Swandery]";
@@ -726,7 +726,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
diff --git a/npc/battleground/flavius/flavius_enter.txt b/npc/battleground/flavius/flavius_enter.txt
index 243203d6e..392746ff3 100644
--- a/npc/battleground/flavius/flavius_enter.txt
+++ b/npc/battleground/flavius/flavius_enter.txt
@@ -34,7 +34,7 @@
//== Flavius Officer - Guillaume ===========================
bat_room,133,178,5 script Flavius Officer#01a 4_M_KY_KNT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -94,7 +94,7 @@ bat_room,133,178,5 script Flavius Officer#01a 4_M_KY_KNT,{
}
bat_room,133,121,1 script Flavius Officer#01b 4_M_CRU_KNT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -243,7 +243,7 @@ bat_room,151,121,1 script Croix Knight#4 4_M_CRU_SOLD,{
//== Flavius Officer - Croix ===============================
bat_room,148,178,5 script Flavius Officer#02a 4_M_KY_KNT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -303,7 +303,7 @@ bat_room,148,178,5 script Flavius Officer#02a 4_M_KY_KNT,{
}
bat_room,148,121,1 script Flavius Officer#02b 4_M_CRU_KNT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
diff --git a/npc/battleground/kvm/kvm_item_pay.txt b/npc/battleground/kvm/kvm_item_pay.txt
index aa3ade66b..2217e3f77 100644
--- a/npc/battleground/kvm/kvm_item_pay.txt
+++ b/npc/battleground/kvm/kvm_item_pay.txt
@@ -37,8 +37,8 @@
//=========================================================================
bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
- if (countitem(7773)) {
- .@pointstoadd = countitem(7773);
+ if (countitem(War_Badge)) {
+ .@pointstoadd = countitem(War_Badge);
delitem 7773,.@pointstoadd;
kvm_point += .@pointstoadd;
mes "[Logistics]";
@@ -49,7 +49,7 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
mes "Alright, all set, you now have ^580080"+ kvm_point +"^000000 KVM Points.";
next;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
diff --git a/npc/battleground/tierra/tierra01.txt b/npc/battleground/tierra/tierra01.txt
index f0e66932d..3391fffc0 100644
--- a/npc/battleground/tierra/tierra01.txt
+++ b/npc/battleground/tierra/tierra01.txt
@@ -321,7 +321,7 @@ bat_a01,185,270,1 script Guillaume Blacksmith#a01 4_M_REPAIR,{
next;
switch(select("Repair.:Leave it.")) {
case 1:
- if (countitem(7049) > 49) {
+ if (countitem(Stone) > 49) {
mes "[Guillaume Blacksmith]";
mes "You brought enough stones! Let's go and repair.";
next;
@@ -364,7 +364,7 @@ bat_a01,185,270,1 script Guillaume Blacksmith#a01 4_M_REPAIR,{
mes "[Guillaume Blacksmith]";
mes "Wow! It's done.";
mes "We are relieved.";
- delitem 7049,50; //Stone
+ delitem Stone,50;
donpcevent "barricade#bat_a01_a::OnEnable";
close2;
disablenpc "Guillaume Blacksmith#a01";
@@ -405,7 +405,7 @@ bat_a01,170,121,5 script Croix Blacksmith#bat_a01 4_M_REPAIR,{
next;
switch(select("Repair.:Leave it.")) {
case 1:
- if (countitem(7049) > 49) {
+ if (countitem(Stone) > 49) {
mes "[Croix Blacksmith]";
mes "You brought enough stones! Let's go and repair.";
next;
@@ -448,7 +448,7 @@ bat_a01,170,121,5 script Croix Blacksmith#bat_a01 4_M_REPAIR,{
mes "[Croix Blacksmith]";
mes "Wow! It's done.";
mes "We are relieved.";
- delitem 7049,50; //Stone
+ delitem Stone,50;
donpcevent "barricade#bat_a01_b::OnEnable";
close2;
disablenpc "Croix Blacksmith#bat_a01";
@@ -697,7 +697,7 @@ bat_a01,348,74,3 script Croix Camp#flag9 1_FLAG_EAGLE,{ end; }
bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
if (getcharid(4) == $@TierraBG1_id1) {
if ($@TierraBG1_Victory == 1) {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -705,7 +705,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,3; //BF_Badge1
+ getitem BF_Badge1,3;
}
else {
mes "[Axl Rose]";
@@ -713,11 +713,11 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Axl Rose]";
@@ -725,7 +725,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, and next time you will definitely win.";
close2;
- getitem 7828,1; //BF_Badge1
+ getitem BF_Badge1,1;
}
else {
mes "[Axl Rose]";
@@ -733,13 +733,13 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, and next time you will definitely win.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
}
else {
if ($@TierraBG1_Victory == 2) {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Axl Rose]";
@@ -747,7 +747,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, and next time you will definitely win.";
close2;
- getitem 7828,1; //BF_Badge1
+ getitem BF_Badge1,1;
}
else {
mes "[Axl Rose]";
@@ -755,11 +755,11 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, and next time you will definitely win.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -767,7 +767,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,3; //BF_Badge1
+ getitem BF_Badge1,3;
}
else {
mes "[Axl Rose]";
@@ -775,7 +775,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign of victory.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
}
@@ -791,7 +791,7 @@ OnInit:
bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
if (getcharid(4) == $@TierraBG1_id2) {
if ($@TierraBG1_Victory == 2) {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -799,7 +799,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,3; //BF_Badge1
+ getitem BF_Badge1,3;
}
else {
mes "[Swandery]";
@@ -807,11 +807,11 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Swandery]";
@@ -819,7 +819,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7828,1; //BF_Badge1
+ getitem BF_Badge1,1;
}
else {
mes "[Swandery]";
@@ -827,13 +827,13 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
}
else {
if ($@TierraBG1_Victory == 1) {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Swandery]";
@@ -841,7 +841,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7828,1; //BF_Badge1
+ getitem BF_Badge1,1;
}
else {
mes "[Swandery]";
@@ -849,11 +849,11 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -861,7 +861,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,3; //BF_Badge1
+ getitem BF_Badge1,3;
}
else {
mes "[Swandery]";
@@ -869,7 +869,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
}
diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt
index 86913ee6f..f84f083d5 100644
--- a/npc/battleground/tierra/tierra02.txt
+++ b/npc/battleground/tierra/tierra02.txt
@@ -321,7 +321,7 @@ bat_a02,185,270,1 script Guillaume Blacksmith#a02 4_M_REPAIR,{
next;
switch(select("Repair.:Leave it.")) {
case 1:
- if (countitem(7049) > 49) {
+ if (countitem(Stone) > 49) {
mes "[Guillaume Blacksmith]";
mes "You brought enough stones! Let's go and repair.";
next;
@@ -364,7 +364,7 @@ bat_a02,185,270,1 script Guillaume Blacksmith#a02 4_M_REPAIR,{
mes "[Guillaume Blacksmith]";
mes "Wow! It's done.";
mes "We are relieved.";
- delitem 7049,50; //Stone
+ delitem Stone,50;
donpcevent "barricade#bat_a02_a::OnEnable";
close2;
disablenpc "Guillaume Blacksmith#a02";
@@ -405,7 +405,7 @@ bat_a02,170,121,5 script Croix Blacksmith#bat_a02 4_M_REPAIR,{
next;
switch(select("Repair.:Leave it.")) {
case 1:
- if (countitem(7049) > 49) {
+ if (countitem(Stone) > 49) {
mes "[Croix Blacksmith]";
mes "You brought enough stones! Let's go and repair.";
next;
@@ -448,7 +448,7 @@ bat_a02,170,121,5 script Croix Blacksmith#bat_a02 4_M_REPAIR,{
mes "[Croix Blacksmith]";
mes "Wow! It's done.";
mes "We are relieved.";
- delitem 7049,50; //Stone
+ delitem Stone,50;
donpcevent "barricade#bat_a02_b::OnEnable";
close2;
disablenpc "Croix Blacksmith#bat_a02";
@@ -697,7 +697,7 @@ bat_a02,348,74,3 script Croix Camp#flag19 1_FLAG_EAGLE,{ end; }
bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
if (getcharid(4) == $@TierraBG2_id1) {
if ($@TierraBG2_Victory == 1) {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -705,7 +705,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,3; //BF_Badge1
+ getitem BF_Badge1,3;
}
else {
mes "[Axl Rose]";
@@ -713,11 +713,11 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Axl Rose]";
@@ -725,7 +725,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, and next time you will definitely win.";
close2;
- getitem 7828,1; //BF_Badge1
+ getitem BF_Badge1,1;
}
else {
mes "[Axl Rose]";
@@ -733,13 +733,13 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, and next time you will definitely win.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
}
else {
if ($@TierraBG2_Victory == 2) {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Axl Rose]";
@@ -747,7 +747,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, and next time you will definitely win.";
close2;
- getitem 7828,1; //BF_Badge1
+ getitem BF_Badge1,1;
}
else {
mes "[Axl Rose]";
@@ -755,11 +755,11 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, and next time you will definitely win.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -767,7 +767,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,3; //BF_Badge1
+ getitem BF_Badge1,3;
}
else {
mes "[Axl Rose]";
@@ -775,7 +775,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign of victory.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
}
@@ -791,7 +791,7 @@ OnInit:
bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
if (getcharid(4) == $@TierraBG2_id2) {
if ($@TierraBG2_Victory == 2) {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -799,7 +799,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,3; //BF_Badge1
+ getitem BF_Badge1,3;
}
else {
mes "[Swandery]";
@@ -807,11 +807,11 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Swandery]";
@@ -819,7 +819,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7828,1; //BF_Badge1
+ getitem BF_Badge1,1;
}
else {
mes "[Swandery]";
@@ -827,13 +827,13 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
}
else {
if ($@TierraBG2_Victory == 1) {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Swandery]";
@@ -841,7 +841,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7828,1; //BF_Badge1
+ getitem BF_Badge1,1;
}
else {
mes "[Swandery]";
@@ -849,11 +849,11 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
else {
- .@your_medal = countitem(7828);
+ .@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -861,7 +861,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,3; //BF_Badge1
+ getitem BF_Badge1,3;
}
else {
mes "[Swandery]";
@@ -869,7 +869,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7828,.@medal_gap; //BF_Badge1
+ getitem BF_Badge1,.@medal_gap;
}
}
}
diff --git a/npc/battleground/tierra/tierra_enter.txt b/npc/battleground/tierra/tierra_enter.txt
index c7dbd10ae..f742c07f8 100644
--- a/npc/battleground/tierra/tierra_enter.txt
+++ b/npc/battleground/tierra/tierra_enter.txt
@@ -34,7 +34,7 @@
//== First Tierra Gorge Officers - Guillaume ===============
bat_room,124,178,5 script Tierra Gorge Officer#01a 4_M_KY_KNT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -94,7 +94,7 @@ bat_room,124,178,5 script Tierra Gorge Officer#01a 4_M_KY_KNT,{
}
bat_room,140,178,5 script Tierra Gorge Officer#02a 4_M_KY_KNT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -251,7 +251,7 @@ bat_room,143,121,1 script Croix Knight#2 4_M_CRU_SOLD,{
//== Second Tierra Gorge Officers - Croix ==================
bat_room,125,121,1 script Tierra Gorge Officer#01b 4_M_CRU_KNT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -311,7 +311,7 @@ bat_room,125,121,1 script Tierra Gorge Officer#01b 4_M_CRU_KNT,{
}
bat_room,140,121,1 script Tierra Gorge Officer#02b 4_M_CRU_KNT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
diff --git a/npc/cities/alberta.txt b/npc/cities/alberta.txt
index 74c9da687..ed4be5438 100644
--- a/npc/cities/alberta.txt
+++ b/npc/cities/alberta.txt
@@ -329,19 +329,19 @@ alberta,190,173,4 script Phelix 4_M_03,{
mes "what'cha got...";
next;
mes "[Phelix]";
- if (countitem(909) < 10) {
+ if (countitem(Jellopy) < 10) {
mes "Hey! Weren't you listening?. I said 10 jellopies for 1 Red Potion.. are ya deaf?";
close;
} else {
- .@max = countitem(909)/10;
+ .@max = countitem(Jellopy)/10;
mes "Hmm, not bad...";
mes "How many potions";
mes "do you want to get?";
next;
switch(select("As many as I can, please.","I want this many.","Never mind, I like my jellopy.")) {
case 1:
- delitem 909,.@max*10; // Jellopy
- getitem 501,.@max; // Red_Potion
+ delitem Jellopy,.@max*10; // Jellopy
+ getitem Red_Potion,.@max; // Red_Potion
break;
case 2:
mes "[Phelix]";
@@ -358,12 +358,12 @@ alberta,190,173,4 script Phelix 4_M_03,{
mes "Hey, what'd I say? 100 at a time at most, you're trying to kill me aren't you!";
close;
}
- if (countitem(909) < .@amount*10) {
+ if (countitem(Jellopy) < .@amount*10) {
mes "Hmm, it looks like you don't have enough. Go get more jellopies if you want anything else from me.";
close;
}
- delitem 909,.@amount*10; // Jellopy
- getitem 501,.@amount; // Red_Potion
+ delitem Jellopy,.@amount*10; // Jellopy
+ getitem Red_Potion,.@amount; // Red_Potion
break;
case 3:
mes "[Phelix]";
@@ -380,18 +380,18 @@ alberta,190,173,4 script Phelix 4_M_03,{
mes "Alright, let's see what ya got...";
next;
mes "[Phelix]";
- if (countitem(909) < 3) {
+ if (countitem(Jellopy) < 3) {
mes "Hmm, look pansy ass, I said 3 jellopies for 1 Carrot.. got it?";
close;
} else {
- .@max = countitem(909)/3;
+ .@max = countitem(Jellopy)/3;
mes "Not too bad pansy...";
mes "How many do you want?";
next;
switch(select("As many as I can get, please","I want this many.","Never mind, I like my jellopy.")) {
case 1:
- delitem 909,.@max*3; // Jellopy
- getitem 515,.@max; // Carrot
+ delitem Jellopy,.@max*3; // Jellopy
+ getitem Carrot,.@max; // Carrot
break;
case 2:
mes "[Phelix]";
@@ -407,12 +407,12 @@ alberta,190,173,4 script Phelix 4_M_03,{
mes "Hey pansy ass, I said 100 at most, no more then that! I'm not going to break my back for the likes of you!";
close;
}
- if (countitem(909) < .@amount*10) {
+ if (countitem(Jellopy) < .@amount*10) {
mes "Seems you don't have enough. Go get some more if you want anything else.";
close;
}
- delitem 909,.@amount*3; // Jellopy
- getitem 515,.@amount; // Carrot
+ delitem Jellopy,.@amount*3; // Jellopy
+ getitem Carrot,.@amount; // Carrot
break;
case 3:
mes "[Phelix]";
diff --git a/npc/cities/aldebaran.txt b/npc/cities/aldebaran.txt
index 1977587c4..5dc71e04a 100644
--- a/npc/cities/aldebaran.txt
+++ b/npc/cities/aldebaran.txt
@@ -777,7 +777,7 @@ aldeba_in,84,166,4 script Kafra Service#alde 4_F_KAFRA1,{
mes "Due to a change in customer support policy, we no longer accept Kafra Passes. However, we are offering refunds for our customers who still possess these passes.";
next;
if (select("Sell Kafra Pass:Alright, bye~") == 1) {
- if (countitem(1084) == 0) {
+ if (countitem(Kapra's_Pass) == 0) {
mes "[Kafra Pavianne]";
mes "I'm sorry,";
mes "but you don't";
@@ -787,27 +787,27 @@ aldeba_in,84,166,4 script Kafra Service#alde 4_F_KAFRA1,{
end;
}
else {
- .@kafrapassmoney = countitem(1084)*2000;
+ .@kafrapassmoney = countitem(Kapra's_Pass)*2000;
mes "[Kafra Pavianne]";
mes "Let's see...";
- if (countitem(1084) == 1) {
+ if (countitem(Kapra's_Pass) == 1) {
mes "You have 1 Kafra Pass.";
mes "You can sell that pass to us for 2000 zeny. Would you like to sell this Kafra Pass back to the Kafra Corporation?";
}
else {
- mes "You have "+ countitem(1084) +" Kafra Passes.";
+ mes "You have "+ countitem(Kapra's_Pass) +" Kafra Passes.";
mes "If you want to sell them to us, you will receive "+ .@kafrapassmoney +" zeny. Would you like to sell these back to the Kafra Corporation?";
}
next;
if (select("Yes:No") == 1) {
- if (countitem(1084) == 0) {
+ if (countitem(Kapra's_Pass) == 0) {
mes "[Kafra Pavianne]";
mes "I'm sorry, but you don't have any Kafra Passes.";
close2;
cutin "",255;
end;
}
- delitem 1084,countitem(1084); //Kapra's_Pass
+ delitem Kapra's_Pass,countitem(Kapra's_Pass);
Zeny += .@kafrapassmoney;
mes "[Kafra Pavianne]";
mes "Thank you.";
@@ -1218,53 +1218,53 @@ function script F_Lottery {
sL_Prize1:
mes "[Kafra]";
mes "WOW!!!!..... You win!!! 1st Prize~! Congratulations~~ You got the 1st prize~~";
- if(@Lotto == 1) getitem 2328,1;//Items: Wooden_Mail,
- if(@Lotto == 2) getitem 2307,1;//Items: Mantle,
- if(@Lotto == 3) getitem 657,10;//Items: Berserk_Potion,
+ if(@Lotto == 1) getitem Wooden_Mail,1;//Items: Wooden_Mail,
+ if(@Lotto == 2) getitem Mantle,1;//Items: Mantle,
+ if(@Lotto == 3) getitem Berserk_Potion,10;//Items: Berserk_Potion,
if(@Lotto == 4) {
- getitem 607,2;//Items: Yggdrasilberry,
- getitem 608,1;//Items: Yggdrasil_Seed,
+ getitem Yggdrasilberry,2;//Items: Yggdrasilberry,
+ getitem Seed_Of_Yggdrasil,1;//Items: Yggdrasil_Seed,
}
- if(@Lotto == 5) getitem 607,3;//Items: Yggdrasilberry,
+ if(@Lotto == 5) getitem Yggdrasilberry,3;//Items: Yggdrasilberry,
return;
sL_Prize2:
mes "[Kafra]";
mes "Oh! WOW! You've won the 2nd prize! Congratulations!!";
- if(@Lotto == 1) getitem 2403,1;//Items: Shoes,
- if(@Lotto == 2) getitem 2226,1;//Items: Cap,
- if(@Lotto == 3) getitem 2201,1;//Items: Sunglasses,
- if(@Lotto == 4) getitem 526,3;//Items: Royal_Jelly,
+ if(@Lotto == 1) getitem Shoes,1;//Items: Shoes,
+ if(@Lotto == 2) getitem Cap,1;//Items: Cap,
+ if(@Lotto == 3) getitem Sunglasses,1;//Items: Sunglasses,
+ if(@Lotto == 4) getitem Royal_Jelly,3;//Items: Royal_Jelly,
if(@Lotto == 5) {
- getitem 608,1;//Items: Yggdrasil_Seed,
- getitem 526,10;//Items: Royal_Jelly,
+ getitem Seed_Of_Yggdrasil,1;//Items: Yggdrasil_Seed,
+ getitem Royal_Jelly,10;//Items: Royal_Jelly,
}
return;
sL_Prize3:
mes "[Kafra]";
mes "Congratulations! You've won the 3rd prize.";
- if(@Lotto == 1) getitem 602,4;//Items: Butterfly_Wing,
- if(@Lotto == 2) getitem 505,3;//Items: Blue_Potion,
- if(@Lotto == 3) getitem 2203,1;//Items: Glasses,
- if(@Lotto == 4) getitem 504,15;//Items: White_Potion,
- if(@Lotto == 5) getitem 504,30;//Items: White_Potion,
+ if(@Lotto == 1) getitem Wing_Of_Butterfly,4;//Items: Butterfly_Wing,
+ if(@Lotto == 2) getitem Blue_Potion,3;//Items: Blue_Potion,
+ if(@Lotto == 3) getitem Glasses,1;//Items: Glasses,
+ if(@Lotto == 4) getitem White_Potion,15;//Items: White_Potion,
+ if(@Lotto == 5) getitem White_Potion,30;//Items: White_Potion,
return;
sL_Prize4:
mes "[Kafra]";
mes "You've won the 4th prize.";
- if(@Lotto == 1) getitem 516,100;//Items: Sweet_Potato,
- if(@Lotto == 2) getitem 501,150;//Items: Red_Potion,
- if(@Lotto == 3) getitem 502,150;//Items: Orange_Potion,
- if(@Lotto == 4) getitem 505,5;//Items: Blue_Potion,
- if(@Lotto == 5) getitem 505,10;//Items: Blue_Potion,
+ if(@Lotto == 1) getitem Sweet_Potato,100;//Items: Sweet_Potato,
+ if(@Lotto == 2) getitem Red_Potion,150;//Items: Red_Potion,
+ if(@Lotto == 3) getitem Orange_Potion,150;//Items: Orange_Potion,
+ if(@Lotto == 4) getitem Blue_Potion,5;//Items: Blue_Potion,
+ if(@Lotto == 5) getitem Blue_Potion,10;//Items: Blue_Potion,
return;
sL_Prize5:
mes "[Kafra]";
mes "You've won the 5th prize.";
- if(@Lotto == 1) getitem 516,50;//Items: Sweet_Potato,
- if(@Lotto == 2) getitem 501,100;//Items: Red_Potion,
- if(@Lotto == 3) getitem 501,200;//Items: Red_Potion,
- if(@Lotto == 4) getitem 501,250;//Items: Red_Potion,
- if(@Lotto == 5) getitem 501,300;//Items: Red_Potion,
+ if(@Lotto == 1) getitem Sweet_Potato,50;//Items: Sweet_Potato,
+ if(@Lotto == 2) getitem Red_Potion,100;//Items: Red_Potion,
+ if(@Lotto == 3) getitem Red_Potion,200;//Items: Red_Potion,
+ if(@Lotto == 4) getitem Red_Potion,250;//Items: Red_Potion,
+ if(@Lotto == 5) getitem Red_Potion,300;//Items: Red_Potion,
return;
sF_Spin:
diff --git a/npc/cities/einbroch.txt b/npc/cities/einbroch.txt
index 15bbc6614..8fd4c3119 100644
--- a/npc/cities/einbroch.txt
+++ b/npc/cities/einbroch.txt
@@ -158,14 +158,14 @@ function script EinTower {
mes "your safety before I give";
mes "you the Apple Combo Set.";
next;
- if (checkweight(512,1)) {
+ if (checkweight(Apple,1)) {
mes "[" + getarg(0) + "]";
mes "Thank you for";
mes "using our services.";
mes "Let me guide you to";
mes "the tower right away.";
Zeny -= 20;
- getitem 512,1; //Apple
+ getitem Apple,1;
close2;
warp "einbroch",174,204;
end;
diff --git a/npc/cities/geffen.txt b/npc/cities/geffen.txt
index dc1e690a6..6c8ecd1be 100644
--- a/npc/cities/geffen.txt
+++ b/npc/cities/geffen.txt
@@ -305,7 +305,7 @@ OnTouch:
close;
}
Zeny -= .@Red_potion_hap;
- getitem 501,.@input; //Red_Potion
+ getitem Red_Potion,.@input;
break;
case 2:
mes "[Suspicious Guy]";
@@ -370,7 +370,7 @@ OnTouch:
close;
}
Zeny -= .@Main_gauche_hap;
- getitem 1207,.@input; //Main_Gauche
+ getitem Main_Gauche,.@input;
break;
case 3:
mes "[Suspicious Guy]";
@@ -422,7 +422,7 @@ OnTouch:
close;
}
Zeny -= .@Hood__hap;
- getitem 2501,.@input; //Hood
+ getitem Hood,.@input;
break;
case 4:
mes "[Suspicious Guy]";
diff --git a/npc/cities/hugel.txt b/npc/cities/hugel.txt
index 621a6d015..b82e51863 100644
--- a/npc/cities/hugel.txt
+++ b/npc/cities/hugel.txt
@@ -166,7 +166,7 @@ hu_in01,23,311,4 script Party Supplies Shop 4_M_HUMAN_01,{
close;
}
Zeny -= 500;
- getitem 12018,5; // Fire_Cracker
+ getitem Fire_Cracker,5; // Fire_Cracker
mes "[Shopkeeper]";
mes "Here you go!";
mes "Have fun with them!";
diff --git a/npc/cities/jawaii.txt b/npc/cities/jawaii.txt
index ac470827a..2ac6b57b2 100644
--- a/npc/cities/jawaii.txt
+++ b/npc/cities/jawaii.txt
@@ -416,7 +416,7 @@ jawaii,214,168,5 script Honeymoon Helper#Jawaii 1_F_LIBRARYGIRL,{
mes "[Helper]";
if (Zeny > 49999) {
Zeny -= 50000;
- getitem 681,1; //Memory_Of_Wedding
+ getitem Memory_Of_Wedding,1;
mes "Thank you very much~!";
mes "Please remember, you";
mes "should use this with your";
@@ -717,7 +717,7 @@ OnTouch:
}
jawaii_in,15,104,0 script Waitress#jawaii 1_F_PUBGIRL,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FF * Wait a minute! *";
mes "You're carrying too many items with you right now. Please store some of your things into Kafra Storage and try again.^000000";
close;
@@ -739,7 +739,7 @@ jawaii_in,15,104,0 script Waitress#jawaii 1_F_PUBGIRL,{
mes "[Waitress]";
if (Zeny > 999) {
Zeny -= 1000;
- getitem 517,1; //Meat
+ getitem Meat,1;
mes "There you go~";
mes "Enjoy your meal~!";
close;
@@ -765,7 +765,7 @@ jawaii_in,15,104,0 script Waitress#jawaii 1_F_PUBGIRL,{
mes "[Waitress]";
if (Zeny > 999) {
Zeny -= 1000;
- getitem 503,1; //Yelow_Potion
+ getitem Yellow_Potion,1; //Yelow_Potion
mes "There you go~";
mes "Enjoy your meal~!";
close;
diff --git a/npc/cities/lighthalzen.txt b/npc/cities/lighthalzen.txt
index 1c075b6e3..e7dfb8351 100644
--- a/npc/cities/lighthalzen.txt
+++ b/npc/cities/lighthalzen.txt
@@ -613,8 +613,8 @@ lighthalzen,182,102,3 script Lucius#zen5 4_M_LGTGRAND,{
mes "my gratitude, adventurer. Bless";
mes "you, youngster and take care.";
$donatedzeny = 0;
- getitem 603,1; //Old_Blue_Box
- getitem 12016,1; //Speed_Up_Potion
+ getitem Old_Blue_Box,1;
+ getitem Speed_Up_Potion,1;
}
close;
}
diff --git a/npc/cities/lutie.txt b/npc/cities/lutie.txt
index 4b18ee7b1..4ddfe206d 100644
--- a/npc/cities/lutie.txt
+++ b/npc/cities/lutie.txt
@@ -338,12 +338,12 @@ xmas,117,304,4 script Poze 4_M_06,{
xmas,176,236,4 script Uncle Hairy 4_M_05,{
if (xmas_npc == 4) {
- if (countitem(1024) > 0 && countitem(938) > 0) {
+ if (countitem(Chinese_Ink) > 0 && countitem(Sticky_Mucus) > 0) {
mes "[Cantata]";
mes "Oh? Y-y-you've got the stuff? Goooooooood. It's been so long since I've been able to have some of this... G-give it to me!";
next;
- delitem 1024,1; // Chinese_Ink
- delitem 938,1; // Sticky_Mucus
+ delitem Chinese_Ink,1; // Chinese_Ink
+ delitem Sticky_Mucus,1; // Sticky_Mucus
mes "^3355FFYou quickly handed him the Squid Ink and Sticky Mucus and watched with a little disgust as he relished the flavor.^000000";
next;
mes "[Cantata]";
@@ -470,7 +470,7 @@ xmas,176,236,4 script Uncle Hairy 4_M_05,{
}
xmas,134,112,4 script Snowman 4_M_SNOWMAN,{
- if (checkweight(1201,1) == 0 ) {
+ if (checkweight(Knife,1) == 0 ) {
cutin "rutie_snownow01.bmp",2;
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
@@ -678,7 +678,7 @@ xmas,134,112,4 script Snowman 4_M_SNOWMAN,{
switch(.@snownow) {
case 1:
xmas_npc = 11;
- getitem 529,5; // Candy
+ getitem Candy,5; // Candy
cutin "rutie_snownow02.bmp",2;
mes "[Snowysnow]";
mes "Wow~!";
@@ -687,7 +687,7 @@ xmas,134,112,4 script Snowman 4_M_SNOWMAN,{
break;
case 2:
xmas_npc = 11;
- getitem 529,10; // Candy
+ getitem Candy,10; // Candy
cutin "rutie_snownow02.bmp",2;
mes "[Snowysnow]";
mes "Ooh~!";
@@ -695,7 +695,7 @@ xmas,134,112,4 script Snowman 4_M_SNOWMAN,{
break;
case 3:
xmas_npc = 11;
- getitem 530,5; // Candy_Striper
+ getitem Candy_Striper,5; // Candy_Striper
cutin "rutie_snownow02.bmp",2;
mes "[Snowysnow]";
mes "Hoooraaaay~!";
@@ -703,7 +703,7 @@ xmas,134,112,4 script Snowman 4_M_SNOWMAN,{
break;
case 4:
xmas_npc = 11;
- getitem 530,10; // Candy_Striper
+ getitem Candy_Striper,10; // Candy_Striper
cutin "rutie_snownow02.bmp",2;
mes "[Snowysnow]";
mes "Wow, that's so great!";
@@ -711,7 +711,7 @@ xmas,134,112,4 script Snowman 4_M_SNOWMAN,{
break;
case 5:
xmas_npc = 11;
- getitem 539,1; // Piece_Of_Cake
+ getitem Piece_Of_Cake,1; // Piece_Of_Cake
cutin "rutie_snownow02.bmp",2;
mes "[Snowysnow]";
mes "Aren't you lucky!";
@@ -719,7 +719,7 @@ xmas,134,112,4 script Snowman 4_M_SNOWMAN,{
break;
case 6:
xmas_npc = 11;
- getitem 539,2; // Piece_Of_Cake
+ getitem Piece_Of_Cake,2; // Piece_Of_Cake
cutin "rutie_snownow02.bmp",2;
mes "[Snowysnow]";
mes "Now, isn't that nice?";
@@ -727,7 +727,7 @@ xmas,134,112,4 script Snowman 4_M_SNOWMAN,{
break;
case 7:
xmas_npc = 11;
- getitem 538,5; // Well_Baked_Cookie
+ getitem Well_Baked_Cookie,5; // Well_Baked_Cookie
cutin "rutie_snownow02.bmp",2;
mes "[Snowysnow]";
mes "Oh woooooow~!";
@@ -735,7 +735,7 @@ xmas,134,112,4 script Snowman 4_M_SNOWMAN,{
break;
case 8:
xmas_npc = 11;
- getitem 538,10; // Well_Baked_Cookie
+ getitem Well_Baked_Cookie,10; // Well_Baked_Cookie
cutin "rutie_snownow02.bmp",2;
mes "[Snowysnow]";
mes "*Gasp!* Ooh~";
diff --git a/npc/cities/prontera.txt b/npc/cities/prontera.txt
index 2b9e564b6..dbe70787a 100644
--- a/npc/cities/prontera.txt
+++ b/npc/cities/prontera.txt
@@ -188,7 +188,7 @@ prontera,216,70,2 script Strife#pront 1_M_02,{
mes "train even harder!";
next;
event_prt_nov_dreamtalk = 2;
- getitem 2501,1; //Hood
+ getitem Hood,1;
mes "[Strife]";
mes "This is, well, for you to help you get even stronger. I guess I want to thank you for being such a good example.";
close;
diff --git a/npc/cities/umbala.txt b/npc/cities/umbala.txt
index e6f2cb56f..8f0c39658 100644
--- a/npc/cities/umbala.txt
+++ b/npc/cities/umbala.txt
@@ -293,8 +293,8 @@ umbala,70,106,3 script Utan Kid#um 4_F_UMGIRL,{
mes "Thank you so much, yay~!";
if (Zeny > 1000) {
Zeny -= 1000;
- if (checkweight(517,1)) {
- getitem 517,1; //Meat
+ if (checkweight(Meat,1)) {
+ getitem Meat,1;
}
emotion e_swt2;
}
@@ -354,8 +354,8 @@ umbala,70,106,3 script Utan Kid#um 4_F_UMGIRL,{
mes "Um~baumbah~ um~baumbah~";
if (Zeny > 1000) {
Zeny -= 1000;
- if (checkweight(517,1)) {
- getitem 517,1; //Meat
+ if (checkweight(Meat,1)) {
+ getitem Meat,1;
}
emotion e_swt2;
}
@@ -390,15 +390,15 @@ umbala,59,243,5 script Utan Kid#1 4_M_UMKID,{
emotion e_rock;
next;
if (select("Give him Meat.:Refuse.") == 1) {
- if (countitem(517) > 0) {
+ if (countitem(Meat) > 0) {
mes "[Kotan]";
mes "Whoa, are you really giving me";
mes "Meat? Thanks! I will pay you";
mes "back with these.";
- delitem 517,1; //Meat
- getitem 909,2; //Jellopy
- getitem 914,2; //Fluff
- getitem 705,2; //Clover
+ delitem Meat,1;
+ getitem Jellopy,2;
+ getitem Fluff,2;
+ getitem Clover,2;
emotion e_scissors;
close;
}
@@ -428,14 +428,14 @@ umbala,59,243,5 script Utan Kid#1 4_M_UMKID,{
emotion e_rock;
next;
if (select("Umbah:Umbaboo") == 1) {
- if (countitem(517) > 0) {
+ if (countitem(Meat) > 0) {
mes "[???]";
mes "Umbaumbaumbabababah.";
mes "Umbababahum.";
- delitem 517,1; //Meat
- getitem 909,2; //Jellopy
- getitem 914,2; //Fluff
- getitem 705,2; //Clover
+ delitem Meat,1;
+ getitem Jellopy,2;
+ getitem Fluff,2;
+ getitem Clover,2;
emotion e_scissors;
close;
}
diff --git a/npc/cities/yuno.txt b/npc/cities/yuno.txt
index b2367b2d5..59486c8c0 100644
--- a/npc/cities/yuno.txt
+++ b/npc/cities/yuno.txt
@@ -91,7 +91,7 @@ yuno,337,227,4 script Juno Granny#juno 8_F_GRANDMOTHER,{
mes "*Giggle*";
mes "There you go~";
Zeny -= 1000;
- getitem 529,1; //Candy
+ getitem Candy,1;
next;
mes "[Granny]";
mes "*Giggle*";
@@ -182,7 +182,7 @@ yuno,165,111,4 script Juno Sage#juno 2_F_MAGICMASTER,,{
mes "[Le Morpheus]";
mes "As you have chosen, you will forget everything, and remain in this virtual reality.";
Zeny -= 5000;
- getitem 507,1; //Red_Herb
+ getitem Red_Herb,1;
close2;
warp "prontera",182,206;
end;
@@ -190,7 +190,7 @@ yuno,165,111,4 script Juno Sage#juno 2_F_MAGICMASTER,,{
mes "[Le Morpheus]";
mes "You will see the truth.";
Zeny -= 5000;
- getitem 510,1; //Blue_Herb
+ getitem Blue_Herb,1;
close2;
warp "pay_dun03",200,222;
end;
diff --git a/npc/custom/bgqueue/flavius.txt b/npc/custom/bgqueue/flavius.txt
index 99a4d5e0a..01a4888df 100644
--- a/npc/custom/bgqueue/flavius.txt
+++ b/npc/custom/bgqueue/flavius.txt
@@ -439,7 +439,7 @@ OnTouch:
bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
if ($@FlaviusBG1_id1 == getcharid(4)) {
if ($@FlaviusBG1_Victory == 1) {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
@@ -447,7 +447,7 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Axl Rose]";
@@ -455,11 +455,11 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -467,7 +467,7 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Axl Rose]";
@@ -475,7 +475,7 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
@@ -491,7 +491,7 @@ OnInit:
bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
if ($@FlaviusBG1_id2 == getcharid(4)) {
if ($@FlaviusBG1_Victory == 2) {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
@@ -499,7 +499,7 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Swandery]";
@@ -507,11 +507,11 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -519,7 +519,7 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Swandery]";
@@ -527,7 +527,7 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
@@ -625,7 +625,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
set .@A_B_gap,$@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id1 == getcharid(4)) {
if (.@A_B_gap > 0) {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
@@ -633,7 +633,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Axl Rose]";
@@ -641,11 +641,11 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else if (.@A_B_gap == 0) {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -653,7 +653,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Axl Rose]";
@@ -661,11 +661,11 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
@@ -673,7 +673,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Axl Rose]";
@@ -681,7 +681,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, next time you will definitely win.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
@@ -703,7 +703,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
set .@A_B_gap,$@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id2 == getcharid(4)) {
if (.@A_B_gap > 0) {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -711,7 +711,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Swandery]";
@@ -719,11 +719,11 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else if (.@A_B_gap == 0) {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
@@ -731,7 +731,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,3; //BF_Badge2
+ getitem BF_Badge2,3;
}
else {
mes "[Swandery]";
@@ -739,11 +739,11 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
else {
- set .@your_medal,countitem(7829);
+ set .@your_medal,countitem(BF_Badge2);
set .@medal_gap,500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
@@ -751,7 +751,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,9; //BF_Badge2
+ getitem BF_Badge2,9;
}
else {
mes "[Swandery]";
@@ -759,7 +759,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
mes "Let's enjoy our glorious victory!";
mes ""+strcharinfo(0)+", it's a sign reflecting victory.";
close2;
- getitem 7829,.@medal_gap; //BF_Badge2
+ getitem BF_Badge2,.@medal_gap;
}
}
}
diff --git a/npc/custom/card_remover.txt b/npc/custom/card_remover.txt
index dace8cac0..902f09f91 100644
--- a/npc/custom/card_remover.txt
+++ b/npc/custom/card_remover.txt
@@ -50,7 +50,7 @@ prt_in,28,73,4 script Wise Old Woman#eAcustom 1_F_ORIENT_04,{
}
set .@cardcount,getequipcardcnt(.@part);
- if (!checkweight(1202,(.@cardcount+1))) {
+ if (!checkweight(Knife_,(.@cardcount+1))) {
mes "^3355FFJust a minute!";
mes "I can't offer any of my";
mes "services to you because";
@@ -67,7 +67,7 @@ prt_in,28,73,4 script Wise Old Woman#eAcustom 1_F_ORIENT_04,{
mes "Very well. Return at once if you seek my services.";
close;
}
- if((Zeny < (.zenycost+(.@cardcount * .percardcost))) || (countitem(1000) < 1) || (countitem(715) < 1)) {
+ if((Zeny < (.zenycost+(.@cardcount * .percardcost))) || (countitem(Star_Crumb) < 1) || (countitem(Yellow_Gemstone) < 1)) {
mes "[Wise Old Woman]";
mes "You do not have all the items I require to work my magic, child. Come again when you do.";
close;
diff --git a/npc/custom/etc/penal_servitude.txt b/npc/custom/etc/penal_servitude.txt
index 30aaf17e2..8566fb871 100644
--- a/npc/custom/etc/penal_servitude.txt
+++ b/npc/custom/etc/penal_servitude.txt
@@ -130,24 +130,24 @@ M_NO_THANKS:
sec_in02,137,57,1 script Overseer 4_M_PAY_SOLDIER,{
mes "[Oliver]";
- delitem 4002,countitem(4002);//Items: Fabre_Card,
- delitem 4009,countitem(4009);//Items: Chonchon_Card,
- delitem 4022,countitem(4022);//Items: Spore_Card,
- delitem 4048,countitem(4048);//Items: Poison_Spore_Card,
+ delitem Fabre_Card,countitem(Fabre_Card);//Items: Fabre_Card,
+ delitem Chonchon_Card,countitem(Chonchon_Card);//Items: Chonchon_Card,
+ delitem Spore_Card,countitem(Spore_Card);//Items: Spore_Card,
+ delitem Poison_Spore_Card,countitem(Poison_Spore_Card);//Items: Poison_Spore_Card,
if (PRISON_Q <= 0 ) goto L_GET_Q;
mes "I want you to gather ^FF0000"+PRISON_Q+" Orange Net Mushroom^000000.";
- if ( countitem(1069)<PRISON_Q ) close;//Items: Orange_Net_Mushroom,
+ if ( countitem(Mushroom_Of_Thief_1)<PRISON_Q ) close;//Items: Orange_Net_Mushroom,
mes "OK... hand me all the shrooms...";
- mes "Let me see... "+countitem(1069)+" of almost eadible ones...";//Items: Orange_Net_Mushroom,
- mes "And "+countitem(1070)+" useless deadly ones.";//Items: Orange_Gooey_Mushroom_,
+ mes "Let me see... "+countitem(Mushroom_Of_Thief_1)+" of almost eadible ones...";//Items: Orange_Net_Mushroom,
+ mes "And "+countitem(Mushroom_Of_Thief_2)+" useless deadly ones.";//Items: Orange_Gooey_Mushroom_,
next;
mes "[Oliver]";
mes "Thank you. You are free!";
set PRISON_Q,0;
- delitem 1069,countitem(1069);//Items: Orange_Net_Mushroom,
- delitem 1070,countitem(1070);//Items: Orange_Gooey_Mushroom_,
+ delitem Mushroom_Of_Thief_1,countitem(Mushroom_Of_Thief_1);//Items: Orange_Net_Mushroom,
+ delitem Mushroom_Of_Thief_2,countitem(Mushroom_Of_Thief_2);//Items: Orange_Gooey_Mushroom_,
next;
savepoint "izlude",105,112;
warp "izlude",105,112;
@@ -157,9 +157,9 @@ L_GET_Q:
set PRISON,PRISON+1;
if (PRISON > 1) mes "Hmm... You've been here already... Well-well...";
- if ( countitem(1069) || countitem(1070) ) mes "Drop these mushrooms!! They are poisonous!";//Items: Orange_Net_Mushroom, Orange_Gooey_Mushroom_,
- delitem 1069,countitem(1069);//Items: Orange_Net_Mushroom,
- delitem 1070,countitem(1070);//Items: Orange_Gooey_Mushroom_,
+ if ( countitem(Mushroom_Of_Thief_1) || countitem(Mushroom_Of_Thief_2) ) mes "Drop these mushrooms!! They are poisonous!";//Items: Orange_Net_Mushroom, Orange_Gooey_Mushroom_,
+ delitem Mushroom_Of_Thief_1,countitem(Mushroom_Of_Thief_1);//Items: Orange_Net_Mushroom,
+ delitem Mushroom_Of_Thief_2,countitem(Mushroom_Of_Thief_2);//Items: Orange_Gooey_Mushroom_,
set PRISON_Q, PRISON*3 + BaseLevel/3;
set PRISON_Q, PRISON_Q * (readparam(bAspd)/55 + 1);
diff --git a/npc/custom/events/hallow06.txt b/npc/custom/events/hallow06.txt
index 01a122320..3045c2330 100644
--- a/npc/custom/events/hallow06.txt
+++ b/npc/custom/events/hallow06.txt
@@ -87,7 +87,7 @@ L_Treat:
menu "Got'em",-, "Don't Have",L_Dont_Have, "See List",L_List;
mes "[Hallows' Eve Event]";
- if((countitem(2220) < 1) || (countitem(535) < 30) || (countitem(7205) < 20)){
+ if((countitem(Hat) < 1) || (countitem(Pumpkin) < 30) || (countitem(Piece_Of_Black_Cloth) < 20)){
mes "You don't have enough items. Come back when you do.";
emotion e_sry;
close;
diff --git a/npc/custom/events/uneasy_cemetery.txt b/npc/custom/events/uneasy_cemetery.txt
index d48e5f928..b996dc4d7 100644
--- a/npc/custom/events/uneasy_cemetery.txt
+++ b/npc/custom/events/uneasy_cemetery.txt
@@ -33,7 +33,7 @@ OnInit:
end;
OnHour06:
- killmonsterall "prontera"; //The Sun kills undead in the morning
+ killmonster "Uneasy_Check::OnZombieDead"; //The Sun kills undead in the morning
end;
OnHour01:
@@ -52,7 +52,7 @@ OnZombieDead:
end;
L_Start_Undead:
- killmonsterall "prontera"; //kills any left monsters
+ killmonster "Uneasy_Check::OnZombieDead"; //kills any left monsters
enablenpc "Mother Mathana";
//call some monsters in the city
set $@UNEASY_MOB, 65;
@@ -82,9 +82,9 @@ L_Undead_Walk:
next;
menu "Yes, have all my Holy Water!",-, "Nope, I need it.",M_NO, "I don't have any.",M_DONT_HAVE;
- if ( countitem(523)<1 ) goto M_DONT_HAVE;
- set $UNEASY_BL,$UNEASY_BL-countitem(523);
- delitem 523,countitem(523);
+ if ( countitem(Holy_Water)<1 ) goto M_DONT_HAVE;
+ set $UNEASY_BL,$UNEASY_BL-countitem(Holy_Water);
+ delitem 523,countitem(Holy_Water);
if ( $UNEASY_BL > 0 ) goto L_NEED_MORE;
//set quiet days!!! no more undead for this period!
@@ -96,7 +96,7 @@ L_Undead_Walk:
mes "[Mother Mathana]";
mes "Upon pouring the cemetery with that water we'll get " + $UNEASY_DL + " safe nights!";
next;
- killmonsterall "prontera"; //kills any left monsters
+ killmonster "Uneasy_Check::OnZombieDead"; //kills any left monsters
mes "[Mother Mathana]";
mes "See, "+ $UNEASY_H$ +"? They all are gone now!";
next;
@@ -107,7 +107,7 @@ L_Undead_Walk:
if (Sex==0) mapannounce "prontera","[Mother Mathana]: In the name of Odin we declare beautiful "+$UNEASY_H$+" as a Prontera savior!",0;
mes "[Mother Mathana]";
mes "In the name of Odin we bless you and decently present a modest gift just from Mareusis' wine-cellar.";
- getitem 505,1; //Blue_Potion
+ getitem Blue_Potion,1;
set JobExp,JobExp+100;
set BaseExp,BaseExp+50;
close;
diff --git a/npc/custom/events/valentinesdayexp.txt b/npc/custom/events/valentinesdayexp.txt
index 933afc647..ccb66bde6 100644
--- a/npc/custom/events/valentinesdayexp.txt
+++ b/npc/custom/events/valentinesdayexp.txt
@@ -166,7 +166,7 @@ M_CHOCO:
if (@flag_num > 5) goto L_ERR;
set @needmon,@flag_num*4500;
if (Zeny < @needmon) goto L_NOTENO;
- if (countitem(519) < @flag_num) goto L_NOMILK;
+ if (countitem(Milk) < @flag_num) goto L_NOMILK;
Zeny -= @needmon;
delitem 519,@flag_num;
getitem 561,@flag_num;
@@ -204,7 +204,7 @@ prt_castle,54,34,4 script Carl Orleans#val1 1_M_01,{
mes "[Carl Orleans]";
mes "Well, I just might be able to fulfill your needs...";
next;
- if (countitem(558)<3) {
+ if (countitem(Chocolate)<3) {
mes "[Carl Orleans]";
mes "I'm sorry you do not have enough Chocolate Bars to do this.";
if(rand(2))mes "They say Stephen from Alberta used to sell good Chocolate.";
@@ -237,7 +237,7 @@ M_WHITE:
mes "[Carl Orleans]";
mes "Well, I just might be able to fulfill your needs...";
next;
- if (countitem(561)<3) {
+ if (countitem(White_Chocolate)<3) {
mes "[Carl Orleans]";
mes "I'm sorry you do not have enough White Chocolate Bars to do this.";
if(rand(2))mes "They say Jainie from Alberta used to sell good White Chocolate.";
diff --git a/npc/custom/events/xmas_rings_event.txt b/npc/custom/events/xmas_rings_event.txt
index 71be79aa5..a1b8918d9 100644
--- a/npc/custom/events/xmas_rings_event.txt
+++ b/npc/custom/events/xmas_rings_event.txt
@@ -64,17 +64,17 @@ M_WRAP:
next;
menu "Wrap them, please!",-, "No, thanks.",M_QUEST;
- set @prizes, countitem(664)+countitem(665)+countitem(666)+countitem(667);
+ set @prizes, countitem(Gift_Box_1)+countitem(Gift_Box_2)+countitem(Gift_Box_3)+countitem(Gift_Box_4);
if( @prizes == 0){
mes "[Snower]";
mes "I don't see any gifts in fancy boxes on you...";
- if(countitem(644))mes "You've got only gray boxes.";
+ if(countitem(Gift_Box))mes "You've got only gray boxes.";
close;
}
- delitem 664,countitem(664);
- delitem 665,countitem(665);
- delitem 666,countitem(666);
- delitem 667,countitem(667);
+ delitem 664,countitem(Gift_Box_1);
+ delitem 665,countitem(Gift_Box_2);
+ delitem 666,countitem(Gift_Box_3);
+ delitem 667,countitem(Gift_Box_4);
getitem 644,@prizes;
mes "[Snower]";
@@ -114,7 +114,7 @@ louyang,224,249,4 script Sneewy 4_F_KID3,{
menu "Here are your 4 Gift Boxes",-, "I don't know any Snowhatevers...",M_End;
mes "[Sneewy]";
- if(countitem(644)<4){
+ if(countitem(Gift_Box)<4){
mes "Gimme 4 gifts for poor kids... Wait, you haven't got 4 of them!";
emotion e_sry;
close;
@@ -166,7 +166,7 @@ izlu2dun,133,160,2 script Snoowy 4_F_06,{
menu "Have these gifts!",-, "I need a li'l something in return",M_End;
mes "[Snoowy]";
- if(countitem(644)<3){
+ if(countitem(Gift_Box)<3){
mes "Oops!! You haven't got 3 gray gift boxes on you.";
emotion e_sry;
close;
diff --git a/npc/custom/quests/bandit_beard.txt b/npc/custom/quests/bandit_beard.txt
index 68c13727b..dc2d837fb 100644
--- a/npc/custom/quests/bandit_beard.txt
+++ b/npc/custom/quests/bandit_beard.txt
@@ -71,8 +71,8 @@ L_MAKE:
mes "[Bearded Man]";
mes "Let's make you your beard!";
next;
- if(countitem(7200) < 1 || countitem(919) < 1 || countitem(983) < 1 || countitem(2241) < 1 ||
- countitem(938) < 100 || countitem(973) < 1 || countitem(731) < 1) goto L_NOITEMS;
+ if(countitem(Flexible_String) < 1 || countitem(Animal's_Skin) < 1 || countitem(Black_Dyestuffs) < 1 || countitem(Granpa_Beard) < 1 ||
+ countitem(Sticky_Mucus) < 100 || countitem(Counteragent) < 1 || countitem(Crystal_Jewel_) < 1) goto L_NOITEMS;
delitem 7200, 1;
delitem 919, 1;
delitem 983, 1;
diff --git a/npc/custom/quests/dead_branch.txt b/npc/custom/quests/dead_branch.txt
index ef49db159..9b54501f7 100644
--- a/npc/custom/quests/dead_branch.txt
+++ b/npc/custom/quests/dead_branch.txt
@@ -77,10 +77,10 @@ M_CREATE:
mes "[Mister Mobry]";
mes "Well...let us see what you brought me...";
next;
- if(countitem(7201)<3) goto L_NOLOG;
- if(countitem(7189)<1) goto L_NOHEART;
- if(countitem(1019)<5) goto L_NOTRUNK;
- if(countitem(7222)<1) goto L_NOGNARL;
+ if(countitem(Log)<3) goto L_NOLOG;
+ if(countitem(Heart_Of_Tree)<1) goto L_NOHEART;
+ if(countitem(Wooden_Block)<5) goto L_NOTRUNK;
+ if(countitem(Tree_Knot)<1) goto L_NOGNARL;
delitem 7201,3;
delitem 7189,1;
delitem 1019,5;
@@ -89,10 +89,10 @@ M_CREATE:
mes "Heh... Hope you have fun with the tree spirits... Careful now...";
mes "Heh... careful now? What do I care if you di..... Never mind.";
if(rand(1000)==0) goto L_GIVE2;
- getitem 604,1; //Dead Branch
+ getitem Branch_Of_Dead_Tree,1; //Dead Branch
close;
L_GIVE2:
- getitem 12103,1; //Bloody Branch
+ getitem Bloody_Dead_Branch,1; //Bloody Branch
close;
M_End:
diff --git a/npc/custom/quests/elvenear.txt b/npc/custom/quests/elvenear.txt
index eb2d1ba4c..cf468d68e 100644
--- a/npc/custom/quests/elvenear.txt
+++ b/npc/custom/quests/elvenear.txt
@@ -21,7 +21,7 @@ geffen,127,49,5 script Elven Ears Quest 4_M_02,{
mes "[Elven Ears quest]";
mes "Good good, let me just check";
next;
- if(countitem(2213)<1 || countitem(1040)<20 || countitem(919)<20) goto L_NoMake;
+ if(countitem(Cat_Hairband)<1 || countitem(Elder_Pixie's_Beard)<20 || countitem(Animal's_Skin)<20) goto L_NoMake;
delitem 2213,1;
delitem 1040,20;
delitem 919,20;
diff --git a/npc/custom/quests/event_6_new_hats.txt b/npc/custom/quests/event_6_new_hats.txt
index 497fae849..b72d895df 100644
--- a/npc/custom/quests/event_6_new_hats.txt
+++ b/npc/custom/quests/event_6_new_hats.txt
@@ -39,18 +39,18 @@ L1_4:
mes "[Zac]";
mes "Let me check the items you have brought here.";
next;
- if(countitem(609) < 10) goto L_ITEM_1c;//Items: Amulet,
- if(countitem(978) < 1) goto L_ITEM_2c;//Items: Cobaltblue Dyestuff,
- if(countitem(2264) < 1) goto L_ITEM_3c;//Items: Munak Hat,
- delitem 609,10;//Items: Amulet,
- delitem 978,1;//Items: Cobaltblue Dyestuff,
- delitem 2264,1; //Items: Munak Hat,
+ if(countitem(Amulet) < 10) goto L_ITEM_1c;//Items: Amulet,
+ if(countitem(Cobaltblue_Dyestuffs) < 1) goto L_ITEM_2c;//Items: Cobaltblue Dyestuff,
+ if(countitem(Munak_Turban) < 1) goto L_ITEM_3c;//Items: Munak Hat,
+ delitem Amulet,10;//Items: Amulet,
+ delitem Cobaltblue_Dyestuffs,1;//Items: Cobaltblue Dyestuff,
+ delitem Munak_Turban,1; //Items: Munak Hat,
mes "[Zac]";
mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Bongun Hat for you right away. Please Wait a Moment.";
next;
mes "[Zac]";
mes "Tah Dah! ^FF0000Bongun Hat^000000...! Please Take it!";
- getitem 5046,1;//Items: Bongun Hat,
+ getitem Bongun_Hat,1;//Items: Bongun Hat,
next;
mes "[Zac]";
mes "I liked that, I look forward to making more. Thank you.";
@@ -99,16 +99,16 @@ L1_9:
mes "[Blac]";
mes "Let me check the items you have brought here.";
next;
- if(countitem(5041) < 1) goto L_ITEM_1;//Items: Heart Hairpin,
- if(countitem(999) < 10) goto L_ITEM_2;//Items: Steel,
- delitem 5041,1;//Items: Heart Hairpin,
- delitem 999,10; //Items: Steel,
+ if(countitem(Heart_Hair_Pin) < 1) goto L_ITEM_1;//Items: Heart Hairpin,
+ if(countitem(Steel) < 10) goto L_ITEM_2;//Items: Steel,
+ delitem Heart_Hair_Pin,1;//Items: Heart Hairpin,
+ delitem Steel,10; //Items: Steel,
mes "[Blac]";
mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Crescent Hairpin for you right away. Please Wait a Moment.";
next;
mes "[Blac]";
mes "Tah Dah! ^FF0000Crescent Hairpin^000000...! Please Take it!";
- getitem 5048,1;//Items: Cresent Hairpin,
+ getitem First_Moon_Hair_Pin,1;//Items: Cresent Hairpin,
next;
mes "[Blac]";
mes "I liked that, I look forward to making more. Thank you.";
@@ -153,16 +153,16 @@ L1_19:
mes "[Jac]";
mes "Let me check the items you have brought here.";
next;
- if(countitem(10007) < 1) goto L_ITEM_1b;//Items: Silk Ribbon,
- if(countitem(10009) < 1) goto L_ITEM_2b;//Items: Wild Flower,
- delitem 10007,1;//Items: Silk Ribbon,
- delitem 10009,1; //Items: Wild Flower,
+ if(countitem(Silk_Ribbon) < 1) goto L_ITEM_1b;//Items: Silk Ribbon,
+ if(countitem(Wild_Flower) < 1) goto L_ITEM_2b;//Items: Wild Flower,
+ delitem Silk_Ribbon,1;//Items: Silk Ribbon,
+ delitem Wild_Flower,1; //Items: Wild Flower,
mes "[Jac]";
mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Kafra Band for you right away. Please Wait a Moment.";
next;
mes "[Jac]";
mes "Tah Dah! ^FF0000Kafra Band^000000...! Please Take it!";
- getitem 5020,1;//Items: Kafra's Band,
+ getitem Kafra_Band,1;//Items: Kafra's Band,
next;
mes "[Jac]";
mes "I liked that, I look forward to making more. Thank you.";
@@ -179,16 +179,16 @@ L1_24:
mes "[Jac]";
mes "Let me check the items you have brought here.";
next;
- if(countitem(999) < 10) goto L_ITEM_1g;//Items: Steel,
- if(countitem(948) < 200) goto L_ITEM_2g;//Items: Bears Footskin,
- delitem 999,10;//Items: Steel,
- delitem 948,200; //Items: Bears Footskin,
+ if(countitem(Steel) < 10) goto L_ITEM_1g;//Items: Steel,
+ if(countitem(Bear's_Foot) < 200) goto L_ITEM_2g;//Items: Bears Footskin,
+ delitem Steel,10;//Items: Steel,
+ delitem Bear's_Foot,200; //Items: Bears Footskin,
mes "[Jac]";
mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Panda Hat for you right away. Please Wait a Moment.";
next;
mes "[Jac]";
mes "Tah Dah! ^FF0000Panda Hat^000000...! Please Take it!";
- getitem 5030,1;//Items: Panda Hat,
+ getitem Panda_Cap,1;//Items: Panda Hat,
next;
mes "[Jac]";
mes "I liked that, I look forward to making more. Thank you.";
@@ -237,16 +237,16 @@ L1_26:
mes "[Pac]";
mes "Let me check the items you have brought here.";
next;
- if(countitem(741) < 1) goto L_ITEM_1a;//Items: Poring Doll,
- if(countitem(909) < 300) goto L_ITEM_2a;//Items: Jellopy,
- delitem 741,1;//Items: Poring Doll,
- delitem 909,300;//Items: Jellopy,
+ if(countitem(Poring_Doll) < 1) goto L_ITEM_1a;//Items: Poring Doll,
+ if(countitem(Jellopy) < 300) goto L_ITEM_2a;//Items: Jellopy,
+ delitem Poring_Doll,1;//Items: Poring Doll,
+ delitem Jellopy,300;//Items: Jellopy,
mes "[Pac]";
mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Poring Hat for you right away. Please Wait a Moment.";
next;
mes "[Pac]";
mes "Tah Dah! ^FF0000Poring Hat^000000...! Please Take it!";
- getitem 5035,1;//Items: Poring Hat,
+ getitem Poring_Hat,1;//Items: Poring Hat,
next;
mes "[Pac]";
mes "I liked that, I look forward to making more. Thank you.";
@@ -263,22 +263,22 @@ L1_29:
mes "[Pac]";
mes "Let me check the items you have brought here.";
next;
- if(countitem(999) < 25) goto L_ITEM_1d;//Items: Steel,
- if(countitem(979) < 1) goto L_ITEM_2d;//Items: Darkgreen Dyestuff,
- if(countitem(976) < 1) goto L_ITEM_3d;//Items: Lemon Dyestuffs,
- if(countitem(1059) < 150) goto L_ITEM_4d;//Items: Fabric,
- if(countitem(969) < 2) goto L_ITEM_5d;//Items: Gold,
- delitem 999,25;//Items: Steel,
- delitem 979,1;//Items: Darkgreen Dyestuff,
- delitem 976,1;//Items: Lemon Dyestuffs,
- delitem 1059,150;//Items: Fabric,
- delitem 969,2; //Items: Gold,
+ if(countitem(Steel) < 25) goto L_ITEM_1d;//Items: Steel,
+ if(countitem(Darkgreen_Dyestuffs) < 1) goto L_ITEM_2d;//Items: Darkgreen Dyestuff,
+ if(countitem(Lemon_Dyestuffs) < 1) goto L_ITEM_3d;//Items: Lemon Dyestuffs,
+ if(countitem(Transparent_Cloth) < 150) goto L_ITEM_4d;//Items: Fabric,
+ if(countitem(Gold) < 2) goto L_ITEM_5d;//Items: Gold,
+ delitem Steel,25;//Items: Steel,
+ delitem Darkgreen_Dyestuffs,1;//Items: Darkgreen Dyestuff,
+ delitem Lemon_Dyestuffs,1;//Items: Lemon Dyestuffs,
+ delitem Transparent_Cloth,150;//Items: Fabric,
+ delitem Gold,2; //Items: Gold,
mes "[Pac]";
mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Sphinx Hat for you right away. Please Wait a Moment.";
next;
mes "[Pac]";
mes "Tah Dah! ^FF0000Sphinx Hat^000000...! Please Take it!";
- getitem 5053,1;//Items: Sphinx Hat,
+ getitem Spinx_Helm,1;//Items: Sphinx Hat,
next;
mes "[Pac]";
mes "I liked that, I look forward to making more. Thank you.";
diff --git a/npc/custom/quests/jewel_case.txt b/npc/custom/quests/jewel_case.txt
index d725a33f1..509819626 100644
--- a/npc/custom/quests/jewel_case.txt
+++ b/npc/custom/quests/jewel_case.txt
@@ -20,7 +20,7 @@ lighthalzen,108,229,2 script La Fenn 4_M_JPNOJI,{
mes "[La Fenn]";
mes "Here is your prize. It's yours for good.";
set Q_99LVL,0;
- getitem 12106,1; //Jewel Case
+ getitem Accessory_Box,1; //Jewel Case
emotion e_grat;
} else {
mes callfunc("F_Hi");
diff --git a/npc/custom/quests/kahohorn.txt b/npc/custom/quests/kahohorn.txt
index 8c5c4d8cf..880e2aff9 100644
--- a/npc/custom/quests/kahohorn.txt
+++ b/npc/custom/quests/kahohorn.txt
@@ -53,7 +53,7 @@ geffen,115,107,5 script Lord Kaho's Servant 1_M_PUBMASTER,{
mes .@n$;
for(set .@i,0; .@i<18; set .@i,.@i+1)
if (!countitem(.@items[.@i])) { set .@nr,1; break; }
- if (.@nr || countitem(714) < 3 || Zeny < 5000000) {
+ if (.@nr || countitem(Emperium) < 3 || Zeny < 5000000) {
mes "I can't afford to make this if you don't bring all materials needed. Please understand this is to benefit heroes such as yourself!";
close; }
for(set .@i,0; .@i<18; set .@i,.@i+1)
diff --git a/npc/custom/quests/may_hats.txt b/npc/custom/quests/may_hats.txt
index 1739fee07..3a37c5c9c 100644
--- a/npc/custom/quests/may_hats.txt
+++ b/npc/custom/quests/may_hats.txt
@@ -36,11 +36,11 @@ gonryun,187,140,4 script Yakima 4_F_EINWOMAN,{
next;
menu "Yeah.",-,"Nay.",M_Exit;
- if(countitem(5067) < 1 || countitem(916) < 920 || countitem(925) < 310) goto l_noitem;//Items: Sombrero, Feather_of_Birds, Bill_of_Birds,
- delitem 5067,1;//Items: Sombrero,
- delitem 916,920;//Items: Feather_of_Birds,
- delitem 925,310;//Items: Bill_of_Birds,
- getitem 5129,1;//Items: Bird_Nest,
+ if(countitem(Sombrero) < 1 || countitem(Feather_Of_Birds) < 920 || countitem(Bill_Of_Birds) < 310) goto l_noitem;//Items: Sombrero, Feather_of_Birds, Bill_of_Birds,
+ delitem Sombrero,1;//Items: Sombrero,
+ delitem Feather_Of_Birds,920;//Items: Feather_of_Birds,
+ delitem Bill_Of_Birds,310;//Items: Bill_of_Birds,
+ getitem Bird_Nest,1;//Items: Bird_Nest,
mes "[Yakima]";
mes "Thank you very very much!";
mes callfunc("F_Bye");
@@ -63,12 +63,12 @@ M_2:
next;
menu "Yeah.",-,"Nay.",M_Exit;
- if(countitem(5098) < 1 || countitem(1030) < 10 || countitem(1029) < 30 || countitem(7267) < 300) goto l_noitem;//Items: Tiger_Mask, Tiger_Skin, Tiger's_Footskin, Tiger_Panty,
- delitem 5098,1;//Items: Tiger_Mask,
- delitem 1030,10;//Items: Tiger's_Footskin,
- delitem 1029,30;//Items: Tiger_Skin,
- delitem 7267,300;//Items: Tiger_Panty,
- getitem 5130,1;//Items: Lion_Mask,
+ if(countitem(Tiger_Mask) < 1 || countitem(Tiger_Footskin) < 10 || countitem(Tiger's_Skin) < 30 || countitem(Tiger_Skin_Panties) < 300) goto l_noitem;//Items: Tiger_Mask, Tiger_Skin, Tiger's_Footskin, Tiger_Panty,
+ delitem Tiger_Mask,1;//Items: Tiger_Mask,
+ delitem Tiger_Footskin,10;//Items: Tiger's_Footskin,
+ delitem Tiger's_Skin,30;//Items: Tiger_Skin,
+ delitem Tiger_Skin_Panties,300;//Items: Tiger_Panty,
+ getitem Lion_Mask,1;//Items: Lion_Mask,
mes "[Yakima]";
mes "Thank you very very much!";
mes callfunc("F_Bye");
@@ -92,12 +92,12 @@ M_3:
next;
menu "Yeah.",-,"Nay.",M_Exit;
- if(countitem(2508) < 1 || countitem(2506) < 2 || countitem(2609) < 3 || countitem(7207) < 10) goto l_noitem;//Items: Ragamuffin_Manteau, Manteau_, Skull_Ring, Old_Manteau,
- delitem 2508,1;//Items: Ragamuffin_Manteau,
- delitem 2506,2;//Items: Manteau_,
- delitem 2609,3;//Items: Skull_Ring,
- delitem 7207,10;//Items: Old_Manteau,
- getitem 2511,1;//Items: Skeleton_Manteau,
+ if(countitem(Ragamuffin_Cape) < 1 || countitem(Manteau_) < 2 || countitem(Skul_Ring) < 3 || countitem(Old_Manteau) < 10) goto l_noitem;//Items: Ragamuffin_Manteau, Manteau_, Skull_Ring, Old_Manteau,
+ delitem Ragamuffin_Cape,1;//Items: Ragamuffin_Manteau,
+ delitem Manteau_,2;//Items: Manteau_,
+ delitem Skul_Ring,3;//Items: Skull_Ring,
+ delitem Old_Manteau,10;//Items: Old_Manteau,
+ getitem Skeleton's_Cape,1;//Items: Skeleton_Manteau,
mes "[Yakima]";
mes "Thank you very very much!";
mes callfunc("F_Bye");
@@ -121,12 +121,12 @@ M_4:
next;
menu "Yeah.",-,"Nay.",M_Exit;
- if(countitem(2269) < 3 || countitem(2207) < 3 || countitem(2612) < 2 || countitem(2287)<3 ) goto l_noitem;//Items: Romantic_Flower, Fancy_Flower, Flower_Ring,
- delitem 2269,3;//Items: Romantic_Flower,
- delitem 2207,3;//Items: Fancy_Flower,
- delitem 2612,2;//Items: Flower_Ring,
- delitem 2287,3;//Items: Pirate_Bandana
- getitem 2641,1;//Items: Fashion_Hip_Sack,
+ if(countitem(Centimental_Flower) < 3 || countitem(Fancy_Flower) < 3 || countitem(Flower_Ring) < 2 || countitem(Pirate_Bandana)<3 ) goto l_noitem;//Items: Romantic_Flower, Fancy_Flower, Flower_Ring,
+ delitem Centimental_Flower,3;//Items: Romantic_Flower,
+ delitem Fancy_Flower,3;//Items: Fancy_Flower,
+ delitem Flower_Ring,2;//Items: Flower_Ring,
+ delitem Pirate_Bandana,3;//Items: Pirate_Bandana
+ getitem Fashionable_Sack,1;//Items: Fashion_Hip_Sack,
mes "[Yakima]";
mes "Thank you very very much!";
mes callfunc("F_Bye");
@@ -152,14 +152,14 @@ M_5:
next;
menu "Yeah.",-,"Nay.",M_Exit;
- if(countitem(975) < 1 || countitem(980) < 1 || countitem(2272) < 2 || countitem(2262) < 3 || countitem(7298) < 180 || countitem(7164) < 20) goto l_noitem;//Items: Scarlet_Dyestuff, Orange_Dyestuff, Stop_Post, Clown_Nose, Fig_Leaf, Solid_Peach,
- delitem 975,1;//Items: Scarlet_Dyestuff,
- delitem 980,1;//Items: Orange_Dyestuff,
- delitem 2272,2;//Items: Stop_Post,
- delitem 2262,3;//Items: Clown_Nose,
- delitem 7298,180;//Items: Fig_Leaf,
- delitem 7164,20;//Items: Solid_Peach,
- getitem 5100,1;//Items: Sales_Banner,
+ if(countitem(Scarlet_Dyestuffs) < 1 || countitem(Orange_Dyestuffs) < 1 || countitem(Stop_Post) < 2 || countitem(Pierrot_Nose) < 3 || countitem(Leaf_Clothes) < 180 || countitem(Hard_Peach) < 20) goto l_noitem;//Items: Scarlet_Dyestuff, Orange_Dyestuff, Stop_Post, Clown_Nose, Fig_Leaf, Solid_Peach,
+ delitem Scarlet_Dyestuffs,1;//Items: Scarlet_Dyestuff,
+ delitem Orange_Dyestuffs,1;//Items: Orange_Dyestuff,
+ delitem Stop_Post,2;//Items: Stop_Post,
+ delitem Pierrot_Nose,3;//Items: Clown_Nose,
+ delitem Leaf_Clothes,180;//Items: Fig_Leaf,
+ delitem Hard_Peach,20;//Items: Solid_Peach,
+ getitem Sales_Signboard,1;//Items: Sales_Banner,
mes "[Yakima]";
mes "Thank you very very much!";
mes callfunc("F_Bye");
diff --git a/npc/custom/quests/sunglasses.txt b/npc/custom/quests/sunglasses.txt
index 447fca877..1b45c9036 100644
--- a/npc/custom/quests/sunglasses.txt
+++ b/npc/custom/quests/sunglasses.txt
@@ -51,7 +51,7 @@ alberta,88,193,5 script Sunglasses Trader 1_F_MERCHANT_01,{
mes "Suit yourself.";
close; }
mes "[Sunglasses Trader]";
- if (countitem(730) < 1 || countitem(949) < 50 || Zeny < 100000) {
+ if (countitem(Crystal_Jewel) < 1 || countitem(Feather) < 50 || Zeny < 100000) {
mes "You're missing something. Come back when you've gathered all the materials.";
close; }
delitem 730,1;
@@ -87,7 +87,7 @@ moc_fild07,334,186,5 script Maseph 4_F_GON,{
mes "As you wish.";
close; }
mes "[Maseph]";
- if (countitem(2201) < 1) {
+ if (countitem(Sunglasses) < 1) {
mes "I need one pair of ^000088Sunglasses^000000. Come back to me when you have one.";
close; }
if (Zeny < 400000) {
diff --git a/npc/custom/quests/tha_statues.txt b/npc/custom/quests/tha_statues.txt
index 00a7c9a8f..83630355a 100644
--- a/npc/custom/quests/tha_statues.txt
+++ b/npc/custom/quests/tha_statues.txt
@@ -239,7 +239,7 @@ tha_t12,128,88,4 script Sox HIDDEN_NPC,{
mes "[Sox]";
mes "You have to give me Red Magic Stone, Yellow Magic Stone, Blue Magic Stone & Green Magic Stone.";
next;
- if(countitem(7426) < 1 || countitem(7427) < 1 || countitem(7428) < 1 || countitem(7429) < 1) goto nostone;
+ if(countitem(Magic_Gem_Red) < 1 || countitem(Magic_Gem_Yellow) < 1 || countitem(Magic_Gem_Blue) < 1 || countitem(Magic_Gem_Green) < 1) goto nostone;
delitem 7426,1;
delitem 7427,1;
delitem 7428,1;
diff --git a/npc/custom/quests/thq/THQS_QuestNPC.txt b/npc/custom/quests/thq/THQS_QuestNPC.txt
index 9b655625c..eedbcfa5d 100644
--- a/npc/custom/quests/thq/THQS_QuestNPC.txt
+++ b/npc/custom/quests/thq/THQS_QuestNPC.txt
@@ -134,7 +134,7 @@ N_MasterBow:
mes "This is just a package delivery run, no big deal or anything.";
mes " ";
mes "Take this to an archer in the Archer Village outside of Payon.";
- getitem 1072,1; //Delivery_Box
+ getitem Delivery_Message,1; //Delivery_Box
set one_qset,2;
goto L_QuestGiven;
@@ -173,7 +173,7 @@ N_JobList2:
mes " ";
mes "A strange man came in here yesterday and asked me to deliver this ^FF0000Strange Letter^000000 to some woman in Morroc. Knowing us we do not ask questions so you must take care of this delivery.";
mes "The Woman is in located in Morroc and her name is Erika.";
- getitem 1072,1; //Delivery_Message
+ getitem Delivery_Message,1;
set two_qset, 1;
goto L_QuestGiven;
@@ -183,7 +183,7 @@ N_JurJeramiah:
mes "Standard delivery quest.";
mes " ";
mes "Jeramiah ordered a Special Jur from our weapon shop.Your Job is to deliver it to him in the Assasin Temple.";
- getitem 1998,1; //Jeramiah's_Jur
+ getitem 1998,1;
set two_qset,2;
goto L_QuestGiven;
@@ -225,7 +225,7 @@ N_Delivery1:
mes "Standard drop off quest.";
mes " ";
mes "In this quest you need to deliver a mystery box to someone names ^FF0000Flank at the bridge between Aldebaran and Juno^000000.";
- getitem 1082,1; //Delivery_Box_
+ getitem Merchant_Box_2,1; //Delivery_Box_
set three_qset,2;
goto L_QuestGiven;
@@ -271,7 +271,7 @@ N_MWizard:
mes "Proto-type of a Staff must be delivered to Zed the Wizard.";
mes " ";
mes "Zed the Wizard has requested to try out a new un-named proto-type staff. It will be your job to deliver this to him. Zed tend to stay within the general area of Juno.";
- getitem 1999,1; //Zed's_Staff
+ getitem 1999,1;
set four_qset,2;
goto L_QuestGiven;
@@ -322,7 +322,7 @@ N_Thinkfirst:
mes "This sounds like another one of those ditzy girl quests...";
mes " ";
mes "Dazzy the local blond around Geffen has asked for you to deliver her these flowers. I don't know why someone would send flowers to herself...";
- getitem 744,1; //Bouquet
+ getitem Bunch_Of_Flowers,1; //Bouquet
set five_qset,3;
goto L_QuestGiven;
@@ -346,7 +346,7 @@ N_JobList6:
mes "How ironic.";
mes " ";
mes "Deliver this Box to the Thiefs guild.";
- getitem 1083,1; //Delivery_Box__
+ getitem Merchant_Box_3,1; //Delivery_Box__
set six_qset,1;
goto L_QuestGiven;
@@ -365,7 +365,7 @@ N_Delivery2:
mes "Well most of what we do is run packages, this is no different from other's.";
mes " ";
mes "Take this box, DO NOT OPEN IT! To a little girl in Lutie named Chirach she should be around santa.";
- getitem 1083,1; //Delivery_Box__
+ getitem Merchant_Box_3,1; //Delivery_Box__
set six_qset,3;
goto L_QuestGiven;
@@ -398,7 +398,7 @@ N_Delivery3:
mes "So many packages so little time.";
mes " ";
mes "Take this box to a man in Alberta named Charles.";
- getitem 1082,1; //Delivery_Box_
+ getitem Merchant_Box_2,1; //Delivery_Box_
set seven_qset,2;
goto L_QuestGiven;
@@ -440,7 +440,7 @@ N_Delivery4:
mes "Well yah box delivering is in high demand,lots of lazy people.";
mes " ";
mes "Take this package to a man in Morroc named Klye.";
- getitem 1081,1; //Delivery_Box
+ getitem Merchant_Box_1,1; //Delivery_Box
set eight_qset,2;
goto L_QuestGiven;
@@ -473,7 +473,7 @@ N_JobList9:
mes "Oh god please get this out of here fast.";
mes " ";
mes "Oh man smells like someone died in here.Take this to the Magic School in Geffen and hurry,ahh the smell its burning my eye's!!!";
- getitem 1082,1; //Delivery_Box_
+ getitem Merchant_Box_2,1; //Delivery_Box_
set nine_qset,1;
goto L_QuestGiven;
@@ -519,7 +519,7 @@ N_JobList10:
mes "Package to Morroc";
mes " ";
mes "There is nothing writen on this box but a notice to deliver it to a man Kreg.";
- getitem 1082,1; //Delivery_Box_
+ getitem Merchant_Box_2,1; //Delivery_Box_
set ten_qset,1;
goto L_QuestGiven;
diff --git a/npc/custom/quests/thq/THQS_Quests.txt b/npc/custom/quests/thq/THQS_Quests.txt
index 40e89c18b..55037eb5c 100644
--- a/npc/custom/quests/thq/THQS_Quests.txt
+++ b/npc/custom/quests/thq/THQS_Quests.txt
@@ -44,7 +44,7 @@ pay_arche,86,129,6 script Archer 4_M_JOB_HUNTER,{
close;
N_QuestStart:
mes "[Kieth]";
- if (countitem(1072) < 1) {
+ if (countitem(Delivery_Message) < 1) {
mes "Weren't you supposed to deliver me a box? Where is it?";
close;
}
@@ -59,7 +59,7 @@ N_QuestStart:
}
//1-3
prt_fild06,37,192,6 script Farmer 4_M_TELEPORTER,{
- if (one_qset == 3 && countitem(909) > 19 && countitem(955) > 19 && countitem(914) > 19 && countitem(705) > 19) goto N_QuestComp;
+ if (one_qset == 3 && countitem(Jellopy) > 19 && countitem(Worm_Peelings) > 19 && countitem(Fluff) > 19 && countitem(Clover) > 19) goto N_QuestComp;
if (one_qset==3) goto N_QuestStart;
mes "[Billy-Bob]";
mes "Arrrg!... Those Bastard Bugs have eaten everything, this place donest even look like my farm anymore!!";
@@ -86,7 +86,7 @@ N_QuestStart:
}
//1-4
prontera,264,353,6 script Old Lady#thq 8_F_GRANDMOTHER,{
- if (one_qset == 4 && countitem(934) > 14) goto N_QuestComp;
+ if (one_qset == 4 && countitem(Mementos) > 14) goto N_QuestComp;
if (one_qset == 4) goto N_QuestStart;
mes "[Old Lady]";
mes "This is my husbands grave... I'm just paying him a little visit.";
@@ -115,7 +115,7 @@ N_QuestStart:
///////Job list 2///////
//2-1;
morocc,59,109,6 script Erika 8_F_GIRL,{
- if (two_qset == 1 && countitem(1072) > 0) goto N_QuestComp;
+ if (two_qset == 1 && countitem(Delivery_Message) > 0) goto N_QuestComp;
if (two_qset == 1) goto N_QuestStart;
mes "[Erika]";
mes "Hello my name is Erika.";
@@ -173,7 +173,7 @@ N_QuestStart:
}
//2-3;
prt_fild07,316,263,6 script Marsh Man 4_M_02,{
- if (two_qset == 3 && countitem(518) > 19) goto N_QuestComp;
+ if (two_qset == 3 && countitem(Honey) > 19) goto N_QuestComp;
if (two_qset == 3) goto N_QuestStart;
mes "[Lenith]";
mes "Hello, sorry I don't have much time to talk I'm waiting for someone.";
@@ -198,7 +198,7 @@ N_QuestStart:
}
//2-4;
payon,161,72,6 script Molly 4_F_06,{
- if (two_qset == 4 && countitem(7005) > 0) goto N_QuestComp;
+ if (two_qset == 4 && countitem(Skull) > 0) goto N_QuestComp;
if (two_qset == 4) goto N_QuestStart;
mes "[Molly]";
mes "Sorry can't talk, I'm waiting for someone.";
@@ -228,7 +228,7 @@ N_QuestStart:
///////Job list 3///////
//3-1;
moc_fild04,208,322,6 script Clark 1_M_YOUNGKNIGHT,{
- if (three_qset == 1 && countitem(1040) > 29) goto N_QuestComp;
+ if (three_qset == 1 && countitem(Elder_Pixie's_Beard) > 29) goto N_QuestComp;
if (three_qset == 1) goto N_QuestStart;
mes "[Clark]";
mes "Love to chat, but I'm waiting for someone.";
@@ -257,7 +257,7 @@ N_QuestStart:
}
//3-2;
yuno_fild01,186,162,6 script Flank 1_F_MERCHANT_01,{
- if (three_qset == 2 && countitem(1082) > 0) goto N_QuestComp;
+ if (three_qset == 2 && countitem(Merchant_Box_2) > 0) goto N_QuestComp;
if (three_qset == 2) goto N_QuestStart;
mes "[Flank]";
mes "Sorry I'm waiting for my package so I don't want to talk.";
@@ -282,7 +282,7 @@ N_QuestStart:
}
//3-3 Goes to 7-3 using callfunc
prt_sewb1,120,245,6 script Sewer Managment Knight 4_M_GEF_SOLDIER,{
- if (three_qset == 3 && countitem(955) > 149) goto N_QuestComp;
+ if (three_qset == 3 && countitem(Worm_Peelings) > 149) goto N_QuestComp;
if (three_qset == 3) goto N_QuestStart;
if (seven_qset == 3) goto N_QuestStart2;
mes "[Sewer Managmant]";
@@ -310,7 +310,7 @@ N_QuestStart2:
}
//3-4
mjolnir_02,87,357,6 script Man#01 1_M_BARD,{
- if (three_qset == 4 && countitem(1041) > 49) goto N_QuestComp;
+ if (three_qset == 4 && countitem(Lantern) > 49) goto N_QuestComp;
if (three_qset == 4) goto N_QuestStart;
mes "[Rudolfo]";
mes "Danger, the Coal Mine is now a hostile area.";
@@ -338,7 +338,7 @@ N_QuestStart:
///////Job list 4///////
//4-1;
pay_arche,45,138,6 script Flora 4_F_07,{
- if (four_qset == 1 && countitem(957) > 49) goto N_QuestComp;
+ if (four_qset == 1 && countitem(Decayed_Nail) > 49) goto N_QuestComp;
if (four_qset == 1) goto N_QuestStart;
mes "[Flora]";
mes "Well hello be carfull in the cave, we have heard reports of Undead monster funning around.";
@@ -397,7 +397,7 @@ N_QuestStart:
}
//4-3;
prontera,176,204,6 script Dassy 4_F_SISTER,{
- if (four_qset == 3 && countitem(711) > 19) goto N_QuestComp;
+ if (four_qset == 3 && countitem(Shoot) > 19) goto N_QuestComp;
if (four_qset == 3) goto N_QuestStart;
mes "[Dassy]";
mes "Hello!";
@@ -423,7 +423,7 @@ N_QuestStart:
}
//4-4;
prt_gld,157,99,6 script Czhore 4_M_CRU_OLD,{
- if (four_qset == 4 && countitem(714) > 0) goto N_QuestComp;
+ if (four_qset == 4 && countitem(Emperium) > 0) goto N_QuestComp;
if (four_qset == 4) goto N_QuestStart;
mes "[Czhore]";
mes "Hello friend";
@@ -456,7 +456,7 @@ N_QuestStart:
///////Job list 5///////
//5-1;
prt_maze01,18,184,6 script Lithin#01 4_M_CRU_OLD,{
- if (five_qset == 1 && countitem(1028) > 14) goto N_QuestComp;
+ if (five_qset == 1 && countitem(Wild_Boar's_Mane) > 14) goto N_QuestComp;
if (five_qset == 1) goto N_QuestStart;
mes "[Lithin]";
mes "Well hello.";
@@ -483,7 +483,7 @@ N_QuestStart:
}
//5-2 goes to 6-2 using callfunc;
moc_ruins,75,167,6 script Lithin#02 4_M_BARBER,{
- if (five_qset == 2 && countitem(932) > 29) goto N_QuestComp;
+ if (five_qset == 2 && countitem(Skel_Bone) > 29) goto N_QuestComp;
if (five_qset == 2) goto N_QuestStart;
if (six_qset == 2) goto N_QuestStart2;
mes "[Strange Man]";
@@ -511,7 +511,7 @@ N_QuestStart2:
}
//5-3;
geffen,57,130,6 script Blonde Girl 4_F_07,{
- if (five_qset == 3 && countitem(744) > 0) goto N_QuestComp;
+ if (five_qset == 3 && countitem(Bunch_Of_Flowers) > 0) goto N_QuestComp;
if (five_qset == 3) goto N_QuestStart;
mes "[Blonde Girl]";
mes "I wonder what happened to my flowers";
@@ -535,7 +535,7 @@ N_QuestStart:
}
//5-4;
gef_tower,49,27,6 script Wizard#01 4_M_JOB_WIZARD,{
- if (five_qset == 4 && countitem(1059) > 49) goto N_QuestComp;
+ if (five_qset == 4 && countitem(Transparent_Cloth) > 49) goto N_QuestComp;
if (five_qset == 4) goto N_QuestStart;
mes "[Wizard]";
mes "Hello, have you seen my Whisper friend?";
@@ -563,7 +563,7 @@ N_QuestStart:
///////Job list 6///////
//6-1;
moc_prydb1,47,132,6 script Thief 1_M_02,{
- if (six_qset == 1 && countitem(1083) > 0) goto N_QuestComp;
+ if (six_qset == 1 && countitem(Merchant_Box_3) > 0) goto N_QuestComp;
if (six_qset == 1) goto N_QuestStart;
mes "[Thief]";
mes "Welcome to the Thiefs Guild.";
@@ -586,7 +586,7 @@ N_QuestStart:
}
//6-2
function script six_qset2 {
- if (six_qset == 2 && countitem(930) > 29) goto N_QuestComp2;
+ if (six_qset == 2 && countitem(Rotten_Bandage) > 29) goto N_QuestComp2;
mes "[Strange Man]";
mes "Another quest for you I have.";
mes "Futher into the pyramid you must go.";
@@ -609,7 +609,7 @@ N_QuestComp2:
}
//6-3;
xmas,144,136,6 script Chirach 1_M_02,{
- if (six_qset == 3 && countitem(1083) > 0) goto N_QuestComp;
+ if (six_qset == 3 && countitem(Merchant_Box_3) > 0) goto N_QuestComp;
if (six_qset == 3) goto N_QuestStart;
mes "[Chirach]";
mes "Welcome.";
@@ -632,7 +632,7 @@ N_QuestStart:
}
//6-4;
gef_tower,52,87,6 script Wizard#02 4_M_JOB_WIZARD,{
- if (six_qset == 4 && countitem(944) > 19) goto N_QuestComp;
+ if (six_qset == 4 && countitem(Horseshoe) > 19) goto N_QuestComp;
if (six_qset == 4) goto N_QuestStart;
mes "[Zuuzuu]";
mes "Hello, welcome to geffen tower.";
@@ -664,7 +664,7 @@ N_QuestStart:
///////Job list 7///////
//7-1 goes to 8-1 using callfunc;
prontera,123,208,6 script Little Girl#thq 4_F_KID3,{
- if (seven_qset == 1 && countitem(531) > 4) goto N_QuestComp;
+ if (seven_qset == 1 && countitem(Apple_Juice) > 4) goto N_QuestComp;
if (seven_qset == 1) goto N_QuestStart;
if (eight_qset == 1) goto N_QuestStart2;
mes "[Girl]";
@@ -691,7 +691,7 @@ N_QuestStart2:
}
//7-2;
alberta,101,84,6 script Charles 1_M_02,{
- if (seven_qset == 2 && countitem(1082) > 0) goto N_QuestComp;
+ if (seven_qset == 2 && countitem(Merchant_Box_2) > 0) goto N_QuestComp;
if (seven_qset == 2) goto N_QuestStart;
mes "[Charles]";
mes "Hello "+strcharinfo(0)+" welcome to Alberta.";
@@ -714,7 +714,7 @@ N_QuestStart:
}
//7-3
function script seven_qset-3 {
- if (seven_qset == 3 && countitem(969) > 0) goto N_QuestComp2;
+ if (seven_qset == 3 && countitem(Gold) > 0) goto N_QuestComp2;
mes "[Sewer Managment]";
mes "Well there have been reports of a Golden Thief Bug running around the bottem on the Culvert";
mes " ";
@@ -734,7 +734,7 @@ N_QuestComp2:
}
//7-4;
alb2trea,94,102,6 script Scarlet 4_F_JOB_ASSASSIN,{
- if (seven_qset == 4 && countitem(1127) > 0) goto N_QuestComp;
+ if (seven_qset == 4 && countitem(Saber_) > 0) goto N_QuestComp;
if (seven_qset == 4) goto N_QuestStart;
mes "[Scarlet]";
mes "Sorry, busy.";
@@ -760,7 +760,7 @@ N_QuestStart:
///////Job list 8///////
//8-1
function script eight_qset1 {
- if (eight_qset == 1 && countitem(532) > 4) goto N_QuestComp2;
+ if (eight_qset == 1 && countitem(Banana_Juice) > 4) goto N_QuestComp2;
mes "[Girl]";
mes "Hi mister person. Can you get me some Banana juice?";
mes "I want 5 of them.";
@@ -779,7 +779,7 @@ N_QuestComp2:
}
//8-2;
morocc,165,55,6 script Klye 1_M_02,{
- if (eight_qset == 2 && countitem(1081) > 0) goto N_QuestComp;
+ if (eight_qset == 2 && countitem(Merchant_Box_1) > 0) goto N_QuestComp;
if (eight_qset == 2) goto N_QuestStart;
mes "[Klye]";
mes "Hello "+strcharinfo(0)+".";
@@ -803,7 +803,7 @@ N_QuestStart:
}
//8-3;
prt_maze02,103,86,6 script Zack 4_M_CRU,{
- if (eight_qset == 3 && countitem(923) > 0) goto N_QuestComp;
+ if (eight_qset == 3 && countitem(Evil_Horn) > 0) goto N_QuestComp;
if (eight_qset == 3) goto N_QuestStart;
mes "[Zack]";
mes "Hello, have you seen my Whisper friend?";
@@ -829,7 +829,7 @@ N_QuestStart:
}
//8-4;
payon,136,129,6 script Flower 4_F_KID2,{
- if (eight_qset == 4 && countitem(746) > 9) goto N_QuestComp;
+ if (eight_qset == 4 && countitem(Glass_Bead) > 9) goto N_QuestComp;
if (eight_qset == 4) goto N_QuestStart;
mes "[Flower]";
mes "Sorry I'm waiting for someone. You will have to come back later.";
@@ -855,7 +855,7 @@ N_QuestStart:
///////Job list 9///////
//9-1;
geffen_in,168,124,6 script Mage 1_M_02,{
- if (nine_qset == 1 && countitem(1082) > 0) goto N_QuestComp;
+ if (nine_qset == 1 && countitem(Merchant_Box_2) > 0) goto N_QuestComp;
if (nine_qset == 1) goto N_QuestStart;
mes "[Mage]";
mes "Hello "+strcharinfo(0)+" welcome to the Mage Guild.";
@@ -878,7 +878,7 @@ N_QuestStart:
}
//9-2;
pay_arche,98,74,6 script School Girl 4_F_KID2,{
- if (nine_qset == 2 && countitem(1020) > 19) goto N_QuestComp;
+ if (nine_qset == 2 && countitem(Long_Hair) > 19) goto N_QuestComp;
if (nine_qset == 2) goto N_QuestStart;
mes "[School Girl]";
mes "Sorry I'm waiting for someone, you will have to come back later";
@@ -906,7 +906,7 @@ N_QuestStart:
}
//9-3
payon_in02,19,33,6 script Jack 2_M_ALCHE,{
- if (nine_qset == 3 && countitem(1022) > 0) goto N_QuestComp;
+ if (nine_qset == 3 && countitem(Fox_Tail) > 0) goto N_QuestComp;
if (nine_qset == 3) goto N_QuestStart;
if (nine_qset == 4) goto N_QuestStart2;
mes "[Jack]";
@@ -931,7 +931,7 @@ N_QuestStart:
close;
N_QuestStart2:
//9-4
- if (nine_qset == 4 && countitem(901) > 39) goto N_QuestComp2;
+ if (nine_qset == 4 && countitem(Danggie) > 39) goto N_QuestComp2;
mes "[Jack]";
mes "Hello, we need you to investigate some crap in the 3rd level of payon.";
mes " ";
@@ -952,7 +952,7 @@ N_QuestComp2:
///////Job list 10///////
//10-1
morocc,193,51,6 script Kreg 1_M_02,{
- if (ten_qset == 1 && countitem(1082) > 0) goto N_QuestComp;
+ if (ten_qset == 1 && countitem(Merchant_Box_2) > 0) goto N_QuestComp;
if (ten_qset == 1) goto N_QuestStart;
mes "[Kreg]";
mes "Hello "+strcharinfo(0)+" welcome to Morroc.";
@@ -975,7 +975,7 @@ N_QuestStart:
}
//10-2;
pay_fild10,145,252,6 script Man#02 2_M_DYEINGER,{
- if (ten_qset == 2 && countitem(1029) > 0) goto N_QuestComp;
+ if (ten_qset == 2 && countitem(Tiger's_Skin) > 0) goto N_QuestComp;
if (ten_qset == 2) goto N_QuestStart;
mes "[Man]";
mes "Sorry I'm waiting for someone, you will have to come back later";
@@ -1000,7 +1000,7 @@ N_QuestStart:
}
//10-3;
cmd_fild08,328,349,4 script Caral 2_M_SWORDMASTER,{
- if (ten_qset == 3 && countitem(1015) > 0) goto N_QuestComp;
+ if (ten_qset == 3 && countitem(Thin_N'_Long_Tongue) > 0) goto N_QuestComp;
if (ten_qset == 3) goto N_QuestStart;
mes "[Caral]";
mes "Sorry I'm waiting for someone, you will have to come back later.";
@@ -1025,7 +1025,7 @@ N_QuestStart:
}
//10-4
moc_fild15,250,251,6 script Jeni 4_F_JOB_HUNTER,{
- if (ten_qset == 4 && countitem(1096) > 0) goto N_QuestComp;
+ if (ten_qset == 4 && countitem(Round_Shell) > 0) goto N_QuestComp;
if (ten_qset == 4) goto N_QuestStart;
mes "[Jeni]";
mes "Sorry I'm waiting for someone, You will have to come back later";
diff --git a/npc/custom/quests/umbalian_language.txt b/npc/custom/quests/umbalian_language.txt
index 5bb17955e..d0ecb2d29 100644
--- a/npc/custom/quests/umbalian_language.txt
+++ b/npc/custom/quests/umbalian_language.txt
@@ -72,7 +72,7 @@ M_DONE:
next;
mes "[Mason]";
mes "Ah, I heard that her class was somewhere around there... thanks a lot! Here's a lil something for your help.";
- getitem 7117,1;//Items: Torn Spell Book,
+ getitem Rent_Spell_Book,1;//Items: Torn Spell Book,
set umb_mason,1;
close;
@@ -106,7 +106,7 @@ amatsu,267,189,4 script Marie 4_F_ALCHE,{
mes "[Marie]";
if(umb_lang==0) goto L_NOT_GOT_QUEST;
if(umb_lang==2 || umb_marie==1) goto L_AGAIN;
- if(countitem(9001)>0 && countitem(643)>0) goto L_DONE;//Items: Poring Egg, Pet Incubator,
+ if(countitem(Poring_Egg)>0 && countitem(Pet_Incubator)>0) goto L_DONE;//Items: Poring Egg, Pet Incubator,
mes "Hello, is there something you need?";
next;
menu "No nothing at all.",M_NO,"Your teacher sent me.",-;
@@ -134,11 +134,11 @@ L_DONE:
menu "Yep!",-, "Sorry, no.",M_DOH;
mes "[Marie]";
- if(countitem(9001)==0 && countitem(643)==0) goto M_DOH;//Items: Poring Egg, Pet Incubator,
+ if(countitem(Poring_Egg)==0 && countitem(Pet_Incubator)==0) goto M_DOH;//Items: Poring Egg, Pet Incubator,
mes "Yatta! Here's a lil something in return.";
- delitem 9001,1;//Items: Poring Egg,
- delitem 643,1;//Items: Pet Incubator,
- getitem 7118,1;//Items: Torn Scroll,
+ delitem Poring_Egg,1;//Items: Poring Egg,
+ delitem Pet_Incubator,1;//Items: Pet Incubator,
+ getitem Rent_Scroll,1;//Items: Torn Scroll,
set umb_marie,1; //got Torn Scroll
close;
@@ -159,10 +159,10 @@ yuno,157,366,2 script Wise Man Fabius 2_M_SAGE_OLD,{
mes "You speak Umbalian fluently! So you will never forget the language of Umbalians!";
close;
L_Quest:
- if((countitem(1006) < 1) || (countitem(7118) < 1) || (countitem(7117) < 1)) goto L_DONE;//Items: Old Magic Book, Torn Scroll, Torn Spell Book,
- delitem 1006,1; //Items: Old Magic Book,
- delitem 7118,1; //Items: Torn Scroll,
- delitem 7117,1;//Items: Torn Spell Book,
+ if((countitem(Old_Magic_Book) < 1) || (countitem(Rent_Scroll) < 1) || (countitem(Rent_Spell_Book) < 1)) goto L_DONE;//Items: Old Magic Book, Torn Scroll, Torn Spell Book,
+ delitem Old_Magic_Book,1; //Items: Old Magic Book,
+ delitem Rent_Scroll,1; //Items: Torn Scroll,
+ delitem Rent_Spell_Book,1;//Items: Torn Spell Book,
emotion e_thx;
mes "Ah, you've done well in retrieving my references. These artifacts holds information about ruins around the world, from the burning hell of the Magma Dungeon, to the strange eerie Hidden Forest of Yggsadril.";
next;
diff --git a/npc/events/MemorialDay_2008.txt b/npc/events/MemorialDay_2008.txt
index 3981e95a3..341138fce 100644
--- a/npc/events/MemorialDay_2008.txt
+++ b/npc/events/MemorialDay_2008.txt
@@ -85,7 +85,7 @@ prontera,182,214,4 script Lauds#Memorial 1_M_MERCHANT,{
Memorial08 = 1;
close;
} else if (Memorial08 == 1) {
- if (countitem(1059) < 30 || countitem(914) < 20) {
+ if (countitem(Transparent_Cloth) < 30 || countitem(Fluff) < 20) {
mes "[Mad Sago Lauds]";
mes "What are these? They aren't enough?!";
mes "*Sigh* Do I really have to tell you again?!";
@@ -273,7 +273,7 @@ prontera,150,270,4 script Grast#Memorial 4_M_HUMERCHANT,{
Memorial08 = 4;
close;
} else if (Memorial08 == 4) {
- if (countitem(501) < 1 || countitem(506) < 1 || countitem(656) < 1 || countitem(602) < 1) {
+ if (countitem(Red_Potion) < 1 || countitem(Green_Potion) < 1 || countitem(Awakening_Potion) < 1 || countitem(Wing_Of_Butterfly) < 1) {
mes "[Grast]";
mes "Oops, you haven't brought all materials.";
mes "Please make sure you need to bring me";
@@ -302,7 +302,7 @@ prontera,150,270,4 script Grast#Memorial 4_M_HUMERCHANT,{
close;
}
} else if (Memorial08 == 5) {
- if (countitem(1065) < 1 || countitem(610) < 1 || countitem(717) < 1 || countitem(747) < 1 || countitem(517) < 1 || countitem(515) < 1) {
+ if (countitem(Booby_Trap) < 1 || countitem(Leaf_Of_Yggdrasil) < 1 || countitem(Blue_Gemstone) < 1 || countitem(Crystal_Mirror) < 1 || countitem(Meat) < 1 || countitem(Carrot) < 1) {
mes "[Grast]";
mes "Oops, you haven't brought all materials.";
mes "Please make sure you'll have to bring me";
@@ -327,7 +327,7 @@ prontera,150,270,4 script Grast#Memorial 4_M_HUMERCHANT,{
close;
}
} else if (Memorial08 == 6) {
- if (countitem(643) < 1 || countitem(12018) < 1 || countitem(741) < 1 || countitem(745) < 1) {
+ if (countitem(Pet_Incubator) < 1 || countitem(Fire_Cracker) < 1 || countitem(Poring_Doll) < 1 || countitem(Wedding_Bouquet) < 1) {
mes "[Grast]";
mes "Oops, you haven't brought all materials.";
mes "Please make sure you need to bring me";
diff --git a/npc/events/RWC_2011.txt b/npc/events/RWC_2011.txt
index b81c14618..dcb373c96 100644
--- a/npc/events/RWC_2011.txt
+++ b/npc/events/RWC_2011.txt
@@ -34,7 +34,7 @@
//=========================================================================
prontera,114,81,5 script RWC2011 Agent#2 4_M_ATEIL,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
mes "[New Agent]";
mes "You have too many items. Please make room in your inventory and come back.";
close;
@@ -173,7 +173,7 @@ prontera,114,81,5 script RWC2011 Agent#2 4_M_ATEIL,{
setquest 13000;
close;
} else if (oversea_event == 1) {
- if (countitem(6485) && countitem(6486) && countitem(6487) > 1 && countitem(7602) && countitem(7470) && countitem(6012)) {
+ if (countitem(BlueCard_2) && countitem(BlueCard_0) && countitem(BlueCard_1) > 1 && countitem(BlueCard_R) && countitem(BlueCard_W) && countitem(Blue_Card_C)) {
mes "[RWC2011 Agent]";
mes "Have you gathered all the cards?";
next;
@@ -183,30 +183,30 @@ prontera,114,81,5 script RWC2011 Agent#2 4_M_ATEIL,{
mes "[RWC2011 Agent]";
mes "Here are the gifts I promised... Let's see...";
next;
- delitem 6485,1; //BlueCard_2
- delitem 6486,1; //BlueCard_0
- delitem 6487,2; //BlueCard_1
- delitem 7602,1; //BlueCard_R
- delitem 7470,1; //BlueCard_W
- delitem 6012,1; //Blue_Card_C
+ delitem BlueCard_2,1;
+ delitem BlueCard_0,1;
+ delitem BlueCard_1,2;
+ delitem BlueCard_R,1;
+ delitem BlueCard_W,1;
+ delitem Blue_Card_C,1;
//SavePPL BlueCard_2
oversea_event = 2;
erasequest 13000;
setquest 13001;
.@i = rand(1,100);
- if (.@i == 1) getitem 12690,1; //Old_C_Album_Helm
- else if (.@i == 2) getitem 12691,1; //Old_C_Album_Armor
- else if (.@i == 3) getitem 12693,1; //Old_C_Album_Garment
- else if (.@i == 4) getitem 12694,1; //Old_C_Album_Shoes
- else if (.@i == 5) getitem 12698,1; //Old_C_Album_Weapon
- else if (.@i == 6) getitem 12695,1; //Old_C_Album_Acc
- else if (.@i == 7) getitem 12692,1; //Old_C_Album_Shield
- else if (.@i < 28) getitem 547,10; //White_Slim_Potion
- else if (.@i < 38) getitem 607,1; //Yggdrasilberry
- else if (.@i < 51) getitem 608,1; //Seed_Of_Yggdrasil
+ if (.@i == 1) getitem Old_C_Album_Helm,1;
+ else if (.@i == 2) getitem Old_C_Album_Armor,1;
+ else if (.@i == 3) getitem Old_C_Album_Garment,1;
+ else if (.@i == 4) getitem Old_C_Album_Shoes,1;
+ else if (.@i == 5) getitem Old_C_Album_Weapon,1;
+ else if (.@i == 6) getitem Old_C_Album_Acc,1;
+ else if (.@i == 7) getitem Old_C_Album_Shield,1;
+ else if (.@i < 28) getitem White_Slim_Potion,10;
+ else if (.@i < 38) getitem Yggdrasilberry,1;
+ else if (.@i < 51) getitem Seed_Of_Yggdrasil,1;
else {
- getitem 12696,5; //RWC_Cele_Fire
- getitem 12697,5; //RWC_Cele_Fire2
+ getitem RWC_Cele_Fire,5;
+ getitem RWC_Cele_Fire2,5;
}
mes "[RWC2011 Agent]";
mes "It's not much but please keep it! Haha, we still have lots of cards to be found. I hope you can help me tomorrow as well.";
diff --git a/npc/events/RWC_2012.txt b/npc/events/RWC_2012.txt
index a97ec90fc..b23ebe2d3 100644
--- a/npc/events/RWC_2012.txt
+++ b/npc/events/RWC_2012.txt
@@ -34,7 +34,7 @@
prontera,147,61,3 script Driller#pron 4_M_BARBER,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You're carrying too many items in your inventory. Visit Kafra storage and try again.";
close;
}
@@ -103,7 +103,7 @@ prontera,147,61,3 script Driller#pron 4_M_BARBER,{
prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You are carrying too many items. Come back after you have organized your inventory.";
close;
}
@@ -319,7 +319,7 @@ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{
mes "Come back if you change your mind.";
close;
}
- if (countitem(6665) == 0) {
+ if (countitem(RWC_Inicializer) == 0) {
mes "[Goldberg]";
mes "I'm sorry. But you don't have the RWC Initialization coupon. Can you check your inventory?";
close;
@@ -332,7 +332,7 @@ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{
specialeffect2 EF_REPAIRWEAPON;
mes "[Goldberg]";
mes "The enchant option in your item will be initialized.";
- delitem 6665,1; //RWC_Inicializer
+ delitem RWC_Inicializer,1;
delequip .@part;
//GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3]
diff --git a/npc/events/StPatrick_2008.txt b/npc/events/StPatrick_2008.txt
index a997e91ef..9039d0f66 100644
--- a/npc/events/StPatrick_2008.txt
+++ b/npc/events/StPatrick_2008.txt
@@ -186,7 +186,7 @@ prt_fild05,170,286,4 script Anxious Leprechaun#8pday 4_M_PATRICK,{
case 1:
mes "[O'Riley the Leprechaun]";
mes "Thank you. Here's your ale~";
- if (countitem(7915) >= 10) {
+ if (countitem(Copper_Coin_) >= 10) {
getitem 12135,1;
delitem 7915,10;
}
@@ -194,7 +194,7 @@ prt_fild05,170,286,4 script Anxious Leprechaun#8pday 4_M_PATRICK,{
case 2:
mes "[O'Riley the Leprechaun]";
mes "Thank you. Here's your ale~";
- if (countitem(7916) >= 5) {
+ if (countitem(Silver_Coin_) >= 5) {
getitem 12135,1;
delitem 7916,5;
}
@@ -202,7 +202,7 @@ prt_fild05,170,286,4 script Anxious Leprechaun#8pday 4_M_PATRICK,{
case 3:
mes "[O'Riley the Leprechaun]";
mes "Thank you. Here's your ale~";
- if (countitem(7720) >= 1) {
+ if (countitem(Gold_Coin_US) >= 1) {
getitem 12135,1;
delitem 7720,1;
}
@@ -226,7 +226,7 @@ OnTouch:
if (StPatrick2008 == 1) {
mes "- You've found a pile of rocks covered with soil. -";
next;
- if (countitem(12018) < 200) {
+ if (countitem(Fire_Cracker) < 200) {
mes "The rocks won't budge.";
mes "Maybe O'Riley knows a way to move the rocks.";
close;
diff --git a/npc/events/children_week.txt b/npc/events/children_week.txt
index 507c3e025..5c72df97f 100644
--- a/npc/events/children_week.txt
+++ b/npc/events/children_week.txt
@@ -62,14 +62,14 @@ prontera,146,91,5 script Pandit chacha#child07 1_M_PUBMASTER,{
close;
}
oversea_event9 = 1;
- getitem 11705,10; //Special_White_Potion
+ getitem Special_White_Potion,10;
mes "[Pandit chacha]";
mes "Look. This is a child Potion.";
mes "The weight is just 1 but recover much HP.";
mes "If you want to get more, bring the 1 Wedding Bouquet and 1 Witherless Rose.";
close;
} else if (oversea_event9 == 1) {
- if (countitem(745) > 0 && countitem(748) > 0) {
+ if (countitem(Wedding_Bouquet) > 0 && countitem(Witherless_Rose) > 0) {
mes "[Pandit chacha]";
mes "Ahha!!";
mes "You have remembered my beautiful composition.";
@@ -87,10 +87,10 @@ prontera,146,91,5 script Pandit chacha#child07 1_M_PUBMASTER,{
mes "Here, I will exchange to the 50 child potion.";
mes "Once you get this 50 child potion, I won't give any more.";
close2;
- delitem 745,1; //Wedding_Bouquet
- delitem 748,1; //Witherless_Rose
+ delitem Wedding_Bouquet,1;
+ delitem Witherless_Rose,1;
oversea_event9 = 2;
- getitem 11705,50; //Special_White_Potion
+ getitem Special_White_Potion,50;
end;
}
mes "[Pandit chacha]";
diff --git a/npc/events/christmas_2005.txt b/npc/events/christmas_2005.txt
index 486014259..d3d9841e2 100644
--- a/npc/events/christmas_2005.txt
+++ b/npc/events/christmas_2005.txt
@@ -64,7 +64,7 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{
mes "";
emotion e_lv;
next;
- if (countitem(2236) > 0) {
+ if (countitem(Santa's_Hat) > 0) {
if (select("Here.:It's ok.") == 1) {
mes "[Designer Louise Kim]";
mes "Nice choice!!";
@@ -90,7 +90,7 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{
mes "^0000FF 1 Rosary ^000000 for luckiness.";
mes "It's pretty enough to make Louise Hat.";
next;
- if (countitem(952) > 0 && countitem(523) > 9 && countitem(2608) > 0) {
+ if (countitem(Cactus_Needle) > 0 && countitem(Holy_Water) > 9 && countitem(Rosary) > 0) {
select("Here you are.....");
mes "[Designer Louise Kim]";
mes "Wow~~!! So fast!!";
@@ -160,11 +160,11 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{
mes "~Who would be happier than~";
mes "~being with Louise.~";
emotion e_ho;
- delitem 2236,1; //Santa's_Hat
- delitem 952,1; //Cactus_Needle
- delitem 523,10; //Holy_Water
- delitem 2608,1; //Rosary
- getitem 5136,1; //Santa's_Hat_
+ delitem Santa's_Hat,1;
+ delitem Cactus_Needle,1;
+ delitem Holy_Water,10;
+ delitem Rosary,1;
+ getitem Santa's_Hat_,1;
close;
}
else {
@@ -327,7 +327,7 @@ prontera,155,285,3 script Enjoy#enjoy 4_M_MONK,{
close;
}
else if (christ_solo05 == 5) {
- if (countitem(604) > 4){
+ if (countitem(Branch_Of_Dead_Tree) > 4){
mes "[Enjoy]";
mes "Did you do as I told you to do?!!!";
mes "Did you bring branch of dead trees?Let me see~~!!";
@@ -409,7 +409,7 @@ prontera,155,285,3 script Enjoy#enjoy 4_M_MONK,{
donpcevent "Mas#mas02::OnCommandEmotion";
donpcevent "Event#event02::OnCommandEmotion";
misceffect EF_HITLINE2;
- delitem 604,5; //Branch_of_Dead_Tree
+ delitem Branch_Of_Dead_Tree,5; //Branch_of_Dead_Tree
christ_solo05 = 6;
donpcevent "Happymerry#happymerry02::OnCommandOff";
donpcevent "Christ#christ02::OnCommandOff";
@@ -1127,7 +1127,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
close;
}
else if (christ_carol05 == 2) {
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -1145,7 +1145,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "to store some of your items.^000000";
close;
}
- if (countitem(1097) > 0) {
+ if (countitem(Worn_Out_Page) > 0) {
mes "[Oholy]";
mes "Oh, my gracious! ";
mes "You have brought me the book!";
@@ -1198,9 +1198,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "There are many sweets in them.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 12130,7;//Cookie_Bag
+ getitem Cookie_Bag,7;
close;
case 2:
mes "[Oholy]";
@@ -1210,9 +1210,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Very sweet and delicious.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 529,20;//Candy
+ getitem Candy,20;
close;
case 3:
mes "[Oholy]";
@@ -1222,9 +1222,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Very sweet and delicious.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 530,15;//Candy_Striper
+ getitem Candy_Striper,15;
close;
case 4:
mes "[Oholy]";
@@ -1234,9 +1234,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Very soft and delicious.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 539,5;//Piece_of_Cake
+ getitem Piece_Of_Cake,5;//Piece_of_Cake
close;
case 5:
mes "[Oholy]";
@@ -1246,9 +1246,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Very crispy and delicious.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 538,10;//Well_baked_Cookie
+ getitem Well_Baked_Cookie,10;//Well_baked_Cookie
close;
case 6:
mes "[Oholy]";
@@ -1258,9 +1258,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Very cute.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 743,1;//Spore_Doll
+ getitem Spore_Doll,1;
close;
case 7:
mes "[Oholy]";
@@ -1270,9 +1270,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Oops, oh well.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 750,1;//Baphomet_Doll
+ getitem Baphomet_Doll,1;
close;
case 8:
mes "[Oholy]";
@@ -1282,9 +1282,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Oops, oh well.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 751,1;//Osiris_Doll
+ getitem Osiris_Doll,1;
close;
case 9:
mes "[Oholy]";
@@ -1294,9 +1294,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Very kind of him.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 752,1;//Grasshopper_Doll
+ getitem Grasshopper_Doll,1;
close;
case 10:
@@ -1307,9 +1307,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Very kind of him.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 753,1;//Monkey_Doll
+ getitem Monkey_Doll,1;
close;
case 11:
mes "[Oholy]";
@@ -1319,9 +1319,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Very kind of him.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 754,1;//Raccoondog_Doll
+ getitem Raccoondog_Doll,1;
close;
case 12:
mes "[Oholy]";
@@ -1332,9 +1332,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Hope she is doing okay.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 7206,1;//Black_Kitty_Doll
+ getitem Black_Kitty_Doll,1;
close;
case 13:
mes "[Oholy]";
@@ -1343,9 +1343,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "Isn't it adorable?!";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 7212,1;//Hanging_Doll
+ getitem Hanging_Doll,1;
close;
case 14:
mes "[Oholy]";
@@ -1356,9 +1356,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "with his passion.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 7277,1;//Munak_Doll
+ getitem Munak_Doll,1;
close;
case 15:
mes "[Oholy]";
@@ -1368,9 +1368,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "It is not a common hat.";
mes "Merry Christmas!";
emotion e_heh;
- delitem 1097,1;//Worn_Out_Page
+ delitem Worn_Out_Page,1;
christ_carol05 = 3;
- getitem 2236,1;//Santa's_Hat
+ getitem Santa's_Hat,1;
close;
}
}
@@ -1443,7 +1443,7 @@ function script F_carol_devi {
mes "Hmm, I think I got what I need.";
mes "Let's go back to Ms.Oholy.";
christ_carol05 = 2;
- getitem 1097,1; //Worn_Out_Page
+ getitem Worn_Out_Page,1;
close;
case 2:
mes "[Deviruchi]";
diff --git a/npc/events/christmas_2008.txt b/npc/events/christmas_2008.txt
index 6286a4289..593a23caf 100644
--- a/npc/events/christmas_2008.txt
+++ b/npc/events/christmas_2008.txt
@@ -132,7 +132,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
mes "If you can get ^0000FFSinging Crystal Pieces^000000, give them to me please?";
next;
select("Why not? Sure, I can give you some.");
- if (countitem(6092) < 6) {
+ if (countitem(Singing_Crystal_Piece) < 6) {
mes "[Caroller]";
mes "Yes, please.";
next;
@@ -304,7 +304,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
}
if (iROxmas08carol == 1) {
- if (countitem(6092) < 6) {
+ if (countitem(Singing_Crystal_Piece) < 6) {
mes "[Caroller]";
mes "Maybe, it's quite hard to make a jukebox for the villages, but a music box might be possible.";
next;
@@ -370,7 +370,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
}
if (iROxmas08carol == 2) {
- if (countitem(1019) < 10 || countitem(1005) < 1 || countitem(7312) < 1 || countitem(938) < 10 || countitem(732) < 1) {
+ if (countitem(Wooden_Block) < 10 || countitem(Hammer_Of_Blacksmith) < 1 || countitem(Jubilee) < 1 || countitem(Sticky_Mucus) < 10 || countitem(Crystal_Jewel__) < 1) {
mes "[Caroller]";
mes "We can make a music box with Singing Crystal Pieces.";
mes "It's handy, you can hear carols anywhere. Sounds cool?";
@@ -800,7 +800,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 4_F_06,{
mes "[Louise Kim]";
mes "If you bring me all that stuff, I can make you a glamorous Santa costume.";
next;
- if (countitem(2301) < 1 || countitem(501) < 3 || countitem(523) < 1 || countitem(7175) < 4 || countitem(7174) < 1) {
+ if (countitem(Cotton_Shirt) < 1 || countitem(Red_Potion) < 3 || countitem(Holy_Water) < 1 || countitem(Packing_Paper) < 4 || countitem(Packing_Ribbon) < 1) {
mes "[Louise Kim]";
mes "If you were to bring me all the stuff, I would make you a wonderful costume, for free...";
next;
diff --git a/npc/events/easter_2008.txt b/npc/events/easter_2008.txt
index 3e8a1bcac..48417f8bd 100644
--- a/npc/events/easter_2008.txt
+++ b/npc/events/easter_2008.txt
@@ -122,7 +122,7 @@ prontera,111,99,5 script Egg Salesman#prt::EggVendor 4W_M_02,{
close;
}
else {
- if (checkweight(7605,.@input) == 0) {
+ if (checkweight(Chicken_Egg,.@input) == 0) {
mes "[Egg Salesman]";
mes "Hey, I know you really";
mes "want to buy some Chicken";
@@ -141,7 +141,7 @@ prontera,111,99,5 script Egg Salesman#prt::EggVendor 4W_M_02,{
mes "about that. Well, have a good";
mes "time, and I'll see you again!";
Zeny -= .@egg_zeny;
- getitem 7605,.@input; //Chicken_Egg
+ getitem Chicken_Egg,.@input;
close;
}
}
@@ -281,7 +281,7 @@ prontera,230,312,3 script Nerlen#es07 1_F_PRIEST,{
next;
}
else {
- if ((countitem(509) < .@input) || (countitem(511) < .@input) || (countitem(508) < .@input) || (countitem(523) < .@input) || (countitem(7605) < .@input)) {
+ if ((countitem(White_Herb) < .@input) || (countitem(Green_Herb) < .@input) || (countitem(Yellow_Herb) < .@input) || (countitem(Holy_Water) < .@input) || (countitem(Chicken_Egg) < .@input)) {
mes "[Nerlen]";
mes "I'm sorry, but you don't";
mes "have enough items to make";
@@ -302,7 +302,7 @@ prontera,230,312,3 script Nerlen#es07 1_F_PRIEST,{
}
}
}
- if (checkweight(12019,.@input) == 0) {
+ if (checkweight(Holy_Egg,.@input) == 0) {
mes "[Nerlen]";
mes "I'm sorry, but you";
mes "won't be able to carry";
@@ -312,12 +312,12 @@ prontera,230,312,3 script Nerlen#es07 1_F_PRIEST,{
close;
}
else {
- delitem 509,.@input; //White_Herb
- delitem 511,.@input; //Green_Herb
- delitem 508,.@input; //Yellow_Herb
- delitem 523,.@input; //Holy_Water
- delitem 7605,.@input; //Egg
- getitem 12019,.@input; //Holy_Egg
+ delitem White_Herb,.@input;
+ delitem Green_Herb,.@input;
+ delitem Yellow_Herb,.@input;
+ delitem Holy_Water,.@input;
+ delitem Chicken_Egg,.@input; //Egg
+ getitem Holy_Egg,.@input;
mes "[Nerlen]";
mes "Thank you!";
mes "I hope you enjoy";
@@ -341,7 +341,7 @@ morocc,131,26,5 script Secret Corps#egg 4_M_MASKMAN,{
mes "Death... It's inescapable.";
mes "Even you'll die someday. But...";
next;
- if (countitem(12019) > 0) {
+ if (countitem(Holy_Egg) > 0) {
mes "[Corps Member]";
mes "Oh, yes. That's it.";
mes "You have it. The egg you";
@@ -402,16 +402,16 @@ morocc,131,26,5 script Secret Corps#egg 4_M_MASKMAN,{
mes "First, let me check if you";
mes "brought the Holy Eggs...";
next;
- if (countitem(12019) > 9) {
+ if (countitem(Holy_Egg) > 9) {
mes "[Corps Member]";
mes "Very well. In return";
mes "for these Holy Eggs, let";
mes "me give you a small present";
mes "for joining us. Now, I can";
mes "tell you about what we do.";
- delitem 12019,10; //Holy_Egg
+ delitem Holy_Egg,10;
easter2008 = 3;
- getitem 644,2; //Gift_Box
+ getitem Gift_Box,2;
next;
mes "[Corps Member]";
mes "^333333*Cough Cough*^000000";
@@ -474,7 +474,7 @@ morocc,131,26,5 script Secret Corps#egg 4_M_MASKMAN,{
next;
switch(select("Give Holy Eggs:Don't Give Holy Eggs")) {
case 1:
- if (countitem(12019) > 32) {
+ if (countitem(Holy_Egg) > 32) {
mes "[Corps Member]";
mes "Ah, these will do!";
mes "Now, make a note of the";
@@ -658,7 +658,7 @@ pay_dun00,22,127,0 script Trace#egg1 CLEAR_NPC,{
mes "Time to use all of";
mes "these Holy Eggs.";
next;
- if (countitem(12019) > 32) {
+ if (countitem(Holy_Egg) > 32) {
mes "[" + strcharinfo(0) + "]";
mes "Here we go...";
mes "Will this really bring";
@@ -679,7 +679,7 @@ pay_dun00,22,127,0 script Trace#egg1 CLEAR_NPC,{
mes "that Corps Member and let";
mes "him know that it didn't work.";
close2;
- delitem 12019,33; //Holy_Egg
+ delitem Holy_Egg,33;
easter2008 = 9;
end;
}
@@ -710,7 +710,7 @@ iz_dun02,340,346,0 script Trace#egg CLEAR_NPC,{
mes "Time to use all of";
mes "these Holy Eggs.";
next;
- if (countitem(12019) > 32) {
+ if (countitem(Holy_Egg) > 32) {
mes "[" + strcharinfo(0) + "]";
mes "Here we go...";
mes "Will this really bring";
@@ -731,7 +731,7 @@ iz_dun02,340,346,0 script Trace#egg CLEAR_NPC,{
mes "that Corps Member and let";
mes "him know that it didn't work.";
close2;
- delitem 12019,33; //Holy_Egg
+ delitem Holy_Egg,33;
easter2008 = 9;
end;
}
@@ -762,7 +762,7 @@ mjo_dun03,308,256,0 script Trace#egg2 CLEAR_NPC,{
mes "Time to use all of";
mes "these Holy Eggs.";
next;
- if (countitem(12019) > 32) {
+ if (countitem(Holy_Egg) > 32) {
mes "[" + strcharinfo(0) + "]";
mes "Here we go...";
mes "Will this really bring";
@@ -783,7 +783,7 @@ mjo_dun03,308,256,0 script Trace#egg2 CLEAR_NPC,{
mes "that Corps Member and let";
mes "him know that it didn't work.";
close2;
- delitem 12019,33; //Holy_Egg
+ delitem Holy_Egg,33;
easter2008 = 9;
end;
}
@@ -814,7 +814,7 @@ gl_prison,157,176,0 script Trace#egg3 CLEAR_NPC,{
mes "Time to use all of";
mes "these Holy Eggs.";
next;
- if (countitem(12019) > 32) {
+ if (countitem(Holy_Egg) > 32) {
mes "[" + strcharinfo(0) + "]";
mes "Here we go...";
mes "Will this really bring";
@@ -835,7 +835,7 @@ gl_prison,157,176,0 script Trace#egg3 CLEAR_NPC,{
mes "that Corps Member and let";
mes "him know that it didn't work.";
close2;
- delitem 12019,33; //Holy_Egg
+ delitem Holy_Egg,33;
easter2008 = 9;
end;
}
diff --git a/npc/events/easter_2010.txt b/npc/events/easter_2010.txt
index fc6399663..18979e744 100644
--- a/npc/events/easter_2010.txt
+++ b/npc/events/easter_2010.txt
@@ -244,7 +244,7 @@ prontera,202,297,3 script Rina#Easter 4_F_JOB_HUNTER,{
mes "My curse has been released.";
mes "Thank you so much.";
next;
- if (checkweight(5852,1) == 0) {
+ if (checkweight(Easter_Egg_Shell,1) == 0) {
mes "[Rina]";
mes "Your bag is too full.";
mes "I have a present for you";
@@ -253,7 +253,7 @@ prontera,202,297,3 script Rina#Easter 4_F_JOB_HUNTER,{
close;
}
completequest 9123;
- getitem 5852,1; //Easter_Egg_Shell
+ getitem Easter_Egg_Shell,1;
.@BaseExp = (BaseLevel * (BaseLevel / 4)) * ((BaseLevel / 29) + (BaseLevel / 6)) + (5 * BaseLevel / 2);
if (ADVJOB == 0) {
if (BaseLevel < 40) .@nBaseExp = .@BaseExp;
@@ -377,7 +377,7 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{
.@nCharge = 480000;
} else
.@nCharge = 500000;
- if (countitem(574) < 1 || countitem(1001) < 20 || Zeny < .@nCharge) {
+ if (countitem(Egg) < 1 || countitem(Sparkling_Dust) < 20 || Zeny < .@nCharge) {
mes "[Rina's Little Friend]";
mes "Hmm.";
mes "The material is not enough.";
@@ -400,8 +400,8 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{
mes "^787878( A mysterious atmosphere hangs in the air. )^000000";
next;
specialeffect EF_ASPERSIO;
- delitem 574,1; //Egg
- delitem 1001,20; //Sparkling_Dust
+ delitem Egg,1;
+ delitem Sparkling_Dust,20;
Zeny -= .@nCharge;
.@nPercentage = rand(1,100);
if (.@nPercentage <= 41) {
@@ -410,21 +410,21 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{
mes "Aaaaah~ I got to take some rest.";
mes "Good bye~!";
if (.@nPercentage <= 12)
- getitem 9003,1; //Poporing_Egg
+ getitem Poporing_Egg,1;
else if (.@nPercentage <= 24)
- getitem 9005,1; //Picky_Egg
+ getitem Picky_Egg,1;
else if (.@nPercentage <= 36)
- getitem 9009,1; //Savage_Bebe_Egg
+ getitem Savage_Bebe_Egg,1;
else
- getitem 9023,1; //Deviruchi_Egg
+ getitem Deviruchi_Egg,1;
close2;
emotion e_yawn;
end;
} else if (.@nPercentage <= 60) {
if (.@nPercentage >= 42 && .@nPercentage <= 45)
- getitem 5852,1; //Easter_Egg_Shell
+ getitem Easter_Egg_Shell,1;
else
- getitem 12019,5; //Holy_Egg
+ getitem Holy_Egg,5;
mes "[Rina's Little Friend]";
mes "It seems that you have quite interesting things.";
mes "I need to take some rest.";
@@ -434,11 +434,11 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{
end;
} else if (.@nPercentage <= 85) {
if (.@nPercentage >= 61 && .@nPercentage <= 75) {
- getitem 1001,20; //Sparkling_Dust
- getitem 607,1; //Yggdrasilberry
+ getitem Sparkling_Dust,20;
+ getitem Yggdrasilberry,1;
} else {
- getitem 574,1; //Egg
- getitem 608,2; //Seed_Of_Yggdrasil
+ getitem Egg,1;
+ getitem Seed_Of_Yggdrasil,2;
}
mes "[Rina's Little Friend]";
mes "There was no change.";
@@ -448,7 +448,7 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{
emotion e_dum;
close;
} else {
- getitem 12093,2; //Dex_Dish08
+ getitem Dex_Dish08,2;
mes "[Rina's Little Friend]";
mes "Hmm.";
mes "It became a dish.";
diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt
index bb18bd76b..b917a414b 100644
--- a/npc/events/gdevent_aru.txt
+++ b/npc/events/gdevent_aru.txt
@@ -122,7 +122,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "He stole my Pickaxe!";
mes "I can't live without it...";
next;
- if (countitem(6010) > 0) {
+ if (countitem(Pickaxe) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
@@ -172,7 +172,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "Alright! Let's go.";
mes "If your friends visit me again later, I will guide them to that area again.";
mes "Don't forget, dwarves are grateful beings! Hahaha!";
- delitem 6010,1; //Pickaxe
+ delitem Pickaxe,1;
$@gdeventv_a1 = 1;
$@gdevents_a$ = .@chk_yourgdname$;
close2;
@@ -254,7 +254,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "He stole my Pickaxe!";
mes "I can't live without it...";
next;
- if (countitem(6010) > 0) {
+ if (countitem(Pickaxe) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
@@ -304,7 +304,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "Alright! Let's go.";
mes "If your friends visit me again later, I will guide them to that area again.";
mes "Don't forget, dwarves are grateful beings! Hahaha!";
- delitem 6010,1; //Pickaxe
+ delitem Pickaxe,1;
$@gdeventv_a1 = 1;
$@gdevents_a$ = .@chk_yourgdname$;
close2;
@@ -397,7 +397,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "He stole my Pickaxe!";
mes "I can't live without it...";
next;
- if (countitem(6010) > 0) {
+ if (countitem(Pickaxe) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
@@ -447,7 +447,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "Alright! Let's go.";
mes "If your friends visit me again later, I will guide them to that area again.";
mes "Don't forget, dwarves are grateful beings! Hahaha!";
- delitem 6010,1; //Pickaxe
+ delitem Pickaxe,1;
$@gdeventv_a1 = 1;
$@gdevents_a$ = .@chk_yourgdname$;
close2;
@@ -513,7 +513,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
else {
setnpcdisplay "Pierrot Pier#aru_gd", 4_CAT;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait!! -";
mes "- You're carrying too many items, -";
mes "- you can't receive the materials. -";
@@ -693,7 +693,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "Let me see...";
next;
- if (countitem(6031) > 0) {
+ if (countitem(Glitering_PaperB) > 0) {
donpcevent "Controller#gdevent_a::OnStop";
$@gdeventv_a2 = 3;
donpcevent "eff_mvp#aru_gd::OnMVP";
@@ -702,11 +702,11 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "Success~!!";
mes "What a success~!!";
mapannounce "arug_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00";
- delitem 6031,1; //Glitering_PaperB
+ delitem Glitering_PaperB,1;
close;
}
else {
- if (countitem(6030) > 0) {
+ if (countitem(Glitering_PaperA) > 0) {
mes "[Pierrot Pier]";
mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
mes "Quickly! Your time is running out! Hurry up!";
@@ -804,7 +804,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mapannounce "arug_que01", "Pierrot Pier: Here, take Pierre's Treasure Boxes.",bc_map,"0x99CC00";
donpcevent "eff_mvp#aru_gd::OnMVP";
$@gdeventv_a2 = 5;
- getitem 14596,10; //Pierre_Treasurebox
+ getitem Pierre_Treasurebox,10;
close;
}
else if ($@gdeventv_a2 == 4) {
@@ -834,7 +834,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "Let me see.";
next;
- if (countitem(6031) > 0) {
+ if (countitem(Glitering_PaperB) > 0) {
donpcevent "Controller#gdevent_a::OnStop";
$@gdeventv_a2 = 3;
donpcevent "eff_mvp#aru_gd::OnMVP";
@@ -842,11 +842,11 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "Wow~~!!";
mes "Success~!!";
mes "What a success~!!";
- delitem 6031,1; //Glitering_PaperB
+ delitem Glitering_PaperB,1;
close;
}
else {
- if (countitem(6030) > 0) {
+ if (countitem(Glitering_PaperA) > 0) {
mes "[Pierrot Pier]";
mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
mes "Quickly! Your time is running out! Hurry up!";
@@ -944,7 +944,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "Let me see...";
next;
- if (countitem(6031) > 0) {
+ if (countitem(Glitering_PaperB) > 0) {
donpcevent "Controller#gdevent_a::OnStop";
$@gdeventv_a2 = 3;
donpcevent "eff_mvp#aru_gd::OnMVP";
@@ -953,11 +953,11 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "Success~!!";
mes "What a success~!!";
mapannounce "arug_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00";
- delitem 6031,1; //Glitering_PaperB
+ delitem Glitering_PaperB,1;
close;
}
else {
- if (countitem(6030) > 0) {
+ if (countitem(Glitering_PaperA) > 0) {
mes "[Pierrot Pier]";
mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
mes "Quickly! Your time is running out! Hurry up!";
@@ -1008,7 +1008,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "Let me see...";
next;
- if (countitem(6031) > 0) {
+ if (countitem(Glitering_PaperB) > 0) {
donpcevent "Controller#gdevent_a::OnStop";
$@gdeventv_a2 = 3;
donpcevent "eff_mvp#aru_gd::OnMVP";
@@ -1016,11 +1016,11 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "Wow~~!!";
mes "Success~!!";
mes "What a success~!!";
- delitem 6031,1; //Glitering_PaperB
+ delitem Glitering_PaperB,1;
close;
}
else {
- if (countitem(6030) > 0) {
+ if (countitem(Glitering_PaperA) > 0) {
mes "[Pierrot Pier]";
mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
mes "Quickly! Your time is running out! Hurry up!";
@@ -1334,11 +1334,11 @@ OnInit:
end;
OnTouch2:
- .@paper_aru_gd = countitem(6030);
- .@spaper_aru_gd = countitem(6031);
+ .@paper_aru_gd = countitem(Glitering_PaperA);
+ .@spaper_aru_gd = countitem(Glitering_PaperB);
if ((.@paper_aru_gd > 0) || (.@spaper_aru_gd > 0)) {
- delitem 6030,.@paper_aru_gd; //Glitering_PaperA
- delitem 6031,.@spaper_aru_gd; //Glitering_PaperB
+ delitem Glitering_PaperA,.@paper_aru_gd;
+ delitem Glitering_PaperB,.@spaper_aru_gd;
}
end;
}
diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt
index 3c92fcd53..871126098 100644
--- a/npc/events/gdevent_sch.txt
+++ b/npc/events/gdevent_sch.txt
@@ -122,7 +122,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "He stole my Pickaxe!";
mes "I can't live without it...";
next;
- if (countitem(6010) > 0) {
+ if (countitem(Pickaxe) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
@@ -172,7 +172,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "Alright! Let's go.";
mes "If your friends visit me again later, I will guide them to that area again.";
mes "Don't forget, dwarves are grateful beings! Hahaha!";
- delitem 6010,1; //Pickaxe
+ delitem Pickaxe,1;
$@gdeventv_s1 = 1;
$@gdevents_s$ = .@chk_yourgdname$;
close2;
@@ -254,7 +254,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "He stole my Pickaxe!";
mes "I can't live without it...";
next;
- if (countitem(6010) > 0) {
+ if (countitem(Pickaxe) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
@@ -304,7 +304,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "Alright! Let's go.";
mes "If your friends visit me again later, I will guide them to that area again.";
mes "Don't forget, dwarves are grateful beings! Hahaha!";
- delitem 6010,1; //Pickaxe
+ delitem Pickaxe,1;
$@gdeventv_s1 = 1;
$@gdevents_s$ = .@chk_yourgdname$;
close2;
@@ -396,7 +396,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "He stole my Pickaxe!";
mes "I can't live without it...";
next;
- if (countitem(6010) > 0) {
+ if (countitem(Pickaxe) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
@@ -446,7 +446,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "Alright! Let's go.";
mes "If your friends visit me again later, I will guide them to that area again.";
mes "Don't forget, dwarves are grateful beings! Hahaha!";
- delitem 6010,1; //Pickaxe
+ delitem Pickaxe,1;
$@gdeventv_s1 = 1;
$@gdevents_s$ = .@chk_yourgdname$;
close2;
@@ -512,7 +512,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
else {
setnpcdisplay "Pierrot Pier#sch_gd", 4_CAT;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait!! -";
mes "- You're carrying too many items, -";
mes "- you can't receive the materials. -";
@@ -692,7 +692,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "Let me see...";
next;
- if (countitem(6031) > 0) {
+ if (countitem(Glitering_PaperB) > 0) {
donpcevent "Controller#gdevent_s::OnStop";
$@gdeventv_s2 = 3;
donpcevent "eff_mvp#sch_gd::OnMVP";
@@ -701,11 +701,11 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mes "Success~!!";
mes "What a success~!!";
mapannounce "schg_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00";
- delitem 6031,1; //Glitering_PaperB
+ delitem Glitering_PaperB,1;
close;
}
else {
- if (countitem(6030) > 0) {
+ if (countitem(Glitering_PaperA) > 0) {
mes "[Pierrot Pier]";
mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
mes "Quickly! Your time is running out! Hurry up!";
@@ -803,7 +803,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mapannounce "schg_que01", "Pierrot Pier: Here, take Pierre's Treasure Boxes.",bc_map,"0x99CC00";
donpcevent "eff_mvp#sch_gd::OnMVP";
$@gdeventv_s2 = 5;
- getitem 14596,10; //Pierre_Treasurebox
+ getitem Pierre_Treasurebox,10;
close;
}
else if ($@gdeventv_s2 == 4) {
@@ -833,7 +833,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "Let me see.";
next;
- if (countitem(6031) > 0) {
+ if (countitem(Glitering_PaperB) > 0) {
donpcevent "Controller#gdevent_s::OnStop";
$@gdeventv_s2 = 3;
donpcevent "eff_mvp#sch_gd::OnMVP";
@@ -841,11 +841,11 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mes "Wow~~!!";
mes "Success~!!";
mes "What a success~!!";
- delitem 6031,1; //Glitering_PaperB
+ delitem Glitering_PaperB,1;
close;
}
else {
- if (countitem(6030) > 0) {
+ if (countitem(Glitering_PaperA) > 0) {
mes "[Pierrot Pier]";
mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
mes "Quickly! Your time is running out! Hurry up!";
@@ -943,7 +943,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "Let me see...";
next;
- if (countitem(6031) > 0) {
+ if (countitem(Glitering_PaperB) > 0) {
donpcevent "Controller#gdevent_s::OnStop";
$@gdeventv_s2 = 3;
donpcevent "eff_mvp#sch_gd::OnMVP";
@@ -952,11 +952,11 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mes "Success~!!";
mes "What a success~!!";
mapannounce "schg_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00";
- delitem 6031,1; //Glitering_PaperB
+ delitem Glitering_PaperB,1;
close;
}
else {
- if (countitem(6030) > 0) {
+ if (countitem(Glitering_PaperA) > 0) {
mes "[Pierrot Pier]";
mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
mes "Quickly! Your time is running out! Hurry up!";
@@ -1007,7 +1007,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "Let me see...";
next;
- if (countitem(6031) > 0) {
+ if (countitem(Glitering_PaperB) > 0) {
donpcevent "Controller#gdevent_s::OnStop";
$@gdeventv_s2 = 3;
donpcevent "eff_mvp#sch_gd::OnMVP";
@@ -1015,11 +1015,11 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mes "Wow~~!!";
mes "Success~!!";
mes "What a success~!!";
- delitem 6031,1; //Glitering_PaperB
+ delitem Glitering_PaperB,1;
close;
}
else {
- if (countitem(6030) > 0) {
+ if (countitem(Glitering_PaperA) > 0) {
mes "[Pierrot Pier]";
mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
mes "Quickly! Your time is running out! Hurry up!";
@@ -1331,11 +1331,11 @@ OnInit:
end;
OnTouch2:
- .@paper_sch_gd = countitem(6030);
- .@spaper_sch_gd = countitem(6031);
+ .@paper_sch_gd = countitem(Glitering_PaperA);
+ .@spaper_sch_gd = countitem(Glitering_PaperB);
if ((.@paper_sch_gd > 0) || (.@spaper_sch_gd > 0)) {
- delitem 6030,.@paper_sch_gd; //Glitering_PaperA
- delitem 6031,.@spaper_sch_gd; //Glitering_PaperB
+ delitem Glitering_PaperA,.@paper_sch_gd;
+ delitem Glitering_PaperB,.@spaper_sch_gd;
}
end;
}
diff --git a/npc/events/god_se_festival.txt b/npc/events/god_se_festival.txt
index 57e58fe0f..455aad8bc 100644
--- a/npc/events/god_se_festival.txt
+++ b/npc/events/god_se_festival.txt
@@ -67,7 +67,7 @@ yuno,1,1,0 script Festival Manager#gq_fes0 4_F_HUGIRL,{
yuno,118,192,5 script Rmimi Ravies#gq_fes01 4_F_HUGIRL,{
.@GID = getcharid(2);
- if (countitem(7840) > 0) {
+ if (countitem(Valkyrie_Gift) > 0) {
mes "[Rmimi Ravies]";
mes "This is the flower.";
mes "This is just a formality, but let me check your qualifications.";
@@ -136,7 +136,7 @@ yuno,118,192,5 script Rmimi Ravies#gq_fes01 4_F_HUGIRL,{
if ($@gqse_festival == 0) {
mes "[Rmimi Ravies]";
mes "Ok, we would ge started to summon monsters.";
- delitem 7840,1; //Valkyrie's_Gift
+ delitem Valkyrie_Gift,1; //Valkyrie's_Gift
next;
mes "[Rmimi Ravies]";
mes "Have a good time.";
@@ -443,7 +443,7 @@ rachel,1,1,0 script Festival Manager#gq_fes2 4_F_HUGIRL,{
rachel,132,117,3 script Rhehe Ravies#gq_fes03 4_F_HUGIRL,{
.@GID = getcharid(2);
- if (countitem(7840) > 0) {
+ if (countitem(Valkyrie_Gift) > 0) {
mes "[Rhehe Ravies]";
mes "A flower!!";
mes "Shall we proceed?";
@@ -516,7 +516,7 @@ rachel,132,117,3 script Rhehe Ravies#gq_fes03 4_F_HUGIRL,{
if ($@gqse_festival == 0) {
mes "[Rhehe Ravies]";
mes "Good! Now seems like a good time, so let's begin!";
- delitem 7840,1; //Valkyrie_Gift
+ delitem Valkyrie_Gift,1;
next;
mes "[Rhehe Ravies]";
mes "I hope you enjoy yourself!";
diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt
index a797d2bb1..970170f5c 100644
--- a/npc/events/halloween_2006.txt
+++ b/npc/events/halloween_2006.txt
@@ -56,7 +56,7 @@ OnEffect2:
}
prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{
- if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -65,7 +65,7 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{
mes "to store some of your items.^000000";
close;
}
- if (countitem(7609) > 0) {
+ if (countitem(Pumpkin_Mojo) > 0) {
mes "[Gloomy Jack]";
mes "Oh wait, is that a Pumpkin Mojo you are carrying?";
mes " ";
@@ -113,7 +113,7 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{
mes "Oh~Great.";
mes "Then, let me see what you got.";
next;
- if ((countitem(7609) > 0) && (countitem(5134) > 0)) {
+ if ((countitem(Pumpkin_Mojo) > 0) && (countitem(Pumpkin_Hat) > 0)) {
mes "[Gloomy Jack]";
mes "Oh, you brought the pumpkin head!";
mes "I'll make you to nicer one.";
@@ -141,9 +141,9 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{
mes "Lalala~ lalala~";
mes " ";
mes "(He starts singing. On a sudden, Jack's aura appeared.)";
- delitem 7609,1; //Pumpkin_Mojo
- delitem 5134,1; //Pumpkin_Hat
- getitem 5202,1; //Pumpkin_Hat_
+ delitem Pumpkin_Mojo,1;
+ delitem Pumpkin_Hat,1;
+ getitem Pumpkin_Hat_,1;
next;
donpcevent "Gloomy Jack#06_hw::OnEffect2";
mes "[Gloomy Jack]";
@@ -157,7 +157,7 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{
mes "Well, someday he'll get back all his Pumpkin Mojo back.";
close;
}
- else if ((countitem(7609) > 0) && (countitem(535) > 0) && (countitem(2226) > 0)) {
+ else if ((countitem(Pumpkin_Mojo) > 0) && (countitem(Pumpkin) > 0) && (countitem(Cap) > 0)) {
mes "[Gloomy Jack]";
mes "Wow!";
mes "I'll turn your hat to very cool one.";
@@ -185,10 +185,10 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{
mes "Lalala~ lalala~";
mes " ";
mes "(He starts singing. On a sudden, Jack's aura appeared.)";
- delitem 7609, 1;//Pumpkin_Mojo
- delitem 535, 1;//Pumpkin
- delitem 2226, 1;//Cap
- getitem 5202, 1;//Pumpkin_Hat_
+ delitem Pumpkin_Mojo, 1;
+ delitem Pumpkin, 1;
+ delitem Cap, 1;
+ getitem Pumpkin_Hat_, 1;
next;
donpcevent "Gloomy Jack#06_hw::OnEffect2";
mes "[Gloomy Jack]";
@@ -252,7 +252,7 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{
geffen,145,132,3 script Hoirin#06_hw 4_F_NOVICE,{
- if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -327,7 +327,7 @@ geffen,145,132,3 script Hoirin#06_hw 4_F_NOVICE,{
next;
switch(select( "I brought all ingredients.:How can I get eggs?:No,I'm just passing by.")) {
case 1:
- if ((countitem(7609) > 0) && (countitem(535) > 1) && (countitem(574) > 1)) {
+ if ((countitem(Pumpkin_Mojo) > 0) && (countitem(Pumpkin) > 1) && (countitem(Egg) > 1)) {
mes "[Hoirin]";
mes "You are right!";
mes "You brought all things right. Give it to me!!";
@@ -342,10 +342,10 @@ geffen,145,132,3 script Hoirin#06_hw 4_F_NOVICE,{
mes "Ta-da(h)!";
mes "Here it is~ help yourself.";
mes "It'll be good for your health. I added extra nutrient in it.";
- delitem 7609,1; //Pumpkin_Mojo
- delitem 535,2; //Pumpkin
- delitem 574,2; //Egg
- getitem 12192,1; //Pumpkin_Pie
+ delitem Pumpkin_Mojo,1;
+ delitem Pumpkin,2;
+ delitem Egg,2;
+ getitem Pumpkin_Pie,1;
close;
}
else {
@@ -407,7 +407,7 @@ OnTouch:
}
nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{
- if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -434,7 +434,7 @@ nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{
next;
switch(select( "Give him the pumpkin pie.:Do not give him the pumpkin pie.:Huh? What pumkin pie?")) {
case 1:
- if (countitem(12192) > 0) {
+ if (countitem(Pumpkin_Pie) > 0) {
mes "[Loli Ruri]";
mes "Thanks for the pumkin pie!";
mes "Here, take this.";
@@ -449,10 +449,10 @@ nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{
mes "[Deviruchi]";
mes "Hmm...This would be good.";
mes "Here take this, and thanks again~";
- delitem 12192, 1;//Pumpkin_Pie
+ delitem Pumpkin_Pie, 1;
@hw_temp = rand(1,3);
- if (@hw_temp == 2) getitem 12130,1; //Cookie_Bag
- else getitem 7460,3; //Nifl_Express_Ticket
+ if (@hw_temp == 2) getitem Cookie_Bag,1;
+ else getitem Niflheim_Ticket,3; //Nifl_Express_Ticket
close;
}
else {
@@ -498,7 +498,7 @@ nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{
//== Creation of Pumpkin Pie (Event 2) =====================
nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{
- if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -534,7 +534,7 @@ nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{
mes "Here are the eggs.";
Zeny -= 2000;
halloween = 102;
- getitem 574,2; //Egg
+ getitem Egg,2;
close;
}
else {
@@ -550,7 +550,7 @@ nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{
mes "Here are the eggs.";
Zeny -= 1000;
halloween = 102;
- getitem 574,1; //Egg
+ getitem Egg,1;
close;
}
else {
@@ -640,7 +640,7 @@ nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{
mes "But no more.";
mes "If you want more eggs, find me more chickens.";
Zeny -= @hw_egg;
- getitem 574, @input;//Egg
+ getitem Egg, @input;
halloween = 102;
close;
}
@@ -696,7 +696,7 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{
mes "As soon as you got close to the chicken and touched it, it disappeared completely.";
mes "You got an 'egg' in the place where the chicken disappeared.";
disablenpc "Chicken#"+strnpcinfo(1);
- getitem 574,1; //Egg
+ getitem Egg,1;
close;
}
else {
@@ -712,7 +712,7 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{
mes "As soon as you got close to the chicken and touched it, it disappeared completely.";
mes "You got an 'egg' in the place where the chicken disappeared.";
disablenpc "Chicken#"+strnpcinfo(1);
- getitem 574,1; //Egg
+ getitem Egg,1;
close;
}
else {
@@ -1056,11 +1056,11 @@ prontera,155,285,3 script Familiar#06_hw01::HWFamiDup 4_NFBAT,{
mes "It's available during Halloween.";
next;
if (select( "Yes, I do:No, I don't.") == 1) {
- if (countitem(7460) > 0) {
+ if (countitem(Niflheim_Ticket) > 0) {
mes "[Familiar]";
mes "I checked your ticket.";
mes "You can go there now";
- delitem 7460,1; //Nifl_Express_Ticket
+ delitem Niflheim_Ticket,1; //Nifl_Express_Ticket
close2;
warp "nif_in", 18, 20;
end;
diff --git a/npc/events/halloween_2009.txt b/npc/events/halloween_2009.txt
index 6c73d708d..a35c98859 100644
--- a/npc/events/halloween_2009.txt
+++ b/npc/events/halloween_2009.txt
@@ -84,7 +84,7 @@ prontera,152,192,5 script Pumpkin Hat Researcher 4_M_05,{
mes "[Pumpkin Hat Researcher]";
mes "Do you want to get Pumpkin Pies? Okay, let me count the Jack o' Pumpkins you've brought.";
next;
- if(countitem(1062) < 20) {
+ if(countitem(Pumpkin_Head) < 20) {
mes "[Pumpkin Hat Researcher]";
mes "I need ^4a4aff20 Jack o' Pumpkin^000000.";
mes "I'm not an alchemist or a wizard to create something from nothing.";
@@ -97,8 +97,8 @@ prontera,152,192,5 script Pumpkin Hat Researcher 4_M_05,{
}else{
mes "[Pumpkin Hat Researcher]";
mes "I hope this will be useful to you. Don't forget to wear it while fighting to get your Pumpkin Pies.";
- delitem 1062,20; // Jack o' Pumpkin
- getitem 5668,1; // Weird Pumpkin Hat
+ delitem Pumpkin_Head,20; // Jack o' Pumpkin
+ getitem Weird_Pumpkin_Hat,1; // Weird Pumpkin Hat
next;
mes "[Pumpkin Hat Researcher]";
mes "I guess that I should get back to my research.";
@@ -134,7 +134,7 @@ OnTouch:
next;
switch(select("Candy:Candy Cane:Well-baked Cookie:Nothing")) {
case 1:
- if(countitem(529) > 0) {
+ if(countitem(Candy) > 0) {
mes "[Trick or Treater]";
mes "Yay thank you!";
mes "Here, take this for being so nice!";
@@ -145,7 +145,7 @@ OnTouch:
sc_start SC_FOOD_DEX, 1800000, 5;
sc_start SC_FOOD_LUK, 1800000, 5;
sc_start SC_FOOD_BASICAVOIDANCE, 1800000, 15;
- delitem 529,1; // Candy
+ delitem Candy,1; // Candy
close;
}else{
mes "[Trick or Treater]";
@@ -155,7 +155,7 @@ OnTouch:
close;
}
case 2:
- if(countitem(530) > 0) {
+ if(countitem(Candy_Striper) > 0) {
mes "[Trick or Treater]";
mes "Yay thank you!";
mes "Here, take this for being so nice!";
@@ -166,7 +166,7 @@ OnTouch:
sc_start SC_FOOD_DEX, 1800000, 5;
sc_start SC_FOOD_LUK, 1800000, 5;
sc_start SC_FOOD_BASICAVOIDANCE, 1800000, 15;
- delitem 530,1; // Candy Cane
+ delitem Candy_Striper,1; // Candy Cane
close;
}else{
mes "[Trick or Treater]";
@@ -176,7 +176,7 @@ OnTouch:
close;
}
case 3:
- if(countitem(538) > 0) {
+ if(countitem(Well_Baked_Cookie) > 0) {
mes "[Trick or Treater]";
mes "Yay thank you!";
mes "Here, take this for being so nice!";
@@ -187,7 +187,7 @@ OnTouch:
sc_start SC_FOOD_DEX, 1800000, 5;
sc_start SC_FOOD_LUK, 1800000, 5;
sc_start SC_FOOD_BASICAVOIDANCE, 1800000, 15;
- delitem 538,1; // Well-baked Cookie
+ delitem Well_Baked_Cookie,1; // Well-baked Cookie
close;
}else{
mes "[Trick or Treater]";
@@ -366,10 +366,10 @@ prontera,220,72,5 duplicate(09Treats) Trick or Treater#iRO8 4_M_KID1,2,2
break;
}
else {
- .@fabric = countitem(1059);
- .@jack = countitem(1062);
- .@worn = countitem(6299);
- .@crushed = countitem(6298);
+ .@fabric = countitem(Transparent_Cloth);
+ .@jack = countitem(Pumpkin_Head);
+ .@worn = countitem(Worn_Cloth_Piece);
+ .@crushed = countitem(Pumpkin_Head_Crushed);
.@whispers = 0;
.@darklords = 0;
diff --git a/npc/events/idul_fitri.txt b/npc/events/idul_fitri.txt
index 7bb5e81a9..a403d6b96 100644
--- a/npc/events/idul_fitri.txt
+++ b/npc/events/idul_fitri.txt
@@ -62,7 +62,7 @@ prontera,146,92,3 script Cellerb 1_M_MERCHANT,{
mes "^000088~2 Green Herb, 5 Stem~.^000000";
next;
mes "[Staff Idul Fitri]";
- if ( (countitem(552)<5 || countitem(515)<5 ||countitem(516)<5 || countitem(517)<10 || countitem(511)<2 || countitem(905)<5) ) {
+ if ( (countitem(KETUPAT)<5 || countitem(Carrot)<5 ||countitem(Sweet_Potato)<5 || countitem(Meat)<10 || countitem(Green_Herb)<2 || countitem(Stem)<5) ) {
mes "You don't have enough items.";
mes "Come back when you have them all.";
close;
diff --git a/npc/events/lunar_2008.txt b/npc/events/lunar_2008.txt
index 9569bc1b8..e4cde292b 100644
--- a/npc/events/lunar_2008.txt
+++ b/npc/events/lunar_2008.txt
@@ -105,24 +105,24 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{
close;
}
else if ((lunar_rat >= 1 && lunar_rat <= 2) || lunar_rat == 4) {
- if (countitem(7770) >= 1 && lunar_rat == 2) {
+ if (countitem(Sweet_Rice) >= 1 && lunar_rat == 2) {
mes "Oh, is that the";
mes "Sweet Rice my son made?";
mes "Would you let me have it?";
mes "Please wait here a moment,";
mes "and I'll make you some pastry~";
- delitem 7770,1; //Sweet_rice
+ delitem Sweet_Rice,1; //Sweet_rice
lunar_rat = 3;
close;
}
else if (lunar_rat == 4) {
- if (countitem(7770) >= 1) {
+ if (countitem(Sweet_Rice) >= 1) {
mes "Oh, is that the";
mes "Sweet Rice my son made?";
mes "Would you let me have it?";
mes "Please wait here a moment,";
mes "and I'll make you some pastry~";
- delitem 7770,1; //Sweet_rice
+ delitem Sweet_Rice,1; //Sweet_rice
lunar_rat = 5;
close;
}
@@ -131,7 +131,7 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{
mes "them to make more rice cakes...";
close;
}
- else if (countitem(7869) < 1 && lunar_rat <= 2) {
+ else if (countitem(RicePouch) < 1 && lunar_rat <= 2) {
mes "Ooh, those white and";
mes "blue mouses might have";
mes "snatched my Rice Pouches";
@@ -153,23 +153,23 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{
.@reward = rand(1,100);
if (.@reward <= 5) {
if (lunar_rat == 3) {
- getitem 9038,1; // New_Year_Doll_Egg
+ getitem New_Year_Doll_Egg,1; // New_Year_Doll_Egg
lunar_rat = 4;
}
else if (lunar_rat == 5) {
- getitem 668,1; // Red_Envelope
+ getitem Handsei,1; // Red_Envelope
}
}
- else if (.@reward >= 6 && .@reward <= 10) getitem 12198,2; // Lucky_Rice_Cake
- else if (.@reward >= 11 && .@reward <= 30) getitem 12195,3; // Plain_Rice_Cake
- else if (.@reward >= 31 && .@reward <= 40) getitem 12196,2; // Hearty_Rice_Cake
- else if (.@reward >= 41 && .@reward <= 55) getitem 12123,2; // Honey_Pastry
- else if (.@reward >= 56 && .@reward <= 70) getitem 12122,2; // Sesame_Pastry
- else if (.@reward >= 71 && .@reward <= 80) getitem 12124,2; // Rainbow_Cake
- else if (.@reward >= 81 && .@reward <= 90) getitem 12198,2; // Korean_Rice_Cake
- else if (.@reward >= 91 && .@reward <= 100) getitem 12197,3; // Salty_Rice_Cake
+ else if (.@reward >= 6 && .@reward <= 10) getitem Lucky_Rice_Cake,2; // Lucky_Rice_Cake
+ else if (.@reward >= 11 && .@reward <= 30) getitem Plain_Rice_Cake,3; // Plain_Rice_Cake
+ else if (.@reward >= 31 && .@reward <= 40) getitem Hearty_Rice_Cake,2; // Hearty_Rice_Cake
+ else if (.@reward >= 41 && .@reward <= 55) getitem Honey_Pastry,2; // Honey_Pastry
+ else if (.@reward >= 56 && .@reward <= 70) getitem Sesame_Pastry,2; // Sesame_Pastry
+ else if (.@reward >= 71 && .@reward <= 80) getitem Rainbow_Cake,2; // Rainbow_Cake
+ else if (.@reward >= 81 && .@reward <= 90) getitem Lucky_Rice_Cake,2; // Korean_Rice_Cake
+ else if (.@reward >= 91 && .@reward <= 100) getitem Salty_Rice_Cake,3; // Salty_Rice_Cake
// After getting the egg there is a chance to get an envelope with each turn in
- if (rand(1,20) <= 5 && lunar_rat == 4) getitem 668,1; // Red_Envelope
+ if (rand(1,20) <= 5 && lunar_rat == 4) getitem Handsei,1; // Red_Envelope
// Set the quest accordingly for repeat turn-ins.
if (lunar_rat == 3) lunar_rat = 2;
else if (lunar_rat == 5) lunar_rat = 4;
@@ -209,7 +209,7 @@ payon,215,127,4 script Rice Mill Man#rat 1_M_JOBGUIDER,{
close;
}
else if (lunar_rat >= 2) {
- if (countitem(7869) < 1) {
+ if (countitem(RicePouch) < 1) {
mes "If you bring me some";
mes "Rice Pouches, then I can";
mes "pound into into Sweet Rice.";
@@ -236,8 +236,8 @@ payon,215,127,4 script Rice Mill Man#rat 1_M_JOBGUIDER,{
mes "be made into pastries";
mes "Would you please bring";
mes "this to my mother?";
- delitem 7869,1; //Rice_Pouch
- getitem 7770,1; //Sweet_Rice
+ delitem RicePouch,1; //Rice_Pouch
+ getitem Sweet_Rice,1;
close;
}
}
@@ -245,7 +245,7 @@ payon,215,127,4 script Rice Mill Man#rat 1_M_JOBGUIDER,{
//payon,126,113,4 script Miss Lunar#rat 4_F_LGTGIRL,{
payon,126,113,4 script Miss Lunar#rat 4_F_NACORURI,{
mes "[Lunar]";
- if ((MaxWeight-Weight) < 3000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 3000 || checkweight(Knife,1) == 0) {
mes "Oh, I'm sorry, but we";
mes "can't do any business if";
mes "you're carry so much stuff.";
@@ -277,7 +277,7 @@ payon,126,113,4 script Miss Lunar#rat 4_F_NACORURI,{
if (select("Yes:No") == 1) {
if (Zeny >= 3000) {
Zeny -= 3000;
- getitem 554,10; // Mojji
+ getitem Mojji,10; // Mojji
mes "[Lunar]";
mes "Thank you, and I hope you";
mes "have a happy new year!";
diff --git a/npc/events/valentinesday.txt b/npc/events/valentinesday.txt
index 5363a44bd..4f9145b46 100644
--- a/npc/events/valentinesday.txt
+++ b/npc/events/valentinesday.txt
@@ -120,7 +120,7 @@ prt_castle,54,34,4 script Carl Orleans 1_M_01,{
mes "Well, I just might be able to fulfill your needs...";
next;
mes "[Carl Orleans]";
- if (countitem(558) < 3) {
+ if (countitem(Chocolate) < 3) {
mes "I'm sorry, you don't have enough Chocolate Bars to do this.";
close; }
delitem 558,3;
diff --git a/npc/events/valentinesday_2009.txt b/npc/events/valentinesday_2009.txt
index ca707918e..52f54f036 100644
--- a/npc/events/valentinesday_2009.txt
+++ b/npc/events/valentinesday_2009.txt
@@ -89,7 +89,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{
next;
}
}
- if (!checkweight(558, .@input)) {
+ if (!checkweight(Chocolate, .@input)) {
mes "[Marco Bassinio]";
mes "You're carrying too many items.";
mes "Please use the Kafra Services.";
@@ -123,7 +123,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{
mes "You also need to pay 500 zeny to carve your name on the box.";
mes "Are you all prepared...?";
next;
- if (countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 1 || Zeny < 500) {
+ if (countitem(Packing_Paper) < 1 || countitem(Packing_Ribbon) < 1 || countitem(Box) < 1 || Zeny < 500) {
mes "[Marco Bassinio]";
mes "Hmm.. Looks like you don't have enough materials to decorate the gift box..";
mes "You can't just put your gift into some plain looking box..";
@@ -134,7 +134,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{
mes "Oh, also bring 500 zeny, and don't forget to bring your true loving heart with you!!";
close;
}
- if (countitem(558) < 1) {
+ if (countitem(Chocolate) < 1) {
mes "[Marco Bassinio]";
mes "Hey, look, adventurer!";
mes "I can't create something right away!";
@@ -144,7 +144,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{
mes "You're not saying that you want an empty chocolate box without any chocolate in it, am I right?";
close;
}
- if (!checkweight(12744,1)) {
+ if (!checkweight(Chocotate_Box,1)) {
mes "[Marco Bassinio]";
mes "You're carrying too many items.";
mes "Please use the Kafra Services.";
@@ -208,7 +208,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{
next;
break;
}
- if (!checkweight(7175,.@input)) {
+ if (!checkweight(Packing_Paper,.@input)) {
mes "[Packs Trader]";
mes "You're carrying too many items.";
mes "Please use the Kafra Services.";
@@ -249,7 +249,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{
next;
break;
}
- if (!checkweight(7174,.@input)) {
+ if (!checkweight(Packing_Ribbon,.@input)) {
mes "[Packs Trader]";
mes "You're carrying too many items.";
mes "Please use the Kafra Services.";
@@ -290,7 +290,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{
next;
break;
}
- if (!checkweight(7948,.@input)) {
+ if (!checkweight(Box,.@input)) {
mes "[Packs Trader]";
mes "You're carrying too many items.";
mes "Please use the Kafra Services.";
@@ -381,7 +381,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 4_F_KAFRA7,{
mes "Just follow your heart!";
close;
}
- if (countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 1 || Zeny < 1000) {
+ if (countitem(Packing_Paper) < 1 || countitem(Packing_Ribbon) < 1 || countitem(Box) < 1 || Zeny < 1000) {
mes "[Event Ring Maker]";
mes "Well, you don't have enough materials to make a gift box.";
mes "Check what you have, and come back later with all the materials.";
@@ -454,7 +454,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
}
if (Sex) {
- if (countitem(7947) > .@input) {
+ if (countitem(Valentine_Silver_Ring) > .@input) {
mes "[Valentine Vote Manager]";
mes "Seems like the value you entered is too small.";
mes "I know you've got more. Be honest, dear.";
@@ -462,7 +462,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
break;
}
- if (countitem(7947) < .@input) {
+ if (countitem(Valentine_Silver_Ring) < .@input) {
mes "[Valentine Vote Manager]";
mes "Seems like the value you entered is too large.";
mes "I know you've got less. Be honest, dear.";
@@ -482,7 +482,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
next;
break;
} else {
- if (countitem(7946) > .@input) {
+ if (countitem(Valentine_Gold_Ring) > .@input) {
mes "[Valentine Vote Manager]";
mes "Seems like the value you entered is too small.";
mes "I know you've got more. Be honest, dear.";
@@ -490,7 +490,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
break;
}
- if (countitem(7946) < .@input) {
+ if (countitem(Valentine_Gold_Ring) < .@input) {
mes "[Valentine Vote Manager]";
mes "Seems like the value you entered is too large.";
mes "I know you've got less. Be honest, dear.";
@@ -568,7 +568,7 @@ prt_castle,42,35,3 script Dessert Manager#Val09 1_M_01,{
mes "Please.. I feel like my soul is lost..";
close;
}
- if (countitem(558) < 3) {
+ if (countitem(Chocolate) < 3) {
mes "[Charles Orleans]";
mes "Ahhh, Mademoiselle.";
mes "I'm not an alchemist, or a magician.";
@@ -607,7 +607,7 @@ prt_castle,42,35,3 script Dessert Manager#Val09 1_M_01,{
mes "I'll be waiting for you.";
close;
} else {
- if (!checkweight(559,1)) {
+ if (!checkweight(HandMade_Chocolate,1)) {
mes "[Charles Orleans]";
mes "You're carrying too many items.";
mes "Please use the Kafra Services.";
diff --git a/npc/events/valentinesday_2012.txt b/npc/events/valentinesday_2012.txt
index 04b6a5d77..2f969e10b 100644
--- a/npc/events/valentinesday_2012.txt
+++ b/npc/events/valentinesday_2012.txt
@@ -69,7 +69,7 @@ mosk_in,21,246,5 script Pinkamenia 1_F_LIBRARYGIRL,{
close;
} else if (#V_QUE12==2) {
mes .@n$;
- if (countitem(7864) < 15) {
+ if (countitem(Love_Flower) < 15) {
mes "You have to bring me 15 Love Flowers!";
close;
}
diff --git a/npc/events/xmas.txt b/npc/events/xmas.txt
index 9a2b0028e..a6308b867 100644
--- a/npc/events/xmas.txt
+++ b/npc/events/xmas.txt
@@ -98,13 +98,13 @@ L_Start:
close;
case 2: // Give proof
mes "[Santa Claus]";
- if(countitem(7034) < 3) goto L_NotEnuf;
+ if(countitem(Red_Socks_With_Holes) < 3) goto L_NotEnuf;
delitem 7034,3;
mes "Seems you've been doing a";
mes "good job of taking down those";
mes "fake Santas. Keep it up!";
next;
- getitem 644,1; //Gift Box Prototype
+ getitem Gift_Box,1; //Gift Box Prototype
++#event_xmas;
mes "[Santa Claus]";
mes "There's your reward.";
diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt
index 2f58b6276..b1126c0bc 100644
--- a/npc/instances/EndlessTower.txt
+++ b/npc/instances/EndlessTower.txt
@@ -44,7 +44,7 @@
6@tower mapflag src4instance
alberta,214,77,6 script Captain Janssen 4_M_SEAMAN,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^008800Wait here!!";
mes "You're carrying too much stuff. Why don't you put some of it away, and then come back.^000000";
close;
@@ -1203,12 +1203,12 @@ function script F_Tower_Warp {
setarray .@map$[1],"2@tower","3@tower","4@tower";
.@i = select("26th Level:51st Level:76th Level");
- if (countitem(6000) < .@i) {
+ if (countitem(Dark_Ashes) < .@i) {
mes "-Warning-";
mes "To warp to the "+.@level$[.@i]+" Level, you need "+.@i+" Ashes of the Darkness.";
close;
}
- delitem 6000,.@i; //Dark_Ashes
+ delitem Dark_Ashes,.@i;
mapannounce instance_mapname("1@tower"), strcharinfo(0)+". You will be warped to the "+.@level$[.@i]+" Level.",bc_map,"0x00ff99";
warp instance_mapname(.@map$[.@i]),52,354;
close;
@@ -1334,7 +1334,7 @@ OnEnable:
end;
OnTouch_:
- getitem 6000,1; //Dark_Ashes
+ getitem Dark_Ashes,1;
warp instance_mapname("2@tower"),52,354;
end;
@@ -1466,7 +1466,7 @@ OnEnable:
end;
OnTouch_:
- getitem 6000,1; //Dark_Ashes
+ getitem Dark_Ashes,1;
warp instance_mapname("3@tower"),52,354;
end;
@@ -1581,7 +1581,7 @@ OnEnable:
end;
OnTouch_:
- getitem 6000,1; //Dark_Ashes
+ getitem Dark_Ashes,1;
warp instance_mapname("4@tower"),52,354;
end;
@@ -1695,7 +1695,7 @@ OnEnable:
end;
OnTouch_:
- getitem 6000,1; //Dark_Ashes
+ getitem Dark_Ashes,1;
warp instance_mapname("5@tower"),101,72;
end;
@@ -2124,7 +2124,7 @@ OnMyMobDead:
}
6@tower,169,127,2 script Lost Soul#102 4_M_NFDEADSWDMAN,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You're carrying too much stuff. Why don't you put some of it away, and then come back?";
close;
}
@@ -2134,7 +2134,7 @@ OnMyMobDead:
mes "[Lost Souls]";
mes "Thank you so much. Now we can escape from this cold and dark place... to heaven.";
next;
- if ((countitem(13412) > 0) && (countitem(13413) > 0)) {
+ if ((countitem(Twin_Edge_B) > 0) && (countitem(Twin_Edge_R) > 0)) {
mes "[Lost Souls]";
mes "Hey, you have the remnants of Nacht Sieger with you.";
next;
@@ -2151,9 +2151,9 @@ OnMyMobDead:
mes "[Lost Souls]";
mes "Good, then I'll combine these to create a two-handed sword.";
next;
- delitem 13412,1; //Twin_Edge_B
- delitem 13413,1; //Twin_Edge_R
- getitem 1185,1; //Violet_Fear
+ delitem Twin_Edge_B,1;
+ delitem Twin_Edge_R,1;
+ getitem Violet_Fear,1;
break;
case 2:
mes "[Lost Souls]";
diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt
index 58351581f..a1d9de802 100644
--- a/npc/instances/NydhoggsNest.txt
+++ b/npc/instances/NydhoggsNest.txt
@@ -1053,7 +1053,7 @@ spl_in01,104,56,3 script Aide Arioss#edq 4_F_FAIRYKID2,3,3,{
mes "[Aide Arioss]";
mes "It can't compare with the effort you have put in for us... but please accept our token of friendship.";
getexp 1500000,350000;
- getitem 6081,10; //Splendide_Coin
+ getitem Splendide_Coin,10;
ins_nyd = 131;
mes "[Aide Arioss]";
mes "If we can help you with anything in the future, we will do all we can to assist you. Once again, thank you.";
@@ -1289,7 +1289,7 @@ man_in01,311,57,3 script Neat Etorr#edq 4_MAN_NITT,3,3,{
mes "[Neat Etorr]";
mes "It's not a lot, but please this as a token of our appreciation.";
getexp 1500000,350000;
- getitem 6080,10; //Manuk_Coin
+ getitem Manuk_Coin,10;
ins_nyd = 132;
close;
} else if (ins_nyd == 132) {
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt
index 9f8dc6620..89b9a6f98 100644
--- a/npc/instances/SealedShrine.txt
+++ b/npc/instances/SealedShrine.txt
@@ -47,7 +47,7 @@ monk_test,309,146,3 script Friar Patrick#edq 4_M_OLDFRIAR,{
mes "[Friar Patrick]";
mes "What brought you to this place?";
next;
- if (countitem(6004) > 0) {
+ if (countitem(Bapho_Doll) > 0) {
.@doll = 1;
.@selection = select("What is this place?:I want to enter.:About the Cursed Baphomet Doll.:Cancel.");
}
@@ -222,7 +222,7 @@ monk_test,309,146,3 script Friar Patrick#edq 4_M_OLDFRIAR,{
}
monk_test,306,151,3 script Grave of Baphomet#edq HIDDEN_NPC,{
- if (countitem(6002)) delitem 6002,countitem(6002); //Token_Of_Apostle
+ if (countitem(Token_Of_Apostle)) delitem Token_Of_Apostle,countitem(Token_Of_Apostle);
mes "This gravestone has a carving of a wicked devil with large horns. It arouses an ominous feeling.";
next;
if(select("Touch the stone.:Step back.") == 2)
@@ -277,7 +277,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{
mes "[Rust Blackhand]";
mes "Did you bring all of the ingredients?";
next;
- if (countitem(6004) && countitem(2256) && (countitem(7799) > 29) && (countitem(7798) > 49) && (Zeny >= 990000)) {
+ if (countitem(Bapho_Doll) && countitem(Magestic_Goat) && (countitem(Dark_Crystal) > 29) && (countitem(Dark_Debris) > 49) && (Zeny >= 990000)) {
mes "[Rust Blackhand]";
mes "kkk... You prepared the ingredients well. Why don't you leave it there and wait?";
next;
@@ -290,13 +290,13 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{
next;
mes "... ... ...";
next;
- delitem 6004,1; //Bapho_Doll
- delitem 2256,1; //Magestic_Goat
- delitem 7799,30; //Dark_Crystal
- delitem 7798,50; //Dark_Debris
+ delitem Bapho_Doll,1;
+ delitem Magestic_Goat,1;
+ delitem Dark_Crystal,30;
+ delitem Dark_Debris,50;
Zeny -= 990000;
completequest 3043;
- getitem 5374,1; //L_Magestic_Goat
+ getitem L_Magestic_Goat,1;
mes "[Rust Blackhand]";
mes "It's done. You may be excited, of course. I understand...";
next;
@@ -316,7 +316,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{
close;
}
}
- else if (!.@new_maje && countitem(6004) > 0) {
+ else if (!.@new_maje && countitem(Bapho_Doll) > 0) {
switch(select("About the Cursed Baphomet Doll:Stop talking.")) {
case 1:
mes "[Rust Blackhand]";
@@ -371,12 +371,12 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{
close;
}
}
- else if (!.@new_maje && !countitem(6004)) {
+ else if (!.@new_maje && !countitem(Bapho_Doll)) {
mes "[Rust Blackhand]";
mes "If you don't have business with me, go away! As you see, I make equipment for the Brothers at the monastery, not for adventurers like you. Do you understand?";
close;
}
- else if (.@new_maje == 2 && countitem(6004)) {
+ else if (.@new_maje == 2 && countitem(Bapho_Doll)) {
switch(select("About the Cursed Baphomet Doll:Stop talking.")) {
case 1:
mes "[Rust Blackhand]";
@@ -429,7 +429,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{
close;
}
}
- else if (.@new_maje == 2 && !countitem(6004)) {
+ else if (.@new_maje == 2 && !countitem(Bapho_Doll)) {
mes "[Rust Blackhand]";
mes "Why are you hanging around here? If you don't want a ^4d4dffGigantic Magestic Goat^000000, go away.";
close;
@@ -485,7 +485,7 @@ OnMyMobDead:
if (mobcount(.@map$,instance_npcname("ins_baphomet_lotto3")+"::OnMyMobDead") < 1) {
mapannounce .@map$, "All apostles of Baphomet are dead!",bc_map,"0x00ff99";
}
- getitem 6002,1; //Token_Of_Apostle
+ getitem Token_Of_Apostle,1;
end;
}
@@ -552,12 +552,12 @@ OnMyMobDead:
mes "[Voice of the Gravestone]";
mes "Did you find the pendant?";
next;
- if (countitem(6003) > 0) {
+ if (countitem(Soul_Pendant) > 0) {
specialeffect EF_MAPPILLAR;
mes "[Voice of the Gravestone]";
mes "Yes... This is... My pendant...";
next;
- delitem 6003,1; //Soul_Pendant
+ delitem Soul_Pendant,1;
enablenpc instance_npcname("Ancient Hero's Soul#1F");
disablenpc instance_npcname("Gravestone#");
mes "[Voice of the Gravestone]";
@@ -734,8 +734,8 @@ OnInstanceInit: // Temporary fix for @reloadscript.
mes "[Ancient Hero's Soul]";
mes "Did you get 10 ^0000FFEssence of Fire^000000 and ^0000FFToken of Apostle^000000?";
next;
- if ((countitem(6001) > 9) && (countitem(6002) > 0)) {
- delitem 6001,countitem(6001); //Essence_Of_Fire
+ if ((countitem(Essence_Of_Fire) > 9) && (countitem(Token_Of_Apostle) > 0)) {
+ delitem Essence_Of_Fire,countitem(Essence_Of_Fire);
'ins_baphomet = 4;
mes "[Ancient Hero's Soul]";
mes "Okay. You've done your work. Now check your companions and tell me when everyone has finished their work.";
@@ -753,7 +753,7 @@ OnInstanceInit: // Temporary fix for @reloadscript.
mes "[Ancient Hero's Soul]";
mes "Do you have a ^0000FFToken of Apostle^000000?";
next;
- if (countitem(6002) > 0) {
+ if (countitem(Token_Of_Apostle) > 0) {
'ins_baphomet = 4;
mes "[Ancient Hero's Soul]";
mes "Okay. You've done your work. Tell your representative to check your companions and come to me when everyone has finished their work.";
@@ -819,8 +819,8 @@ OnInstanceInit:
//== To 2F Warp ============================================
1@cata,281,12,0 script ins_bapho_to_2f WARPNPC,1,1,{
OnTouch:
- if (countitem(6002) > 0) {
- delitem 6002,countitem(6002); //Token_Of_Apostle
+ if (countitem(Token_Of_Apostle) > 0) {
+ delitem Token_Of_Apostle,countitem(Token_Of_Apostle);
'ins_baphomet = 5;
warp instance_mapname("2@cata"),80,144;
end;
@@ -839,7 +839,7 @@ OnInstanceInit:
//== Gravestones ===========================================
- script Gravestone#SS1 -1,{
if ('ins_baphomet == 1) {
- getitem 6003,1; //Soul_Pendant
+ getitem Soul_Pendant,1;
'ins_baphomet = 2;
mes "A small object is shining under a leaning grave.";
next;
@@ -888,18 +888,18 @@ OnInstanceInit:
- script Bobbing Torch#SS -1,{
.@party_id = getcharid(1);
if (getpartyleader(.@party_id,2) == getcharid(0)) {
- if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ if (('ins_baphomet == 3) && (countitem(Essence_Of_Fire) < 11)) {
mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
next;
mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
next;
specialeffect2 EF_HOLYHIT;
- getitem 6001,1; //Essence_Of_Fire
+ getitem Essence_Of_Fire,1;
mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
disablenpc instance_npcname(strnpcinfo(0));
close;
}
- else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ else if (('ins_baphomet == 3) && (countitem(Essence_Of_Fire) > 10)) {
mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
close;
}
diff --git a/npc/jobs/1-1e/gunslinger.txt b/npc/jobs/1-1e/gunslinger.txt
index c17e83cb8..3f02f7808 100644
--- a/npc/jobs/1-1e/gunslinger.txt
+++ b/npc/jobs/1-1e/gunslinger.txt
@@ -198,9 +198,9 @@ que_ng,152,167,3 script Master Miller 4_M_HUOLDARMY,{
GUNS_Q = 6;
completequest 6024;
if (rand(1,2) == 1) {
- getitem 13100,1; // Six_Shooter
+ getitem Six_Shooter,1; // Six_Shooter
} else {
- getitem 13150,1; // Branch
+ getitem Branch,1; // Branch
}
close;
}
@@ -281,7 +281,7 @@ payon,184,65,3 script Wise Bull Horn 4_M_LGTGRAND,{
close;
}
else if (GUNS_Q == 2) {
- if (countitem(912) < 3 || countitem(914) < 3 || countitem(1019) < 1 || countitem(935) < 10 || countitem(511) < 3 || countitem(1013) < 3) {
+ if (countitem(Zargon) < 3 || countitem(Fluff) < 3 || countitem(Wooden_Block) < 1 || countitem(Shell) < 10 || countitem(Green_Herb) < 3 || countitem(Colorful_Shell) < 3) {
mes "[Wise Bull Horn]";
mes "I can make a voucher that";
mes "will demonstrate your desire";
@@ -307,12 +307,12 @@ payon,184,65,3 script Wise Bull Horn 4_M_LGTGRAND,{
mes "a Gunslinger.";
close;
}
- delitem 912,3; // Zargon
- delitem 914,3; // Fluff
- delitem 1019,1; // Wooden_Block
- delitem 935,10; // Shell
- delitem 511,3; // Green_Herb
- delitem 1013,3; // Colorful_Shell
+ delitem Zargon,3; // Zargon
+ delitem Fluff,3; // Fluff
+ delitem Wooden_Block,1; // Wooden_Block
+ delitem Shell,10; // Shell
+ delitem Green_Herb,3; // Green_Herb
+ delitem Colorful_Shell,3; // Colorful_Shell
GUNS_Q = 3;
changequest 6021,6022;
mes "[Wise Bull Horn]";
@@ -365,7 +365,7 @@ payon,184,65,3 script Wise Bull Horn 4_M_LGTGRAND,{
close;
}
else if (GUNS_Q == 4) {
- if (countitem(519) < 1) {
+ if (countitem(Milk) < 1) {
mes "[Wise Bull Horn]";
mes "I'm an old man that will";
mes "soon be reunited with mother";
@@ -374,7 +374,7 @@ payon,184,65,3 script Wise Bull Horn 4_M_LGTGRAND,{
mes "a cold glass of Milk, please?";
close;
}
- delitem 519,1; // Milk
+ delitem Milk,1; // Milk
GUNS_Q = 5;
changequest 6023,6024;
mes "[Wise Bull Horn]";
diff --git a/npc/jobs/1-1e/ninja.txt b/npc/jobs/1-1e/ninja.txt
index 9eb760c15..a8348a9b9 100644
--- a/npc/jobs/1-1e/ninja.txt
+++ b/npc/jobs/1-1e/ninja.txt
@@ -280,7 +280,7 @@ que_ng,30,65,3 script Cougar#nq 4_M_JOB_ASSASSIN,{
close;
}
else if (NINJ_Q == 4) {
- if (countitem(7053) < 5 || countitem(1010) < 1) {
+ if (countitem(Cyfar) < 5 || countitem(Phracon) < 1) {
mes "[Cougar]";
mes "Hurry and bring";
mes "^3355FF5 Cyfars^000000 and";
@@ -354,9 +354,9 @@ que_ng,30,65,3 script Cougar#nq 4_M_JOB_ASSASSIN,{
mes "quiet as the falling shadows.";
callfunc "Job_Change",Job_Ninja;
NINJ_Q = 5;
- delitem 7053,5; // Cyfar
- delitem 1010,1; // Phracon
- getitem 13010,1; // Asura
+ delitem Cyfar,5; // Cyfar
+ delitem Phracon,1; // Phracon
+ getitem Asura,1; // Asura
completequest 6018;
close;
}
@@ -457,7 +457,7 @@ einbroch,184,194,3 script Suspicious Man#nq 4_M_SITDOWN,{
close;
}
else if (NINJ_Q == 2) {
- if (countitem(7053) < 5 || countitem(1010) < 1) {
+ if (countitem(Cyfar) < 5 || countitem(Phracon) < 1) {
mes "[Suspicious Man]";
mes "Please bring";
mes "^3355FF5 Cyfars^000000 and";
@@ -544,8 +544,8 @@ einbroch,184,194,3 script Suspicious Man#nq 4_M_SITDOWN,{
mes "It'll take a while to";
mes "return to Amatsu, so let";
mes "me send you there directly...";
- delitem 1010,1; // Phracon
- delitem 7053,5; // Cyfar
+ delitem Phracon,1; // Phracon
+ delitem Cyfar,5; // Cyfar
NINJ_Q = 3;
changequest 6016,6017;
close2;
diff --git a/npc/jobs/1-1e/taekwon.txt b/npc/jobs/1-1e/taekwon.txt
index b242af416..b3d610c6d 100644
--- a/npc/jobs/1-1e/taekwon.txt
+++ b/npc/jobs/1-1e/taekwon.txt
@@ -395,7 +395,7 @@ payon,157,141,5 script Phoenix#TKJobChange 4_M_MONK,{
completequest 6002;
callfunc "Job_Change",Job_Taekwon;
callfunc "F_ClearJobVar";
- getitem 2101,1; // Guard[0]
+ getitem Guard,1; // Guard[0]
mes "[Phoenix]";
mes "You are still young, so";
mes "I assume you'll want a job";
diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt
index fe74e5d04..c994fe5d6 100644
--- a/npc/jobs/2-1/assassin.txt
+++ b/npc/jobs/2-1/assassin.txt
@@ -95,7 +95,7 @@ in_moc_16,19,33,1 script Guildsman#asn 1_M_JOBTESTER,{
warp "in_moc_16",18,14;
end;
}
- if (BaseJob == Job_Thief && countitem(1008) == 0 && ASSIN_Q > 7) {
+ if (BaseJob == Job_Thief && countitem(Frozen_Heart) == 0 && ASSIN_Q > 7) {
mes "[Assassin Expert 'Huey']";
mes "Hey, what happened...? How come you didn't bring the ^006699Necklace of Oblivion^000000? You're supposed to carry that with you, so where is it?";
next;
@@ -106,7 +106,7 @@ in_moc_16,19,33,1 script Guildsman#asn 1_M_JOBTESTER,{
mes "When you finally succeed in getting it, bring it to me! ^666666*Sigh...*^000000";
close;
}
- if (BaseJob == Job_Thief && countitem(1008) > 0 && ASSIN_Q > 7) {
+ if (BaseJob == Job_Thief && countitem(Frozen_Heart) > 0 && ASSIN_Q > 7) {
mes "[Assassin Expert 'Huey']";
mes "Well well well, you got it. Congratulations! But since it's been clearly scratched, I can't accept it. You'll never become an Assassin!";
next;
@@ -120,7 +120,7 @@ in_moc_16,19,33,1 script Guildsman#asn 1_M_JOBTESTER,{
mes "...";
mes "......";
next;
- delitem 1008,1; //Frozen_Heart
+ delitem Frozen_Heart,1;
changequest 8007,8008;
mes "[Assassin Expert 'Huey']";
mes "Alright!";
@@ -133,7 +133,7 @@ in_moc_16,19,33,1 script Guildsman#asn 1_M_JOBTESTER,{
mes "Now! Do your best to be a great Assassin! Travel with faith and kill with dignity. Come by anytime and pay us a visit. Once again, congratulations.";
close;
}
- else if (countitem(1008) > 0 && BaseJob == Job_Thief && ASSIN_Q < 7) {
+ else if (countitem(Frozen_Heart) > 0 && BaseJob == Job_Thief && ASSIN_Q < 7) {
mes "[Ferocious-looking guy]";
mes "Eh?";
mes "What do you want?";
@@ -2063,7 +2063,7 @@ OnTouch:
mes "[Guildmaster]";
mes "A Jur...";
mes "Good choice. There you are. I hope it will serve you well.";
- getitem 1251,1; //Jur_
+ getitem Jur_,1;
break;
case 2:
mes "[Guildmaster]";
@@ -2072,18 +2072,18 @@ OnTouch:
mes "Although it's used,";
mes "I know it will";
mes "serve you well.";
- getitem 1253,1; //Katar_
+ getitem Katar_,1;
break;
case 3:
mes "[Guildmaster]";
mes "I see. You want to use both hands. Here, take your Main Gauche.";
- getitem 1208,1; //Main_Gauche_
+ getitem Main_Gauche_,1;
break;
case 4:
mes "[Guildmaster]";
mes "A Gladius...";
mes "It used to rule over the Assassin weapon market. Please take care of my gladius.";
- getitem 1220,1; //Gladius_
+ getitem Gladius_,1;
}
next;
}
@@ -2095,19 +2095,19 @@ OnTouch:
next;
switch(rand(1,5)) {
case 1:
- getitem 1207,1; //Main_Gauche
+ getitem Main_Gauche,1;
break;
case 2:
- getitem 1250,1; //Jur
+ getitem Jur,1;
break;
case 3:
- getitem 1216,1; //Stiletto
+ getitem Stiletto,1;
break;
case 4:
- getitem 1201,1; //Knife
+ getitem Knife,1;
break;
case 5:
- getitem 1252,1; //Katar
+ getitem Katar,1;
}
}
mes "[Guildmaster]";
@@ -2119,7 +2119,7 @@ OnTouch:
mes "[Guildmaster]";
mes "You, " + strcharinfo(0) + ", have chosen to live as an Assassin. May you learn our ways and be an honorable example to others.";
savepoint "morocc",100,100;
- getitem 1008,1; //Frozen_Heart
+ getitem Frozen_Heart,1;
changequest 8006,8007;
next;
mes "[Guildmaster]";
diff --git a/npc/jobs/2-1/blacksmith.txt b/npc/jobs/2-1/blacksmith.txt
index 1aa337057..2f49a8b5a 100644
--- a/npc/jobs/2-1/blacksmith.txt
+++ b/npc/jobs/2-1/blacksmith.txt
@@ -256,7 +256,7 @@ ein_in01,18,28,4 script Guildsman#BLS 4_M_JOB_BLACKSMITH,{
mes "If you haven't, I suggest you to do so as soon as possible.";
close;
}
- else if (BSMITH_Q == 17 && countitem(1005) > 0 && JobLevel > 39) {
+ else if (BSMITH_Q == 17 && countitem(Hammer_Of_Blacksmith) > 0 && JobLevel > 39) {
mes "[Altiregen]";
if (checkmount() || hascashmount()) {
mes "You are on a riding pet, so you cannot change your job.";
@@ -275,7 +275,7 @@ ein_in01,18,28,4 script Guildsman#BLS 4_M_JOB_BLACKSMITH,{
mes "Always remember that we are creators, and artists over metals. Be wary that you do not fall into the pitfalls of selfishness";
mes "and greed.";
next;
- delitem 1005,1; //Hammer_Of_Blacksmith
+ delitem Hammer_Of_Blacksmith,1;
completequest 2016;
mes "[Altiregen]";
mes "Here is a little";
@@ -284,9 +284,9 @@ ein_in01,18,28,4 script Guildsman#BLS 4_M_JOB_BLACKSMITH,{
mes "life as a Blacksmith.";
mes "Congratulations!!!";
if (.@joblvl > 48)
- getitem 999,30; //Steel
+ getitem Steel,30;
else
- getitem 999,5; //Steel
+ getitem Steel,5;
close;
}
}
@@ -668,7 +668,7 @@ ein_in01,201,27,3 script Guildsman#alberta 1_M_SMITH,{
switch(BSMITH_Q) {
case 9:
mes "Okay, now take this to ^8E6B23Baisulist^000000 in Geffen of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt.";
- getitem 1610,1; //Arc_Wand
+ getitem Arc_Wand,1;
if (questprogress(2003)) {
changequest 2003,2008;
}
@@ -693,7 +693,7 @@ ein_in01,201,27,3 script Guildsman#alberta 1_M_SMITH,{
break;
case 10:
mes "Okay, now take this to ^8E6B23Wickebine^000000 in Morroc of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt.";
- getitem 1219,1; //Gladius
+ getitem Gladius,1;
if (questprogress(2004)) {
changequest 2004,2009;
}
@@ -718,7 +718,7 @@ ein_in01,201,27,3 script Guildsman#alberta 1_M_SMITH,{
break;
case 11:
mes "Okay, now take this to ^8E6B23Krongast^000000 in Lighthalzen. Simply deliver it and bring me the receipt.";
- getitem 1119,1; //Tsurugi
+ getitem Tsurugi,1;
if (questprogress(2005)) {
changequest 2005,2010;
}
@@ -744,7 +744,7 @@ ein_in01,201,27,3 script Guildsman#alberta 1_M_SMITH,{
break;
case 12:
mes "Okay, now take this to ^8E6B23Talpiz^000000 in Payon of Rune-Midgarts Kingdom. Simply deliver this and bring me the receipt.";
- getitem 1713,1; //Arbalest
+ getitem Arbalest,1;
if (questprogress(2006)) {
changequest 2006,2011;
}
@@ -768,7 +768,7 @@ ein_in01,201,27,3 script Guildsman#alberta 1_M_SMITH,{
break;
case 13:
mes "Okay, now take this to ^8E6B23Bismarc^000000 in Hugel. Simply deliver this and bring back the receipt.";
- getitem 1122,1; //Ring_Pommel_Saber
+ getitem Ring_Pommel_Saber,1;
if (questprogress(2007)) {
changequest 2007,2012;
}
@@ -863,9 +863,9 @@ ein_in01,201,27,3 script Guildsman#alberta 1_M_SMITH,{
mes "Let's see that receipt~";
next;
if (select("Yes sir, here it is.:Receipt? I, uh, have it somewhere.") == 1) {
- if (countitem(1073) > 0) {
+ if (countitem(Merchant_Voucher_1) > 0) {
BSMITH_Q = 15;
- delitem 1073,1; //Merchant_Voucher_1
+ delitem Merchant_Voucher_1,1;
if (questprogress(2008)) {
changequest 2008,2013;
}
@@ -948,7 +948,7 @@ ein_in01,201,27,3 script Guildsman#alberta 1_M_SMITH,{
}
geffen,46,164,1 script Baisulist#BLS 1_F_04,{
- if (BSMITH_Q == 9 && countitem(1610) > 0) {
+ if (BSMITH_Q == 9 && countitem(Arc_Wand) > 0) {
mes "[Baisulist]";
mes "Oh, hello!";
mes "Have you come";
@@ -972,7 +972,7 @@ geffen,46,164,1 script Baisulist#BLS 1_F_04,{
mes "You're";
mes "absolutely sure?";
BSMITH_Q = 14;
- delitem 1610,1; //Arc_Wand
+ delitem Arc_Wand,1;
next;
mes "[Baisulist]";
mes "Thank you so much for traveling all the way here. That Geschupenschte, please smack him for me when you meet him for being so late on this order...";
@@ -982,7 +982,7 @@ geffen,46,164,1 script Baisulist#BLS 1_F_04,{
mes "a second, let";
mes "me give you a receipt~";
next;
- getitem 1073,1; //Merchant_Voucher_1
+ getitem Merchant_Voucher_1,1;
mes "[Baisulist]";
mes "Here it is.";
mes "Thank you so much!";
@@ -1023,7 +1023,7 @@ geffen,46,164,1 script Baisulist#BLS 1_F_04,{
}
morocc,27,112,4 script Wickebine#BLS 4_F_JOB_ASSASSIN,{
- if (BSMITH_Q == 10 && countitem(1219) > 0) {
+ if (BSMITH_Q == 10 && countitem(Gladius) > 0) {
cutin "Job_Black_hucke01",2;
mes "[Wickebine]";
mes "...!";
@@ -1055,7 +1055,7 @@ morocc,27,112,4 script Wickebine#BLS 4_F_JOB_ASSASSIN,{
mes "- She looks very happy. -";
next;
BSMITH_Q = 14;
- delitem 1219,1; //Gladius
+ delitem Gladius,1;
cutin "Job_Black_hucke01",2;
mes "[Wickebine]";
mes "Are you with the";
@@ -1074,7 +1074,7 @@ morocc,27,112,4 script Wickebine#BLS 4_F_JOB_ASSASSIN,{
mes "a masterfully crafted item.";
mes "Tell him I'm satisfied with the quality of the workmanship.";
next;
- getitem 1073,1; //Merchant_Voucher_1
+ getitem Merchant_Voucher_1,1;
emotion e_lv;
mes "[Wickebine]";
mes "Here's the receipt.";
@@ -1124,7 +1124,7 @@ morocc,27,112,4 script Wickebine#BLS 4_F_JOB_ASSASSIN,{
}
lighthalzen,209,80,4 script Krongast#BLS 4_M_JOB_KNIGHT2,{
- if (BSMITH_Q == 11 && countitem(1119) > 0) {
+ if (BSMITH_Q == 11 && countitem(Tsurugi) > 0) {
mes "[Krongast]";
mes "Ohhhhhh~";
mes "Is it here?";
@@ -1149,7 +1149,7 @@ lighthalzen,209,80,4 script Krongast#BLS 4_M_JOB_KNIGHT2,{
mes "Alright then, I'll take it!";
next;
BSMITH_Q = 14;
- delitem 1119,1; //Tsurugi
+ delitem Tsurugi,1;
mes "[Krongast]";
mes "Oh ho...";
mes "This is good.";
@@ -1165,7 +1165,7 @@ lighthalzen,209,80,4 script Krongast#BLS 4_M_JOB_KNIGHT2,{
mes "Let me give";
mes "you a receipt.";
next;
- getitem 1073,1; //Merchant_Voucher_1
+ getitem Merchant_Voucher_1,1;
mes "[Krongast]";
mes "Here is";
mes "your receipt.";
@@ -1202,7 +1202,7 @@ lighthalzen,209,80,4 script Krongast#BLS 4_M_JOB_KNIGHT2,{
}
payon,214,79,4 script Talpiz#BLS 1_M_ORIENT01,{
- if (BSMITH_Q == 12 && countitem(1713) > 0) {
+ if (BSMITH_Q == 12 && countitem(Arbalest) > 0) {
mes "[Talpiz]";
mes "Oh~";
mes "Is it finally here?";
@@ -1226,7 +1226,7 @@ payon,214,79,4 script Talpiz#BLS 1_M_ORIENT01,{
mes "Let me take a look...";
next;
BSMITH_Q = 14;
- delitem 1713,1; //Arbalest
+ delitem Arbalest,1;
mes "[Talpiz]";
mes "*wheet whoo*";
mes "Very nice!!";
@@ -1239,7 +1239,7 @@ payon,214,79,4 script Talpiz#BLS 1_M_ORIENT01,{
mes "For something of this quality,";
mes "I can even sell it for a high price even after I've used it!";
next;
- getitem 1073,1; //Merchant_Voucher_1
+ getitem Merchant_Voucher_1,1;
mes "[Talpiz]";
mes "Here!";
mes "Please take";
@@ -1276,7 +1276,7 @@ payon,214,79,4 script Talpiz#BLS 1_M_ORIENT01,{
}
hugel,168,183,1 script Bismarc#BLS 2_M_THIEFMASTER,{
- if (BSMITH_Q == 13 && countitem(1122) > 0) {
+ if (BSMITH_Q == 13 && countitem(Ring_Pommel_Saber) > 0) {
mes "[Bismarc]";
mes "Sweet God...";
mes "Have you sent";
@@ -1307,7 +1307,7 @@ hugel,168,183,1 script Bismarc#BLS 2_M_THIEFMASTER,{
mes "Pleeeease!";
next;
BSMITH_Q = 14;
- delitem 1122,1; //Ring_Pommel_Saber
+ delitem Ring_Pommel_Saber,1;
mes "^3355FFBismarc stabs";
mes "himself, repeatedly,";
mes "with the Ring Pommel Saber";
@@ -1336,7 +1336,7 @@ hugel,168,183,1 script Bismarc#BLS 2_M_THIEFMASTER,{
mes "antidote working now.";
mes "Just what I needed.";
next;
- getitem 1073,1; //Merchant_Voucher_1
+ getitem Merchant_Voucher_1,1;
mes "[Bismarc]";
mes "Here is";
mes "your receipt.";
@@ -1540,7 +1540,7 @@ ein_in01,24,41,5 script Blacksmith Guildsman#moc 4_F_JOB_BLACKSMITH,{
mes "[Mitehmaeeuh]";
mes "However, don't let your early success make you overconfident. A Blacksmith's life isn't a picnic. As proof that you have passed the test, I give you this Hammer of Blacksmith.";
BSMITH_Q = 17;
- getitem 1005,1; //Hammer_Of_Blacksmith
+ getitem Hammer_Of_Blacksmith,1;
changequest 2014,2015;
next;
mes "[Mitehmaeeuh]";
diff --git a/npc/jobs/2-1/hunter.txt b/npc/jobs/2-1/hunter.txt
index ddbfbbf27..53d273deb 100644
--- a/npc/jobs/2-1/hunter.txt
+++ b/npc/jobs/2-1/hunter.txt
@@ -145,7 +145,7 @@ hu_in01,386,373,4 script Hunter Guildsman#hnt 4_F_JOB_HUNTER,{
mes "You can't apply to change jobs if you still have unused skill points. Use your remaining skill points first.";
close;
}
- else if (HNTR_Q == 17 && countitem(1007) == 0) {
+ else if (HNTR_Q == 17 && countitem(Penetration) == 0) {
mes "[Hunter Sherin]";
mes "Hmm... I've been informed that you passed the test. But you don't have the necessary 'Necklace of Wisdom (Penetration)' that proves your accomplishment.";
next;
@@ -153,7 +153,7 @@ hu_in01,386,373,4 script Hunter Guildsman#hnt 4_F_JOB_HUNTER,{
mes "I'll let you change your job, but you must bring back a 'Necklace of Wisdom (Penetration),' no matter what it takes.";
close;
}
- else if (HNTR_Q == 17 && countitem(1007) > 0 && JobLevel > 39) {
+ else if (HNTR_Q == 17 && countitem(Penetration) > 0 && JobLevel > 39) {
mes "[Hunter Sherin]";
mes "Oh...?";
mes "You passed";
@@ -165,7 +165,7 @@ hu_in01,386,373,4 script Hunter Guildsman#hnt 4_F_JOB_HUNTER,{
mes "I will now change";
mes "your job to a Hunter~";
next;
- delitem 1007,1; //Penetration
+ delitem Penetration,1;
mes "[Hunter Sherin]";
mes "Tada~ Congratulations!";
mes "You look great as a Hunter!!";
@@ -180,9 +180,9 @@ hu_in01,386,373,4 script Hunter Guildsman#hnt 4_F_JOB_HUNTER,{
mes "[Hunter Sherin]";
mes "And also, here is a little reward for all the effort you put in. It's from me, of course~";
if (.@joblvl > 49)
- getitem 1718,1; //Hunter_Bow
+ getitem Hunter_Bow,1;
else
- getitem 1710,1; //CrossBow
+ getitem CrossBow,1;
close;
}
else if ((JobLevel > 39) && ((HNTR_Q == 0) || (HNTR_Q == 1))) {
@@ -644,7 +644,7 @@ payon_in03,131,7,3 script Hunter#htnGM 1_M_ORIENT01,{
mes "Well, then. Your arrows are probably still being made, so you can use mine to take the test.";
HNTR_Q = 12;
changequest 4009,4011;
- getitem 1751,200; //Silver_Arrow
+ getitem Silver_Arrow,200;
close2;
warp "job_hunte",176,22;
end;
@@ -729,7 +729,7 @@ payon_in03,131,7,3 script Hunter#htnGM 1_M_ORIENT01,{
mes "I mean, good job. I'll give you the item which proves that you have passed the test.";
HNTR_Q = 17;
savepoint "payon",104,99;
- getitem 1007,1; //Penetration
+ getitem Penetration,1;
changequest 4012,4013;
next;
mes "[Hunter Guildmaster]";
@@ -802,7 +802,7 @@ payon_in02,21,31,1 script Hunter#htnGM2 1_M_ORIENT01,{
}
mes "[Hunter Guildmaster]";
mes "Well, your arrows are probably still being made, so you can use mine to take the test.";
- getitem 1751,200; //Silver_Arrow
+ getitem Silver_Arrow,200;
next;
mes "[Hunter Guildmaster]";
mes "Good luck.";
@@ -921,7 +921,7 @@ payon_in02,21,31,1 script Hunter#htnGM2 1_M_ORIENT01,{
mes "I mean, good job. Well then, I'll give you the item which serves as proof that you passed the test.";
HNTR_Q = 17;
savepoint "payon",104,99;
- getitem 1007,1; //Penetration
+ getitem Penetration,1;
next;
mes "[Hunter Guildmaster]";
mes "Well...";
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt
index 7e62d4415..d0308d771 100644
--- a/npc/jobs/2-1/knight.txt
+++ b/npc/jobs/2-1/knight.txt
@@ -435,7 +435,7 @@ prt_in,88,101,4 script Chivalry Captain#knt 1_M_KNIGHTMASTER,{
mes "Protect the weak and";
mes "live with honor.";
next;
- getitem 656,7; //Awakening_Potion
+ getitem Awakening_Potion,7;
mes "[Captain Herman]";
mes "Oh...";
mes "We have prepared a small gift to congratulate you on your job change. Please use it when you are in battle as you honorably protect others.";
@@ -2032,7 +2032,7 @@ prt_in,87,92,4 script Sir Gray#knt 2_M_SWORDMASTER,{
close;
}
else {
- if ((Zeny > 73999) && (countitem(999) > 0) && (BaseJob == Job_Knight)) {
+ if ((Zeny > 73999) && (countitem(Steel) > 0) && (BaseJob == Job_Knight)) {
mes "[Sir Gray]";
mes "You are ready!";
mes "You must know the";
@@ -2055,9 +2055,9 @@ prt_in,87,92,4 script Sir Gray#knt 2_M_SWORDMASTER,{
mes "a fine ^3355FFClaymore^000000.";
mes "You attained a reliable item.";
mes "It'll be a good companion on your adventures.";
- delitem 999,1; //Steel
+ delitem Steel,1;
Zeny -= 74000;
- getitem 1163,1; //Claymore
+ getitem Claymore,1;
close;
}
mes "[Sir Gray]";
diff --git a/npc/jobs/2-1/priest.txt b/npc/jobs/2-1/priest.txt
index ced397552..cb5cf7fe1 100644
--- a/npc/jobs/2-1/priest.txt
+++ b/npc/jobs/2-1/priest.txt
@@ -95,7 +95,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{
mes "Do you wish to help him out during the spiritual training?";
next;
if (select("Yes, I do.:Give me a second.") == 1) {
- if (countitem(2608) > 0) {
+ if (countitem(Rosary) > 0) {
mes "[Bishop Paul]";
mes "I will now send you to the training place for Acolytes. Please send my regards to Brother Peter...";
next;
@@ -531,11 +531,11 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{
next;
mes "[Bishop Paul]";
if (.@joblvl < 50) {
- getitem 1550,1; //Book
+ getitem Book,1;
mes "This book is for you. I hope it will aid you in spreading God's message on earth.";
}
else {
- getitem 1551,1; //Bible
+ getitem Bible,1;
mes "In commemoration of your job change, I am giving you a bible. This will lighten your way to the path of righteousness.";
}
next;
diff --git a/npc/jobs/2-1/wizard.txt b/npc/jobs/2-1/wizard.txt
index 042aa8e1d..59b268ec4 100644
--- a/npc/jobs/2-1/wizard.txt
+++ b/npc/jobs/2-1/wizard.txt
@@ -208,14 +208,14 @@ gef_tower,111,37,4 script Wizard Guildsman 1_F_GYPSY,{
mes "Let me see, did you get all the items?";
mes "Then let's check...";
next;
- if (countitem(716) > 9 && countitem(717) > 9 && countitem(715) > 9) {
+ if (countitem(Red_Gemstone) > 9 && countitem(Blue_Gemstone) > 9 && countitem(Yellow_Gemstone) > 9) {
mes "[Catherine]";
mes "Perfect! You got all the items. I like!~";
mes "These items will be put to great use in our guild. ~Hehehee.";
next;
- delitem 716,10; //Red_Gemstone
- delitem 717,10; //Blue_Gemstone
- delitem 715,10; //Yellow_Gemstone
+ delitem Red_Gemstone,10;
+ delitem Blue_Gemstone,10;
+ delitem Yellow_Gemstone,10;
WIZ_Q = 3;
changequest 9013,9015;
mes "[Catherine]";
@@ -246,15 +246,15 @@ gef_tower,111,37,4 script Wizard Guildsman 1_F_GYPSY,{
mes "Did you get all the items?";
mes "Let's see... Do you have the right ones?...";
next;
- if (countitem(991) > 4 && countitem(993) > 4 && countitem(990) > 4 && countitem(992) > 4) {
+ if (countitem(Crystal_Blue) > 4 && countitem(Yellow_Live) > 4 && countitem(Boody_Red) > 4 && countitem(Wind_Of_Verdure) > 4) {
mes "[Catherine]";
mes "Perfect! Good job...I'm satisfied! ~Hehe";
mes "Our guild greatly appreciates these items and will use them wisely.";
next;
- delitem 991,5; //Crystal_Blue
- delitem 993,5; //Yellow_Live
- delitem 990,5; //Boody_Red
- delitem 992,5; //Wind_Of_Verdure
+ delitem Crystal_Blue,5;
+ delitem Yellow_Live,5;
+ delitem Boody_Red,5;
+ delitem Wind_Of_Verdure,5;
WIZ_Q = 3;
changequest 9014,9015;
mes "[Catherine]";
@@ -302,8 +302,8 @@ gef_tower,111,37,4 script Wizard Guildsman 1_F_GYPSY,{
next;
switch(select("Give me some hints, please.:I want to try again on my own!")) {
case 1:
- if (countitem(531) > 0) {
- delitem 531,1; //Apple_Juice
+ if (countitem(Apple_Juice) > 0) {
+ delitem Apple_Juice,1;
mes "[Catherine]";
mes "Yummers, Apple Juice is the best...";
mes "Gulp gulp gulp... Haaaaaah... ~Hehe";
@@ -451,7 +451,7 @@ gef_tower,111,37,4 script Wizard Guildsman 1_F_GYPSY,{
mes "rummage rummage...";
mes "shuffle shuffle...";
next;
- getitem 505,6; //Blue_Potion
+ getitem Blue_Potion,6;
mes "[Catherine]";
mes "Here you go. I hope you'll make good use of it when you need it. ~tehehe";
mes "I gave them to you as a present, so don't go out and sell it. Use it for yourself, ok?";
@@ -933,8 +933,8 @@ gef_tower,102,24,2 script Gloomy Wizard 4_M_JOB_WIZARD,{
warp "job_wiz",57,154;
end;
}
- if (countitem(618) > 0) {
- delitem 618,1; //Worn_Out_Scroll
+ if (countitem(Worn_Out_Scroll) > 0) {
+ delitem Worn_Out_Scroll,1;
mes "[Raulel]";
mes "Hahahahahahahaha~ *Cough* *cough* So you ended up bringing one of these eh? Good job...";
mes "I think I can continue my research with this...";
diff --git a/npc/jobs/2-1e/StarGladiator.txt b/npc/jobs/2-1e/StarGladiator.txt
index 4a3171f0f..189852e48 100644
--- a/npc/jobs/2-1e/StarGladiator.txt
+++ b/npc/jobs/2-1e/StarGladiator.txt
@@ -453,7 +453,7 @@ comodo,172,230,3 script Wandering Master#job_sta 4_M_JOB_ASSASSIN,{
close;
}
else if (STGL_Q == 2) {
- if (countitem(996) > 0 && countitem(997) > 0 && countitem(995) > 0 && countitem(994) > 0) {
+ if (countitem(Rough_Wind) > 0 && countitem(Great_Nature) > 0 && countitem(Mistic_Frozen) > 0 && countitem(Flame_Heart) > 0) {
mes "[Moogang]";
mes "Ah, you've completed the";
mes "task I've set for you. Very";
@@ -500,10 +500,10 @@ comodo,172,230,3 script Wandering Master#job_sta 4_M_JOB_ASSASSIN,{
mes "and all things. Now, when you";
mes "are ready for the next test, then";
mes "I shall guide you to the altar.";
- delitem 996,1; //Rough_Wind
- delitem 997,1; //Great_Nature
- delitem 995,1; //Mistic_Frozen
- delitem 994,1; //Flame_Heart
+ delitem Rough_Wind,1;
+ delitem Great_Nature,1;
+ delitem Mistic_Frozen,1;
+ delitem Flame_Heart,1;
STGL_Q = 3;
changequest 7008,7009;
close;
@@ -1466,7 +1466,7 @@ job_star,161,33,0 script Cheehee#job_star 1_F_ORIENT_03,{
close;
}
else if (STGL_Q == 10) {
- if (countitem(1000) > 0 && countitem(1001) > 0) {
+ if (countitem(Star_Crumb) > 0 && countitem(Sparkling_Dust) > 0) {
mes "[Cheehee]";
mes "Oh? You've brought exactly";
mes "what I've asked you to bring.";
@@ -1482,8 +1482,8 @@ job_star,161,33,0 script Cheehee#job_star 1_F_ORIENT_03,{
mes "Occasionally, the stars can";
mes "be saddening, but it's a very";
mes "sweet kind of sadness...";
- delitem 1000,1; //Star_Crumb
- delitem 1001,1; //Sparkling_Dust
+ delitem Star_Crumb,1;
+ delitem Sparkling_Dust,1;
STGL_Q = 11;
close;
}
diff --git a/npc/jobs/2-2/alchemist.txt b/npc/jobs/2-2/alchemist.txt
index 85c1354a6..58a0a687b 100644
--- a/npc/jobs/2-2/alchemist.txt
+++ b/npc/jobs/2-2/alchemist.txt
@@ -240,7 +240,7 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 4_F_ALCHE,{
}
}
else if (ALCH_Q >= 1 && ALCH_Q <= 3) {
- if (countitem(1006) > 0 && countitem(1005) > 0) {
+ if (countitem(Old_Magic_Book) > 0 && countitem(Hammer_Of_Blacksmith) > 0) {
mes "Well now~!";
mes "You've brought an";
mes "Old Magic Book and";
@@ -248,8 +248,8 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 4_F_ALCHE,{
mes "We'll put these items";
mes "to good use.";
next;
- delitem 1006,1; //Old_Magic_Book
- delitem 1005,1; //Hammer_Of_Blacksmith
+ delitem Old_Magic_Book,1;
+ delitem Hammer_Of_Blacksmith,1;
mes "[Parmy Gianino]";
mes "Okay, now you need to learn";
mes "the basics to being an Alchemist and learn the procedures for mixing chemicals and medicines.";
@@ -812,7 +812,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
}
alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you are carrying -";
mes "- too many items with you. -";
@@ -1010,7 +1010,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
mes "wishes to learn Alchemy.";
mes "Have you prepared everything?";
next;
- if (countitem(710) > 0) {
+ if (countitem(Illusion_Flower) > 0) {
mes "[Darwin]";
mes "Wait.";
mes "That Illusion Flower.";
@@ -1103,7 +1103,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
mes "posuere cubilia Curae; Morbi";
mes "massa, fermentum vitae...";
next;
- delitem 710,1; //Illusion_Flower
+ delitem Illusion_Flower,1;
mes "[Darwin]";
mes "^666666*Gasp...*^000000";
mes "You are now";
@@ -1115,7 +1115,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
changequest 2033,2034;
close;
}
- else if (countitem(7134) > 2 && countitem(713) > 2 && countitem(507) > 0 && countitem(508) > 0 && countitem(509) > 0) {
+ else if (countitem(Medicine_Bowl) > 2 && countitem(Empty_Bottle) > 2 && countitem(Red_Herb) > 0 && countitem(Yellow_Herb) > 0 && countitem(White_Herb) > 0) {
mes "[Darwin]";
mes "Seems like you have everything ready. As promised, I will teach you how to make simple medicine.";
next;
@@ -1130,11 +1130,11 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
next;
mes "[Darwin]";
mes "That's how you make it. If you think you have enough, gently pour the mixture into an empty bottle.";
- delitem 7134,3; //Medicine_Bowl
- delitem 713,3; //Empty_Bottle
- delitem 507,1; //Red_Herb
- delitem 508,1; //Yellow_Herb
- delitem 509,1; //White_Herb
+ delitem Medicine_Bowl,3;
+ delitem Empty_Bottle,3;
+ delitem Red_Herb,1;
+ delitem Yellow_Herb,1;
+ delitem White_Herb,1;
next;
mes "[Darwin]";
mes "There you go,";
@@ -1270,9 +1270,9 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
mes "again until you get it right.";
close;
}
- getitem 501,1; //Red_Potion
- getitem 503,1; //Yellow_Potion
- getitem 504,1; //White_Potion
+ getitem Red_Potion,1;
+ getitem Yellow_Potion,1;
+ getitem White_Potion,1;
mes "[Darwin]";
mes "Good job.";
mes "It came out pretty well considering it's your first time. Go ahead and keep the medicines that you've just made.";
@@ -1730,7 +1730,7 @@ alde_alche,101,184,4 script Master Alchemist#am 2_M_DYEINGER,{
mes "I hope you learn a lot...";
next;
if (.@jlevel == 50) {
- getitem 7133,1; //Slim_Potion_Create_Book
+ getitem Slim_Potion_Create_Book,1;
mes "[Vincent Carsciallo]";
mes "Let me give you";
mes "something special.";
@@ -1741,22 +1741,22 @@ alde_alche,101,184,4 script Master Alchemist#am 2_M_DYEINGER,{
else {
switch(rand(1,6)) {
case 1:
- getitem 7127,1; //Alcol_Create_Book
+ getitem Alcol_Create_Book,1;
break;
case 2:
- getitem 7128,1; //FireBottle_Create_Book
+ getitem FireBottle_Create_Book,1;
break;
case 3:
- getitem 7129,1; //Acid_Create_Book
+ getitem Acid_Create_Book,1;
break;
case 4:
- getitem 7130,1; //Plant_Create_Book
+ getitem Plant_Create_Book,1;
break;
case 5:
- getitem 7131,1; //Mine_Create_Book
+ getitem Mine_Create_Book,1;
break;
case 6:
- getitem 7144,1; //Normal_Potion_Book
+ getitem Normal_Potion_Book,1;
}
mes "[Vincent Carsciallo]";
mes "And...";
@@ -1793,7 +1793,7 @@ alde_alche,101,184,4 script Master Alchemist#am 2_M_DYEINGER,{
}
alde_alche,145,19,1 script Chief Researcher#am 1_M_LIBRARYMASTER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you are carrying -";
mes "- too many items with you. -";
@@ -1941,11 +1941,11 @@ alde_alche,145,19,1 script Chief Researcher#am 1_M_LIBRARYMASTER,{
mes "5 Fine Sand,";
mes "3 Rough Oridecon";
mes "and 3 Rough Elunium.";
- getitem 974,1; //Mixture
- getitem 7068,5; //Burn_Tree
- getitem 7043,5; //Fine_Sand
- getitem 756,3; //Oridecon_Stone
- getitem 757,3; //Elunium_Stone
+ getitem Mixture,1;
+ getitem Burn_Tree,5;
+ getitem Fine_Sand,5;
+ getitem Oridecon_Stone,3;
+ getitem Elunium_Stone,3;
next;
mes "[Nicholas Flamel]";
mes "Alright.";
diff --git a/npc/jobs/2-2/bard.txt b/npc/jobs/2-2/bard.txt
index 0055cf924..1839e9fb4 100644
--- a/npc/jobs/2-2/bard.txt
+++ b/npc/jobs/2-2/bard.txt
@@ -267,80 +267,80 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
mes "[Lalo]";
//Good Flowers
- if (countitem(629) > 0) {
+ if (countitem(Singing_Flower) > 0) {
mes "Ooh! It's a Singing Flower!";
mes "It's full of my memories...";
next;
- delitem 629,1; //Singing Flower
+ delitem Singing_Flower,1; //Singing Flower
mes "[Lalo]";
mes "My friend Tchaikovsky used to like it.";
mes "I wonder what he's doing now...";
}
- else if(countitem(703) > 0) {
+ else if(countitem(Hinalle) > 0) {
mes "Aah... the cute Hinelle...";
mes "It doesn't have a scent but it's a very moderate cute flower.";
next;
- delitem 703,1; //Hinalle
+ delitem Hinalle,1;
mes "[Lalo]";
mes "The leaves gave me strength when I used to fall.";
mes "I really like this flower, thank you.";
}
- else if(countitem(704) > 0) {
+ else if(countitem(Aloe) > 0) {
mes "Aloe... This is a rare flower.";
mes "How'd you get it? Rather skilled, eh?";
next;
- delitem 704,1; //Aloe
+ delitem Aloe,1;
mes "[Lalo]";
mes "The leaves are good and Aloe Vera is delicious, too..";
mes "but it's defnitely the most beautiful when it's a flower.";
}
- else if(countitem(708) > 0) {
+ else if(countitem(Ment) > 0) {
mes "Ment... You can forget about all your hardships with one of these.";
mes "Nice to see it in such a long time!";
next;
- delitem 708,1; //Ment
+ delitem Ment,1;
mes "[Lalo]";
mes "I heard you can make Anodyne with it...";
mes "But that would be a slight waste.. thanks!";
}
- else if(countitem(709) > 0) {
+ else if(countitem(Izidor) > 0) {
mes "Ooh, isn't this an Izidor?";
mes "It's a dangerous yet beautiful flower...";
next;
- delitem 709,1; //Izidor
+ delitem Izidor,1;
mes "[Lalo]";
mes "The deep purple charms a person.. ";
mes "Thank you, I really like this flower.";
}
- else if(countitem(748) > 0) {
+ else if(countitem(Witherless_Rose) > 0) {
mes "Ooh, a Witherless Rose. The strong flower that doesn't wither.";
mes "Great to give to a girlfriend.";
next;
- delitem 748,1; //Witherless_Rose
+ delitem Witherless_Rose,1;
mes "[Lalo]";
mes "I wonder if it would be ok for a wanderer like me to accept it.";
mes "Haha, it should be ok.. right?";
}
- else if(countitem(749) > 0 ) {
+ else if(countitem(Frozen_Rose) > 0 ) {
mes "Frozen Rose... you can't really call this a flower,";
mes "But it is still beautiful... a clear Rose.";
next;
- delitem 749,1; //Frozen_Rose
+ delitem Frozen_Rose,1;
mes "[Lalo]";
mes "You can call it a flower even though it doesn't have a scent anymore.";
mes "Then I'll greatly take this.";
}
- else if(countitem(710) > 0) {
+ else if(countitem(Illusion_Flower) > 0) {
mes "Oh, isn't this an Illusion Flower!?";
mes "Wow, how did you obtain such a rare flower!!";
next;
- delitem 710,1; //Illusion_Flower
+ delitem Illusion_Flower,1;
mes "[Lalo]";
mes "Than you very much, aah... I feel like heaven is in front of my eyes.";
mes "What a wonderful feeling! I'm really happy!";
}
//Bad Flowers
- else if(countitem(712) > 0) {
+ else if(countitem(Flower) > 0) {
cutin "job_bard_aiolo02",2;
mes "Eh? This is just a normal flower.";
mes "I like it... but it's not enough.";
@@ -352,7 +352,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
cutin "job_bard_aiolo02",255;
end;
}
- else if(countitem(744) > 0) {
+ else if(countitem(Bunch_Of_Flowers) > 0) {
mes "Oh no, you brought a Bouquet?";
mes "You can't bring me something like this.";
next;
@@ -363,7 +363,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
cutin "job_bard_aiolo01",255;
end;
}
- else if(countitem(745) > 0) {
+ else if(countitem(Wedding_Bouquet) > 0) {
cutin "job_bard_aiolo02",2;
mes "Oy oy... did you go to a wedding or something?";
mes "What do you expect a guy to do with a Wedding Bouquet?";
@@ -375,7 +375,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
cutin "job_bard_aiolo02",255;
end;
}
- else if(countitem(2207) > 0) {
+ else if(countitem(Fancy_Flower) > 0) {
mes "Mmm... a Fancy Flower.";
mes "It's nice... but this isn't good enough.";
next;
@@ -386,7 +386,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
cutin "job_bard_aiolo01",255;
end;
}
- else if(countitem(1032) > 0) {
+ else if(countitem(Blossom_Of_Maneater) > 0) {
cutin "job_bard_aiolo02",2;
mes "...Agh, why'd you bring such a hideous thing?";
mes "Are you thinking at all?";
@@ -874,10 +874,10 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
else {
switch(BARD_Q) {
case 5:
- if(countitem(1019) > 59) callsub S_ChangeJob,1019,1901;
- else if(countitem(1068) > 59) callsub S_ChangeJob,1068,1903;
- else if(countitem(1067) > 59) callsub S_ChangeJob,1067,1903;
- else if(countitem(1066) > 59) {
+ if(countitem(Wooden_Block) > 59) callsub S_ChangeJob,1019,1901;
+ else if(countitem(Tree_Of_Archer_3) > 59) callsub S_ChangeJob,1068,1903;
+ else if(countitem(Tree_Of_Archer_2) > 59) callsub S_ChangeJob,1067,1903;
+ else if(countitem(Tree_Of_Archer_1) > 59) {
if(JobLevel > 49) callsub S_ChangeJob,1066,1910;
else callsub S_ChangeJob,1066,1905;
}
diff --git a/npc/jobs/2-2/crusader.txt b/npc/jobs/2-2/crusader.txt
index a582aa6f9..fc97351d5 100644
--- a/npc/jobs/2-2/crusader.txt
+++ b/npc/jobs/2-2/crusader.txt
@@ -78,7 +78,7 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
mes "As it happened one thousand years ago, evil forces will one day attack in droves in an attempt to take over the world once again.";
close;
}
- else if(CRUS_Q <= 3 && countitem(1004) && countitem(1009)) {
+ else if(CRUS_Q <= 3 && countitem(Patriotism_Marks) && countitem(Sacred_Marks)) {
mes "Ah...";
mes "I see that you have been called to become a Crusader. We are assured of your will, but now we must test your capabilities.";
next;
@@ -148,7 +148,7 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
mes "" + strcharinfo(0) + "...?";
mes "Let's see...";
next;
- if (countitem(1004) && countitem(1009)) {
+ if (countitem(Patriotism_Marks) && countitem(Sacred_Marks)) {
mes "[Michael Halig]";
mes "Ah...";
mes "I see that you have been called to become a Crusader. We are assured of your will, but now we must test your capabilities.";
@@ -902,7 +902,7 @@ prt_castle,35,151,5 script Patron Knight 4_M_CRU,{
mes "have a Rosary.";
close;
}
- else if(countitem(523) < 1) {
+ else if(countitem(Holy_Water) < 1) {
mes "[Bliant Piyord]";
mes "For the battle test, please prepare one ^3355FFHoly water^000000.";
mes "I told you just to purify the candidates.";
@@ -912,7 +912,7 @@ prt_castle,35,151,5 script Patron Knight 4_M_CRU,{
mes "I will wait for you.";
close;
}
- delitem 523, 1; //Holy Water
+ delitem Holy_Water, 1; //Holy Water
mes "[Bliant Piyord]";
mes "Then, I'll start";
mes "the test. You will";
diff --git a/npc/jobs/2-2/dancer.txt b/npc/jobs/2-2/dancer.txt
index d1162ec41..4ceb4ca99 100644
--- a/npc/jobs/2-2/dancer.txt
+++ b/npc/jobs/2-2/dancer.txt
@@ -906,9 +906,9 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "Please take it.";
mes "May your performances always bring joy to your audience~";
if (.@jlevel == 50)
- getitem 1953,1; //Line_
+ getitem Line_,1;
else
- getitem 1950,1; //Rope
+ getitem Rope,1;
close;
}
}
diff --git a/npc/jobs/2-2/monk.txt b/npc/jobs/2-2/monk.txt
index 410fbf79a..b7ec9ffaa 100644
--- a/npc/jobs/2-2/monk.txt
+++ b/npc/jobs/2-2/monk.txt
@@ -439,15 +439,15 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "You are back, did you bring what I asked?";
next;
- if (countitem(938) > 4 && countitem(1055) > 9 && countitem(511) > 19) {
+ if (countitem(Sticky_Mucus) > 4 && countitem(Earthworm_Peeling) > 9 && countitem(Green_Herb) > 19) {
mes "[Sensei Moohae]";
mes "Well done, you found all the items.";
mes "I will tell this to the elders.";
MONK_Q = 10;
changequest 3017,3024;
- delitem 938,5; //Sticky_Mucus
- delitem 1055,10; //Earthworm_Peeling
- delitem 511,20; //Green_Herb
+ delitem Sticky_Mucus,5;
+ delitem Earthworm_Peeling,10;
+ delitem Green_Herb,20;
next;
mes "[Sensei Moohae]";
mes "Let's see who is to see you next..";
@@ -470,15 +470,15 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "...eh?";
next;
- if (countitem(942) > 19 && countitem(1002) > 4 && countitem(510) > 2) {
+ if (countitem(Yoyo_Tail) > 19 && countitem(Iron_Ore) > 4 && countitem(Blue_Herb) > 2) {
mes "[Sensei Moohae]";
mes "Very good, you found all the items.";
mes "I will tell this to the elders.";
MONK_Q = 10;
changequest 3018,3024;
- delitem 942,20; //Yoyo_Tail
- delitem 1002,5; //Iron_Ore
- delitem 510,3; //Blue_Herb
+ delitem Yoyo_Tail,20;
+ delitem Iron_Ore,5;
+ delitem Blue_Herb,3;
next;
mes "[Sensei Moohae]";
mes "Let's see who is to see you next..";
@@ -501,15 +501,15 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Hmm?";
next;
- if (countitem(905) > 29 && countitem(909) > 4 && countitem(955) > 9) {
+ if (countitem(Stem) > 29 && countitem(Jellopy) > 4 && countitem(Worm_Peelings) > 9) {
mes "[Sensei Moohae]";
mes "See, that wasn't so bad you real found all the items.";
mes "I will tell this to the elders.";
MONK_Q = 10;
changequest 3019,3024;
- delitem 905,30; //Stem
- delitem 909,5; //Jellopy
- delitem 955,10; //Worm_Peelings
+ delitem Stem,30;
+ delitem Jellopy,5;
+ delitem Worm_Peelings,10;
next;
mes "[Sensei Moohae]";
mes "The next step will be given";
@@ -532,15 +532,15 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "I have been waiting for you.";
next;
- if (countitem(943) > 4 && countitem(935) > 19 && countitem(912) > 4) {
+ if (countitem(Solid_Shell) > 4 && countitem(Shell) > 19 && countitem(Zargon) > 4) {
mes "[Sensei Moohae]";
mes "Impressive, you really found all the items.";
mes "I will tell this to the elders.";
MONK_Q = 10;
changequest 3020,3024;
- delitem 943,5; //Solid_Shell
- delitem 935,20; //Shell
- delitem 912,5; //Zargon
+ delitem Solid_Shell,5;
+ delitem Shell,20;
+ delitem Zargon,5;
next;
mes "[Sensei Moohae]";
mes "Your next step will be with..";
@@ -563,15 +563,15 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Hello again. Back so soon?";
next;
- if (countitem(7053) > 4 && countitem(509) > 9 && countitem(508) > 9) {
+ if (countitem(Cyfar) > 4 && countitem(White_Herb) > 9 && countitem(Yellow_Herb) > 9) {
mes "[Sensei Moohae]";
mes "Very nice, you found all the items.";
mes "I will tell this to the elders.";
MONK_Q = 10;
changequest 3021,3024;
- delitem 7053,5; //Cyfar
- delitem 509,10; //White_Herb
- delitem 508,10; //Yellow_Herb
+ delitem Cyfar,5;
+ delitem White_Herb,10;
+ delitem Yellow_Herb,10;
next;
mes "[Sensei Moohae]";
mes "Let's see who is to see you next..";
@@ -594,15 +594,15 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Hmm?";
next;
- if (countitem(913) > 9 && countitem(948) > 4 && countitem(7033) > 19) {
+ if (countitem(Tooth_Of_Bat) > 9 && countitem(Bear's_Foot) > 4 && countitem(Poison_Spore) > 19) {
mes "[Sensei Moohae]";
mes "Excellent, all the items I asked for.";
mes "I will tell this to the elders.";
MONK_Q = 10;
changequest 3022,3024;
- delitem 913,10; //Tooth_Of_Bat
- delitem 948,5; //Bear's_Foot
- delitem 7033,20; //Poison_Spore
+ delitem Tooth_Of_Bat,10;
+ delitem Bear's_Foot,5;
+ delitem Poison_Spore,20;
next;
mes "[Sensei Moohae]";
mes "Let's see who is to see you next..";
@@ -625,15 +625,15 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Welcome back.";
next;
- if (countitem(1027) > 4 && countitem(1025) > 19 && countitem(1042) > 9) {
+ if (countitem(Porcupine_Spike) > 4 && countitem(Spiderweb) > 19 && countitem(Short_Leg) > 9) {
mes "[Sensei Moohae]";
mes "Wow, you found all the items!!";
mes "I will tell this to the elders.";
MONK_Q = 10;
changequest 3023,3024;
- delitem 1027,5; //Porcupine_Spike
- delitem 1025,20; //Spiderweb
- delitem 1042,10; //Short_Leg
+ delitem Porcupine_Spike,5;
+ delitem Spiderweb,20;
+ delitem Short_Leg,10;
next;
mes "[Sensei Moohae]";
mes "Let's see who is to see you next..";
@@ -678,12 +678,12 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
close;
}
else if (MONK_Q == 28 && BaseJob == Job_Acolyte) {
- if (countitem(506) > 0) {
+ if (countitem(Green_Potion) > 0) {
mes "[Sensei Moohae]";
mes "Do you still have the medicine you were supposed to bring?";
mes "You must drink that green potion to strengthen yourself for becoming a monk.";
}
- else if (countitem(506) == 0) {
+ else if (countitem(Green_Potion) == 0) {
mes "[Sensei Moohae]";
mes "Have you finished the task? Good, so you do have what it takes to become a monk.";
mes "You didn't throw away the precious potion did you?";
@@ -891,9 +891,9 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "Now...you may leave where the wind may take you.";
mes "Oh and I have a gift for you before you leave.";
if (.@jlevel == 50)
- getitem 1804,1; //Knuckle_Duster_
+ getitem Knuckle_Duster_,1;
else
- getitem 1801,1; //Waghnakh
+ getitem Waghnakh,1;
}
close;
}
@@ -2049,7 +2049,7 @@ monk_test,389,43,0 duplicate(MonkTrap) Trap#t_monk7_3 -1
monk_test,389,42,0 duplicate(MonkTrap) Trap#t_monk7_4 -1
job_monk,225,180,1 script Hyunmoo#mk 4_M_ORIENT02,{
- if ((countitem(1069) > 0 || countitem(1070) > 0) && (countitem(1069) < 30 || countitem(1070) < 30)) {
+ if ((countitem(Mushroom_Of_Thief_1) > 0 || countitem(Mushroom_Of_Thief_2) > 0) && (countitem(Mushroom_Of_Thief_1) < 30 || countitem(Mushroom_Of_Thief_2) < 30)) {
mes "[Hyunmoo]";
mes "You didn't bring enough mushrooms... go get some more.";
next;
@@ -2070,7 +2070,7 @@ job_monk,225,180,1 script Hyunmoo#mk 4_M_ORIENT02,{
warp "prt_monk",194,168;
end;
}
- else if (MONK_Q > 14 && MONK_Q < 25 && (countitem(1069) == 0 || countitem(1070) == 0)) {
+ else if (MONK_Q > 14 && MONK_Q < 25 && (countitem(Mushroom_Of_Thief_1) == 0 || countitem(Mushroom_Of_Thief_2) == 0)) {
mes "[Hyunmoo]";
mes "Nice to meet you. My name is Hyunmoo. I am in charge of the mushroom test.";
next;
@@ -2107,8 +2107,8 @@ job_monk,225,180,1 script Hyunmoo#mk 4_M_ORIENT02,{
mes "[Hyunmoo]";
mes ".....yeah I thought as much....you don't have the spirit needed to become a monk.";
mapannounce "job_monk","" + strcharinfo(0) + ", has quit his testing to become a monk.",bc_map;
- delitem 1069,countitem(1069); //Mushroom_Of_Thief_1
- delitem 1070,countitem(1070); //Mushroom_Of_Thief_2
+ delitem Mushroom_Of_Thief_1,countitem(Mushroom_Of_Thief_1);
+ delitem Mushroom_Of_Thief_2,countitem(Mushroom_Of_Thief_2);
close2;
mapannounce "job_monk","" + strcharinfo(0) + ", has quit his training to become a monk.",bc_map;
warp "prt_monk",194,168;
@@ -2116,7 +2116,7 @@ job_monk,225,180,1 script Hyunmoo#mk 4_M_ORIENT02,{
changequest 3027,3028;
end;
}
- else if (MONK_Q > 14 && MONK_Q < 25 && (countitem(1069) > 29 || countitem(1070) > 29)) {
+ else if (MONK_Q > 14 && MONK_Q < 25 && (countitem(Mushroom_Of_Thief_1) > 29 || countitem(Mushroom_Of_Thief_2) > 29)) {
mes "[Hyunmoo]";
mes "...hmm... not bad.";
mes "Ok, you passed.";
@@ -2126,8 +2126,8 @@ job_monk,225,180,1 script Hyunmoo#mk 4_M_ORIENT02,{
mes "Tomoon is staying in the deepest room inside a building near this abbey.";
MONK_Q = 25;
changequest 3027,3029;
- delitem 1069,countitem(1069); //Mushroom_Of_Thief_1
- delitem 1070,countitem(1070); //Mushroom_Of_Thief_2
+ delitem Mushroom_Of_Thief_1,countitem(Mushroom_Of_Thief_1);
+ delitem Mushroom_Of_Thief_2,countitem(Mushroom_Of_Thief_2);
close2;
warp "prt_monk",194,168;
end;
@@ -2226,7 +2226,7 @@ monk_test,319,139,1 script Tomoon#mk 1_M_HOF,{
mes "I knew you'd make it through!";
mes "Now...I will give you a secret potion which will double your physical strength.";
next;
- getitem 506,1; //Green_Potion
+ getitem Green_Potion,1;
mes "Drink this potion and you will be able to become a monk!!!";
mes "... now go back to sensei Moohae!!!";
MONK_Q = 28;
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt
index ffd59ffe0..9181492cc 100644
--- a/npc/jobs/2-2/rogue.txt
+++ b/npc/jobs/2-2/rogue.txt
@@ -202,9 +202,9 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{
mes "Enjoy your freedom as a Rogue. Just remember that you gotta be free and responsible at the same time. So treat other guys the way you wanna be treated, kay? Alright, seeya round.";
close2;
if (.@jlevel == 50) {
- getitem 1220,1; //Gladius_
+ getitem Gladius_,1;
} else {
- getitem 1219,1; //Gladius
+ getitem Gladius,1;
}
end;
}
@@ -673,31 +673,31 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
else if (ROGUE_Q == 4) callsub S_CheckItems,511,10,910,10,926,10,964,10;
else if (ROGUE_Q == 5) callsub S_CheckItems,508,10,948,10,935,10,940,10;
else if (ROGUE_Q == 6) {
- if (Zeny > 9999 && countitem(915) > 4 && countitem(713) > 4 && countitem(1002) > 4 &&
- countitem(953) > 4 && countitem(507) > 4 && countitem(919) > 4 && countitem(715) > 4 &&
- countitem(913) > 4 && countitem(904) > 4 && countitem(942) > 4 && countitem(528) > 4 &&
- countitem(914) > 4 && countitem(705) > 4 && countitem(916) > 4 && countitem(917) > 4 &&
- countitem(908) > 4 && countitem(945) > 4) {
+ if (Zeny > 9999 && countitem(Chrysalis) > 4 && countitem(Empty_Bottle) > 4 && countitem(Iron_Ore) > 4 &&
+ countitem(Stone_Heart) > 4 && countitem(Red_Herb) > 4 && countitem(Animal's_Skin) > 4 && countitem(Yellow_Gemstone) > 4 &&
+ countitem(Tooth_Of_Bat) > 4 && countitem(Scorpion's_Tail) > 4 && countitem(Yoyo_Tail) > 4 && countitem(Monster's_Feed) > 4 &&
+ countitem(Fluff) > 4 && countitem(Clover) > 4 && countitem(Feather_Of_Birds) > 4 && countitem(Talon) > 4 &&
+ countitem(Spawn) > 4 && countitem(Raccoon_Leaf) > 4) {
mes "[Mr. Smith]";
mes "Ummm...let's see...";
Zeny -= 10000;
- delitem 915,5; //Chrysalis
- delitem 713,5; //Empty_Bottle
- delitem 1002,5; //Iron_Ore
- delitem 953,5; //Stone_Heart
- delitem 507,5; //Red_Herb
- delitem 919,5; //Animal's_Skin
- delitem 715,5; //Yellow_Gemstone
- delitem 913,5; //Tooth_Of_Bat
- delitem 904,5; //Scorpion's_Tail
- delitem 942,5; //Yoyo_Tail
- delitem 528,5; //Monster's_Feed
- delitem 914,5; //Fluff
- delitem 705,5; //Clover
- delitem 916,5; //Feather_Of_Birds
- delitem 917,5; //Talon
- delitem 908,5; //Spawn
- delitem 945,5; //Raccoon_Leaf
+ delitem Chrysalis,5;
+ delitem Empty_Bottle,5;
+ delitem Iron_Ore,5;
+ delitem Stone_Heart,5;
+ delitem Red_Herb,5;
+ delitem Animal's_Skin,5;
+ delitem Yellow_Gemstone,5;
+ delitem Tooth_Of_Bat,5;
+ delitem Scorpion's_Tail,5;
+ delitem Yoyo_Tail,5;
+ delitem Monster's_Feed,5;
+ delitem Fluff,5;
+ delitem Clover,5;
+ delitem Feather_Of_Birds,5;
+ delitem Talon,5;
+ delitem Spawn,5;
+ delitem Raccoon_Leaf,5;
ROGUE_Q = 8;
next;
mes "[Mr. Smith]";
@@ -713,7 +713,7 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
next;
mes "[Mr. Smith]";
mes "But I'm sure you'll be a great asset to the Rogue Guild. Hmm, I don't have a blank piece of paper right now, so take this instead...";
- getitem 1097,1; //Worn_Out_Page
+ getitem Worn_Out_Page,1;
next;
mes "[Mr. Smith]";
mes "*Sigh...*";
diff --git a/npc/jobs/2-2/sage.txt b/npc/jobs/2-2/sage.txt
index ab873f6f0..b3a7ac4b7 100644
--- a/npc/jobs/2-2/sage.txt
+++ b/npc/jobs/2-2/sage.txt
@@ -137,7 +137,7 @@ yuno_in02,38,61,5 script Dean of the Academy#sa 2_M_SAGE_OLD,{
end;
}
else if (SAGE_Q == 15) {
- if (countitem(1550) > 0) {
+ if (countitem(Book) > 0) {
if (JobLevel < 40) {
SAGE_Q = 0;
mes "You don't seem to be qualified yet.";
@@ -373,9 +373,9 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
mes "Please make sure you have at least 70,000 zeny to enroll in classes.";
close;
}
- if (countitem(1006) > 0 && countitem(1007) > 0) {
- delitem 1006,1; //Old_Magic_Book
- delitem 1007,1; //Penetration
+ if (countitem(Old_Magic_Book) > 0 && countitem(Penetration) > 0) {
+ delitem Old_Magic_Book,1;
+ delitem Penetration,1;
mes "[Metheus Sylphe]";
mes "Thank you, your application has been accepted.";
mes "Next, you will take the entrance test.";
@@ -519,9 +519,9 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
else if (SAGE_Q >= 1 && SAGE_Q <= 3) {
mes "Welcome, once again.";
next;
- if (countitem(1006) > 0 && countitem(1007) > 0) {
- delitem 1006,1; //Old_Magic_Book
- delitem 1007,1; //Penetration
+ if (countitem(Old_Magic_Book) > 0 && countitem(Penetration) > 0) {
+ delitem Old_Magic_Book,1;
+ delitem Penetration,1;
mes "[Metheus Sylphe]";
mes "Well done. Let me proceed with your application request.";
SAGE_Q = 4;
@@ -1367,7 +1367,7 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
close;
}
else {
- if (countitem(607) > 0) {
+ if (countitem(Yggdrasilberry) > 0) {
mes "[Saphien Layless]";
mes "Oh, did you bring them with you? Excellent!";
mes "You brought Yggdrasilberry!";
@@ -1377,7 +1377,7 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
mes "Listen carefully, I will not accept dozing off in the middle of class.";
next;
}
- else if (countitem(608) > 0) {
+ else if (countitem(Seed_Of_Yggdrasil) > 0) {
mes "[Saphien Layless]";
mes "Hmm, did you prepare for class? Let's see...";
mes "Oh! So you brought me the Yggdrasil Seed?";
@@ -1387,7 +1387,7 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
mes "Listen carefully, I will not accept dozing off in the middle of class.";
next;
}
- else if (countitem(610) > 0) {
+ else if (countitem(Leaf_Of_Yggdrasil) > 0) {
mes "[Saphien Layless]";
mes "Hmm, did you prepare for class? Let's see...";
mes "Yggdrasil Leaf...";
@@ -1494,12 +1494,12 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
}
}
else if (SAGE_Q == 10) {
- if (countitem(916) > 0 && countitem(919) > 0 && countitem(1019) > 0 && countitem(1024) > 0 && countitem(713) > 0) {
- delitem 916,1; //Feather_Of_Birds
- delitem 919,1; //Animal's_Skin
- delitem 1019,1; //Wooden_Block
- delitem 1024,1; //Chinese_Ink
- delitem 713,1; //Empty_Bottle
+ if (countitem(Feather_Of_Birds) > 0 && countitem(Animal's_Skin) > 0 && countitem(Wooden_Block) > 0 && countitem(Chinese_Ink) > 0 && countitem(Empty_Bottle) > 0) {
+ delitem Feather_Of_Birds,1;
+ delitem Animal's_Skin,1;
+ delitem Wooden_Block,1;
+ delitem Chinese_Ink,1;
+ delitem Empty_Bottle,1;
mes "Now, you're writing your thesis.";
mes "I will assist you with your writing.";
next;
@@ -1669,7 +1669,7 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
mes "[Saphien Layless]";
mes "Oh, did you finish already? Well done.";
mes "Please handle this with care, because you won't be able to do this ever again.";
- getitem 1550,1; //Book
+ getitem Book,1;
next;
mes "[Saphien Layless]";
mes "I assume you're ready to submit your work to the dean.";
@@ -2045,12 +2045,12 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
close;
}
else if (SAGE_Q == 12) {
- if (countitem(916) > 0 && countitem(919) > 0 && countitem(1019) > 0 && countitem(1024) > 0 && countitem(713) > 0) {
- delitem 916,1; //Feather_Of_Birds
- delitem 919,1; //Animal's_Skin
- delitem 1019,1; //Wooden_Block
- delitem 1024,1; //Chinese_Ink
- delitem 713,1; //Empty_Bottle
+ if (countitem(Feather_Of_Birds) > 0 && countitem(Animal's_Skin) > 0 && countitem(Wooden_Block) > 0 && countitem(Chinese_Ink) > 0 && countitem(Empty_Bottle) > 0) {
+ delitem Feather_Of_Birds,1;
+ delitem Animal's_Skin,1;
+ delitem Wooden_Block,1;
+ delitem Chinese_Ink,1;
+ delitem Empty_Bottle,1;
mes "Hmph. Lucky brat brought all of the items.";
mes "Well, I don't expect you to write an outrageously great thesis though...";
next;
@@ -2092,7 +2092,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "[Lucius Celsus]";
mes "Are you done? Okay, then it's over.";
mes "You won't be able to write another thesis again, handle this with care.";
- getitem 1550,1; //Book
+ getitem Book,1;
next;
mes "[Lucius Celsus]";
mes "Show this masterpiece to the dean.";
@@ -2200,7 +2200,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
close;
}
else if (SAGE_Q2 == 1) {
- if (countitem(7049) > 29) {
+ if (countitem(Stone) > 29) {
mes "Oh~ how sweet! You brought them all~ thank you~";
mes "Oh, can you wait a little bit? I need to do something before we start. Tee hee~";
next;
@@ -2213,7 +2213,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
mes "[Aebecee George]";
mes "Ho~cus~fo~cus!!";
next;
- delitem 7049,30; //Stone
+ delitem Stone,30;
mes "[Aebecee George]";
mes "Tee hee, you naughty stone~";
mes "Only 3 of them worked for me. Tee hee~";
@@ -2222,9 +2222,9 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
mes "Here's my other favor to ask of you. Oh, are those tears of...joy?";
mes "Oh, I'm sooo excited too! Tee hee~";
next;
- getitem 991,1; //Crystal_Blue
- getitem 993,1; //Yellow_Live
- getitem 992,1; //Wind_Of_Verdure
+ getitem Crystal_Blue,1;
+ getitem Yellow_Live,1;
+ getitem Wind_Of_Verdure,1;
mes "[Aebecee George]";
mes "I will give you these elemental ores...but...they are not for free.";
mes "Whoa there cowboy! Don't pull out so soon~ Listen, tee hee~";
@@ -2253,7 +2253,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
}
}
else if (SAGE_Q2 == 2) {
- if (countitem(1754) > 49 && countitem(1756) > 49 && countitem(1755) > 49) {
+ if (countitem(Crystal_Arrow) > 49 && countitem(Stone_Arrow) > 49 && countitem(Arrow_Of_Wind) > 49) {
mes "Oh~ how sweet! You brought them all~ Oh thank you~";
mes "Well now, let's get down to business. Tee hee~";
next;
@@ -2281,9 +2281,9 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
mes "...Oh my gosh! Time flies sooo fast!";
mes "Let's call it a day, dear, tee hee~";
next;
- delitem 1754,50; //Crystal_Arrow
- delitem 1756,50; //Stone_Arrow
- delitem 1755,50; //Arrow_Of_Wind
+ delitem Crystal_Arrow,50;
+ delitem Stone_Arrow,50;
+ delitem Arrow_Of_Wind,50;
mes "[Aebecee George]";
mes "When you come to the next class, bring ^3355FF1 Holy Water^000000~";
mes "I hope you have at least one Priest friend. Oh, you don't? Well, it couldn't hurt to get friendly with one.";
@@ -2304,7 +2304,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
}
}
else if (SAGE_Q2 == 3) {
- if (countitem(523) > 0) {
+ if (countitem(Holy_Water) > 0) {
mes "Oh~ how sweet! You brought some Holy Water~ thanks honey~";
mes "Oh righty, we should start class. Tee hee~";
next;
@@ -2332,7 +2332,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
mes "Oh, it's the end of the class~ tee hee.";
mes "So? Do you think you've learned a lot? You can thank me, honey!";
next;
- delitem 523,1; //Holy_Water
+ delitem Holy_Water,1;
mes "[Aebecee George]";
mes "Well, that's it. You can write your thesis with what I've taught you!";
mes "Tee hee~ yes! Yes! I am the best teacher in the world! Oh, I am on fire! Tee hee~";
@@ -2368,12 +2368,12 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
}
}
else if (SAGE_Q == 14) {
- if (countitem(916) > 0 && countitem(919) > 0 && countitem(1019) > 0 && countitem(1024) > 0 && countitem(713) > 0) {
- delitem 916,1; //Feather_Of_Birds
- delitem 919,1; //Animal's_Skin
- delitem 1019,1; //Wooden_Block
- delitem 1024,1; //Chinese_Ink
- delitem 713,1; //Empty_Bottle
+ if (countitem(Feather_Of_Birds) > 0 && countitem(Animal's_Skin) > 0 && countitem(Wooden_Block) > 0 && countitem(Chinese_Ink) > 0 && countitem(Empty_Bottle) > 0) {
+ delitem Feather_Of_Birds,1;
+ delitem Animal's_Skin,1;
+ delitem Wooden_Block,1;
+ delitem Chinese_Ink,1;
+ delitem Empty_Bottle,1;
mes "Okay~ so its now or never~ tee hee~";
mes "I taught you everything I know. Don't be nervous, you'll be okay~";
next;
@@ -2509,7 +2509,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
mes "[Aebecee George]";
mes "Tee hee, so... are you done with your thesis? What do you think of your work? I think you did fine~";
mes "Don't forget, this is the first and the last time you'll write a thesis, okay? Tee hee~";
- getitem 1550,1; //Book
+ getitem Book,1;
next;
mes "[Aebecee George]";
mes "Okay, now you can show the dean your thesis~";
diff --git a/npc/jobs/2-2e/SoulLinker.txt b/npc/jobs/2-2e/SoulLinker.txt
index 0c5ff61db..65febe33e 100644
--- a/npc/jobs/2-2e/SoulLinker.txt
+++ b/npc/jobs/2-2e/SoulLinker.txt
@@ -211,10 +211,10 @@ morocc_in,174,30,6 script Kid#link1 4_M_KID2,{
mes "like I asked you to?";
next;
if (select("There you are.:No, not yet...") == 1) {
- if (countitem(732) > 0 && countitem(929) > 0 && countitem(748) > 0) {
- delitem 732,1; //Crystal_Jewel__
- delitem 929,1; //Immortal_Heart
- delitem 748,1; //Witherless_Rose
+ if (countitem(Crystal_Jewel__) > 0 && countitem(Immortal_Heart) > 0 && countitem(Witherless_Rose) > 0) {
+ delitem Crystal_Jewel__,1;
+ delitem Immortal_Heart,1;
+ delitem Witherless_Rose,1;
SOUL_Q = 2;
changequest 6005,6006;
mes "[Kid]";
diff --git a/npc/jobs/novice/supernovice.txt b/npc/jobs/novice/supernovice.txt
index 449a94f0c..19ed21325 100644
--- a/npc/jobs/novice/supernovice.txt
+++ b/npc/jobs/novice/supernovice.txt
@@ -54,9 +54,9 @@ aldeba_in,223,167,3 script Tzerero#sn 4_M_SEAMAN,{
mes "...and a master of none.";
close;
}
- if (countitem(938) > 29 && countitem(907) > 29 && SUPNOV_Q == 1) {
- delitem 938,30; //Sticky_Mucus
- delitem 907,30; //Resin
+ if (countitem(Sticky_Mucus) > 29 && countitem(Resin) > 29 && SUPNOV_Q == 1) {
+ delitem Sticky_Mucus,30;
+ delitem Resin,30;
mes "[Tzerero]";
mes "Ah, you've brought the";
mes "items I've requested!";
@@ -77,7 +77,7 @@ aldeba_in,223,167,3 script Tzerero#sn 4_M_SEAMAN,{
next;
completequest 6010;
callfunc "F_ClearJobVar";
- getitem 2339,1; //G_Strings
+ getitem G_Strings,1;
if (Upper==0) jobchange Job_SuperNovice;
if (Upper==2) jobchange Job_Super_Baby;
mes "[Tzerero]";
diff --git a/npc/jobs/valkyrie.txt b/npc/jobs/valkyrie.txt
index 87bc4e338..483c67346 100644
--- a/npc/jobs/valkyrie.txt
+++ b/npc/jobs/valkyrie.txt
@@ -160,8 +160,8 @@ valkyrie,48,86,4 script Valkyrie# 4_F_VALKYRIE,{
mes "into a brand new life.";
mes "Please take these small gifts";
mes "in preparation for your new adventures.";
- getitem 1202,1; //Knife_
- getitem 2302,1; //Cotton_Shirt_
+ getitem Knife_,1;
+ getitem Cotton_Shirt_,1;
next;
mes "[Valkyrie]";
mes "I wish that the release the goddess Urd has granted you proves to be a blessing. I hope that the memories Verdandi has recorded will always honor you.";
diff --git a/npc/merchants/alchemist.txt b/npc/merchants/alchemist.txt
index c563eb747..ee5663232 100644
--- a/npc/merchants/alchemist.txt
+++ b/npc/merchants/alchemist.txt
@@ -40,7 +40,7 @@
//=========================================================================
alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you are carrying -";
mes "- too many items with you. -";
@@ -100,7 +100,7 @@ alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{
close;
}
Zeny -= .@sell;
- getitem 7134,.@input; //Medicine_Bowl
+ getitem Medicine_Bowl,.@input;
mes "[Gever Al Sharp]";
mes "Thank you.";
mes "Come again.";
diff --git a/npc/merchants/ammo_dealer.txt b/npc/merchants/ammo_dealer.txt
index 227bd6218..0c85a19bb 100644
--- a/npc/merchants/ammo_dealer.txt
+++ b/npc/merchants/ammo_dealer.txt
@@ -108,7 +108,7 @@ function script Bullet_Trade {
mes "items for some bullets.";
close;
}
- if (countitem(1010) >= .@amount && countitem(1011) >= .@amount && countitem(getarg(0)) >= (.@amount*getarg(1))) {
+ if (countitem(Phracon) >= .@amount && countitem(Emveretarcon) >= .@amount && countitem(getarg(0)) >= (.@amount*getarg(1))) {
if (checkweight(getarg(2),.@amount * 30) == 0) {
mes "[Tony]";
mes "Eh? Your Inventory doesn't";
diff --git a/npc/merchants/buying_shops.txt b/npc/merchants/buying_shops.txt
index b19f13f6e..ca32bb287 100644
--- a/npc/merchants/buying_shops.txt
+++ b/npc/merchants/buying_shops.txt
@@ -154,7 +154,7 @@ alberta_in,58,52,4 script Purchasing Team#Buying 1_M_ORIENT01,{
mes "but you don't seem to have enough money.";
} else {
mes "Thank you for your patronage.";
- getitem 6377,.@input; //Buy_Stall_Permit
+ getitem Buy_Market_Permit,.@input; //Buy_Stall_Permit
Zeny -= (.@input*200);
}
close;
@@ -240,7 +240,7 @@ alberta_in,58,52,4 script Purchasing Team#Buying 1_M_ORIENT01,{
mes "I like your handwriting.";
mes "Okay, you're now approved to open the Bulk Buyer Shop.";
Zeny -= 10000;
- getitem 6377,5; //Buy_Stall_Permit
+ getitem Buy_Market_Permit,5; //Buy_Stall_Permit
skill "ALL_BUYING_STORE",1,3;
next;
mes "[Mr. Hugh]";
diff --git a/npc/merchants/cash_hair.txt b/npc/merchants/cash_hair.txt
index a57d6aa84..4f92a4135 100644
--- a/npc/merchants/cash_hair.txt
+++ b/npc/merchants/cash_hair.txt
@@ -94,7 +94,7 @@ itemmall,19,74,5 script Stylist#cash 4_F_02,{
mes "change your hairstyle?";
next;
if(select("Change Hairstyle:Don't Change") == 1) {
- if (countitem(7622) > 0) {
+ if (countitem(New_Style_Coupon) > 0) {
mes "[Kaniki]";
mes "Great, you brought";
mes "a New Style Coupon!";
@@ -103,18 +103,18 @@ itemmall,19,74,5 script Stylist#cash 4_F_02,{
next;
if (Sex == 1) {
if(select("Emergency Heal Perm:Aura Blade Cut") == 1) {
- delitem 7622,1; // New_Style_Coupon
+ delitem New_Style_Coupon,1; // New_Style_Coupon
setlook 1,24;
}else{
- delitem 7622,1; // New_Style_Coupon
+ delitem New_Style_Coupon,1; // New_Style_Coupon
setlook 1,25;
}
}else{
if(select("Assumptio Perm:Soul Changer Cut") == 1) {
- delitem 7622,1; // New_Style_Coupon
+ delitem New_Style_Coupon,1; // New_Style_Coupon
setlook 1,24;
}else{
- delitem 7622,1; // New_Style_Coupon
+ delitem New_Style_Coupon,1; // New_Style_Coupon
setlook 1,25;
}
}
diff --git a/npc/merchants/coin_exchange.txt b/npc/merchants/coin_exchange.txt
index 84aeb71bd..57b0c4afb 100644
--- a/npc/merchants/coin_exchange.txt
+++ b/npc/merchants/coin_exchange.txt
@@ -40,7 +40,7 @@
.@n$ = "["+strnpcinfo(1)+"]";
mes .@n$;
if (isequipped(2782) && ep13_2_rhea == 100) {
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "It looks like you're carrying too many things.";
mes "Why not put some of your items in storage and come back?";
close;
diff --git a/npc/merchants/dye_maker.txt b/npc/merchants/dye_maker.txt
index d387485a1..a99fbd9e0 100644
--- a/npc/merchants/dye_maker.txt
+++ b/npc/merchants/dye_maker.txt
@@ -38,7 +38,7 @@
//=========================================================================
morocc_in,146,99,3 script Java Dullihan 1_M_MERCHANT,{
- if ((MaxWeight-Weight) < 200 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 200 || checkweight(Knife,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
diff --git a/npc/merchants/gemstone.txt b/npc/merchants/gemstone.txt
index 229161c30..b114344a1 100644
--- a/npc/merchants/gemstone.txt
+++ b/npc/merchants/gemstone.txt
@@ -34,7 +34,7 @@
//=========================================================================
payon,173,238,5 script Jade#pay 4_M_SAGE_A,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
diff --git a/npc/merchants/hair_dyer.txt b/npc/merchants/hair_dyer.txt
index f1b72a2b7..db261c215 100644
--- a/npc/merchants/hair_dyer.txt
+++ b/npc/merchants/hair_dyer.txt
@@ -120,14 +120,14 @@ prt_in,243,168,4 script Jovovich 4_F_02,{
}
switch(.@headpalette) {
- case 1: delitem 976,1; break; //Lemon_Dyestuffs
- case 2: delitem 978,1; break; //Violet_Dyestuffs
- case 3: delitem 980,1; break; //Orange_Dyestuffs
- case 4: delitem 979,1; break; //Darkgreen_Dyestuffs
- case 5: delitem 981,1; break; //Cobaltblue_Dyestuffs
- case 6: delitem 982,1; break; //White_Dyestuffs
- case 7: delitem 983,1; break; //Black_Dyestuffs
- case 8: delitem 975,1; break; //Scarlet_Dyestuffs
+ case 1: delitem Lemon_Dyestuffs,1; break;
+ case 2: delitem Cobaltblue_Dyestuffs,1; break; //Violet_Dyestuffs
+ case 3: delitem Orange_Dyestuffs,1; break;
+ case 4: delitem Darkgreen_Dyestuffs,1; break;
+ case 5: delitem Violet_Dyestuffs,1; break; //Cobaltblue_Dyestuffs
+ case 6: delitem White_Dyestuffs,1; break;
+ case 7: delitem Black_Dyestuffs,1; break;
+ case 8: delitem Scarlet_Dyestuffs,1; break;
}
Zeny -= 1000;
setlook VAR_HEADPALETTE,.@headpalette;
@@ -285,7 +285,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
next;
}
else {
- if ((.@headpalette == 8) && (countitem(975) == 0)) {
+ if ((.@headpalette == 8) && (countitem(Scarlet_Dyestuffs) == 0)) {
mes "[Rossa]";
mes "Oh, I'm sorry dear,";
mes "but I can't dye your";
@@ -295,7 +295,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
.@choose_success = 2;
break;
}
- else if ((.@headpalette == 1) && (countitem(976) == 0)) {
+ else if ((.@headpalette == 1) && (countitem(Lemon_Dyestuffs) == 0)) {
mes "[Rossa]";
mes "Oh, I'm sorry dear,";
mes "but I can't dye your";
@@ -305,7 +305,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
.@choose_success = 2;
break;
}
- else if ((.@headpalette == 2) && (countitem(981) == 0)) {
+ else if ((.@headpalette == 2) && (countitem(Violet_Dyestuffs) == 0)) {
mes "[Rossa]";
mes "Oh, I'm sorry dear,";
mes "but I can't dye your";
@@ -315,7 +315,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
.@choose_success = 2;
break;
}
- else if ((.@headpalette == 3) && (countitem(980) == 0)) {
+ else if ((.@headpalette == 3) && (countitem(Orange_Dyestuffs) == 0)) {
mes "[Rossa]";
mes "Oh, I'm sorry dear,";
mes "but I can't dye your";
@@ -325,7 +325,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
.@choose_success = 2;
break;
}
- else if ((.@headpalette == 4) && (countitem(979) == 0)) {
+ else if ((.@headpalette == 4) && (countitem(Darkgreen_Dyestuffs) == 0)) {
mes "[Rossa]";
mes "Oh, I'm sorry dear,";
mes "but I can't dye your";
@@ -337,7 +337,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
.@choose_success = 2;
break;
}
- else if ((.@headpalette == 5) && (countitem(978) == 0)) {
+ else if ((.@headpalette == 5) && (countitem(Cobaltblue_Dyestuffs) == 0)) {
mes "[Rossa]";
mes "Oh, I'm sorry dear,";
mes "but I can't dye your";
@@ -349,7 +349,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
.@choose_success = 2;
break;
}
- else if ((.@headpalette == 6) && (countitem(982) == 0)) {
+ else if ((.@headpalette == 6) && (countitem(White_Dyestuffs) == 0)) {
mes "[Rossa]";
mes "Oh, I'm sorry dear,";
mes "but I can't dye your";
@@ -359,7 +359,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
.@choose_success = 2;
break;
}
- else if ((.@headpalette == 7) && (countitem(983) == 0)) {
+ else if ((.@headpalette == 7) && (countitem(Black_Dyestuffs) == 0)) {
mes "[Rossa]";
mes "Oh, I'm sorry dear,";
mes "but I can't dye your";
@@ -379,14 +379,14 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
.@choose_success = 2;
break;
}
- if (.@headpalette == 8) delitem 975,1; //Scarlet_Dyestuffs
- else if (.@headpalette == 1) delitem 976,1; //Lemon_Dyestuffs
- else if (.@headpalette == 2) delitem 981,1; //Violet_Dyestuffs
- else if (.@headpalette == 3) delitem 980,1; //Orange_Dyestuffs
- else if (.@headpalette == 4) delitem 979,1; //Darkgreen_Dyestuffs
- else if (.@headpalette == 5) delitem 978,1; //Cobaltblue_Dyestuffs
- else if (.@headpalette == 6) delitem 982,1; //White_Dyestuffs
- else if (.@headpalette == 7) delitem 983,1; //Black_Dyestuffs
+ if (.@headpalette == 8) delitem Scarlet_Dyestuffs,1;
+ else if (.@headpalette == 1) delitem Lemon_Dyestuffs,1;
+ else if (.@headpalette == 2) delitem Violet_Dyestuffs,1;
+ else if (.@headpalette == 3) delitem Orange_Dyestuffs,1;
+ else if (.@headpalette == 4) delitem Darkgreen_Dyestuffs,1;
+ else if (.@headpalette == 5) delitem Cobaltblue_Dyestuffs,1;
+ else if (.@headpalette == 6) delitem White_Dyestuffs,1;
+ else if (.@headpalette == 7) delitem Black_Dyestuffs,1;
Zeny -= 1000;
setlook VAR_HEADPALETTE,.@headpalette;
.@choose_success = 1;
diff --git a/npc/merchants/hair_style.txt b/npc/merchants/hair_style.txt
index ea074efaa..7bfefadf4 100644
--- a/npc/merchants/hair_style.txt
+++ b/npc/merchants/hair_style.txt
@@ -383,7 +383,7 @@ alberta_in,55,142,7 script Hair Dresser 4_F_02,{
mes "your current hairstyle. Why don't you";
mes "try a new hair accessory rather than changing your look?";
close;
- } else if((countitem(973) < 3) || (countitem(974) < 3) || (countitem(901) <100) || (countitem(1094) <100) || (countitem(1020) <100) || (countitem(1060) <100) || (countitem(7152) <100) || (Zeny < 99800)) {
+ } else if((countitem(Counteragent) < 3) || (countitem(Mixture) < 3) || (countitem(Danggie) <100) || (countitem(Short_Daenggie) <100) || (countitem(Long_Hair) <100) || (countitem(Golden_Hair) <100) || (countitem(Glossy_Hair) <100) || (Zeny < 99800)) {
mes "[Veronica]";
mes "If you wish to change your";
mes "hairstyle, you should meet some";
@@ -494,13 +494,13 @@ alberta_in,55,142,7 script Hair Dresser 4_F_02,{
mes "- *bzzzzzzz bzzzzzzz bzzzzzzz bzzzzzzz* -";
next;
Zeny -= 99800;
- delitem 973,3; // Counteragent
- delitem 974,3; // Mixture
- delitem 901,100; // Danggie
- delitem 1094,100; // Short_Daenggie
- delitem 1020,100; // Long_Hair
- delitem 1060,100; // Golden_Hair
- delitem 7152,100; // Glossy_Hair
+ delitem Counteragent,3; // Counteragent
+ delitem Mixture,3; // Mixture
+ delitem Danggie,100; // Danggie
+ delitem Short_Daenggie,100; // Short_Daenggie
+ delitem Long_Hair,100; // Long_Hair
+ delitem Golden_Hair,100; // Golden_Hair
+ delitem Glossy_Hair,100; // Glossy_Hair
setlook 1,.@style;
setlook 6,.@pallete;
cutin "",255;
@@ -924,7 +924,7 @@ lhz_in02,100,143,3 script Hair Dresser#li 2_M_DYEINGER,{
mes "come back once you do, okay?";
close;
}
- else if ((countitem(973) < 3) || (countitem(974) < 3) || (countitem(901) < 100) || (countitem(1094) < 100) || (countitem(1020) < 100) || (countitem(1060) < 100) || (countitem(7152) < 100) || (Zeny < 99800)) {
+ else if ((countitem(Counteragent) < 3) || (countitem(Mixture) < 3) || (countitem(Danggie) < 100) || (countitem(Short_Daenggie) < 100) || (countitem(Long_Hair) < 100) || (countitem(Golden_Hair) < 100) || (countitem(Glossy_Hair) < 100) || (Zeny < 99800)) {
mes "[Prince Shammi]";
mes "If you've already decided";
mes "what hairstyle you'd like,";
@@ -1065,13 +1065,13 @@ lhz_in02,100,143,3 script Hair Dresser#li 2_M_DYEINGER,{
mes "*Bzzzzzzzzzzzzzzzzzzzz*^000000";
next;
Zeny -= 99800;
- delitem 973,3; //Counteragent
- delitem 974,3; //Mixture
- delitem 901,100; //Danggie
- delitem 1094,100; //Short_Daenggie
- delitem 1020,100; //Long_Hair
- delitem 1060,100; //Golden_Hair
- delitem 7152,100; //Glossy_Hair
+ delitem Counteragent,3;
+ delitem Mixture,3;
+ delitem Danggie,100;
+ delitem Short_Daenggie,100;
+ delitem Long_Hair,100;
+ delitem Golden_Hair,100;
+ delitem Glossy_Hair,100;
setlook VAR_HEAD,.@input;
setlook VAR_HEADPALETTE,.@headpalette;
mes "[Prince Shammi]";
diff --git a/npc/merchants/icecream.txt b/npc/merchants/icecream.txt
index a8df94753..ba05d4f94 100644
--- a/npc/merchants/icecream.txt
+++ b/npc/merchants/icecream.txt
@@ -82,7 +82,7 @@
mes "Price is ^3355FF100 Zeny^000000 per ice cream.";
close;
}
- if(checkweight(536,.@input) == 0) {
+ if(checkweight(Ice_Cream,.@input) == 0) {
mes "[Ice Cream Maker]";
mes "Dear customer,you look like you're carrying a lot.";
mes "Ice Cream is fine,";
@@ -91,7 +91,7 @@
close;
}
Zeny -= 100*.@input;
- getitem 536,.@input; // Ice_Cream
+ getitem Ice_Cream,.@input; // Ice_Cream
close;
}
diff --git a/npc/merchants/milk_trader.txt b/npc/merchants/milk_trader.txt
index 396cdef08..d4f48fe4d 100644
--- a/npc/merchants/milk_trader.txt
+++ b/npc/merchants/milk_trader.txt
@@ -35,7 +35,7 @@
//=========================================================================
prontera,73,140,0 script Milk Vendor 4_M_04,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFJust a minute!";
mes "I can't offer any of my";
mes "services to you because";
@@ -53,7 +53,7 @@ prontera,73,140,0 script Milk Vendor 4_M_04,{
mes "does that sound?";
next;
if (select("Exchange all empty bottles.:Cancel") == 1) {
- if (countitem(713) <= 0) {
+ if (countitem(Empty_Bottle) <= 0) {
mes "[Milk Vendor]";
mes "Hey...";
mes "You don't have";
@@ -63,7 +63,7 @@ prontera,73,140,0 script Milk Vendor 4_M_04,{
mes "way, you know...";
close;
}
- .@bottles = countitem(713);
+ .@bottles = countitem(Empty_Bottle);
.@total_weight = .@bottles * 50;
.@total_cost = .@bottles * 15;
if (Zeny < .@total_cost) {
@@ -87,8 +87,8 @@ prontera,73,140,0 script Milk Vendor 4_M_04,{
close;
}
Zeny -= .@total_cost;
- delitem 713,.@bottles; //Empty Bottles
- getitem 519,.@bottles; //Milk
+ delitem Empty_Bottle,.@bottles; //Empty Bottles
+ getitem Milk,.@bottles;
close;
}
close;
diff --git a/npc/merchants/novice_exchange.txt b/npc/merchants/novice_exchange.txt
index d35f1db48..d23961554 100644
--- a/npc/merchants/novice_exchange.txt
+++ b/npc/merchants/novice_exchange.txt
@@ -37,7 +37,7 @@
//=========================================================================
prontera,123,102,5 script Merchant#pron 4_M_03,{
- if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) {
mes "[Merchant]";
mes "Haha!";
mes "What are you, superhuman?";
@@ -93,7 +93,7 @@ prontera,123,102,5 script Merchant#pron 4_M_03,{
}
morocc,180,259,3 script Merchant#morroc 4_M_03,{
- if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) {
mes "[Merchant]";
mes "Haha!";
mes "What are you, superhuman?";
@@ -150,7 +150,7 @@ morocc,180,259,3 script Merchant#morroc 4_M_03,{
}
payon,200,134,5 script Merchant#pay 4_M_03,{
- if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) {
mes "[Merchant]";
mes "Haha!";
mes "What are you, superhuman?";
@@ -204,7 +204,7 @@ payon,200,134,5 script Merchant#pay 4_M_03,{
}
aldebaran,152,63,5 script Merchant#alde 4_M_03,{
- if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) {
mes "[Merchant]";
mes "Haha!";
mes "What are you, superhuman?";
@@ -261,7 +261,7 @@ aldebaran,152,63,5 script Merchant#alde 4_M_03,{
}
geffen,173,88,5 script Merchant#geff 4_M_03,{
- if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) {
mes "[Merchant]";
mes "Haha!";
mes "What are you, superhuman?";
@@ -387,7 +387,7 @@ function script F_PotExchange {
mes "Check how many Red Potions";
mes "I've given you, it should be good. Thanks, that was a good deal~";
delitem getarg(0),.@put_out_item; //Shell
- getitem 501,.@input; //Red_Potion
+ getitem Red_Potion,.@input;
close;
}
mes "[Merchant]";
diff --git a/npc/merchants/old_pharmacist.txt b/npc/merchants/old_pharmacist.txt
index 6380eb390..37069f166 100644
--- a/npc/merchants/old_pharmacist.txt
+++ b/npc/merchants/old_pharmacist.txt
@@ -36,7 +36,7 @@
//=========================================================================
alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -68,16 +68,16 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{
case 2:
next;
mes "[Old Pharmacist]";
- if (countitem(507) < countitem(713)) {
- .@max = countitem(507);
+ if (countitem(Red_Herb) < countitem(Empty_Bottle)) {
+ .@max = countitem(Red_Herb);
}
- else if (countitem(508) < countitem(713)) {
- .@max = countitem(508);
+ else if (countitem(Yellow_Herb) < countitem(Empty_Bottle)) {
+ .@max = countitem(Yellow_Herb);
}
else {
- .@max = countitem(713);
+ .@max = countitem(Empty_Bottle);
}
- if ((countitem(507) < 1) || (countitem(508) < 1) || (countitem(713) == 0)) {
+ if ((countitem(Red_Herb) < 1) || (countitem(Yellow_Herb) < 1) || (countitem(Empty_Bottle) == 0)) {
mes "You rascal! What did you expect?! Coming here with nothing. Tsk!";
mes "Get lost!";
close;
@@ -91,16 +91,16 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{
switch(select("Make as many as I can.:I want to choose an amount.:Actually, I don't want anything.")) {
case 1:
next;
- if ((countitem(507) < .@max) || (countitem(508) < .@max) || (countitem(713) < .@max) || (Zeny < .@max*3)) {
+ if ((countitem(Red_Herb) < .@max) || (countitem(Yellow_Herb) < .@max) || (countitem(Empty_Bottle) < .@max) || (Zeny < .@max*3)) {
mes "[Old Pharmacist]";
mes "You rascal! You don't even have all the materials and you want me to make you potions?!";
close;
}
Zeny -= (.@max*5);
- delitem 507,.@max; //Red_Herb
- delitem 508,.@max; //Yellow_Herb
- delitem 713,.@max; //Empty_Bottle
- getitem 502,.@max; //Orange_Potion
+ delitem Red_Herb,.@max;
+ delitem Yellow_Herb,.@max;
+ delitem Empty_Bottle,.@max;
+ getitem Orange_Potion,.@max;
break;
case 2:
next;
@@ -119,7 +119,7 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{
mes "Are you deaf? I said less than 100!";
close;
}
- if ((countitem(507) < .@amount) || (countitem(508) < .@amount) || (countitem(713) < .@amount) || (Zeny < .@amount*3)) {
+ if ((countitem(Red_Herb) < .@amount) || (countitem(Yellow_Herb) < .@amount) || (countitem(Empty_Bottle) < .@amount) || (Zeny < .@amount*3)) {
next;
mes "[Old Pharmacist]";
mes "You rascal! You don't even have all the materials and you want me to make you potions?!";
@@ -127,10 +127,10 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{
}
next;
Zeny -= (.@amount*5);
- delitem 507,.@amount; //Red_Herb
- delitem 508,.@amount; //Yellow_Herb
- delitem 713,.@amount; //Empty_Bottle
- getitem 502,.@amount; //Orange_Potion
+ delitem Red_Herb,.@amount;
+ delitem Yellow_Herb,.@amount;
+ delitem Empty_Bottle,.@amount;
+ getitem Orange_Potion,.@amount;
break;
case 3:
next;
@@ -202,12 +202,12 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{
L_Making:
next;
mes "[Old Pharmacist]";
- if ((countitem(getarg(0))/2) < countitem(713)) {
+ if ((countitem(getarg(0))/2) < countitem(Empty_Bottle)) {
.@max = countitem(getarg(0))/2;
} else {
- .@max = countitem(713);
+ .@max = countitem(Empty_Bottle);
}
- if ((countitem(getarg(0)) < 2) || (countitem(713) == 0)) {
+ if ((countitem(getarg(0)) < 2) || (countitem(Empty_Bottle) == 0)) {
mes "You rascal! What did you expect?! Coming here with nothing. Tsk!";
mes "Get lost!";
close;
@@ -221,14 +221,14 @@ L_Making:
switch(select("Make as many as I can.:I want to choose an amount.:Actually, I don't want anything.")) {
case 1:
next;
- if ((countitem(getarg(0)) < .@max*2) || (countitem(713) < .@max) || (Zeny < .@max*getarg(1))) {
+ if ((countitem(getarg(0)) < .@max*2) || (countitem(Empty_Bottle) < .@max) || (Zeny < .@max*getarg(1))) {
mes "[Old Pharmacist]";
mes "You rascal! You don't even have all the materials and you want me to make you potions?!";
close;
}
Zeny -= (.@max*getarg(1));
delitem getarg(0),.@max*2;
- delitem 713,.@max; //Empty_Bottle
+ delitem Empty_Bottle,.@max;
getitem getarg(2),.@max;
break;
case 2:
@@ -247,14 +247,14 @@ L_Making:
mes "Are you deaf? I said less than 100!";
close;
}
- if ((countitem(getarg(0)) < .@amount*2) || (countitem(713) < .@amount) || (Zeny < .@amount*getarg(1))) {
+ if ((countitem(getarg(0)) < .@amount*2) || (countitem(Empty_Bottle) < .@amount) || (Zeny < .@amount*getarg(1))) {
mes "[Old Pharmacist]";
mes "You rascal! You don't even have all the materials and you want me to make you potions?!";
close;
}
Zeny -= (.@amount*getarg(1));
delitem getarg(0),.@amount*2;
- delitem 713,.@amount; //Empty_Bottle
+ delitem Empty_Bottle,.@amount;
getitem getarg(2),.@amount;
break;
case 3:
diff --git a/npc/merchants/quivers.txt b/npc/merchants/quivers.txt
index 3dca21c37..98b35b08f 100644
--- a/npc/merchants/quivers.txt
+++ b/npc/merchants/quivers.txt
@@ -36,7 +36,7 @@
//=========================================================================
payon_in01,5,134,5 script Inventor Jaax 4_M_ORIENT02,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "[Inventor Jaax]";
mes "Hey, you're carrying";
mes "way too much stuff. Why don't you stash it away in Kafra Storage? We can talk after you do that, right?";
diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt
index 3de8bf28d..36574b2b5 100644
--- a/npc/merchants/refine.txt
+++ b/npc/merchants/refine.txt
@@ -71,7 +71,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye.";
close;
}
- getitem 986,1; // Anvil
+ getitem Anvil,1; // Anvil
Zeny -= 30000;
mes "[Christopher Guillenrow]";
mes "This is the cheapest one, but efficient enough to forge most items. Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
@@ -82,7 +82,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye.";
close;
}
- getitem 987,1; // Oridecon_Anvil
+ getitem Oridecon_Anvil,1; // Oridecon_Anvil
Zeny -= 120000;
mes "[Christopher Guillenrow]";
mes "Aye, friend ye have an eye for the anvil. This must be the proper anvil for a Blacksmith, eh? Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
@@ -93,7 +93,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye.";
close;
}
- getitem 988,1; // Golden_Anvil
+ getitem Golden_Anvil,1; // Golden_Anvil
Zeny -= 300000;
mes "[Christopher Guillenrow]";
mes "This one is the best among all me stuffs in me workshop! With this, ye can rule the Blacksmith world! Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
@@ -141,12 +141,12 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye.";
close;
}
- if (checkweight(612,.@input) == 0) {
+ if (checkweight(Portable_Furnace,.@input) == 0) {
mes "[Christopher Guillenrow]";
mes "Ye look like you don't got enough room in yer inventory. Put some stuff into your Kafra Storage, why don't ye?";
close;
}
- getitem 612,.@input; // Portable_Furnace
+ getitem Portable_Furnace,.@input; // Portable_Furnace
Zeny -= .@sell;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
@@ -157,7 +157,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye.";
close;
}
- getitem 613,1; // Iron_Hammer
+ getitem Iron_Hammer,1; // Iron_Hammer
Zeny -= 1000;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
@@ -168,7 +168,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye.";
close;
}
- getitem 614,1; // Golden_Hammer
+ getitem Golden_Hammer,1; // Golden_Hammer
Zeny -= 3000;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
@@ -179,7 +179,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye.";
close;
}
- getitem 615,1; // Oridecon_Hammer
+ getitem Oridecon_Hammer,1; // Oridecon_Hammer
Zeny -= 5000;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
@@ -222,12 +222,12 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
mes "Ye don't have enough money. Ye know I can't sell this at a lower price... You know how the wifey nags about Zeny.";
close;
}
- if (checkweight(1010,.@input) == 0) {
+ if (checkweight(Phracon,.@input) == 0) {
mes "[Christopher Guillenrow]";
mes "Ye look like you don't have the room to carry anythin' new. Why don't ye put some things into Kafra Storage n' come back.";
close;
}
- getitem 1010,.@input; // Phracon
+ getitem Phracon,.@input; // Phracon
Zeny -= .@sell;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
@@ -260,12 +260,12 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye.";
close;
}
- if (checkweight(1011,.@input) == 0) {
+ if (checkweight(Emveretarcon,.@input) == 0) {
mes "[Christopher Guillenrow]";
mes "Me friend... Seems to me ye don't have Inventory space. Why doncha put some things into Kafra Storage first?";
close;
}
- getitem 1011,.@input; // Emveretarcon
+ getitem Emveretarcon,.@input; // Emveretarcon
Zeny -= .@sell;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need, whenever ye want.";
@@ -281,27 +281,27 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
next;
switch(select("Make Oridecon:Make Elunium:Cancel.")) {
case 1:
- if (countitem(756) < 5) {
+ if (countitem(Oridecon_Stone) < 5) {
mes "[Christopher Guillenrow]";
mes "I told ye, I need 5 o'the rough Oridecons fer one Oridecon.";
close;
}
else {
- delitem 756,5; //Oridecon_Stone
- getitem 984,1; // Oridecon
+ delitem Oridecon_Stone,5;
+ getitem Oridecon,1; // Oridecon
mes "[Christopher Guillenrow]";
mes "Here's an Oridecon fer ye. Ye will be always welcome here, I'll be waitin' for ye.";
close;
}
case 2:
- if (countitem(757) < 5) {
+ if (countitem(Elunium_Stone) < 5) {
mes "[Christopher Guillenrow]";
mes "I told ye, I need 5 rough Eluniums fer one Elunium.";
close;
}
else {
- delitem 757,5; //Elunium_Stone
- getitem 985,1; // Elunium
+ delitem Elunium_Stone,5;
+ getitem Elunium,1; // Elunium
mes "[Christopher Guillenrow]";
mes "Arrr, here's yer Elunium. Yer business is always welcome here, so feel free to come again.";
close;
@@ -320,7 +320,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
//== Paul Spanner: Einbroch Blacksmith Supplier ============
ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -346,7 +346,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
mes "With that much of money, you cannot even buy a toy anvil!";
close;
}
- getitem 986,1; //Anvil
+ getitem Anvil,1;
Zeny -= 30000;
mes "[Paul Spanner]";
mes "It is the cheapest anvil which has the most basic ability.";
@@ -358,7 +358,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
mes "With that much of money, you cannot even buy a toy anvil!";
close;
}
- getitem 987,1; //Oridecon_Anvil
+ getitem Oridecon_Anvil,1;
Zeny -= 120000;
mes "[Paul Spanner]";
mes "Ah, you have an eye for anvil. A Blacksmith needs an anvil at least as good as this.";
@@ -370,7 +370,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
mes "With that much of money, you cannot even buy a toy anvil!";
close;
}
- getitem 988,1; //Golden_Anvil
+ getitem Golden_Anvil,1;
Zeny -= 300000;
mes "[Paul Spanner]";
mes "I can tell your ambition to become a good Blacksmith just by looking at you to choose this Golden Anvil!";
@@ -516,27 +516,27 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
mes "So, which one do you want to process?";
switch(select("Oridecon:Elunium:Quit.")) {
case 1:
- if (countitem(756) < 5) {
+ if (countitem(Oridecon_Stone) < 5) {
mes "[Paul Spanner]";
mes "You need 5 ores to process them into one pure Oridecon.";
close;
}
else {
- delitem 756,5; //Oridecon_Stone
- getitem 984,1; //Oridecon
+ delitem Oridecon_Stone,5;
+ getitem Oridecon,1;
mes "[Paul Spanner]";
mes "There you go. Thank you for using my service.";
close;
}
case 2:
- if (countitem(757) < 5) {
+ if (countitem(Elunium_Stone) < 5) {
mes "[Paul Spanner]";
mes "You need 5 ores to process them into one pure Elunium.";
close;
}
else {
- delitem 757,5; //Elunium_Stone
- getitem 985,1; //Elunium
+ delitem Elunium_Stone,5;
+ getitem Elunium,1;
mes "[Paul Spanner]";
mes "There you go. Thank you for using my service.";
close;
@@ -913,7 +913,7 @@ lhz_in02,278,24,3 script Krugg 4_M_04,{
//== Material Salesmen Functions ===========================
function script phramain {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -1024,7 +1024,7 @@ lhz_in02,281,24,5 script Fruel 4_M_02,{
//== Ori/Elu Functions =====================================
function script orimain {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -1041,9 +1041,9 @@ function script orimain {
next;
switch(select("Make Oridecon:Make Elunium:Ask about Enchanted Stones")) {
case 1:
- if (countitem(756) > 4) {
- delitem 756,5; //Oridecon_Stone
- getitem 984,1; // Oridecon
+ if (countitem(Oridecon_Stone) > 4) {
+ delitem Oridecon_Stone,5;
+ getitem Oridecon,1; // Oridecon
mes "[" + getarg(0) + "]";
mes "Here's your Oridecon.";
mes "You're welcome to come";
@@ -1057,9 +1057,9 @@ function script orimain {
close;
}
case 2:
- if (countitem(757) > 4) {
- delitem 757,5; //Elunium_Stone
- getitem 985,1; // Elunium
+ if (countitem(Elunium_Stone) > 4) {
+ delitem Elunium_Stone,5;
+ getitem Elunium,1; // Elunium
mes "[" + getarg(0) + "]";
mes "Here's your Elunium.";
mes "You're welcome to come";
diff --git a/npc/merchants/socket_enchant.txt b/npc/merchants/socket_enchant.txt
index 1396ace0d..aa43e2a9b 100644
--- a/npc/merchants/socket_enchant.txt
+++ b/npc/merchants/socket_enchant.txt
@@ -44,7 +44,7 @@
//=========================================================================
- script Seiyablem#dummy::SocketEnchant -1,{
- if (checkweight(1201,1) == 0)
+ if (checkweight(Knife,1) == 0)
{
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
diff --git a/npc/merchants/socket_enchant2.txt b/npc/merchants/socket_enchant2.txt
index 9f109115f..42f910477 100644
--- a/npc/merchants/socket_enchant2.txt
+++ b/npc/merchants/socket_enchant2.txt
@@ -35,7 +35,7 @@
//=========================================================================
- script Leablem#dummy::SocketEnchant2 -1,{
- if (checkweight(1201,1) == 0)
+ if (checkweight(Knife,1) == 0)
{
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
@@ -292,7 +292,7 @@
mes "We don't have time to waste,";
mes "so let's get down to business right away.";
next;
- if ((Zeny > 199999999) && (countitem(969) > 1) && (countitem(5022) > 0))
+ if ((Zeny > 199999999) && (countitem(Gold) > 1) && (countitem(Helm_Of_Sun) > 0))
{
mes "[Leablem]";
mes "Shall we start now?";
@@ -306,10 +306,10 @@
mes "Excellent! Wow, I guess the 90% success chance is true!";
mes "Look, the slot was added in the perfect place.";
mes "Congratulations.";
- delitem 5022,1; //Helm_Of_Sun
- delitem 969,2; //Gold
+ delitem Helm_Of_Sun,1;
+ delitem Gold,2;
Zeny -= 200000000;
- getitem 5353,1; //Helm_Of_Sun_
+ getitem Helm_Of_Sun_,1;
next;
mes "[Leablem]";
mes "This is the first and last time I will do this for you.";
@@ -325,8 +325,8 @@
mes "My god, I guess we had the worst kind of luck...";
mes "What should we do? ...This is why";
mes "I didn't want to do in the first place!";
- delitem 5022,1; //Helm_Of_Sun
- delitem 969,2; //Gold
+ delitem Helm_Of_Sun,1;
+ delitem Gold,2;
Zeny -= 200000000;
next;
mes "[Leablem]";
diff --git a/npc/merchants/wander_pet_food.txt b/npc/merchants/wander_pet_food.txt
index 51143c57e..7db9f285a 100644
--- a/npc/merchants/wander_pet_food.txt
+++ b/npc/merchants/wander_pet_food.txt
@@ -51,7 +51,7 @@ prontera,218,218,3 script Pet Enthusiast 4W_KID,{
next;
switch(select("Yes:No")) {
case 1:
- if ((countitem(7158) > 19) && (countitem(970) > 0)) {
+ if ((countitem(Broken_Wine_Vessel) > 19) && (countitem(Alchol) > 0)) {
mes "[Pet Enthusiast Jenny]";
mes "Oh, you have ^ff000020 Broken Liquor Jar^000000s and ^ff00001 Alcohol^000000!";
mes "Do you want to exchange them for";
@@ -63,9 +63,9 @@ prontera,218,218,3 script Pet Enthusiast 4W_KID,{
mes "Ok here you go then.";
mes "I hope it keeps your";
mes "cute pet happy.";
- delitem 7158,20; //Broken_Wine_Vessel
- delitem 970,1; //Alchol
- getitem 7824,20; //Spirit_Liquor
+ delitem Broken_Wine_Vessel,20;
+ delitem Alchol,1;
+ getitem Spirit_Liquor,20;
close;
case 2:
mes "[Pet Enthusiast Jenny]";
diff --git a/npc/other/arena/arena_room.txt b/npc/other/arena/arena_room.txt
index 49cd8000e..2508a1aa9 100644
--- a/npc/other/arena/arena_room.txt
+++ b/npc/other/arena/arena_room.txt
@@ -585,7 +585,7 @@ arena_room,105,93,5 script Teleporter#arena 1_M_JOBTESTER,{
}
prt_are_in,98,14,3 script Givu#arena 4_F_JOB_KNIGHT,{
- if (checkweight(526,5) == 0) {
+ if (checkweight(Royal_Jelly,5) == 0) {
mes "- Wait a moment! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
diff --git a/npc/other/comodo_gambling.txt b/npc/other/comodo_gambling.txt
index b5df0c04d..07e48365f 100644
--- a/npc/other/comodo_gambling.txt
+++ b/npc/other/comodo_gambling.txt
@@ -44,7 +44,7 @@
comodo,219,158,6 script Kachua 4_F_02,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
@@ -69,7 +69,7 @@ comodo,219,158,6 script Kachua 4_F_02,{
end;
}
- if (countitem(732) == 0) {
+ if (countitem(Crystal_Jewel__) == 0) {
cutin "katsua01.bmp",255;
cutin "katsua03.bmp",2;
mes "[Kachua]";
@@ -103,7 +103,7 @@ comodo,219,158,6 script Kachua 4_F_02,{
end;
}
- if (countitem(732) == 0) { // anti-hack
+ if (countitem(Crystal_Jewel__) == 0) { // anti-hack
logmes "Hack: Tried to bypass item check.";
cutin "katsua01.bmp",255;
close;
@@ -509,7 +509,7 @@ comodo,210,154,2 script Suspicious Guy#cmd 2_M_THIEFMASTER,{
mjolnir_02,85,362,3 script Blacksmith Miner 4_F_JOB_BLACKSMITH,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
diff --git a/npc/other/gympass.txt b/npc/other/gympass.txt
index 007552964..249012b2a 100644
--- a/npc/other/gympass.txt
+++ b/npc/other/gympass.txt
@@ -72,7 +72,7 @@ payon,173,141,4 script Ripped Cabus#GymPass 4_M_HUMAN_02,{
if (gympassmemory < 10) {
.@add_carry = gympassmemory + 1;
.@remain_carry = 10 - .@add_carry;
- if (countitem(7776) > 0) {
+ if (countitem(Max_Weight_Up_Scroll) > 0) {
mes "[Ripped]";
mes "Oh, awesome, I see you";
mes "brought your Gym Pass.";
@@ -95,7 +95,7 @@ payon,173,141,4 script Ripped Cabus#GymPass 4_M_HUMAN_02,{
mes "your item carrying capacity";
mes "^FF00000" + .@remain_carry + "^000000 more times if we continue";
mes "training together like this.";
- delitem 7776,1; //Max_Weight_Up_Scroll
+ delitem Max_Weight_Up_Scroll,1;
gympassmemory = .@add_carry;
skill ALL_INCCARRY,.@add_carry,3;
close;
diff --git a/npc/other/item_merge.txt b/npc/other/item_merge.txt
index b1926a49a..35038b621 100644
--- a/npc/other/item_merge.txt
+++ b/npc/other/item_merge.txt
@@ -33,7 +33,7 @@
//=========================================================================
prontera,146,95,3 script Mergician#pron 1_M_WIZARD,{
- if (checkweight(1301,1) == 0) {
+ if (checkweight(Axe,1) == 0) {
mes "- Wait a second !! -";
mes "- You are carrying too many items -";
mes "- or too much weight to proceed. -";
diff --git a/npc/other/marriage.txt b/npc/other/marriage.txt
index e576c6a6a..6fa8e63eb 100644
--- a/npc/other/marriage.txt
+++ b/npc/other/marriage.txt
@@ -264,7 +264,7 @@ prt_church,97,100,4 script Wedding Staff#w 1_F_LIBRARYGIRL,{
mes "come and talk to me again.";
goto L_End;
}
- else if (countitem(2613) < 1) {
+ else if (countitem(Diamond_Ring) < 1) {
mes "[Marry Happy]";
mes "Mm? Did you forget to";
mes "bring the Diamond Ring";
@@ -284,7 +284,7 @@ prt_church,97,100,4 script Wedding Staff#w 1_F_LIBRARYGIRL,{
mes "Did you misplace your money?";
goto L_End;
}
- else if (countitem(7170) < 1) {
+ else if (countitem(Tuxedo) < 1) {
mes "[Marry Happy]";
mes "Where's your Tuxedo?";
mes "You absolutely have to";
@@ -306,7 +306,7 @@ prt_church,97,100,4 script Wedding Staff#w 1_F_LIBRARYGIRL,{
mes "to help you with the funds?";
goto L_End;
}
- else if (countitem(2338) < 1) {
+ else if (countitem(Wedding_Dress) < 1) {
mes "[Marry Happy]";
mes "Oh dear, did you forget";
mes "your Wedding Dress?";
@@ -367,7 +367,7 @@ prt_church,97,100,4 script Wedding Staff#w 1_F_LIBRARYGIRL,{
mes "bride's turn to speak to";
mes "Bishop Vomars.";
Zeny -= 1300000;
- delitem 7170,1; //Tuxedo
+ delitem Tuxedo,1;
}
else {
mes "Since you're the bride,";
@@ -377,9 +377,9 @@ prt_church,97,100,4 script Wedding Staff#w 1_F_LIBRARYGIRL,{
mes "finished, it'll be your turn";
mes "to speak to Bishop Vomars.";
Zeny -= 1200000;
- delitem 2338,1; //Wedding_Dress
+ delitem Wedding_Dress,1;
}
- delitem 2613,1; //Diamond_Ring
+ delitem Diamond_Ring,1;
wedding_sign = 1;
goto L_End;
}
@@ -697,11 +697,11 @@ prt_church,100,128,4 script Bishop#w 1_M_PASTOR,{
wedding;
//Give ring to Bride, and change to wedding sprite.
sc_start SC_WEDDING,3600000,1;
- getitem 2635,1; //Bride_Ring
+ getitem Bride_Ring,1;
//Give ring to Groom, and change to wedding sprite.
attachrid(getcharid(3,$@wed_groom$));
sc_start SC_WEDDING,3600000,1;
- getitem 2634,1; //Bridegroom_Ring
+ getitem Bridegroom_Ring,1;
detachrid;
//Switch Script progression back to Bride
attachrid(getcharid(3,$@wed_bride$));
diff --git a/npc/other/monster_race.txt b/npc/other/monster_race.txt
index 4f2d27395..24de8a1f8 100644
--- a/npc/other/monster_race.txt
+++ b/npc/other/monster_race.txt
@@ -217,7 +217,7 @@ p_track01,73,22,1 script Ticket Helper#single 4_M_HUMAN_02,{
mes "until the start of the race is";
mes "announced. If the monster you";
mes "picked wins, then please use this ticket to redeem your prize.";
- getitem 7514,1; //Monster_Ticket
+ getitem Monster_Ticket,1;
monster_race_1 = .@m;
close;
}
@@ -379,9 +379,9 @@ p_track01,67,45,5 script Medal Distributor#single 4_F_RACING,{
mes "exchange these with";
mes "Wayne in Hugel for some";
mes "interesting items. Thank you~";
- delitem 7514,1; //Monster_Ticket
+ delitem Monster_Ticket,1;
monster_race_1 = 0;
- getitem 7515,4; //Marvelous_Medal
+ getitem Marvelous_Medal,4;
close;
}
mes "[Medal Distributor]";
@@ -516,7 +516,7 @@ p_track01,76,36,1 script Exit Guide#single 4_M_NFMAN,{
mes "ready to leave.";
close;
}
- if (!countitem(7514)) {
+ if (!countitem(Monster_Ticket)) {
mes "[Exit Guide]";
mes "Thank you for";
mes "your patronage, and";
@@ -530,7 +530,7 @@ p_track01,76,36,1 script Exit Guide#single 4_M_NFMAN,{
mes "Thank you for your patronage,";
mes "and I hope you enjoy your time";
mes "here in the Monster Race Arena.";
- delitem 7514,1; //Monster_Ticket
+ delitem Monster_Ticket,1;
}
monster_race_1 = 0;
close2;
@@ -628,7 +628,7 @@ hugel,58,72,6 script Eckar Ellebird#single 4_M_NFMAN,{
mes "with an expired Racing Ticket?";
mes "Well, I better get rid of it for you before it can get mixed up";
mes "with your new Racing Ticket.";
- delitem 7514,1; //Monster_Ticket
+ delitem Monster_Ticket,1;
next;
if ($@mon_time_1_1 == 1) {
if (Zeny < 2000) {
@@ -1218,13 +1218,13 @@ hugel,62,69,1 script Eckar Erenes#double 4_M_NFMAN,{
mes "2,000 zeny entrance fee. ";
close;
}
- if (countitem(7514)) {
+ if (countitem(Monster_Ticket)) {
mes "[Eckar Erenes]";
mes "Hm? What are you doing";
mes "with an expired Racing Ticket?";
mes "Well, I better get rid of it for you before it can get mixed up";
mes "with your new Racing Ticket.";
- delitem 7514,1; //Monster_Ticket
+ delitem Monster_Ticket,1;
next;
if ($@mon_time_2_1 == 1) {
mes "[Eckar Erenes]";
@@ -1624,7 +1624,7 @@ p_track02,67,45,5 script Medal Distributor#medal 4_F_RACING,{
mes "your game ticket here for";
mes "some Prize Medals.";
next;
- if (!countitem(7514)) {
+ if (!countitem(Monster_Ticket)) {
mes "[Medal Distributor]";
mes "Please remember that you can";
mes "only exchange winning Game";
@@ -1659,10 +1659,10 @@ p_track02,67,45,5 script Medal Distributor#medal 4_F_RACING,{
mes "medals for items, please";
mes "visit Wayne in Hugel. We hope";
mes "you enjoyed the Monster Race~";
- delitem 7514,1; //Monster_Ticket
+ delitem Monster_Ticket,1;
monster_race_2_1 = 7;
monster_race_2_2 = 7;
- getitem 7515,15; //Marvelous_Medal
+ getitem Marvelous_Medal,15;
close;
}
mes "[Medal Distributor]";
@@ -1722,7 +1722,7 @@ p_track02,76,38,1 script Exit Guide#double 4_M_NFMAN,{
mes "ready to leave.";
close;
}
- if (!countitem(7514)) {
+ if (!countitem(Monster_Ticket)) {
mes "[Exit Guide]";
mes "Thank you for";
mes "your patronage, and";
@@ -1736,7 +1736,7 @@ p_track02,76,38,1 script Exit Guide#double 4_M_NFMAN,{
mes "Thank you for your patronage,";
mes "and I hope you enjoy your time";
mes "here in the Monster Race Arena.";
- delitem 7514,1; //Monster_Ticket
+ delitem Monster_Ticket,1;
}
monster_race_2_1 = 0;
monster_race_2_2 = 0;
@@ -2335,7 +2335,7 @@ S_Reward:
mes "*Phew* How's that?";
mes "Now do you see the";
mes "power of hope?";
- delitem 7515,1; //Marvelous_Medal
+ delitem Marvelous_Medal,1;
if (RENEWAL_EXP) {
if (BaseLevel < 21) getexp 110,0;
else if ((BaseLevel > 20) && (BaseLevel < 31)) getexp 280,0;
@@ -2397,7 +2397,7 @@ S_Reward:
mes "Your mind will work on";
mes "whatever you feed it.";
mes "Placebos and psychosomatic symptoms-- it all ties together.";
- delitem 7515,1; //Marvelous_Medal
+ delitem Marvelous_Medal,1;
if (RENEWAL_EXP) {
if (Class == Job_Novice) {
getexp 0,15;
diff --git a/npc/other/poring_war.txt b/npc/other/poring_war.txt
index a4656f69e..f3a1df913 100644
--- a/npc/other/poring_war.txt
+++ b/npc/other/poring_war.txt
@@ -60,7 +60,7 @@ prt_fild08,159,371,3 script Poring War Recruiter#wop 4_PORING,{
mes "[Poring]";
mes "Oh, and there's an entrance fee of 500 zeny, ring.";
mes "Have a good time, ring.";
- delitem 7773,countitem(7773);
+ delitem War_Badge,countitem(War_Badge);
Zeny -= 500;
close2;
warp "poring_w01",112,138;
@@ -87,7 +87,7 @@ prt_fild08,159,371,3 script Poring War Recruiter#wop 4_PORING,{
//== Poring Vending Machine ================================
poring_w01,100,97,3 script Poring Vending Machine#w 4_PORING,{
- if (checkweight(714,3) == 0) {
+ if (checkweight(Emperium,3) == 0) {
mes "- You are carrying too much items in order to use the Vending Machine. -";
close;
}
@@ -100,22 +100,22 @@ poring_w01,100,97,3 script Poring Vending Machine#w 4_PORING,{
next;
switch(select("Marvelous Medal - 4 P.Co:Union of Tribe - 20 P.Co:Poring Box - 30 P.Co:Next")) {
case 1:
- callsub S_PoringVending,7515,4;
+ callsub S_PoringVending,Marvelous_Medal,4;
case 2:
- callsub S_PoringVending,658,20;
+ callsub S_PoringVending,Union_Of_Tribe,20;
case 3:
- callsub S_PoringVending,12109,30;
+ callsub S_PoringVending,Poring_Box,30;
case 4:
mes "This is a special item.";
mes "Item name - Poring Coin(P.Co)";
next;
switch(select("Wild Rose - 15 P.Co:Doppelganger - 20 P.Co:Egnigem Cenia - 20 P.Co:Collection Item")) {
case 1:
- callsub S_PoringVending,12300,15;
+ callsub S_PoringVending,Wild_Rose_Scroll,15;
case 2:
- callsub S_PoringVending,12301,20;
+ callsub S_PoringVending,Doppelganger_Scroll,20;
case 3:
- callsub S_PoringVending,12302,20;
+ callsub S_PoringVending,Ygnizem_Scroll,20;
case 4:
mes "Figures of 1st Job Class Characters including Novice are finally on sale!";
mes "Figures except for Novice are all ^4d4dffCharacter bound items^000000.";
@@ -124,25 +124,25 @@ poring_w01,100,97,3 script Poring Vending Machine#w 4_PORING,{
next;
switch(select("Novice Figure - 50 P.Co:Swordman Figure - 100 P.Co:Thief Figure - 100 P.Co:Merchant Figure - 100 P.Co:Acolyte Figure - 100 P.Co:Mage Figure - 100 P.Co:Archer Figure - 100 P.Co:Random Draw - 50 P.Co:Cancel")) {
case 1:
- callsub S_PoringVending,2765,50;
+ callsub S_PoringVending,Novice_Figure,50;
case 2:
- callsub S_PoringVending,2766,100;
+ callsub S_PoringVending,Swordman_Figure,100;
case 3:
- callsub S_PoringVending,2770,100;
+ callsub S_PoringVending,Thief_Figure,100;
case 4:
- callsub S_PoringVending,2771,100;
+ callsub S_PoringVending,Merchant_Figure,100;
case 5:
- callsub S_PoringVending,2767,100;
+ callsub S_PoringVending,Acolyte_Figure,100;
case 6:
- callsub S_PoringVending,2768,100;
+ callsub S_PoringVending,Mage_Figure,100;
case 7:
- callsub S_PoringVending,2769,100;
+ callsub S_PoringVending,Archer_Figure,100;
case 8:
mes "You have chosen Random Draw.";
mes "1 of 7 diffeent kinds of figures will be selected.";
next;
if(select("Draw:Cancel") == 1) {
- if (countitem(7539) >= 50) {
+ if (countitem(Poring_Coin) >= 50) {
mes "Insert the Poring coin and pull the lever.";
mes "Click~ The item came out of the mouth of the Poring with a rumbling sound.";
mes "What could it be?";
@@ -157,7 +157,7 @@ poring_w01,100,97,3 script Poring Vending Machine#w 4_PORING,{
default: .@Random_Figure = 2765; break; // Novice_Figure
}
mes "A nice " + getitemname(.@Random_Figure) + ".";
- delitem 7539,50; // Poring_Coin
+ delitem Poring_Coin,50; // Poring_Coin
getitem .@Random_Figure,1;
close;
} else {
@@ -227,9 +227,9 @@ poring_w01,100,97,3 script Poring Vending Machine#w 4_PORING,{
end;
S_PoringVending:
- if (countitem(7539) >= getarg(1)) {
+ if (countitem(Poring_Coin) >= getarg(1)) {
mes "Click~ The item came out of the mouth of the Poring with a rumbling sound.";
- delitem 7539,getarg(1); // Poring_Coin
+ delitem Poring_Coin,getarg(1); // Poring_Coin
getitem getarg(0),1;
} else {
mes "Not enough coins.";
@@ -239,7 +239,7 @@ S_PoringVending:
//== Information ===========================================
poring_w01,96,97,3 script Sweet Devi#wop 4_DEVIRUCHI,{
- if (MaxWeight-Weight < 2000 || checkweight(1201,1) == 0) {
+ if (MaxWeight-Weight < 2000 || checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -326,7 +326,7 @@ OnPCLogoutEvent:
WoP_SaveMap_X = 0;
WoP_SaveMap_Y = 0;
}
- delitem 7773,countitem(7773);
+ delitem War_Badge,countitem(War_Badge);
wop_team = 0;
}
end;
@@ -351,7 +351,7 @@ OnPCDieEvent:
OnPCKillEvent:
getmapxy .@map$,.@x,.@y,0;
if (.@map$ == "poring_w02" && wop_team) {
- getnameditem 7773,rid2name(killedrid);
+ getnameditem War_Badge,rid2name(killedrid);
}
end;
@@ -635,7 +635,7 @@ OnTimer65000:
//== Mr. Doppel ============================================
poring_w02,26,181,3 script Mr. Doppel#wop_team_a 8_DOPPEL,{
- if (checkweight(714,3) == 0) {
+ if (checkweight(Emperium,3) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -674,7 +674,7 @@ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 8_DOPPEL,{
case 2:
mes "[Mr. Doppel]";
mes "Very well. Nice you have done everything on time.";
- delitem 7773,countitem(7773);
+ delitem War_Badge,countitem(War_Badge);
close2;
wop_team = 0;
warp "poring_w02",44,82;
@@ -685,7 +685,7 @@ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 8_DOPPEL,{
mes "[Mr. Doppel]";
mes "Right. I'm gonna send you to the battle staging area.";
mes "Wait for all the other party members there.";
- delitem 7773,countitem(7773);
+ delitem War_Badge,countitem(War_Badge);
close2;
wop_team = 0;
warp "poring_w02",44,82;
@@ -766,7 +766,7 @@ OnDisable:
}
poring_w02,170,181,3 script Mr. Doppel#wop_team_d 8_DOPPEL,{
- if (checkweight(714,3) == 0) {
+ if (checkweight(Emperium,3) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -805,7 +805,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 8_DOPPEL,{
case 2:
mes "[Mr. Doppel]";
mes "Very well. Nice you have done everything on time.";
- delitem 7773,countitem(7773);
+ delitem War_Badge,countitem(War_Badge);
close2;
wop_team = 0;
warp "poring_w02",153,82;
@@ -815,7 +815,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 8_DOPPEL,{
mes "[Mr. Doppel]";
mes "Right. I'm gonna send you to the battle staging area.";
mes "Wait for all the other party members there.";
- delitem 7773,countitem(7773);
+ delitem War_Badge,countitem(War_Badge);
close2;
wop_team = 0;
warp "poring_w02",153,82;
@@ -1228,7 +1228,7 @@ OnTimer120000:
//== Deviruchi =============================================
poring_w02,99,201,3 script Deviruchi#wop_endmaster 4_DEVIRUCHI,{
- if (MaxWeight-Weight < 2000 || checkweight(1201,1) == 0) {
+ if (MaxWeight-Weight < 2000 || checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -1249,7 +1249,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 4_DEVIRUCHI,{
mes "[Devi]";
mes "Goodbye, my human friend.";
close2;
- getitem 7539,3; // Poring_Coin
+ getitem Poring_Coin,3; // Poring_Coin
warp "prt_fild08",150,370;
end;
}
@@ -1275,7 +1275,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 4_DEVIRUCHI,{
mes "[Devi]";
mes "Goodbye, my human friend.";
close2;
- getitem 7539,1; // Poring_Coin
+ getitem Poring_Coin,1; // Poring_Coin
warp "prt_fild08",150,370;
end;
}
@@ -1330,7 +1330,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 4_DEVIRUCHI,{
mes "[Devi]";
mes "Goodbye, my human friend.";
close2;
- getitem 7539,3; // Poring_Coin
+ getitem Poring_Coin,3; // Poring_Coin
warp "prt_fild08",150,370;
end;
}
@@ -1356,7 +1356,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 4_DEVIRUCHI,{
mes "[Devi]";
mes "Goodbye, my human friend.";
close2;
- getitem 7539,1; // Poring_Coin
+ getitem Poring_Coin,1; // Poring_Coin
warp "prt_fild08",150,370;
end;
}
@@ -1470,10 +1470,10 @@ poring_w02,99,52,0 script Angeling Guardian#wop_da HIDDEN_NPC,{
next;
switch(select("Equip War Badge.:Cancel.")) {
case 1:
- if (countitem(7773)) {
+ if (countitem(War_Badge)) {
if ($@wop_doorcount_a < 4) {
mes "War Badge equipped.";
- delitem 7773,1; // War_Badge
+ delitem War_Badge,1; // War_Badge
++$@wop_doorcount_a;
cutin "wop_emb0" + $@wop_doorcount_a,1;
if ($@wop_doorcount_a == 4) {
@@ -1567,10 +1567,10 @@ poring_w02,98,113,0 script Deviling Guardian#wop_dd HIDDEN_NPC,{
next;
switch(select("Equip War Badge.:Cancel.")) {
case 1:
- if (countitem(7773)) {
+ if (countitem(War_Badge)) {
if ($@wop_doorcount_d < 4) {
mes "War Badge equipped.";
- delitem 7773,1; // War_Badge
+ delitem War_Badge,1; // War_Badge
++$@wop_doorcount_d;
cutin "wop_emb0" + $@wop_doorcount_d,1;
if ($@wop_doorcount_d == 4) {
diff --git a/npc/other/powernpc.txt b/npc/other/powernpc.txt
index e3b38416d..b1bdc8345 100644
--- a/npc/other/powernpc.txt
+++ b/npc/other/powernpc.txt
@@ -35,7 +35,7 @@
//=========================================================================
gonryun,180,118,4 script Iron man#gnp 4_M_03,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -113,10 +113,10 @@ gonryun,180,118,4 script Iron man#gnp 4_M_03,{
close;
L_Lifting:
- if (checkweight(7049,getarg(0))) {
+ if (checkweight(Stone,getarg(0))) {
mes "You lifted the Stone lightly.^000000";
in_battle = 1;
- getitem 7049, getarg(0); // Stone
+ getitem Stone, getarg(0); // Stone
next;
emotion e_no1;
mes "[Songmoodoo]";
diff --git a/npc/other/pvp.txt b/npc/other/pvp.txt
index 436dbd9dc..4632a0c4b 100644
--- a/npc/other/pvp.txt
+++ b/npc/other/pvp.txt
@@ -245,7 +245,7 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 4_M_02
mes "Please double check";
mes "that you have the admission or viewing ticket.";
next;
- if ((countitem(7028) == 0) && (countitem(7029) == 0)) {
+ if ((countitem(Invite_For_Duel) == 0) && (countitem(Admission_For_Duel) == 0)) {
mes "[Gate Keeper]";
mes "Eh? You don't have it? Then I";
mes "am sorry, this fight square is";
@@ -333,7 +333,7 @@ function script F_PVP_FSRS {
//== Event Contestant Entrance =============================
pvp_room,54,85,4 script Registration Staff#1 8W_SOLDIER,{
- if (countitem(7028) == 0) {
+ if (countitem(Invite_For_Duel) == 0) {
mes "[PVP Combat Square Register Staff]";
mes "Eh? How did you get in here?";
mes "This is the entrance for players only.";
@@ -355,7 +355,7 @@ pvp_room,54,85,4 script Registration Staff#1 8W_SOLDIER,{
mes "OK! I will send you inside";
mes "Good luck!";
close2;
- delitem 7028,1; //Invite_For_Duel
+ delitem Invite_For_Duel,1;
.@rand = rand(.@size);
warp "pvp_2vs2", .warp_x[.@rand], .warp_y[.@rand];
deletearray .warp_x[.@rand],1;
@@ -375,7 +375,7 @@ OnInit:
//== Spectator Entrance ====================================
- script Spectator's Entrance#dum::PVPSpectator -1,{
- if (countitem(7029) == 0) {
+ if (countitem(Admission_For_Duel) == 0) {
mes "[PVP Compete Square Register Staff]";
mes "This is the entrance for viewers.";
mes "For details about players entrance please proceed to the Register Staff on your left.";
@@ -385,7 +385,7 @@ OnInit:
mes "[PVP Combat Square Register Staff]";
mes "You got it, thanks for participating. Have fun!";
close2;
- delitem 7029,1; //Admission_For_Duel
+ delitem Admission_For_Duel,1;
switch(rand(1,4)) {
case 1: warp "pvp_2vs2",39,7; end;
case 2: warp "pvp_2vs2",39,73; end;
diff --git a/npc/other/turbo_track.txt b/npc/other/turbo_track.txt
index dbe1fb0e9..e7b55b34e 100644
--- a/npc/other/turbo_track.txt
+++ b/npc/other/turbo_track.txt
@@ -4051,7 +4051,7 @@ turbo_room,67,95,5 duplicate(TurboNormalNames) Normal Mode Records#1 4_BOARD3
turbo_room,71,95,5 duplicate(TurboExpertNames) Expert Mode Records#1 4_BOARD3
turbo_room,93,117,5 script Point Exchange Helper 4_M_TELEPORTER,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many items with you.";
@@ -4155,7 +4155,7 @@ turbo_room,93,117,5 script Point Exchange Helper 4_M_TELEPORTER,{
close;
}
tt_point -= .@total_point;
- getitem 7060,.@input; //Warp_Free_Ticket
+ getitem Warp_Free_Ticket,.@input;
mes "[Item Exchange Helper]";
mes "Thank you for";
mes "your patronage.";
@@ -4327,7 +4327,7 @@ turbo_room,93,117,5 script Point Exchange Helper 4_M_TELEPORTER,{
close;
}
tt_point -= .@total_point;
- getitem 732,.@input; //Crystal_Jewel__
+ getitem Crystal_Jewel__,.@input;
mes "[Item Exchange Helper]";
mes "Thank you for";
mes "your patronage.";
@@ -4374,7 +4374,7 @@ turbo_room,93,117,5 script Point Exchange Helper 4_M_TELEPORTER,{
close;
}
tt_point -= .@total_point;
- getitem 644,.@input; //Gift_Box
+ getitem Gift_Box,.@input;
mes "[Item Exchange Helper]";
mes "Thank you for";
mes "your patronage.";
@@ -4421,7 +4421,7 @@ turbo_room,93,117,5 script Point Exchange Helper 4_M_TELEPORTER,{
close;
}
tt_point -= .@total_point;
- getitem 12016,.@input; //Speed_Up_Potion
+ getitem Speed_Up_Potion,.@input;
mes "[Item Exchange Helper]";
mes "Thank you for";
mes "your patronage.";
@@ -4610,7 +4610,7 @@ S_ExchangePoints:
alde_gld,183,204,0 script en_turbo WARPNPC,1,1,{
OnTouch:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many items with you.";
diff --git a/npc/pre-re/jobs/1-1/archer.txt b/npc/pre-re/jobs/1-1/archer.txt
index 075bb391a..946638d64 100644
--- a/npc/pre-re/jobs/1-1/archer.txt
+++ b/npc/pre-re/jobs/1-1/archer.txt
@@ -145,10 +145,10 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{
close;
}
if (job_archer_q == 1) {
- .@archer_item1 = countitem(1066) * 5;
- .@archer_item2 = countitem(1067) * 3;
- .@archer_item3 = countitem(1068) * 2;
- .@archer_item4 = countitem(1019);
+ .@archer_item1 = countitem(Tree_Of_Archer_1) * 5;
+ .@archer_item2 = countitem(Tree_Of_Archer_2) * 3;
+ .@archer_item3 = countitem(Tree_Of_Archer_3) * 2;
+ .@archer_item4 = countitem(Wooden_Block);
.@total_archer = .@archer_item1 + .@archer_item2 + .@archer_item3 + .@archer_item4;
.@total_archer2 = (((.@archer_item2 + .@archer_item3) * 2) + .@archer_item4);
mes "[Archer Guildsman]";
@@ -159,17 +159,17 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{
mes "[Archer Guildsman]";
mes "I will appraise the value of the various types of Trunks, needed to produce a Bow, that you've brought.";
next;
- if (countitem(1066) == 0 && countitem(1067) == 0 && countitem(1068) == 0 && countitem(1019) == 0) {
+ if (countitem(Tree_Of_Archer_1) == 0 && countitem(Tree_Of_Archer_2) == 0 && countitem(Tree_Of_Archer_3) == 0 && countitem(Wooden_Block) == 0) {
mes "[Archer Guildsman]";
mes "Um...";
mes "Unfortunately you didn't bring any of the required items. There's nothing for me to appraise.";
close;
}
mes "[Archer Guildsman]";
- if (countitem(1066) != 0) mes " Grade S : " + countitem(1066) + " ea, Grade: " + .@archer_item1 + " . ";
- if (countitem(1067) != 0) mes " Grade A : " + countitem(1067) + " ea, Grade : " + .@archer_item2 + " . ";
- if (countitem(1068) != 0) mes " Grade B : " + countitem(1068) + " ea, Grade : " + .@archer_item3 + " . ";
- if (countitem(1019) != 0) mes " Grade C : " + countitem(1019) + " ea, Grade : " + .@archer_item4 + " . ";
+ if (countitem(Tree_Of_Archer_1) != 0) mes " Grade S : " + countitem(Tree_Of_Archer_1) + " ea, Grade: " + .@archer_item1 + " . ";
+ if (countitem(Tree_Of_Archer_2) != 0) mes " Grade A : " + countitem(Tree_Of_Archer_2) + " ea, Grade : " + .@archer_item2 + " . ";
+ if (countitem(Tree_Of_Archer_3) != 0) mes " Grade B : " + countitem(Tree_Of_Archer_3) + " ea, Grade : " + .@archer_item3 + " . ";
+ if (countitem(Wooden_Block) != 0) mes " Grade C : " + countitem(Wooden_Block) + " ea, Grade : " + .@archer_item4 + " . ";
if (.@total_archer < 25) {
mes "Total Grades: ^FF0000" + .@total_archer + "^000000 / 40";
next;
@@ -196,10 +196,10 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{
next;
mes "[Archer Guildsman]";
mes "I'll transfer these Trunks to our Bow Production Department. Now that you've met the requirements, let me promote you right away!";
- if (countitem(1066) != 0) delitem 1066,countitem(1066); //Tree_Of_Archer_1
- if (countitem(1067) != 0) delitem 1067,countitem(1067); //Tree_Of_Archer_2
- if (countitem(1068) != 0) delitem 1068,countitem(1068); //Tree_Of_Archer_3
- if (countitem(1019) != 0) delitem 1019,countitem(1019); //Wooden_Block
+ if (countitem(Tree_Of_Archer_1) != 0) delitem Tree_Of_Archer_1,countitem(Tree_Of_Archer_1);
+ if (countitem(Tree_Of_Archer_2) != 0) delitem Tree_Of_Archer_2,countitem(Tree_Of_Archer_2);
+ if (countitem(Tree_Of_Archer_3) != 0) delitem Tree_Of_Archer_3,countitem(Tree_Of_Archer_3);
+ if (countitem(Wooden_Block) != 0) delitem Wooden_Block,countitem(Wooden_Block);
}
next;
callfunc "Job_Change",Job_Archer;
@@ -214,8 +214,8 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{
next;
mes "[Archer Guildsman]";
mes "Ah, your bow has arrived from the Bow Production Department. Here, take it! It's yours~";
- getitem 1702,1; //Bow_
- getitem 1750,.@total_archer2; //Arrow
+ getitem Bow_,1;
+ getitem Arrow,.@total_archer2;
next;
mes "[Archer Guildsman]";
mes "Now, off you go. Hunt with pride, knowing you were trained by one of the best!";
diff --git a/npc/pre-re/jobs/1-1/mage.txt b/npc/pre-re/jobs/1-1/mage.txt
index 0108f6a04..4836258c4 100644
--- a/npc/pre-re/jobs/1-1/mage.txt
+++ b/npc/pre-re/jobs/1-1/mage.txt
@@ -139,7 +139,7 @@ geffen_in,164,124,4 script Mage Guildsman 2_F_MAGICMASTER,{
job_magician_q = 4;
}
next;
- getitem 1092,1; //Empty_Cylinder
+ getitem Empty_Cylinder,1;
mes "[Mage Guildsman]";
mes "You can find the neccessary ingredients inside the Guide Book in this Guild. So you better look up what you need before you go.";
next;
@@ -175,13 +175,13 @@ geffen_in,164,124,4 script Mage Guildsman 2_F_MAGICMASTER,{
mes "solution accurately...";
next;
mes "[Mage Guildsman]";
- if (countitem(1071) == 0 && countitem(1085) == 0 && countitem(1086) == 0 && countitem(1087) == 0 && countitem(1090) == 0) {
+ if (countitem(Mage_Test_1) == 0 && countitem(Mage_Test_2) == 0 && countitem(Mage_Test_3) == 0 && countitem(Mage_Test_4) == 0 && countitem(Mage_Test_Etc) == 0) {
mes "Hey, where's the Solution";
mes "I asked for...? I can't check it if you don't show it to me, right?";
close;
}
else {
- if ((job_magician_q == 1 && countitem(1071) == 0) || (job_magician_q == 2 && countitem(1085) == 0) || (job_magician_q == 3 && countitem(1086) == 0) || (job_magician_q == 4 && countitem(1087) == 0)) {
+ if ((job_magician_q == 1 && countitem(Mage_Test_1) == 0) || (job_magician_q == 2 && countitem(Mage_Test_2) == 0) || (job_magician_q == 3 && countitem(Mage_Test_3) == 0) || (job_magician_q == 4 && countitem(Mage_Test_4) == 0)) {
mes "Wait.";
mes "This isn't the";
mes "Solution I asked for!";
@@ -196,19 +196,19 @@ geffen_in,164,124,4 script Mage Guildsman 2_F_MAGICMASTER,{
else
mes "You're supposed to make Mixed Solution No. 4 and bring it back to me. Now go and try it again.";
- if (countitem(1071) != 0) delitem 1071,1; //Mage_Test_1
- else if (countitem(1085) != 0) delitem 1085,1; //Mage_Test_2
- else if (countitem(1086) != 0) delitem 1086,1; //Mage_Test_3
- else if (countitem(1087) != 0) delitem 1087,1; //Mage_Test_4
- else delitem 1090,1; //Mage_Test_Etc
+ if (countitem(Mage_Test_1) != 0) delitem Mage_Test_1,1;
+ else if (countitem(Mage_Test_2) != 0) delitem Mage_Test_2,1;
+ else if (countitem(Mage_Test_3) != 0) delitem Mage_Test_3,1;
+ else if (countitem(Mage_Test_4) != 0) delitem Mage_Test_4,1;
+ else delitem Mage_Test_Etc,1;
close;
}
}
- if (countitem(1071) != 0) delitem 1071,1; //Mage_Test_1
- else if (countitem(1085) != 0) delitem 1085,1; //Mage_Test_2
- else if (countitem(1086) != 0) delitem 1086,1; //Mage_Test_3
- else if (countitem(1087) != 0) delitem 1087,1; //Mage_Test_4
- else delitem 1090,1; //Mage_Test_Etc
+ if (countitem(Mage_Test_1) != 0) delitem Mage_Test_1,1;
+ else if (countitem(Mage_Test_2) != 0) delitem Mage_Test_2,1;
+ else if (countitem(Mage_Test_3) != 0) delitem Mage_Test_3,1;
+ else if (countitem(Mage_Test_4) != 0) delitem Mage_Test_4,1;
+ else delitem Mage_Test_Etc,1;
mes "Hmm. I can see that you tried really hard. For a beginner's attempt, this is really good.";
mes "Great work!";
next;
@@ -312,7 +312,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{
next;
switch(select("Payon Solution.:Morroc Solution.:No Solvent.")) {
case 1:
- if (countitem(1089) == 0) {
+ if (countitem(Payon_Potion) == 0) {
mes "[Mixing Machine]";
mes "Error.";
mes "Cannot find the item.";
@@ -323,7 +323,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{
.@mixitem2 = 1;
break;
case 2:
- if (countitem(1088) == 0) {
+ if (countitem(Morocc_Potion) == 0) {
mes "[Mixing Machine]";
mes "Error.";
mes "Cannot find the item.";
@@ -366,37 +366,37 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{
mes "Place items into the Mixing Receptacle now. Please wait.";
next;
mes "[Mixing Machine]";
- if (countitem(909) < .@mixitem1_1) {
+ if (countitem(Jellopy) < .@mixitem1_1) {
mes "Insufficient Jellopy.";
mes "Please Check again.";
mes "Process Halted.";
close;
}
- else if (countitem(914) < .@mixitem1_2) {
+ else if (countitem(Fluff) < .@mixitem1_2) {
mes "Insufficient Fluff.";
mes "Please Check again.";
mes "Process Halted.";
close;
}
- else if (countitem(519) < .@mixitem1_3) {
+ else if (countitem(Milk) < .@mixitem1_3) {
mes "Insufficient Milk.";
mes "Please Check again.";
mes "Process Halted.";
close;
}
else if (.@mixitem2 == 1 || .@mixitem2 == 2) {
- if (countitem(1089) == 0 && countitem(1088) == 0) {
+ if (countitem(Payon_Potion) == 0 && countitem(Morocc_Potion) == 0) {
mes "Solution not found.";
mes "Please Check again.";
mes "Process Halted.";
close;
}
}
- if (.@mixitem1_1 != 0) delitem 909,.@mixitem1_1; //Jellopy
- if (.@mixitem1_2 != 0) delitem 914,.@mixitem1_2; //Fluff
- if (.@mixitem1_3 != 0) delitem 519,.@mixitem1_3; //Milk
- if (.@mixitem2 == 1) delitem 1089,1; //Payon_Potion
- if (.@mixitem2 == 2) delitem 1088,1; //Morocc_Potion
+ if (.@mixitem1_1 != 0) delitem Jellopy,.@mixitem1_1;
+ if (.@mixitem1_2 != 0) delitem Fluff,.@mixitem1_2;
+ if (.@mixitem1_3 != 0) delitem Milk,.@mixitem1_3;
+ if (.@mixitem2 == 1) delitem Payon_Potion,1;
+ if (.@mixitem2 == 2) delitem Morocc_Potion,1;
mes "Items are Ready.";
mes "Close the Lid.";
.@progress = 3;
@@ -445,7 +445,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{
next;
}
else {
- if (countitem(909) > 0) .@mixitem1_1 += .@input;
+ if (countitem(Jellopy) > 0) .@mixitem1_1 += .@input;
.@progress = 2;
break;
}
@@ -461,7 +461,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{
next;
}
else {
- if (countitem(914) > 0) .@mixitem1_2 += .@input;
+ if (countitem(Fluff) > 0) .@mixitem1_2 += .@input;
.@progress = 2;
break;
}
@@ -477,7 +477,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{
next;
}
else {
- if (countitem(519) > 0) .@mixitem1_3 += .@input;
+ if (countitem(Milk) > 0) .@mixitem1_3 += .@input;
.@progress = 2;
break;
}
@@ -574,32 +574,32 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{
if (.@mixitem1_1 == 2 && .@mixitem1_2 == 3 && .@mixitem1_3 == 1 && .@mixitem2 == 1 && .@mixitem3 == 1 && .@magic_powder == 1) {
mes "[Mixing Machine]";
mes "Mage Test Solution No. 1.";
- getitem 1071,1; //Mage_Test_1
+ getitem Mage_Test_1,1;
next;
}
else if (.@mixitem1_1 == 3 && .@mixitem1_2 == 1 && .@mixitem1_3 == 1 && .@mixitem2 == 0 && .@mixitem3 == 2 && .@magic_powder == 2) {
mes "[Mixing Machine]";
mes "Mage Test Solution No. 2.";
- getitem 1085,1; //Mage_Test_2
+ getitem Mage_Test_2,1;
next;
}
else if (.@mixitem1_1 == 6 && .@mixitem1_2 == 1 && .@mixitem1_3 == 0 && .@mixitem2 == 1 && .@mixitem3 == 3 && .@magic_powder == 3) {
mes "[Mixing Machine]";
mes "Mage Test Solution No. 3.";
- getitem 1086,1; //Mage_Test_3
+ getitem Mage_Test_3,1;
next;
}
else if (.@mixitem1_1 == 2 && .@mixitem1_2 == 3 && .@mixitem1_3 == 0 && .@mixitem2 == 2 && .@mixitem3 == 4 && .@magic_powder == 4) {
mes "[Mixing Machine]";
mes "Mage Test Solution No. 4.";
- getitem 1087,1; //Mage_Test_4
+ getitem Mage_Test_4,1;
next;
}
else {
mes "[Mixing Machine]";
mes "Unexpected";
mes "Error Occurred.";
- getitem 1090,1; //Mage_Test_Etc
+ getitem Mage_Test_Etc,1;
next;
}
mes "[Mixing Machine]";
diff --git a/npc/pre-re/jobs/1-1/merchant.txt b/npc/pre-re/jobs/1-1/merchant.txt
index eb20de033..8ba33489d 100644
--- a/npc/pre-re/jobs/1-1/merchant.txt
+++ b/npc/pre-re/jobs/1-1/merchant.txt
@@ -434,7 +434,7 @@ alberta_in,53,43,6 script Merchant#mer 4_M_04,{
next;
mes "[Chief Mahnsoo]";
mes "Would you please give her this message when you deliver the package? Please~";
- getitem 1072,1; //Delivery_Message
+ getitem Delivery_Message,1;
break;
}
next;
@@ -555,22 +555,22 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{
else if (job_merchant_q2 == 7 || job_merchant_q2 == 8)
mes "Oh hohohoho~! The Kafra Babe on Byalan Island?! Awesome! Anyway, did you bring the receipt?";
- if (job_merchant_q2 == 1 && countitem(1073) != 0)
- delitem 1073,1; //Merchant_Voucher_1
- else if (job_merchant_q2 == 2 && countitem(1074) != 0)
- delitem 1074,1; //Merchant_Voucher_2
- else if (job_merchant_q2 == 3 && countitem(1075) != 0)
- delitem 1075,1; //Merchant_Voucher_3
- else if (job_merchant_q2 == 4 && countitem(1076) != 0)
- delitem 1076,1; //Merchant_Voucher_4
- else if (job_merchant_q2 == 5 && countitem(1077) != 0)
- delitem 1077,1; //Merchant_Voucher_5
- else if (job_merchant_q2 == 6 && countitem(1078) != 0)
- delitem 1078,1; //Merchant_Voucher_6
- else if (job_merchant_q2 == 7 && countitem(1079) != 0)
- delitem 1079,1; //Merchant_Voucher_7
- else if (job_merchant_q2 == 8 && countitem(1080) != 0)
- delitem 1080,1; //Merchant_Voucher_8
+ if (job_merchant_q2 == 1 && countitem(Merchant_Voucher_1) != 0)
+ delitem Merchant_Voucher_1,1;
+ else if (job_merchant_q2 == 2 && countitem(Merchant_Voucher_2) != 0)
+ delitem Merchant_Voucher_2,1;
+ else if (job_merchant_q2 == 3 && countitem(Merchant_Voucher_3) != 0)
+ delitem Merchant_Voucher_3,1;
+ else if (job_merchant_q2 == 4 && countitem(Merchant_Voucher_4) != 0)
+ delitem Merchant_Voucher_4,1;
+ else if (job_merchant_q2 == 5 && countitem(Merchant_Voucher_5) != 0)
+ delitem Merchant_Voucher_5,1;
+ else if (job_merchant_q2 == 6 && countitem(Merchant_Voucher_6) != 0)
+ delitem Merchant_Voucher_6,1;
+ else if (job_merchant_q2 == 7 && countitem(Merchant_Voucher_7) != 0)
+ delitem Merchant_Voucher_7,1;
+ else if (job_merchant_q2 == 8 && countitem(Merchant_Voucher_8) != 0)
+ delitem Merchant_Voucher_8,1;
else {
next;
job_merchant_q = 9;
@@ -593,7 +593,7 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{
job_merchant_q = 7;
end;
}
- else if (job_merchant_q == 4 || job_merchant_q == 3 && countitem(1081) == 0 && countitem(1082) == 0 && countitem(1091) == 0) {
+ else if (job_merchant_q == 4 || job_merchant_q == 3 && countitem(Merchant_Box_1) == 0 && countitem(Merchant_Box_2) == 0 && countitem(Merchant_Box_Etc) == 0) {
mes " [Union Staff Kay] ";
mes "Huh?";
mes "You're back?";
@@ -614,12 +614,12 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{
mes "Okay...";
close;
}
- else if (job_merchant_q == 4 || job_merchant_q == 3 && countitem(1081) != 0 || countitem(1082) != 0 || countitem(1091) != 0) {
+ else if (job_merchant_q == 4 || job_merchant_q == 3 && countitem(Merchant_Box_1) != 0 || countitem(Merchant_Box_2) != 0 || countitem(Merchant_Box_Etc) != 0) {
mes "[Union Staff Kay]";
mes "Hey, what are you still doing here? Shouldn't you be on your way already?";
next;
if (select("I need a new package.:Oh, yeah. You're right!") == 1) {
- if (countitem(1081) == 0 && countitem(1082) == 0 && countitem(1083) == 0 && countitem(1091) == 0) {
+ if (countitem(Merchant_Box_1) == 0 && countitem(Merchant_Box_2) == 0 && countitem(Merchant_Box_3) == 0 && countitem(Merchant_Box_Etc) == 0) {
mes "[Union Staff Kay]";
mes "Wha--?";
mes "So where did";
@@ -647,12 +647,12 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{
}
mes "[Union Staff Kay]";
mes "*Sigh* Man, you're starting to become a pain in the ass. Hold on, lemme cancel your record...";
- if (countitem(1081) != 0)
- delitem 1081,1; //Merchant_Box_1
- else if (countitem(1082) != 0)
- delitem 1082,1; //Merchant_Box_2
- else if (countitem(1091) != 0)
- delitem 1091,1; //Merchant_Box_Etc
+ if (countitem(Merchant_Box_1) != 0)
+ delitem Merchant_Box_1,1;
+ else if (countitem(Merchant_Box_2) != 0)
+ delitem Merchant_Box_2,1;
+ else if (countitem(Merchant_Box_Etc) != 0)
+ delitem Merchant_Box_Etc,1;
if (job_merchant_q == 4)
job_merchant_q = 2;
else if (job_merchant_q == 3)
@@ -739,35 +739,35 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{
}
if (.@where_village == 1) {
if (job_merchant_q2 == 1 && .@input == 2485741)
- getitem 1081,1; //Merchant_Box_1
+ getitem Merchant_Box_1,1;
else if (job_merchant_q2 == 2 && .@input == 2328137)
- getitem 1082,1; //Merchant_Box_2
+ getitem Merchant_Box_2,1;
else
- getitem 1091,1; //Merchant_Box_Etc
+ getitem Merchant_Box_Etc,1;
}
else if (.@where_village == 2) {
if (job_merchant_q2 == 3 && .@input == 2989396)
- getitem 1081,1; //Merchant_Box_1
+ getitem Merchant_Box_1,1;
else if (job_merchant_q2 == 4 && .@input == 2191737)
- getitem 1082,1; //Merchant_Box_2
+ getitem Merchant_Box_2,1;
else
- getitem 1091,1; //Merchant_Box_Etc
+ getitem Merchant_Box_Etc,1;
}
else if (.@where_village == 3) {
if (job_merchant_q2 == 5 && .@input == 3012685)
- getitem 1081,1; //Merchant_Box_1
+ getitem Merchant_Box_1,1;
else if (job_merchant_q2 == 6 && .@input == 3487372)
- getitem 1082,1; //Merchant_Box_2
+ getitem Merchant_Box_2,1;
else
- getitem 1091,1; //Merchant_Box_Etc
+ getitem Merchant_Box_Etc,1;
}
else {
if (job_merchant_q2 == 7 && .@input == 3318702)
- getitem 1081,1; //Merchant_Box_1
+ getitem Merchant_Box_1,1;
else if (job_merchant_q2 == 8 && .@input == 3543625)
- getitem 1082,1; //Merchant_Box_2
+ getitem Merchant_Box_2,1;
else
- getitem 1091,1; //Merchant_Box_Etc
+ getitem Merchant_Box_Etc,1;
}
if (job_merchant_q == 2)
job_merchant_q = 4;
@@ -804,7 +804,7 @@ morocc_in,140,102,4 script Student#mer 4_M_04,{
mes "the right place.";
next;
mes "[Dyer's Student]";
- if (countitem(1081) == 1 || countitem(1082) == 1 || countitem(1091) == 1) {
+ if (countitem(Merchant_Box_1) == 1 || countitem(Merchant_Box_2) == 1 || countitem(Merchant_Box_Etc) == 1) {
mes "Okay~";
mes "Please set the";
mes "package down";
@@ -822,21 +822,21 @@ morocc_in,140,102,4 script Student#mer 4_M_04,{
mes "Let me check the Serial Number of the package so I can give you the receipt, okay?";
next;
mes "[Dyer's Student]";
- if (job_merchant_q2 == 5 && countitem(1081) != 0) {
+ if (job_merchant_q2 == 5 && countitem(Merchant_Box_1) != 0) {
mes "3012685...";
mes "That's right.";
mes "Here's your";
mes "receipt.";
- delitem 1081,1; //Merchant_Box_1
- getitem 1077,1; //Merchant_Voucher_5
+ delitem Merchant_Box_1,1;
+ getitem Merchant_Voucher_5,1;
}
- else if (job_merchant_q2 == 6 && countitem(1082) != 0) {
+ else if (job_merchant_q2 == 6 && countitem(Merchant_Box_2) != 0) {
mes "3487372...";
mes "That's right.";
mes "Here's your";
mes "receipt.";
- delitem 1082,1; //Merchant_Box_2
- getitem 1078,1; //Merchant_Voucher_6
+ delitem Merchant_Box_2,1;
+ getitem Merchant_Voucher_6,1;
}
else {
mes "Excuse me, but...";
@@ -886,7 +886,7 @@ geffen_in,155,122,4 script Guild Staff#mer 1_M_01,{
mes "Ah, you must be with the Merchant Guild. Finally, my package has arrived! Alright...!";
next;
mes "[Guild Staff]";
- if (countitem(1081) == 1 || countitem(1082) == 1 || countitem(1091) == 1) {
+ if (countitem(Merchant_Box_1) == 1 || countitem(Merchant_Box_2) == 1 || countitem(Merchant_Box_Etc) == 1) {
mes "You must be very tired";
mes "from having to travel";
mes "in this kind";
@@ -902,15 +902,15 @@ geffen_in,155,122,4 script Guild Staff#mer 1_M_01,{
mes "[Guild Staff]";
mes "Alright, let me";
mes "check the Serial Number...";
- if (job_merchant_q2 == 3 && countitem(1081) != 0) {
+ if (job_merchant_q2 == 3 && countitem(Merchant_Box_1) != 0) {
mes "2989396. Yes, this is what we ordered. Here is your receipt.";
- delitem 1081,1; //Merchant_Box_1
- getitem 1075,1; //Merchant_Voucher_3
+ delitem Merchant_Box_1,1;
+ getitem Merchant_Voucher_3,1;
}
- else if (job_merchant_q2 == 4 && countitem(1082) != 0) {
+ else if (job_merchant_q2 == 4 && countitem(Merchant_Box_2) != 0) {
mes "2191737. Yes, this is what we ordered. Here is your receipt.";
- delitem 1082,1; //Merchant_Box_2
- getitem 1076,1; //Merchant_Voucher_4
+ delitem Merchant_Box_2,1;
+ getitem Merchant_Voucher_4,1;
}
else {
mes "Uh oh, this is the wrong number. This isn't what we ordered...";
@@ -978,7 +978,7 @@ prontera,248,42,0 script Kafra Employee#mer 4_F_KAFRA2,{
mes "the Merchant Guild?";
mes "Oh, yes, please set";
mes "it down right over there...";
- if (countitem(1081) == 1 || countitem(1082) == 1 || countitem(1091) == 1) {
+ if (countitem(Merchant_Box_1) == 1 || countitem(Merchant_Box_2) == 1 || countitem(Merchant_Box_Etc) == 1) {
mes "You must be really tired";
mes "after carrying it for so long!";
}
@@ -993,21 +993,21 @@ prontera,248,42,0 script Kafra Employee#mer 4_F_KAFRA2,{
mes "[Kafra Employee]";
mes "Now, let me check";
mes "the serial number...";
- if (job_merchant_q2 == 1 && countitem(1081) != 0) {
+ if (job_merchant_q2 == 1 && countitem(Merchant_Box_1) != 0) {
mes "2485741. Right, this is";
mes "the one we ordered. Oh,";
mes "and don't forget this receipt!";
next;
- delitem 1081,1; //Merchant_Box_1
- getitem 1073,1; //Merchant_Voucher_1
+ delitem Merchant_Box_1,1;
+ getitem Merchant_Voucher_1,1;
}
- else if (job_merchant_q2 == 2 && countitem(1082) != 0) {
+ else if (job_merchant_q2 == 2 && countitem(Merchant_Box_2) != 0) {
mes "2328137. Right, this is";
mes "the one we ordered. Oh,";
mes "and don't forget this receipt!";
next;
- delitem 1082,1; //Merchant_Box_2
- getitem 1074,1; //Merchant_Voucher_2
+ delitem Merchant_Box_2,1;
+ getitem Merchant_Voucher_2,1;
}
else {
mes "Mmmm? Hold on. This is";
@@ -1097,7 +1097,7 @@ function script F_MercKafra {
mes "the Merchant Guild?";
mes "Oh, yes, please set";
mes "it down right over there...";
- if (countitem(1081) == 1 || countitem(1082) == 1 || countitem(1091) == 1) {
+ if (countitem(Merchant_Box_1) == 1 || countitem(Merchant_Box_2) == 1 || countitem(Merchant_Box_Etc) == 1) {
mes "You must be really tired";
mes "after carrying it for so long!";
}
@@ -1112,19 +1112,19 @@ function script F_MercKafra {
mes "[Kafra Employee]";
mes "Now, let me check";
mes "the serial number...";
- if (job_merchant_q2 == 7 && countitem(1081) != 0) {
+ if (job_merchant_q2 == 7 && countitem(Merchant_Box_1) != 0) {
mes "3318702. Right, this is";
mes "the one we ordered. Oh,";
mes "and don't forget this receipt!";
- delitem 1081,1; //Merchant_Box_1
- getitem 1079,1; //Merchant_Voucher_7
+ delitem Merchant_Box_1,1;
+ getitem Merchant_Voucher_7,1;
}
- else if (job_merchant_q2 == 8 && countitem(1082) != 0) {
+ else if (job_merchant_q2 == 8 && countitem(Merchant_Box_2) != 0) {
mes "3543625. Right, this is";
mes "the one we ordered. Oh,";
mes "and don't forget this receipt!";
- delitem 1082,1; //Merchant_Box_2
- getitem 1080,1; //Merchant_Voucher_8
+ delitem Merchant_Box_2,1;
+ getitem Merchant_Voucher_8,1;
}
else {
mes "Mmmm? Hold on. This is";
@@ -1144,9 +1144,9 @@ function script F_MercKafra {
else if (job_merchant_q == 3)
job_merchant_q = 5;
next;
- if (countitem(1072) != 0 && quest_alb_01 == 0) {
+ if (countitem(Delivery_Message) != 0 && quest_alb_01 == 0) {
select("This is from Chief Mahnsoo of the Merchant Guild...");
- delitem 1072,1; //Delivery_Message
+ delitem Delivery_Message,1;
quest_alb_01 = 1;
mes "[Kafra Employee]";
mes "Oh~! A letter from";
@@ -1163,7 +1163,7 @@ function script F_MercKafra {
mes "of this. This isn't anything";
mes "special, but please take it.";
mes "Well, see you again~";
- getitem 513,3; //Banana
+ getitem Banana,3;
}
else {
mes "[Kafra Employee]";
diff --git a/npc/pre-re/jobs/1-1/swordman.txt b/npc/pre-re/jobs/1-1/swordman.txt
index 33cfeb695..49a113d01 100644
--- a/npc/pre-re/jobs/1-1/swordman.txt
+++ b/npc/pre-re/jobs/1-1/swordman.txt
@@ -294,7 +294,7 @@ izlude_in,30,163,0 script Test Hall Staff#swd_1 8W_SOLDIER,{
}
else if (job_sword_q == 2) {
mes "Retesting? Try not to worry about it. It's good that you don't back down from a challenge! Here, take these and cheer up!";
- getitem 512,5; //Apple
+ getitem Apple,5;
job_sword_q = 3;
}
else if (job_sword_q == 3)
diff --git a/npc/pre-re/jobs/1-1/thief.txt b/npc/pre-re/jobs/1-1/thief.txt
index 4777cb603..32f2f0d75 100644
--- a/npc/pre-re/jobs/1-1/thief.txt
+++ b/npc/pre-re/jobs/1-1/thief.txt
@@ -151,7 +151,7 @@ moc_prydb1,39,129,2 script Thief Guide 1_F_04,{
mes "*Sigh* Look, there's really no need for you to be in this kind of place. You oughta go where you ought to go.";
close;
}
- if (job_thief_q == 3 && countitem(1069) > 0 || countitem(1070) > 0) {
+ if (job_thief_q == 3 && countitem(Mushroom_Of_Thief_1) > 0 || countitem(Mushroom_Of_Thief_2) > 0) {
mes "[Thief Guide]";
mes "Hmmm?";
mes "You gathered Mushrooms for";
@@ -393,7 +393,7 @@ moc_prydb1,42,133,2 script Comrade 2_M_THIEFMASTER,{
else if (job_thief_q == 3) {
mes "[Comrade]";
mes "Ah, the guide told me about you. So, let me check your mushrooms...";
- if (countitem(1069) == 0 && countitem(1070) == 0) {
+ if (countitem(Mushroom_Of_Thief_1) == 0 && countitem(Mushroom_Of_Thief_2) == 0) {
next;
mes "[Comrade]";
mes "What the hell...";
@@ -401,17 +401,17 @@ moc_prydb1,42,133,2 script Comrade 2_M_THIEFMASTER,{
close;
}
next;
- .@thief_item1 = countitem(1069) * 3;
- .@thief_item2 = countitem(1070);
+ .@thief_item1 = countitem(Mushroom_Of_Thief_1) * 3;
+ .@thief_item2 = countitem(Mushroom_Of_Thief_2);
.@total_thief = .@thief_item1 + .@thief_item2;
.@money_thief = ((.@thief_item1 * 5) + (.@thief_item2 * 2)) + 200;
mes "[Comrade]";
- if (countitem(1069) != 0) {
+ if (countitem(Mushroom_Of_Thief_1) != 0) {
mes "First, let me check the Orange Net Mushrooms you got.";
- mes "Huh, " + countitem(1069) + " of them.";
+ mes "Huh, " + countitem(Mushroom_Of_Thief_1) + " of them.";
}
- if (countitem(1070) != 0)
- mes "Now I'll just check your Orange Gooey Mushrooms. That's " + countitem(1070) + " you gathered.";
+ if (countitem(Mushroom_Of_Thief_2) != 0)
+ mes "Now I'll just check your Orange Gooey Mushrooms. That's " + countitem(Mushroom_Of_Thief_2) + " you gathered.";
next;
mes "[Comrade]";
mes "So that would";
@@ -442,8 +442,8 @@ moc_prydb1,42,133,2 script Comrade 2_M_THIEFMASTER,{
mes "[Comrade]";
mes strcharinfo(0) + "...";
mes "You have passed the official Thief Test. You are now one of us.";
- if (countitem(1069) != 0) delitem 1069,countitem(1069); //Mushroom_Of_Thief_1
- if (countitem(1070) != 0) delitem 1070,countitem(1070); //Mushroom_Of_Thief_2
+ if (countitem(Mushroom_Of_Thief_1) != 0) delitem Mushroom_Of_Thief_1,countitem(Mushroom_Of_Thief_1);
+ if (countitem(Mushroom_Of_Thief_2) != 0) delitem Mushroom_Of_Thief_2,countitem(Mushroom_Of_Thief_2);
callfunc "Job_Change",Job_Thief;
callfunc "F_ClearJobVar";
completequest 1013;
diff --git a/npc/pre-re/jobs/novice/novice.txt b/npc/pre-re/jobs/novice/novice.txt
index 0a2f86ae3..16efb4a59 100644
--- a/npc/pre-re/jobs/novice/novice.txt
+++ b/npc/pre-re/jobs/novice/novice.txt
@@ -542,7 +542,7 @@ new_1-2,99,105,3 script Interfaces Tutor#nv1 4_M_CRU,{
mes "[Kris]";
mes "Now, why don't you speak to Edwin? He will teach you more regarding the basic use of Skills. Ah, and let me give you a small present: a Tattered Novice Ninja Suit!";
nov_get_item02 = 12;
- getitem 2352,1; //Novice_Plate
+ getitem Novice_Plate,1;
close;
case 2:
mes "[Kris]";
@@ -971,11 +971,11 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{
mes "[Alice]";
mes "Now, would you click the ^4A708Bitem^000000 tab in the Inventory Window? I just gave you a Novice Potion. You can drink it by double-clicking it. Go ahead, try it!";
nov_get_item04 = 10;
- getitem 569,1; //Novice_Potion
+ getitem Novice_Potion,1;
percentheal -50,0;
next;
mes "[Alice]";
- if (countitem(569) < 1) {
+ if (countitem(Novice_Potion) < 1) {
if (BaseLevel < 8) {
mes "Nice~!";
mes "And here's";
@@ -1017,9 +1017,9 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{
mes "I just gave you to";
mes "put them on.";
nov_get_item04 = 12;
- getitem 2510,1; //Novice_Hood
- getitem 2414,1; //Novice_Boots
- getitem 5055,1; //Novice_Egg_Cap
+ getitem Novice_Hood,1;
+ getitem Novice_Boots,1;
+ getitem Novice_Egg_Cap,1;
next;
mes "[Alice]";
if (isequipped(2414)) {
@@ -1091,9 +1091,9 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{
mes "[Alice]";
mes "However, ^ff0000do not use the Fly Wing or Butterfly Wing^000000 in these Training Grounds or you could be stuck here forever. Those items are for when you graduate, okay?";
nov_get_item04 = 15;
- getitem 601,10; //Wing_Of_Fly
- getitem 602,2; //Wing_Of_Butterfly
- getitem 569,50; //Novice_Potion
+ getitem Wing_Of_Fly,10;
+ getitem Wing_Of_Butterfly,2;
+ getitem Novice_Potion,50;
next;
mes "[Alice]";
mes "And lastly...";
@@ -1337,16 +1337,16 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{
close2;
if (nov_get_item05 < 11) {
nov_get_item05 = 11;
- getitem 569,100; //Novice_Potion
- getitem 1243,1; //Novice_Knife
- getitem 2414,1; //Novice_Boots
- getitem 2510,1; //Novice_Hood
- getitem 2352,1; //Novice_Plate
- getitem 2112,1; //Novice_Guard
- getitem 601,10; //Wing_Of_Fly
- getitem 602,2; //Wing_Of_Butterfly
- getitem 7059,5; //Cargo_Free_Ticket
- getitem 7060,5; //Warp_Free_Ticket
+ getitem Novice_Potion,100;
+ getitem Novice_Knife,1;
+ getitem Novice_Boots,1;
+ getitem Novice_Hood,1;
+ getitem Novice_Plate,1;
+ getitem Novice_Guard,1;
+ getitem Wing_Of_Fly,10;
+ getitem Wing_Of_Butterfly,2;
+ getitem Cargo_Free_Ticket,5;
+ getitem Warp_Free_Ticket,5;
}
nov_1st_cos = 0;
nov_2nd_cos = 0;
@@ -1408,8 +1408,8 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{
close2;
if (nov_get_item05 < 11) {
nov_get_item05 = 11;
- getitem 7059,5; //Cargo_Free_Ticket
- getitem 7060,5; //Warp_Free_Ticket
+ getitem Cargo_Free_Ticket,5;
+ getitem Warp_Free_Ticket,5;
}
nov_1st_cos = 0;
nov_2nd_cos = 0;
@@ -2522,12 +2522,12 @@ new_1-2,38,182,3 script Entrance Guard#nv 4_F_03,{
else {
nov_2nd_cos = 29;
}
- getitem 602,1; //Wing_Of_Butterfly
- getitem 601,9; //Wing_Of_Fly
- getitem 1243,1; //Novice_Knife
- getitem 2112,1; //Novice_Guard
- getitem 611,2; //Spectacles
- getitem 569,300; //Novice_Potion
+ getitem Wing_Of_Butterfly,1;
+ getitem Wing_Of_Fly,9;
+ getitem Novice_Knife,1;
+ getitem Novice_Guard,1;
+ getitem Spectacles,2;
+ getitem Novice_Potion,300;
close2;
savepoint "new_1-2",23,188;
warp "new_1-3",96,21;
@@ -2592,7 +2592,7 @@ new_1-2,38,182,3 script Entrance Guard#nv 4_F_03,{
getexp 200,0;
}
percentheal 100,0;
- getitem 569,50; //Novice_Potion
+ getitem Novice_Potion,50;
close2;
warp "new_1-3",96,21;
end;
@@ -2747,7 +2747,7 @@ new_5-3,96,174,3 duplicate(NovKeyman) Test Examiner#nv5 4_M_03
new_1-2,28,185,4 shop Potato Merchant 4_F_01,516:15
new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{
- if (checkweight(909,400) == 0) {
+ if (checkweight(Jellopy,400) == 0) {
mes "[Hanson]";
mes "All of the items you are carrying must be quite a burden. Where did you get so much things? Please lighten your weight by getting rid of things you don't need.";
close;
@@ -3123,9 +3123,9 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{
next;
//---------------------------------------------------------------------------------------------------------------------------------------------------
nov_3_swordman = 40;
- getitem 501,4; //Red_Potion
- getitem 503,2; //Yellow_Potion
- getitem 506,2; //Green_Potion
+ getitem Red_Potion,4;
+ getitem Yellow_Potion,2;
+ getitem Green_Potion,2;
//-------------------------------------------------------------------------------------------------------------------------------------------------
next;
mes "[Hanson]";
@@ -3267,10 +3267,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{
mes "^0000337 Phracon^000000";
next;
nov_3_swordman = 40;
- getitem 7059,5; //Cargo_Free_Ticket
- getitem 7060,5; //Warp_Free_Ticket
- getitem 1104,1; //Falchion
- getitem 1010,7; //Phracon
+ getitem Cargo_Free_Ticket,5;
+ getitem Warp_Free_Ticket,5;
+ getitem Falchion,1;
+ getitem Phracon,7;
////getgold 100
mes "[Hanson]";
mes "Please check your inventory to see if you have received all the supplies listed. Let me briefly inform you about the items you've received.";
@@ -3336,11 +3336,11 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{
next;
//---------------------------------------------------------------------------------------------------------------------------------------------------
nov_3_swordman = 40;
- getitem 7059,5; //Cargo_Free_Ticket
- getitem 7060,5; //Warp_Free_Ticket
- getitem 1601,1; //Rod
- getitem 1204,1; //Cutter
- getitem 1010,7; //Phracon
+ getitem Cargo_Free_Ticket,5;
+ getitem Warp_Free_Ticket,5;
+ getitem Rod,1;
+ getitem Cutter,1;
+ getitem Phracon,7;
////getgold 100
//---------------------------------------------------------------------------------------------------------------------------------------------------
mes "[Hanson]";
@@ -3409,11 +3409,11 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{
next;
//---------------------------------------------------------------------------------------------------------------------------------------------------
nov_3_swordman = 40;
- getitem 7059,4; //Cargo_Free_Ticket
- getitem 7060,4; //Warp_Free_Ticket
- getitem 7061,4; //Cart_Free_Ticket
- getitem 1351,1; //Battle_Axe
- getitem 1010,7; //Phracon
+ getitem Cargo_Free_Ticket,4;
+ getitem Warp_Free_Ticket,4;
+ getitem Cart_Free_Ticket,4;
+ getitem Battle_Axe,1;
+ getitem Phracon,7;
////getgold 100
//---------------------------------------------------------------------------------------------------------------------------------------------------
mes "[Hanson]";
@@ -3486,10 +3486,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{
next;
//---------------------------------------------------------------------------------------------------------------------------------------------------
nov_3_swordman = 40;
- getitem 7059,5; //Cargo_Free_Ticket
- getitem 7060,5; //Warp_Free_Ticket
- getitem 1207,1; //Main_Gauche
- getitem 1010,7; //Phracon
+ getitem Cargo_Free_Ticket,5;
+ getitem Warp_Free_Ticket,5;
+ getitem Main_Gauche,1;
+ getitem Phracon,7;
////getgold 100
//---------------------------------------------------------------------------------------------------------------------------------------------------
mes "[Hanson]";
@@ -3547,10 +3547,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{
next;
//---------------------------------------------------------------------------------------------------------------------------------------------------
nov_3_swordman = 40;
- getitem 7059,5; //Cargo_Free_Ticket
- getitem 7060,5; //Warp_Free_Ticket
- getitem 1704,1; //Composite_Bow
- getitem 1010,7; //Phracon
+ getitem Cargo_Free_Ticket,5;
+ getitem Warp_Free_Ticket,5;
+ getitem Composite_Bow,1;
+ getitem Phracon,7;
////getgold 100
//---------------------------------------------------------------------------------------------------------------------------------------------------
mes "[Hanson]";
@@ -3619,10 +3619,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{
next;
//---------------------------------------------------------------------------------------------------------------------------------------------------
nov_3_swordman = 40;
- getitem 7059,5; //Cargo_Free_Ticket
- getitem 7060,5; //Warp_Free_Ticket
- getitem 1504,1; //Mace
- getitem 1010,7; //Phracon
+ getitem Cargo_Free_Ticket,5;
+ getitem Warp_Free_Ticket,5;
+ getitem Mace,1;
+ getitem Phracon,7;
////getgold 100
//---------------------------------------------------------------------------------------------------------------------------------------------------
mes "[Hanson]";
@@ -3859,9 +3859,9 @@ S_UserJobchoice:
next;
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------
nov_3_swordman = 40;
- getitem 7059,5; //Cargo_Free_Ticket
- getitem 7060,5; //Warp_Free_Ticket
- getitem 2305,1; //Adventure_Suit
+ getitem Cargo_Free_Ticket,5;
+ getitem Warp_Free_Ticket,5;
+ getitem Adventure_Suit,1;
////getgold 100
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------
mes "[Hanson]";
diff --git a/npc/pre-re/quests/collection/quest_alligator.txt b/npc/pre-re/quests/collection/quest_alligator.txt
index 920c3c6a1..84f1d4730 100644
--- a/npc/pre-re/quests/collection/quest_alligator.txt
+++ b/npc/pre-re/quests/collection/quest_alligator.txt
@@ -182,7 +182,7 @@ cmd_fild01,362,256,3 script Cuir#Gator_Hunt 1_M_MOC_LORD,{
switch(select("I have the Anolian Skins:Gators bite!")) {
case 1:
/*
- if (checkweight(503,10) == 0) {
+ if (checkweight(Yellow_Potion,10) == 0) {
mes "[Cuir]";
mes "Hey, it looks like that the weight on";
mes "your back will crush you. Come back";
@@ -190,14 +190,14 @@ cmd_fild01,362,256,3 script Cuir#Gator_Hunt 1_M_MOC_LORD,{
close;
}
*/
- if (countitem(7003) > 19) {
+ if (countitem(Anolian_Skin) > 19) {
mes "[Cuir]";
mes "Thank you for the ^00CE0020 Anolian Skins^000000!";
mes "I hope you can continue to help me collect these skins.";
mes "The armor creators around the world are clamoring for them.";
- delitem 7003,20; //Anolian_Skin
+ delitem Anolian_Skin,20;
getexp 68950,43300;
- //getitem 503,10; //Yellow_Potion
+ //getitem Yellow_Potion,10;
close;
}
else {
diff --git a/npc/pre-re/quests/collection/quest_caramel.txt b/npc/pre-re/quests/collection/quest_caramel.txt
index 20bf28b8e..97d5b50ec 100644
--- a/npc/pre-re/quests/collection/quest_caramel.txt
+++ b/npc/pre-re/quests/collection/quest_caramel.txt
@@ -182,7 +182,7 @@ mjolnir_01,296,29,6 script Yullo#Caramel_Hunt 4_F_SISTER,{
switch(select("I have Porcupine Quills:Well I don't think I can help.")) {
case 1:
/*
- if (checkweight(501,10) == 0) {
+ if (checkweight(Red_Potion,10) == 0) {
mes "[Yullo]";
mes "Hey, it looks like that the weight on";
mes "your back will crush you. Come back";
@@ -190,13 +190,13 @@ mjolnir_01,296,29,6 script Yullo#Caramel_Hunt 4_F_SISTER,{
close;
}
*/
- if (countitem(1027) > 24) {
+ if (countitem(Porcupine_Spike) > 24) {
mes "[Yullo]";
mes "Great, you have enough!";
mes "Just like I promised a little reward.";
- delitem 1027,25; //Porcupine_Spike
+ delitem Porcupine_Spike,25;
getexp 10425,6272;
- //getitem 501,10; //Red_Potion
+ //getitem Red_Potion,10;
close;
}
else {
diff --git a/npc/pre-re/quests/collection/quest_coco.txt b/npc/pre-re/quests/collection/quest_coco.txt
index 88a860610..358726e1a 100644
--- a/npc/pre-re/quests/collection/quest_coco.txt
+++ b/npc/pre-re/quests/collection/quest_coco.txt
@@ -180,7 +180,7 @@ mjolnir_01,293,20,3 script Nutters#Coco_Hunt 4_M_YOYOROGUE,{
switch(select("I have 25 Acorns:Please come again?")) {
case 1:
/*
- if (checkweight(502,5) == 0) {
+ if (checkweight(Orange_Potion,5) == 0) {
mes "[Nutters]";
mes "Hey, it looks like that the weight on";
mes "your back will crush you. Come back";
@@ -188,7 +188,7 @@ mjolnir_01,293,20,3 script Nutters#Coco_Hunt 4_M_YOYOROGUE,{
close;
}
*/
- if (countitem(1026) > 24) {
+ if (countitem(Acorn) > 24) {
mes "[Nutters]";
mes "Oh great you found out where they were hiding them.";
mes "Gimme Gimme!!!";
@@ -196,9 +196,9 @@ mjolnir_01,293,20,3 script Nutters#Coco_Hunt 4_M_YOYOROGUE,{
mes "[Nutters]";
mes "Oh that's right, sorry I just love roasting Acorns. Mmm.";
mes "Here is what I promised you.";
- delitem 1026,25; //Acorn
+ delitem Acorn,25;
getexp 3600,3905;
- //getitem 502,5; //Orange_Potion
+ //getitem Orange_Potion,5;
close;
}
else {
diff --git a/npc/pre-re/quests/collection/quest_creamy.txt b/npc/pre-re/quests/collection/quest_creamy.txt
index 6e0ff1503..e768e1c2c 100644
--- a/npc/pre-re/quests/collection/quest_creamy.txt
+++ b/npc/pre-re/quests/collection/quest_creamy.txt
@@ -179,7 +179,7 @@ prt_fild04,356,148,3 script Laertes#Creamy_Hunt 4_M_NFMAN,{
switch(select("I have Powder of Butterfly:What did you need?")) {
case 1:
/*
- if (checkweight(502,5) == 0) {
+ if (checkweight(Orange_Potion,5) == 0) {
mes "[Laertes]";
mes "Hey, it looks like that the weight on";
mes "your back will crush you. Come back";
@@ -187,13 +187,13 @@ prt_fild04,356,148,3 script Laertes#Creamy_Hunt 4_M_NFMAN,{
close;
}
*/
- if (countitem(924) > 24) {
+ if (countitem(Powder_Of_Butterfly) > 24) {
mes "[Laertes]";
mes "Hey, thank you again.";
mes "Here you go, as promised.";
- delitem 924,25; //Powder_Of_Butterfly
+ delitem Powder_Of_Butterfly,25;
getexp 2950,1125;
- //getitem 502,5; //Orange_Potion
+ //getitem Orange_Potion,5;
close;
}
else {
diff --git a/npc/pre-re/quests/collection/quest_demonpungus.txt b/npc/pre-re/quests/collection/quest_demonpungus.txt
index 87d9bc4a6..f3785b932 100644
--- a/npc/pre-re/quests/collection/quest_demonpungus.txt
+++ b/npc/pre-re/quests/collection/quest_demonpungus.txt
@@ -179,7 +179,7 @@ ein_fild01,43,249,0 script Local Villager#hunt 4_M_HUMAN_01,{
switch(select("I have Bacillus:What did you need?")) {
case 1:
/*
- if (checkweight(504,10) == 0) {
+ if (checkweight(White_Potion,10) == 0) {
mes "[Local Villager]";
mes "Hey, it looks like that the weight on";
mes "your back will crush you. Come back";
@@ -187,12 +187,12 @@ ein_fild01,43,249,0 script Local Villager#hunt 4_M_HUMAN_01,{
close;
}
*/
- if (countitem(7119) > 49) {
+ if (countitem(Spawns) > 49) {
mes "[Local Villager]";
mes "I had my doubts, but you have proven me wrong.";
- delitem 7119,50; //Spawns
+ delitem Spawns,50;
getexp 250266,144452;
- //getitem 504,10; //White_Potion
+ //getitem White_Potion,10;
close;
}
else {
diff --git a/npc/pre-re/quests/collection/quest_dokebi.txt b/npc/pre-re/quests/collection/quest_dokebi.txt
index c357c3234..5226cca51 100644
--- a/npc/pre-re/quests/collection/quest_dokebi.txt
+++ b/npc/pre-re/quests/collection/quest_dokebi.txt
@@ -176,11 +176,11 @@ pay_fild10,108,357,5 script Li#Dokebi_Hunt 4_F_01,{
next;
switch(select("I have some Dokebi Horns:What did you need?")) {
case 1:
- if (countitem(1021) > 49) {
+ if (countitem(Dokkaebi_Horn) > 49) {
mes "[Li]";
mes "Oh, great!";
mes "Thank you for the horns.";
- delitem 1021,50; //Dokkaebi_Horn
+ delitem Dokkaebi_Horn,50;
getexp 42000,36000;
close;
}
diff --git a/npc/pre-re/quests/collection/quest_dryad.txt b/npc/pre-re/quests/collection/quest_dryad.txt
index 4419ca971..339f49761 100644
--- a/npc/pre-re/quests/collection/quest_dryad.txt
+++ b/npc/pre-re/quests/collection/quest_dryad.txt
@@ -180,7 +180,7 @@ um_fild01,34,281,5 script Lilla#Dryad_Hunt 4_F_07,{
switch(select("I have some Sharp Leafs:What did you need?")) {
case 1:
/*
- if (checkweight(504,10) == 0) {
+ if (checkweight(White_Potion,10) == 0) {
mes "[Lilla]";
mes "Hey, it looks like that the weight on";
mes "your back will crush you. Come back";
@@ -188,7 +188,7 @@ um_fild01,34,281,5 script Lilla#Dryad_Hunt 4_F_07,{
close;
}
*/
- if (countitem(7100) > 49) {
+ if (countitem(Sharp_Leaf) > 49) {
mes "[Lilla]";
mes "Hey, your a sweet little thing.";
mes "Thanks so much for helping me!";
@@ -196,9 +196,9 @@ um_fild01,34,281,5 script Lilla#Dryad_Hunt 4_F_07,{
mes "[Lilla]";
mes "Oh, I almost forgot. I have something for you ^_^";
mes "Thank you so much again for your help.";
- delitem 7100,50; //Sharp_Leaf
+ delitem Sharp_Leaf,50;
getexp 262485,141835;
- //getitem 504,10; //White_Potion
+ //getitem White_Potion,10;
close;
}
else {
diff --git a/npc/pre-re/quests/collection/quest_fabre.txt b/npc/pre-re/quests/collection/quest_fabre.txt
index e90cacbdb..ec36e1510 100644
--- a/npc/pre-re/quests/collection/quest_fabre.txt
+++ b/npc/pre-re/quests/collection/quest_fabre.txt
@@ -180,11 +180,11 @@ gef_fild07,321,193,4 script Langry#Fabre_Hunt 4_M_SAGE_A,{
next;
switch(select("I have some Fluff:What was that again?")) {
case 1:
- if (countitem(914) > 24) {
+ if (countitem(Fluff) > 24) {
mes "[Langry]";
mes "Thank you for the Fluff. This helps me out greatly.";
mes "Oh and here you go, this should help you get stronger, faster!";
- delitem 914,25; //Fluff
+ delitem Fluff,25;
getexp 385,30;
close;
}
diff --git a/npc/pre-re/quests/collection/quest_frilldora.txt b/npc/pre-re/quests/collection/quest_frilldora.txt
index 5612f7c78..876101cca 100644
--- a/npc/pre-re/quests/collection/quest_frilldora.txt
+++ b/npc/pre-re/quests/collection/quest_frilldora.txt
@@ -179,11 +179,11 @@ moc_fild17,66,273,5 script Lemly#Frilldora_Hunt 4_F_JOB_ASSASSIN,{
// Item turn in
switch(select("I have some Frills:What did you need?")) {
case 1:
- if (countitem(1012) > 24) {
+ if (countitem(Lizard_Scruff) > 24) {
mes "[Lemly]";
mes "Hey, thank you.";
mes "These are pretty icky though.";
- delitem 1012,25; //Lizard_Scruff
+ delitem Lizard_Scruff,25;
getexp 30000,23000;
close;
}
diff --git a/npc/pre-re/quests/collection/quest_goat.txt b/npc/pre-re/quests/collection/quest_goat.txt
index 434840f9e..6c7a9ea88 100644
--- a/npc/pre-re/quests/collection/quest_goat.txt
+++ b/npc/pre-re/quests/collection/quest_goat.txt
@@ -180,7 +180,7 @@ ein_fild06,82,171,0 script Vegetable Farmer#Goat 4_F_SHABBY,{
switch(select("I have Antelope Horns:What did you need?")) {
case 1:
/*
- if (checkweight(504,10) == 0) {
+ if (checkweight(White_Potion,10) == 0) {
mes "[Vegetable Farmer]";
mes "Hey, it looks like that the weight on";
mes "your back will crush you. Come back";
@@ -188,13 +188,13 @@ ein_fild06,82,171,0 script Vegetable Farmer#Goat 4_F_SHABBY,{
close;
}
*/
- if (countitem(7106) > 49) {
+ if (countitem(Goat's_Horn) > 49) {
mes "[Vegetable Farmer]";
mes "Amazing, you did that with speed.";
mes "I am truly grateful.";
- delitem 7106,50; //Goat's_Horn
+ delitem Goat's_Horn,50;
getexp 258489,155155;
- //getitem 504,10; //White_Potion
+ //getitem White_Potion,10;
close;
}
else {
diff --git a/npc/pre-re/quests/collection/quest_golem.txt b/npc/pre-re/quests/collection/quest_golem.txt
index 79059da29..2ab40efc2 100644
--- a/npc/pre-re/quests/collection/quest_golem.txt
+++ b/npc/pre-re/quests/collection/quest_golem.txt
@@ -177,10 +177,10 @@ moc_fild11,57,138,0 script Private Jeremy#hunt 4_M_MOC_SOLDIER,{
next;
switch(select("I have Stone Hearts:What did you need?")) {
case 1:
- if (countitem(953) > 24) {
+ if (countitem(Stone_Heart) > 24) {
mes "[Private Jeremy]";
mes "The Morroc Guard thanks you, citizen.";
- delitem 953,25; //Stone_Heart
+ delitem Stone_Heart,25;
getexp 14000,9000;
close;
}
diff --git a/npc/pre-re/quests/collection/quest_hode.txt b/npc/pre-re/quests/collection/quest_hode.txt
index 5c5fe33e3..16cbf69aa 100644
--- a/npc/pre-re/quests/collection/quest_hode.txt
+++ b/npc/pre-re/quests/collection/quest_hode.txt
@@ -182,7 +182,7 @@ moc_fild17,208,346,5 script Shone#Hode_Hunt 4_M_MOC_SOLDIER,{
switch(select("I have 25 Earthworm Peelings:What was it again?")) {
case 1:
/*
- if (checkweight(502,10) == 0) {
+ if (checkweight(Orange_Potion,10) == 0) {
mes "[Shone]";
mes "Hey, it looks like that the weight on";
mes "your back will crush you. Come back";
@@ -190,13 +190,13 @@ moc_fild17,208,346,5 script Shone#Hode_Hunt 4_M_MOC_SOLDIER,{
close;
}
*/
- if (countitem(1055) > 24) {
+ if (countitem(Earthworm_Peeling) > 24) {
mes "Thank you for the 25 Earthworm";
mes "Peelings!";
mes "Here is that reward I promised you, I hope take this wisdom I have passed on to you and share it with others.";
- delitem 1055,25; //Earthworm_Peeling
+ delitem Earthworm_Peeling,25;
getexp 15775,1125;
- //getitem 502,10; //Orange_Potion
+ //getitem Orange_Potion,10;
close;
}
else {
diff --git a/npc/pre-re/quests/collection/quest_leafcat.txt b/npc/pre-re/quests/collection/quest_leafcat.txt
index 3b3a0eab6..c980926e5 100644
--- a/npc/pre-re/quests/collection/quest_leafcat.txt
+++ b/npc/pre-re/quests/collection/quest_leafcat.txt
@@ -179,7 +179,7 @@ ayo_fild01,44,241,5 script Lella#LeafCat_Hunt 4_F_YUNYANG,{
switch(select("I have 50 Huge Leafs:What, sorry I was day dreaming")) {
case 1:
/*
- if (checkweight(503,10) == 0) {
+ if (checkweight(Yellow_Potion,10) == 0) {
mes "[Lella]";
mes "Hey, it looks like that the weight on";
mes "your back will crush you. Come back";
@@ -187,15 +187,15 @@ ayo_fild01,44,241,5 script Lella#LeafCat_Hunt 4_F_YUNYANG,{
close;
}
*/
- if (countitem(7198) > 49) {
+ if (countitem(Great_Leaf) > 49) {
mes "[Lella]";
mes "Wonderful I can tell it is just a little bit quieter around here!";
next;
mes "[Lella]";
mes "The more leafs I collect the quieter it seems around here.";
- delitem 7198,50; //Great_Leaf
+ delitem Great_Leaf,50;
getexp 25740,31512;
- //getitem 503,10; //Yellow_Potion
+ //getitem Yellow_Potion,10;
close;
}
else {
diff --git a/npc/pre-re/quests/collection/quest_pecopeco.txt b/npc/pre-re/quests/collection/quest_pecopeco.txt
index 462703638..32c595c92 100644
--- a/npc/pre-re/quests/collection/quest_pecopeco.txt
+++ b/npc/pre-re/quests/collection/quest_pecopeco.txt
@@ -195,10 +195,10 @@ moc_fild02,74,329,3 script Gregor#PecoPeco_Hunt 4W_M_01,{
next;
switch(select("I have some Bill of Birds:What did you need?")) {
case 1:
- if (countitem(925) > 24) {
+ if (countitem(Bill_Of_Birds) > 24) {
mes "[Gregor]";
mes "Thank you so much.";
- delitem 925,25; //Bill_Of_Birds
+ delitem Bill_Of_Birds,25;
getexp 4000,2000;
next;
mes "[Gregor]";
diff --git a/npc/pre-re/quests/collection/quest_pupa.txt b/npc/pre-re/quests/collection/quest_pupa.txt
index 4280870ea..5868fae84 100644
--- a/npc/pre-re/quests/collection/quest_pupa.txt
+++ b/npc/pre-re/quests/collection/quest_pupa.txt
@@ -185,11 +185,11 @@ gef_fild04,191,54,3 script Halgus#Pupa_Hunt 2_F_MAGICMASTER,{
next;
switch(select("I have Chrysalis:What did you need?")) {
case 1:
- if (countitem(915) > 24) {
+ if (countitem(Chrysalis) > 24) {
mes "[Halgus]";
mes "Amazing you found so many that fast.";
mes "Like I promised, give me the Chrysalis and I will reward you with my wisdom.";
- delitem 915,25; //Chrysalis
+ delitem Chrysalis,25;
getexp 385,30;
close;
}
diff --git a/npc/pre-re/quests/skills/novice_skills.txt b/npc/pre-re/quests/skills/novice_skills.txt
index 7e5cd03e5..a22a8c5e5 100644
--- a/npc/pre-re/quests/skills/novice_skills.txt
+++ b/npc/pre-re/quests/skills/novice_skills.txt
@@ -127,9 +127,9 @@ prt_in,234,133,4 script Nami 1_F_01,{
mes "this item. . . ";
close;
case 2:
- if ((countitem(507) > 2) && (countitem(705) > 2)) {
- delitem 507,3; //Red_Herb
- delitem 705,3; //Clover
+ if ((countitem(Red_Herb) > 2) && (countitem(Clover) > 2)) {
+ delitem Red_Herb,3;
+ delitem Clover,3;
mes "[Nami]";
mes "Hello, welcome back!";
mes "You have done well at finding";
@@ -321,7 +321,7 @@ prt_in,73,87,4 script Chivalry Member 1_M_YOUNGKNIGHT,{
mes "Okayyyyy~~~!! *waves goodbye*";
close;
case 5:
- if (countitem(7039) > 0) {
+ if (countitem(Novice_Nametag) > 0) {
mes "[Bulma]";
mes "Hey... I see that you have -";
mes "finished your quest! ! ! . .";
@@ -335,7 +335,7 @@ prt_in,73,87,4 script Chivalry Member 1_M_YOUNGKNIGHT,{
mes " ' Play Dead ' ";
mes "Okay okay, See you around ! ! !";
skill_nov = 6;
- delitem 7039,1; //Novice_Nametag
+ delitem Novice_Nametag,1;
skill "NV_TRICKDEAD",1,0;
close;
}
@@ -448,7 +448,7 @@ prt_castle,175,146,4 script Nursing Instructor 1_M_04,{
mes "- Click Click *Walks away* . . . . . -";
close;
case 4:
- if (countitem(7039) == 0) {
+ if (countitem(Novice_Nametag) == 0) {
mes "[Dread Lord]";
mes "Look at this guy!";
mes "Wake up and watch where you are going.";
@@ -466,7 +466,7 @@ prt_castle,175,146,4 script Nursing Instructor 1_M_04,{
next;
mes "^3355FF- Got 1 Newbie Tag -^000000";
skill_nov = 5;
- getitem 7039,1; //Novice_Nametag
+ getitem Novice_Nametag,1;
close;
}
mes "[Dread Lord]";
diff --git a/npc/quests/bunnyband.txt b/npc/quests/bunnyband.txt
index af3a622a0..37bd45714 100644
--- a/npc/quests/bunnyband.txt
+++ b/npc/quests/bunnyband.txt
@@ -82,15 +82,15 @@ alberta,26,229,0 script Kafra Employee#bunny 4_M_01,{
mes "Bunny Band together...";
close;
}
- delitem 949,100; //Feather
- delitem 706,1; //Four_Leaf_Clover
- delitem 722,1; //Scarlet_Jewel
- delitem 2213,1; //Cat_Hairband
+ delitem Feather,100;
+ delitem Four_Leaf_Clover,1;
+ delitem Scarlet_Jewel,1;
+ delitem Cat_Hairband,1;
mes "[Kafra Employee]";
mes "Ah, here you go~";
mes "The perfect Bunny Band!";
mes "Well, I hope you enjoy it.";
- getitem 2214,1; //Bunny_Band
+ getitem Bunny_Band,1;
BUNYBND = 0;
next;
mes "[Kafra Employee]";
diff --git a/npc/quests/cooking_quest.txt b/npc/quests/cooking_quest.txt
index 60b8ee32f..aa8239f79 100644
--- a/npc/quests/cooking_quest.txt
+++ b/npc/quests/cooking_quest.txt
@@ -429,7 +429,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (cooking_q == 1) {
- if (countitem(940) > 4 && countitem(7031) > 0 && countitem(7457) > 0) {
+ if (countitem(Grasshopper's_Leg) > 4 && countitem(Old_Frying_Pan) > 0 && countitem(Cooking_Oil) > 0) {
cutin "orleans_4",0;
emotion e_an;
mes "[Charles Orleans]";
@@ -462,11 +462,11 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "know this recipe now. That's";
mes "all for today, so please go";
mes "and practice on your own now.";
- delitem 940,5; //Grasshopper's_Leg
- delitem 7031,1; //Old_Frying_Pan
- delitem 7457,1; //Cooking_Oil
+ delitem Grasshopper's_Leg,5;
+ delitem Old_Frying_Pan,1;
+ delitem Cooking_Oil,1;
cooking_q = 7;
- getitem 12041,1; //Str_Dish01
+ getitem Str_Dish01,1;
goto L_End;
}
cutin "orleans_6",0;
@@ -489,7 +489,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (cooking_q == 2) {
- if (countitem(514) > 2 && countitem(501) > 1) {
+ if (countitem(Grape) > 2 && countitem(Red_Potion) > 1) {
cutin "orleans_4",0;
mes "[Charles Orleans]";
mes "Finally, you're here! Never";
@@ -520,10 +520,10 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "know this recipe now. That's";
mes "all for today, so please go";
mes "and practice on your own now.";
- delitem 514,3; //Grape
- delitem 501,2; //Red_Potion
+ delitem Grape,3;
+ delitem Red_Potion,2;
cooking_q = 7;
- getitem 12046,1; //Int_Dish01
+ getitem Int_Dish01,1;
goto L_End;
}
cutin "orleans_6",0;
@@ -546,7 +546,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (cooking_q == 3) {
- if (countitem(518) > 0 && countitem(514) > 1 && countitem(501) > 0) {
+ if (countitem(Honey) > 0 && countitem(Grape) > 1 && countitem(Red_Potion) > 0) {
cutin "orleans_4",0;
mes "[Charles Orleans]";
mes "Finally, you're here! Never";
@@ -580,11 +580,11 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "know this recipe now. That's";
mes "all for today, so please go";
mes "and practice on your own now.";
- delitem 518,1; //Honey
- delitem 514,2; //Grape
- delitem 501,1; //Red_Potion
+ delitem Honey,1;
+ delitem Grape,2;
+ delitem Red_Potion,1;
cooking_q = 7;
- getitem 12061,1; //Dex_Dish01
+ getitem Dex_Dish01,1;
goto L_End;
}
cutin "orleans_6",0;
@@ -608,7 +608,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (cooking_q == 4) {
- if (countitem(577) > 0 && countitem(908) > 9 && countitem(1024) > 0) {
+ if (countitem(Grain) > 0 && countitem(Spawn) > 9 && countitem(Chinese_Ink) > 0) {
cutin "orleans_4",0;
mes "[Charles Orleans]";
mes "Finally, you're here! Never";
@@ -641,11 +641,11 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "know this recipe now. That's";
mes "all for today, so please go";
mes "and practice on your own now.";
- delitem 577,1; //Grain
- delitem 908,10; //Spawn
- delitem 1024,1; //Chinese_ink
+ delitem Grain,1;
+ delitem Spawn,10;
+ delitem Chinese_Ink,1; //Chinese_ink
cooking_q = 7;
- getitem 12056,1; //Agi_Dish01
+ getitem Agi_Dish01,1;
goto L_End;
}
cutin "orleans_6",0;
@@ -668,7 +668,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (cooking_q == 5) {
- if (countitem(960) > 9 && countitem(511) > 9 && countitem(503) > 0) {
+ if (countitem(Nipper) > 9 && countitem(Green_Herb) > 9 && countitem(Yellow_Potion) > 0) {
cutin "orleans_4",0;
mes "[Charles Orleans]";
mes "Finally, you're here! Never";
@@ -701,11 +701,11 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "know this recipe now. That's";
mes "all for today, so please go";
mes "and practice on your own now.";
- delitem 960,10; //Nipper
- delitem 511,10; //Green_Herb
- delitem 503,1; //Yellow_Potion
+ delitem Nipper,10;
+ delitem Green_Herb,10;
+ delitem Yellow_Potion,1;
cooking_q = 7;
- getitem 12051,1; //Vit_Dish01
+ getitem Vit_Dish01,1;
goto L_End;
}
cutin "orleans_6",0;
@@ -729,7 +729,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (cooking_q == 6) {
- if (countitem(942) > 4 && countitem(7031) > 0 && countitem(7457) > 0) {
+ if (countitem(Yoyo_Tail) > 4 && countitem(Old_Frying_Pan) > 0 && countitem(Cooking_Oil) > 0) {
cutin "orleans_4",0;
mes "[Charles Orleans]";
mes "Finally, you're here! Never";
@@ -762,11 +762,11 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "know this recipe now. That's";
mes "all for today, so please go";
mes "and practice on your own now.";
- delitem 942,5; //Yoyo_Tail
- delitem 7031,1; //Old_Frying_Pan
- delitem 7457,1; //Cooking_Oil
+ delitem Yoyo_Tail,5;
+ delitem Old_Frying_Pan,1;
+ delitem Cooking_Oil,1;
cooking_q = 7;
- getitem 12066,1; //Luk_Dish01
+ getitem Luk_Dish01,1;
goto L_End;
}
cutin "orleans_6",0;
@@ -1247,7 +1247,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "If you bring me 10 Pumpkins,";
mes "I will let you borrow one of";
mes "my Level 1 Cookbooks.";
- if (countitem(535) > 9) {
+ if (countitem(Pumpkin) > 9) {
next;
if (select("Give 10 Pumpkins and Current Cookbook:Cancel") == 1) {
cutin "orleans_6",0;
@@ -1278,7 +1278,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "crackers or cookies. Please";
mes "bring me 5 Well-Baked Cookies";
mes "to borrow my Level 2 Cookbook.";
- if (countitem(538) > 4) {
+ if (countitem(Well_Baked_Cookie) > 4) {
next;
if (select("Give Cookies and Current Cookbook:Cancel") == 1) {
cutin "orleans_6",0;
@@ -1312,7 +1312,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "Please bring me 5 Sushi,";
mes "and I'll let you borrow a";
mes "Level 3 Cookbook, okay?";
- if (countitem(551) > 4) {
+ if (countitem(Shusi) > 4) {
next;
if (select("Give Sushi and Current Cookbook:Cancel")) {
cutin "orleans_6",0;
@@ -1344,7 +1344,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "that delicious Bao? 5 would";
mes "be perfect. Then, I'll let you";
mes "borrow my Level 4 Cookbook.";
- if (countitem(553) > 4) {
+ if (countitem(Bun) > 4) {
next;
if (select("Give Bao and Current Cookbook:Cancel") == 1) {
cutin "orleans_6",0;
@@ -1378,7 +1378,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "unignorable health value. Bring";
mes "me 10 of those, and you can";
mes "borrow a Level 5 Cookbook.";
- if (countitem(711) > 9) {
+ if (countitem(Shoot) > 9) {
next;
if (select("Give Shoots and Current Cookbook:Quit") == 1) {
cutin "orleans_6",0;
@@ -1402,30 +1402,30 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
else goto L_End;
}
- if (.@old_book == 1) delitem 7472,1; //Cookbook01
- else if (.@old_book == 2) delitem 7473,1; //Cookbook02
- else if (.@old_book == 3) delitem 7474,1; //Cookbook03
- else if (.@old_book == 4) delitem 7475,1; //Cookbook04
- else if (.@old_book == 5) delitem 7476,1; //Cookbook05
+ if (.@old_book == 1) delitem Cookbook01,1;
+ else if (.@old_book == 2) delitem Cookbook02,1;
+ else if (.@old_book == 3) delitem Cookbook03,1;
+ else if (.@old_book == 4) delitem Cookbook04,1;
+ else if (.@old_book == 5) delitem Cookbook05,1;
if (.@new_book == 1) {
- delitem 535,10; //Pumpkin
- getitem 7472,1; //Cookbook01
+ delitem Pumpkin,10;
+ getitem Cookbook01,1;
}
else if (.@new_book== 2) {
- delitem 538,5; //Well_Baked_Cookie
- getitem 7473,1; //Cookbook02
+ delitem Well_Baked_Cookie,5;
+ getitem Cookbook02,1;
}
else if (.@new_book== 3) {
- delitem 551,5; //Shusi
- getitem 7474,1; //Cookbook03
+ delitem Shusi,5;
+ getitem Cookbook03,1;
}
else if (.@new_book== 4) {
- delitem 553,5; //Bun
- getitem 7475,1; //Cookbook05
+ delitem Bun,5;
+ getitem Cookbook04,1; //Cookbook05
}
else if (.@new_book== 5) {
- delitem 711,10; //Shoot
- getitem 7476,1; //Cookbook05
+ delitem Shoot,10;
+ getitem Cookbook05,1;
}
mes "[Charles Orleans]";
mes "Well, as promised,";
@@ -1701,14 +1701,14 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
mes "Please take this cookbook";
mes "with the basic Level 1 recipes.";
cooking_q = 8;
- getitem 7472,1; //Cookbook01
+ getitem Cookbook01,1;
next;
mes "[Madeleine Chu]";
mes "Once you learn all the recipes,";
mes "feel free to come back to me for more, okay? Also, you'll need";
mes "these cooking kits to practice.";
mes "You can have these for free, and you can buy more from me later~";
- getitem 12125,10; //Outdoor_Cooking_Kits
+ getitem Outdoor_Cooking_Kits,10;
close;
}
else if (cooking_q == 8) {
@@ -1749,7 +1749,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
}
case 2:
- if (countitem(12041) > 0 && countitem(12046) > 0 && countitem(12061) > 0 && countitem(12056) > 0 && countitem(12051) > 0 && countitem(12066) > 0) {
+ if (countitem(Str_Dish01) > 0 && countitem(Int_Dish01) > 0 && countitem(Dex_Dish01) > 0 && countitem(Agi_Dish01) > 0 && countitem(Vit_Dish01) > 0 && countitem(Luk_Dish01) > 0) {
mes "[Madeleine Chu]";
mes "Oh, you've made a sample";
mes "of every recipe detailed in";
@@ -1772,14 +1772,14 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
mes "them? Here, I'll wrap your";
mes "food in this handy cloth...";
next;
- delitem 12041,1; //Str_Dish01
- delitem 12046,1; //Int_Dish01
- delitem 12061,1; //Dex_Dish01
- delitem 12056,1; //Agi_Dish01
- delitem 12051,1; //Vit_Dish01
- delitem 12066,1; //Luk_Dish01
+ delitem Str_Dish01,1;
+ delitem Int_Dish01,1;
+ delitem Dex_Dish01,1;
+ delitem Agi_Dish01,1;
+ delitem Vit_Dish01,1;
+ delitem Luk_Dish01,1;
cooking_q = 9;
- getitem 12111,1; //Food_Package
+ getitem Food_Package,1;
mes "[Madeleine Chu]";
mes "There you go, it's ready";
mes "to be delivered. Now, make";
@@ -1814,7 +1814,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
close;
case 3:
- if (countitem(12041) > 0 || countitem(12046) > 0 || countitem(12061) > 0 || countitem(12056) > 0 || countitem(12051) > 0 || countitem(12066) > 0) {
+ if (countitem(Str_Dish01) > 0 || countitem(Int_Dish01) > 0 || countitem(Dex_Dish01) > 0 || countitem(Agi_Dish01) > 0 || countitem(Vit_Dish01) > 0 || countitem(Luk_Dish01) > 0) {
mes "[Madeleine Chu]";
mes "Oh, I see that you've";
mes "tried some recipes in that";
@@ -1835,7 +1835,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
}
}
else if (cooking_q == 9) {
- if (countitem(12111) > 0) {
+ if (countitem(Food_Package) > 0) {
mes "[Madeleine Chu]";
mes "Please find my friend";
mes "Chulsoo in Payon and";
@@ -1866,7 +1866,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
mes "it soon, alright? See you~";
close;
}
- if (countitem(7472) > 0) {
+ if (countitem(Cookbook01) > 0) {
mes "[Madeleine Chu]";
mes "You lost it? Oh, that's";
mes "not good. How can you ";
@@ -1874,7 +1874,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
mes "arts in that way? I'm so";
mes "very ashamed of you...";
next;
- delitem 7472,1; //Cookbook01
+ delitem Cookbook01,1;
cooking_q = 0;
mes "[Madeleine Chu]";
mes "First of all, I'd like";
@@ -1910,7 +1910,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
mes "factor in quality cuisine.";
next;
cooking_q = 11;
- getitem 12126,10; //Indoor_Cooking_Kits
+ getitem Indoor_Cooking_Kits,10;
mes "[Madeleine Chu]";
mes "Please try these Indoor";
mes "Cooking Kits to help you";
@@ -2168,7 +2168,7 @@ OnDisable:
}
payon,209,127,3 script Servant 4_M_ORIENT01,{
- if (!checkweight(555,1)) {
+ if (!checkweight(Rice_Cake,1)) {
mes "[Chulsoo]";
mes "Hold on, you're carrying";
mes "too many items with you.";
@@ -2207,7 +2207,7 @@ payon,209,127,3 script Servant 4_M_ORIENT01,{
close;
}
Zeny -= 200;
- getitem 555,1; //Rice_Cake
+ getitem Rice_Cake,1;
mes "[Chulsoo]";
mes "Thank you very";
mes "much! I hope you";
@@ -2225,7 +2225,7 @@ payon,209,127,3 script Servant 4_M_ORIENT01,{
close;
case 3:
- if (countitem(12111) > 0) {
+ if (countitem(Food_Package) > 0) {
mes "["+strcharinfo(0)+"]";
mes "Actually, Madeleine";
mes "sent me here to find";
@@ -2297,9 +2297,9 @@ payon,209,127,3 script Servant 4_M_ORIENT01,{
mes "what my old teacher was trying";
mes "to tell me. In return, please have one of my humble Rice Cakes.";
next;
- delitem 12111,1; //Food_Package
+ delitem Food_Package,1;
cooking_q = 10;
- getitem 555,1; //Rice_Cake
+ getitem Rice_Cake,1;
mes "[Chulsoo]";
mes "I better visit Prontera";
mes "again soon. It's been a long";
@@ -2378,7 +2378,7 @@ payon,209,127,3 script Servant 4_M_ORIENT01,{
close;
}
Zeny -= 200;
- getitem 555,1; //Rice_Cake
+ getitem Rice_Cake,1;
mes "[Chulsoo]";
mes "Thank you very";
mes "much! I hope you";
diff --git a/npc/quests/counteragent_mixture.txt b/npc/quests/counteragent_mixture.txt
index af13e01ab..21be15563 100644
--- a/npc/quests/counteragent_mixture.txt
+++ b/npc/quests/counteragent_mixture.txt
@@ -74,7 +74,7 @@ alberta_in,133,55,3 script Louitz#cm 4_M_02,{
mes "Heya.";
mes "What's up?";
next;
- if (countitem(971) > 0 && countitem(972) > 0) {
+ if (countitem(Detrimindexta) > 0 && countitem(Karvodailnirol) > 0) {
switch(select("Talk:Talk about the solutions.:Cancel")) {
case 1:
mes "[Merchant Louitz]";
@@ -144,7 +144,7 @@ alberta_in,133,55,3 script Louitz#cm 4_M_02,{
close;
}
}
- if (countitem(972) > 0) {
+ if (countitem(Karvodailnirol) > 0) {
switch(select("Talk:Talk about Karvodailnirol:Cancel")) {
case 1:
mes "[Merchant Louitz]";
@@ -214,7 +214,7 @@ alberta_in,133,55,3 script Louitz#cm 4_M_02,{
close;
}
}
- if (countitem(971) > 0) {
+ if (countitem(Detrimindexta) > 0) {
switch(select("Talk:Talk about Detrimindexta:Cancel")) {
case 1:
mes "[Merchant Louitz]";
@@ -416,7 +416,7 @@ geffen,181,114,3 script Aure Dupon#cm 4_KID01,{
}
geffen_in,141,140,3 script Molgenstein#cm 2_M_MOLGENSTEIN,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -474,7 +474,7 @@ geffen_in,141,140,3 script Molgenstein#cm 2_M_MOLGENSTEIN,{
mes "Oh, I just can't wait to make this! Are you ready to begin?";
next;
if (select("Make:Cancel") == 1) {
- if (countitem(970) == 0 || countitem(971) == 0 || countitem(713) == 0 || Zeny < 3000) {
+ if (countitem(Alchol) == 0 || countitem(Detrimindexta) == 0 || countitem(Empty_Bottle) == 0 || Zeny < 3000) {
mes "[Chemist Molgenstein]";
mes "Heuheuheuheuh.... not enough... not enough.. Haah...Haah... Go..... get the rest of the materials!";
mes "We'll postpone the fun until then... Heuheuheuheuheuh.";
@@ -484,16 +484,16 @@ geffen_in,141,140,3 script Molgenstein#cm 2_M_MOLGENSTEIN,{
mes "Ooooooooh...... heeheeheeheehee...... yes... like that...... yes... more... more........ heeheeheehee.";
mes ".... Aaah.... ahah... ha....ahahooooooooohoh!";
next;
- if (countitem(970) < 1 || countitem(971) < 1 || countitem(713) < 1) {
+ if (countitem(Alchol) < 1 || countitem(Detrimindexta) < 1 || countitem(Empty_Bottle) < 1) {
mes "[Chemist Molgenstein]";
mes "Hohohoho.... not enough... not enough... haah...haah... go..... go get the rest of the materials!!";
close;
}
- delitem 970,1; //Alchol
- delitem 971,1; //Detrimindexta
- delitem 713,1; //Empty_Bottle
+ delitem Alchol,1;
+ delitem Detrimindexta,1;
+ delitem Empty_Bottle,1;
Zeny -= 3000;
- getitem 973,1; //Counteragent
+ getitem Counteragent,1;
mes "[Chemist Molgenstein]";
mes "Hee hee hee...";
mes "Haaaaah......";
@@ -518,7 +518,7 @@ geffen_in,141,140,3 script Molgenstein#cm 2_M_MOLGENSTEIN,{
mes "Oh, I just can't wait to make this! Are you ready to begin?";
next;
if (select("Make:Cancel") == 1) {
- if (countitem(970) == 0 || countitem(972) == 0 || countitem(713) == 0 || Zeny < 4000) {
+ if (countitem(Alchol) == 0 || countitem(Karvodailnirol) == 0 || countitem(Empty_Bottle) == 0 || Zeny < 4000) {
mes "[Chemist Molgenstein]";
mes "Hohohoho.... not enough... not enough... haah...haah... go..... go get the rest of the materials!!";
mes "We'll have to postpone the fun for later... Hehehehe";
@@ -528,16 +528,16 @@ geffen_in,141,140,3 script Molgenstein#cm 2_M_MOLGENSTEIN,{
mes "Ooooooooh... heehee...... yes... like that...... yes... more... more........ heeheeheehee";
mes ".... Aaah.... ahah... ha....ahah...oooooooooooooooooh!!!...!!!!!!";
next;
- if (countitem(970) < 1 || countitem(972) < 1 || countitem(713) < 1) {
+ if (countitem(Alchol) < 1 || countitem(Karvodailnirol) < 1 || countitem(Empty_Bottle) < 1) {
mes "[Chemist Molgenstein]";
mes "Hohohoho.... not enough... not enough... haah...haah... go..... go get the rest of the materials!!";
close;
}
- delitem 970,1; //Alchol
- delitem 972,1; //Karvodailnirol
- delitem 713,1; //Empty_Bottle
+ delitem Alchol,1;
+ delitem Karvodailnirol,1;
+ delitem Empty_Bottle,1;
Zeny -= 4000;
- getitem 974,1; //Mixture
+ getitem Mixture,1;
mes "[Chemist Molgenstein]";
mes "Hee hee hee...";
mes "Haaaaah......";
diff --git a/npc/quests/dandelion_request.txt b/npc/quests/dandelion_request.txt
index 267309fb1..32bf2f407 100644
--- a/npc/quests/dandelion_request.txt
+++ b/npc/quests/dandelion_request.txt
@@ -35,7 +35,7 @@
izlude,103,106,3 script Guildsman#1 1_M_02,3,3,{
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -298,7 +298,7 @@ izlude,103,106,3 script Guildsman#1 1_M_02,3,3,{
}
OnTouch:
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -465,7 +465,7 @@ OnTouch:
prontera,237,313,3 script Nun#moc 1_F_PRIEST,3,3,{
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -596,7 +596,7 @@ prontera,237,313,3 script Nun#moc 1_F_PRIEST,3,3,{
}
OnTouch:
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -660,7 +660,7 @@ OnTouch:
alberta,129,59,3 script Guildsman#2 1_M_03,3,3,{
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -1016,7 +1016,7 @@ alberta,129,59,3 script Guildsman#2 1_M_03,3,3,{
}
OnTouch:
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -1195,7 +1195,7 @@ OnTouch:
geffen,123,109,3 script Academy Staff 2_M_SAGE_B,3,3,{
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -1300,7 +1300,7 @@ geffen,123,109,3 script Academy Staff 2_M_SAGE_B,3,3,{
}
OnTouch:
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -1355,7 +1355,7 @@ OnTouch:
morocc,155,56,3 script Miya 4_F_04,3,3,{
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -1546,7 +1546,7 @@ morocc,155,56,3 script Miya 4_F_04,3,3,{
}
OnTouch:
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -1644,7 +1644,7 @@ OnTouch:
payon,231,323,3 script Guildsman#3 1_M_ORIENT01,3,3,{
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -1936,7 +1936,7 @@ payon,231,323,3 script Guildsman#3 1_M_ORIENT01,3,3,{
}
OnTouch:
- if(checkweight(7416,1) != 1)
+ if(checkweight(Letter_Of_Recommend,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -2143,7 +2143,7 @@ morocc,43,108,5 script Sharp-Looking Kid 4_KID01,{
close;
}
}
- if(mao_request == 1 && countitem(7416))
+ if(mao_request == 1 && countitem(Letter_Of_Recommend))
{
mes "[Jack]";
mes "Oh, hey, you must be the";
@@ -2408,7 +2408,7 @@ que_job01,81,79,5 script Idle Knight 4_M_JOB_KNIGHT1,{
que_job01,82,95,3 script Bar Master 1_ETC_01,{
- if(checkweight(12112,1) != 1)
+ if(checkweight(Tropical_Sograt,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -2460,7 +2460,7 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{
case 1:
.@maodrink = 1;
case 2:
- if(checkweight(12112,1) != 1)
+ if(checkweight(Tropical_Sograt,1) != 1)
{
mes "[Master]";
mes "Hey, why did you bring";
@@ -2553,7 +2553,7 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{
case 1:
break;
}
- if (countitem(7416))
+ if (countitem(Letter_Of_Recommend))
{
mes "[Master]";
mes "Ah, I see you that you";
@@ -3023,7 +3023,7 @@ OnTouch:
que_job01,16,21,5 script Valdes#1 1_M_JOBTESTER,{
- if(checkweight(7417,1) != 1)
+ if(checkweight(Mission_ScrollA,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -3282,8 +3282,8 @@ que_job01,16,21,5 script Valdes#1 1_M_JOBTESTER,{
mes "It's just... It's just not in";
mes "our vocabulary, you see?";
}
- delitem 7416,countitem(7416);
- delitem 7417,countitem(7417);
+ delitem 7416,countitem(Letter_Of_Recommend);
+ delitem 7417,countitem(Mission_ScrollA);
if(mao_request == 28) getexp 1050000,0;
else if(mao_request == 29) getexp 1280000,0;
mao_request = 30;
@@ -3423,8 +3423,8 @@ que_job01,16,21,5 script Valdes#1 1_M_JOBTESTER,{
mes "the Assassin Guild for";
mes "your efforts and hard work.";
}
- delitem 7416,countitem(7416);
- delitem 7418,countitem(7418);
+ delitem 7416,countitem(Letter_Of_Recommend);
+ delitem 7418,countitem(Mission_ScrollB);
if(mao_request == 126) getexp 1050000,0;
else if(mao_request == 127) getexp 1280000,0;
mao_request = 128;
@@ -5550,7 +5550,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
que_job01,89,85,5 script Dandelion Member 4_M_MASKMAN,{
- if(checkweight(12112,1) != 1)
+ if(checkweight(Tropical_Sograt,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -6692,7 +6692,7 @@ moc_fild10,281,148,1 script Upturned Spot#water HIDDEN_NPC,{
mes "^3355FFYou find a gleaming";
mes "crest that looks like a";
mes "splashing wave of water.^000000";
- if(countitem(996))
+ if(countitem(Rough_Wind))
{
mes "^3355FFYou take out a Rough Wind";
mes "to counter the crest's power.^000000";
@@ -6744,7 +6744,7 @@ moc_fild10,281,148,1 script Upturned Spot#water HIDDEN_NPC,{
mes "crest that looks like a";
mes "splashing wave of water.^000000";
cutin "mocseal_ice02.bmp",2;
- if (countitem(995))
+ if (countitem(Mistic_Frozen))
{
mes "^3355FFYou bring out a Mystic Frozen";
mes "to enhance the crest's power.^000000";
@@ -6824,7 +6824,7 @@ moc_fild19,21,33,1 script Unturned Spot#wind HIDDEN_NPC,{
}
else if(mao_request == 12)
{
- if(countitem(997))
+ if(countitem(Great_Nature))
{
cutin "mocseal_wind01.bmp",2;
mes "^3355FFYou find a shining crest";
@@ -6943,7 +6943,7 @@ moc_fild19,21,33,1 script Unturned Spot#wind HIDDEN_NPC,{
}
else if(mao_request == 111)
{
- if (countitem(996))
+ if (countitem(Rough_Wind))
{
cutin "mocseal_wind02.bmp",2;
mes "[" + strcharinfo(0) + "]";
@@ -6999,7 +6999,7 @@ moc_fild12,280,36,1 script Unturned Spot#earth HIDDEN_NPC,{
if (mao_request == 13)
{
- if (countitem(994))
+ if (countitem(Flame_Heart))
{
mes "^3355FFYou find a shimmering";
mes "crest that symbolizes";
@@ -7070,7 +7070,7 @@ moc_fild12,280,36,1 script Unturned Spot#earth HIDDEN_NPC,{
mes "stone to enhance its power.^000000";
cutin "mocseal_earth02.bmp",2;
next;
- if (countitem(997))
+ if (countitem(Great_Nature))
{
mes "^3355FFYou pull out a";
mes "Great Nature, which";
@@ -7114,7 +7114,7 @@ moc_fild07,192,166,1 script Unturned Spot#fire HIDDEN_NPC,{
if (mao_request == 15)
{
- if(countitem(995))
+ if(countitem(Mistic_Frozen))
{
mes "^3355FFYou find a gleaming";
mes "crest that symbolizes Fire.^000000";
@@ -7174,7 +7174,7 @@ moc_fild07,192,166,1 script Unturned Spot#fire HIDDEN_NPC,{
cutin "mocseal_fire02.bmp",2;
mes "^3355FFYou find a gleaming";
mes "crest that symbolizes Fire.";
- if (countitem(994))
+ if (countitem(Flame_Heart))
{
mes "You'll need a Flame Heart";
mes "in order to enhance its power.^000000";
diff --git a/npc/quests/doomed_swords.txt b/npc/quests/doomed_swords.txt
index 74d45d602..692a0dd90 100644
--- a/npc/quests/doomed_swords.txt
+++ b/npc/quests/doomed_swords.txt
@@ -273,7 +273,7 @@ izlude_in,173,88,2 script Nain#magum 8_F,{
}
pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Mysterious Man]";
mes "Hold it.";
mes "You're carrying";
@@ -714,7 +714,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "everything I need to";
mes "create this sword...";
next;
- if (countitem(7018) < 1) {
+ if (countitem(Young_Twig) < 1) {
mes "[Mysterious Blacksmith]";
mes "Well, well.";
mes "You've forgotten";
@@ -723,7 +723,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "Mysteltainn twig used to kill Baldur. Hurry and bring it...";
close;
}
- if (countitem(7019) < 1) {
+ if (countitem(Loki's_Whispers) < 1) {
mes "[Mysterious Blacksmith]";
mes "Hm. You forgot to bring";
mes "^0099FF1 Loki's Whispers^000000. We need";
@@ -732,7 +732,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "find that as quickly as you can! ";
close;
}
- if (countitem(7020) < 1) {
+ if (countitem(Mother's_Nightmare) < 1) {
mes "[Mysterious Blacksmith]";
mes "Hm, you still need to";
mes "bring ^0099FF1 Mother's Nightmare^000000";
@@ -740,7 +740,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "and grave portent to this blade... ";
close;
}
- if (countitem(7021) < 1) {
+ if (countitem(Foolishness_Of_Blind) < 1) {
mes "[Mysterious Blacksmith]";
mes "Hm, you still need to";
mes "bring ^0099FF1 Foolishness";
@@ -749,7 +749,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "the curse imbued into the blade... ";
close;
}
- if (countitem(714) < 1) {
+ if (countitem(Emperium) < 1) {
mes "[Mysterious Blacksmith]";
mes "You have everything";
mes "I require to forge the";
@@ -758,7 +758,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "of wielding it. Bring ^0099FF1 Emperium^000000 and I will recognize your worth.";
close;
}
- if (countitem(7018) > 0 && countitem(7019) > 0 && countitem(7020) > 0 && countitem(7021) > 0 && countitem(714) > 0) {
+ if (countitem(Young_Twig) > 0 && countitem(Loki's_Whispers) > 0 && countitem(Mother's_Nightmare) > 0 && countitem(Foolishness_Of_Blind) > 0 && countitem(Emperium) > 0) {
mes "[Mysterious Blacksmith]";
mes "Well done, adventurer.";
mes "All seems to be in readiness.";
@@ -772,12 +772,12 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "sword again. Take it,";
mes "quickly! I d-don't want";
mes "to touch it if I can avoid it.";
- delitem 7018,1; //Young_Twig
- delitem 7019,1; //Loki's_Whispers
- delitem 7020,1; //Mother's_Nightmare
- delitem 7021,1; //Foolishness_Of_Blind
- delitem 714,1; //Emperium
- getitem 1138,1; //Mysteltainn_
+ delitem Young_Twig,1;
+ delitem Loki's_Whispers,1;
+ delitem Mother's_Nightmare,1;
+ delitem Foolishness_Of_Blind,1;
+ delitem Emperium,1;
+ getitem Mysteltainn_,1;
next;
mes "[Mysterious Blacksmith]";
mes "Be very careful.";
@@ -913,7 +913,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "if you brought all";
mes "the items I require.";
next;
- if (countitem(7002) < 100) {
+ if (countitem(Ogre_Tooth) < 100) {
mes "[Mysterious Blacksmith]";
mes "Hm. I still need";
mes "^0099FF100 Ogre Teeth^000000 to";
@@ -923,7 +923,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "Go and bring them soon.";
close;
}
- if (countitem(724) < 5) {
+ if (countitem(Cardinal_Jewel_) < 5) {
mes "[Mysterious Blacksmith]";
mes "In order to place";
mes "the curse that grants";
@@ -933,7 +933,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "and bring them to me soon.";
close;
}
- if (countitem(7023) < 10) {
+ if (countitem(Blade_Lost_In_Darkness) < 10) {
mes "[Mysterious Blacksmith]";
mes "Hm. I still need";
mes "^0099FF10 Blades of Darkness^000000";
@@ -942,7 +942,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "here as soon as you can.";
close;
}
- if (countitem(7022) < 1) {
+ if (countitem(Old_Hilt) < 1) {
mes "[Mysterious Blacksmith]";
mes "Hm. You almost have";
mes "everything ready, but";
@@ -952,7 +952,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "bring me one of those...";
close;
}
- if (countitem(714) < 1) {
+ if (countitem(Emperium) < 1) {
mes "[Mysterious Blacksmith]";
mes "You have everything I need";
mes "to create the sword, but I won't forge it until you prove that you";
@@ -961,7 +961,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "as proof of your worthiness.";
close;
}
- if (countitem(7002) > 99 && countitem(724) > 4 && countitem(7023) > 9 && countitem(7022) > 0 && countitem(714) > 0) {
+ if (countitem(Ogre_Tooth) > 99 && countitem(Cardinal_Jewel_) > 4 && countitem(Blade_Lost_In_Darkness) > 9 && countitem(Old_Hilt) > 0 && countitem(Emperium) > 0) {
mes "[Mysterious Blacksmith]";
mes "I see that you have";
mes "come fully prepared.";
@@ -977,12 +977,12 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "the Grimtooth longer than";
mes "I have to! You'll understand";
mes "soon enough once you use it...";
- delitem 7002,100; //Ogre_Tooth
- delitem 724,5; //Cardinal_Jewel_
- delitem 7023,10; //Blade_Lost_In_Darkness
- delitem 7022,1; //Old_Hilt
- delitem 714,1; //Emperium
- getitem 1237,1; //Grimtooth_
+ delitem Ogre_Tooth,100;
+ delitem Cardinal_Jewel_,5;
+ delitem Blade_Lost_In_Darkness,10;
+ delitem Old_Hilt,1;
+ delitem Emperium,1;
+ getitem Grimtooth_,1;
next;
mes "[Mysterious Blacksmith]";
mes "I know that you might";
@@ -1058,7 +1058,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "prepared to wield that blade";
mes "with your own two hands...";
next;
- if (countitem(7017) < 2) {
+ if (countitem(Executioner's_Mitten) < 2) {
mes "[Mysterious Blacksmith]";
mes "Hm. In order for me";
mes "to forge the Executioner,";
@@ -1066,7 +1066,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "^0099FF2 Executioner's Gloves^000000.";
close;
}
- if (countitem(7024) < 10) {
+ if (countitem(Bloody_Edge) < 10) {
mes "[Mysterious Blacksmith]";
mes "In order to craft the";
mes "blade, I need at least";
@@ -1075,7 +1075,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "can and bring them to me.";
close;
}
- if (countitem(1008) < 3) {
+ if (countitem(Frozen_Heart) < 3) {
mes "[Mysterious Blacksmith]";
mes "In order to enchant";
mes "the Executioner with";
@@ -1085,7 +1085,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "Go, hurry and get them!";
close;
}
- if (countitem(609) < 50) {
+ if (countitem(Amulet) < 50) {
mes "[Mysterious Blacksmith]";
mes "Hm. You've forgotten to";
mes "bring me ^0099FF50 Amulets^000000. I need";
@@ -1095,7 +1095,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "monstrous strength...";
close;
}
- if (countitem(714) < 1) {
+ if (countitem(Emperium) < 1) {
mes "[Mysterious Blacksmith]";
mes "You have everything I need";
mes "to forge the Executioner, but";
@@ -1105,7 +1105,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "if you bring ^0099FF1 Emperium^000000.";
close;
}
- if (countitem(7017) > 1 && countitem(7024) > 9 && countitem(1008) > 2 && countitem(609) > 49 && countitem(714) > 0) {
+ if (countitem(Executioner's_Mitten) > 1 && countitem(Bloody_Edge) > 9 && countitem(Frozen_Heart) > 2 && countitem(Amulet) > 49 && countitem(Emperium) > 0) {
mes "[Mysterious Blacksmith]";
mes "Great, I see that you've";
mes "prepared everything that";
@@ -1120,11 +1120,11 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "terrifying sword. Now";
mes "take it! Be wary, and don't";
mes "let its bloodlust consume you!";
- delitem 7017,2; //Executioner's_Mitten
- delitem 7024,10; //Bloody_Edge
- delitem 1008,3; //Frozen_Heart
- delitem 609,50; //Amulet
- getitem 1169,1; //Executioner_
+ delitem Executioner's_Mitten,2;
+ delitem Bloody_Edge,10;
+ delitem Frozen_Heart,3;
+ delitem Amulet,50;
+ getitem Executioner_,1;
close;
}
}
diff --git a/npc/quests/doomed_swords_quest.txt b/npc/quests/doomed_swords_quest.txt
index 500730484..38611acd8 100644
--- a/npc/quests/doomed_swords_quest.txt
+++ b/npc/quests/doomed_swords_quest.txt
@@ -161,7 +161,7 @@ mjolnir_02,186,193,4 script Middle-Aged Man#magum1 1_M_LIBRARYMASTER,{
close;
}
else if (dmdswrd_Q == 33) {
- if (countitem(714) > 0 && countitem(962) > 2 && countitem(1003) > 0 && countitem(609) > 24 && countitem(1008) > 0) {
+ if (countitem(Emperium) > 0 && countitem(Tentacle) > 2 && countitem(Coal) > 0 && countitem(Amulet) > 24 && countitem(Frozen_Heart) > 0) {
mes "[Walker]";
mes "Ah, very good.";
mes "You've brought";
@@ -169,11 +169,11 @@ mjolnir_02,186,193,4 script Middle-Aged Man#magum1 1_M_LIBRARYMASTER,{
mes "Now, please wait for";
mes "a moment while I finish";
mes "the preparations...";
- delitem 714,1; //Emperium
- delitem 962,3; //Tentacle
- delitem 1003,1; //Coal
- delitem 609,25; //Amulet
- delitem 1008,1; //Frozen_Heart
+ delitem Emperium,1;
+ delitem Tentacle,3;
+ delitem Coal,1;
+ delitem Amulet,25;
+ delitem Frozen_Heart,1;
dmdswrd_Q = 34;
close;
}
@@ -417,7 +417,7 @@ payon,248,159,1 script Old Man#magum1 2_M_PHARMACIST,{
close;
}
else if (dmdswrd_Q == 36) {
- if (countitem(503) > 19) {
+ if (countitem(Yellow_Potion) > 19) {
mes "[Old Man]";
mes "Oh, thank goodness you've";
mes "brought me the potions! Now,";
@@ -452,7 +452,7 @@ payon,248,159,1 script Old Man#magum1 2_M_PHARMACIST,{
mes "continue forming the doomed";
mes "sword pentagram. I'll just be";
mes "waiting for you right here.";
- delitem 503,20; //Yellow_Potion
+ delitem Yellow_Potion,20;
dmdswrd_Q = 37;
close;
}
@@ -465,7 +465,7 @@ payon,248,159,1 script Old Man#magum1 2_M_PHARMACIST,{
close;
}
else if (dmdswrd_Q == 37) {
- if (countitem(7022) > 2 && countitem(1003) > 0 && countitem(1019) > 2 && countitem(7021) > 0 && countitem(7002) > 49) {
+ if (countitem(Old_Hilt) > 2 && countitem(Coal) > 0 && countitem(Wooden_Block) > 2 && countitem(Foolishness_Of_Blind) > 0 && countitem(Ogre_Tooth) > 49) {
mes "[Morf]";
mes "Hey, you've brought";
mes "everything? Good, the";
@@ -574,11 +574,11 @@ payon,248,159,1 script Old Man#magum1 2_M_PHARMACIST,{
mes "Just...";
mes "Just give me a";
mes "few more minutes...";
- delitem 7022,3; //Old_Hilt
- delitem 1003,1; //Coal
- delitem 1019,3; //Wooden_Block
- delitem 7021,1; //Foolishness_Of_Blind
- delitem 7002,50; //Ogre_Tooth
+ delitem Old_Hilt,3;
+ delitem Coal,1;
+ delitem Wooden_Block,3;
+ delitem Foolishness_Of_Blind,1;
+ delitem Ogre_Tooth,50;
dmdswrd_Q = 38;
close;
}
@@ -896,7 +896,7 @@ morocc,248,159,4 script Young Man#magum1 4_M_04,{
close;
}
else if (dmdswrd_Q == 40) {
- if (countitem(7024) == 9 && countitem(7023) == 6 && countitem(723) == 9 && countitem(7019) == 1) {
+ if (countitem(Bloody_Edge) == 9 && countitem(Blade_Lost_In_Darkness) == 6 && countitem(Cardinal_Jewel) == 9 && countitem(Loki's_Whispers) == 1) {
mes "[Huey]";
mes "Oh, you're back. Did";
mes "you bring everything";
@@ -911,10 +911,10 @@ morocc,248,159,4 script Young Man#magum1 4_M_04,{
mes "time, but trust me, we're";
mes "almost done. All your hard";
mes "work will pay off soon~";
- delitem 7024,9; //Bloody_Edge
- delitem 7023,6; //Blade_Lost_In_Darkness
- delitem 723,9; //Cardinal_Jewel
- delitem 7019,1; //Loki's_Whispers
+ delitem Bloody_Edge,9;
+ delitem Blade_Lost_In_Darkness,6;
+ delitem Cardinal_Jewel,9;
+ delitem Loki's_Whispers,1;
dmdswrd_Q = 41;
close;
}
@@ -997,33 +997,33 @@ morocc,248,159,4 script Young Man#magum1 4_M_04,{
.@random = rand(1,10);
if (.@random >= 1 && .@random <= 5) {
callsub S_GetSword,1237,0,1,42;
- getitem 1237,1; //Grimtooth_
+ getitem Grimtooth_,1;
close;
}
else if (.@random >= 6 && .@random <= 8) {
callsub S_GetSword,1138,1,1,43;
- getitem 1138,1; //Mysteltainn_
+ getitem Mysteltainn_,1;
close;
}
else {
callsub S_GetSword,1169,2,1,44;
- getitem 1169,1; //Executioner_
+ getitem Executioner_,1;
close;
}
}
else if (dmdswrd_Q == 42) {
callsub S_GetSword,1237,0,0,0;
- getitem 1237,1; //Grimtooth_
+ getitem Grimtooth_,1;
close;
}
else if (dmdswrd_Q == 43) {
callsub S_GetSword,1138,1,0,0;
- getitem 1138,1; //Mysteltainn_
+ getitem Mysteltainn_,1;
close;
}
else if (dmdswrd_Q == 44) {
callsub S_GetSword,1169,2,0,0;
- getitem 1169,1; //Executioner_
+ getitem Executioner_,1;
close;
}
else if (dmdswrd_Q == 45) {
diff --git a/npc/quests/eye_of_hellion.txt b/npc/quests/eye_of_hellion.txt
index 63f284039..52fb40ef2 100644
--- a/npc/quests/eye_of_hellion.txt
+++ b/npc/quests/eye_of_hellion.txt
@@ -42,7 +42,7 @@
//=========================================================================
morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFHold it right there!";
mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
close;
@@ -343,7 +343,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
close;
}
else if (HELLIONQ == 57) {
- if (countitem(7333) > 0 && countitem(7334) > 0) {
+ if (countitem(Piece_Of_Slate_1) > 0 && countitem(Piece_Of_Slate_2) > 0) {
mes "[Sir Chilias'Tyus]";
mes "While you were gone,";
mes "I felt a little bad that you";
@@ -377,7 +377,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "greatest wish and forever";
mes "seal away the Hellion's gem.";
HELLIONQ = 58;
- getitem 7335,1; //Piece_Of_Slate_3
+ getitem Piece_Of_Slate_3,1;
next;
mes "[Sir Chilias'Tyus]";
mes "When you get to Geffen,";
@@ -408,7 +408,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
close;
}
else if (HELLIONQ == 66) {
- if (countitem(7333) > 0 && countitem(7334) > 0 && countitem(7335) > 0 && countitem(7336) > 0) {
+ if (countitem(Piece_Of_Slate_1) > 0 && countitem(Piece_Of_Slate_2) > 0 && countitem(Piece_Of_Slate_3) > 0 && countitem(Piece_Of_Slate_4) > 0) {
mes "[Sir Chilias'Tyus]";
mes "You have all four";
mes "pieces of the tablet?";
@@ -449,7 +449,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
close;
}
else if (HELLIONQ == 68) {
- if (countitem(7332) > 0 && countitem(7337) > 0) {
+ if (countitem(Slate) > 0 && countitem(Eye_Of_Hellion) > 0) {
mes "[Sir Chilias'Tyus]";
mes "At long last. We have";
mes "everything. The Tablet";
@@ -560,11 +560,11 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "in check. I trust that you will";
mes "keep its secret and protect it";
mes "from those motivated by greed.";
- delitem 7332,1; //Slate
- delitem 7337,countitem(7337); //Eye_Of_Hellion
+ delitem Slate,1;
+ delitem Eye_Of_Hellion,countitem(Eye_Of_Hellion);
HELLIONQ = 69;
- getitem 2658,1; //Nile_Rose_
- getitem 603,1; //Old_Blue_Box
+ getitem Nile_Rose_,1;
+ getitem Old_Blue_Box,1;
getexp RENEWAL_EXP?120000:1200000,0;
next;
mes "[Sir Chilias'Tyus]";
@@ -583,7 +583,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "through its strange powers.^000000";
close;
}
- else if (countitem(7332) > 0) {
+ else if (countitem(Slate) > 0) {
mes "[Sir Chilias'Tyus]";
mes "At long last. We have";
mes "everything. The Tablet";
@@ -629,9 +629,9 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "in check. I trust that you will";
mes "keep its secret and protect it";
mes "from those motivated by greed.";
- delitem 7332,1; //Slate
+ delitem Slate,1;
HELLIONQ = 70;
- getitem 2658,1; //Nile_Rose_
+ getitem Nile_Rose_,1;
getexp RENEWAL_EXP?100000:1000000,0;
next;
mes "[Sir Chilias'Tyus]";
@@ -651,7 +651,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
close;
}
else if (HELLIONQ > 68 && HELLIONQ < 71) {
- if (countitem(7337) > 0) {
+ if (countitem(Eye_Of_Hellion) > 0) {
mes "[Sir Chilias'Tyus]";
mes "Long time no see. So, are you doing well to keep the promise with me?";
mes "Please handle it with care";
@@ -661,7 +661,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "You still have the Hellion's Eye.";
mes "I can see the pain in your eyes.";
mes "Let me lighten your burden. It will be better this way.";
- delitem 7337,countitem(7337); //Eye_Of_Hellion
+ delitem Eye_Of_Hellion,countitem(Eye_Of_Hellion);
next;
mes "[Sir Chilias'Tyus]";
mes "May God bless you.";
@@ -678,7 +678,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
close;
OnTouch:
- if (HELLIONQ == 57 && countitem(7334) > 0) {
+ if (HELLIONQ == 57 && countitem(Piece_Of_Slate_2) > 0) {
specialeffect2 EF_HEAL2;
specialeffect EF_HEAL2;
mes "^3355FFOne of the Tablet Pieces";
@@ -691,7 +691,7 @@ OnTouch:
}
prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFHold it right there!";
mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
close;
@@ -871,7 +871,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "And give this to the old guy";
mes "to prove I found it, will you?";
HELLIONQ = 41;
- getitem 7093,1; //Wheel
+ getitem Wheel,1;
next;
mes "[Clanux Heffron]";
mes "That's all I know.";
@@ -903,7 +903,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "to me and let me know!";
mes "That's an order, got it?";
HELLIONQ = 41;
- getitem 7093,1; //Wheel
+ getitem Wheel,1;
close;
}
else if (HELLIONQ == 41) {
@@ -943,7 +943,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "that clue, the sooner I'll";
mes "get that Hellion's gem.";
HELLIONQ = 43;
- getitem 7093,1; //Wheel
+ getitem Wheel,1;
close;
}
else if (HELLIONQ == 43) {
@@ -1172,7 +1172,7 @@ OnTouch:
}
prt_in,128,79,0 script Unknown Machine#prt_key HIDDEN_NPC,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFHold it right there!";
mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
close;
@@ -1185,7 +1185,7 @@ prt_in,128,79,0 script Unknown Machine#prt_key HIDDEN_NPC,{
mes "cogwheel that you have";
mes "would fit perfectly in it...^000000";
next;
- if (countitem(7093) > 0) {
+ if (countitem(Wheel) > 0) {
if (select("Insert Cogwheel.:Ignore it.") == 1) {
mes "[" + strcharinfo(0) + "]";
mes "I just know this";
@@ -1201,7 +1201,7 @@ prt_in,128,79,0 script Unknown Machine#prt_key HIDDEN_NPC,{
mes "turned, the device hums";
mes "to life and a panel opens,";
mes "revealing a numeric keypad.^000000";
- delitem 7093,1; //Wheel
+ delitem Wheel,1;
HELLIONQ = 44;
next;
mes "[" + strcharinfo(0) + "]";
@@ -1235,7 +1235,7 @@ prt_in,128,79,0 script Unknown Machine#prt_key HIDDEN_NPC,{
mes "and confirm that this was";
mes "made by his grandfather...^000000";
HELLIONQ = 45;
- getitem 7333,1; //Piece_Of_Slate_1
+ getitem Piece_Of_Slate_1,1;
close;
}
mes "The machine responds to";
@@ -1286,7 +1286,7 @@ prt_in,128,79,0 script Unknown Machine#prt_key HIDDEN_NPC,{
mes "and confirm that this was";
mes "made by his grandfather...^000000";
HELLIONQ = 45;
- getitem 7333,1; //Piece_Of_Slate_1
+ getitem Piece_Of_Slate_1,1;
close;
}
mes "[" + strcharinfo(0) + "]";
@@ -1303,7 +1303,7 @@ prt_in,128,79,0 script Unknown Machine#prt_key HIDDEN_NPC,{
}
payon,182,132,3 script Grout'he Tuccok#hellion 1_M_02,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFHold it right there!";
mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
close;
@@ -1391,10 +1391,10 @@ payon,182,132,3 script Grout'he Tuccok#hellion 1_M_02,{
mes "I guess you can ask me later~";
Zeny -= 10000;
HELLIONQ = 48;
- getitem 953,1; //Stone_Heart
- getitem 511,1; //Green_Herb
- getitem 533,1; //Grape_Juice
- getitem 1049,1; //Skirt_Of_Virgin
+ getitem Stone_Heart,1;
+ getitem Green_Herb,1;
+ getitem Grape_Juice,1;
+ getitem Skirt_Of_Virgin,1;
close;
}
mes "[Grout'he]";
@@ -1731,7 +1731,7 @@ payon,159,129,3 script Wooden Floor#paypuzz5 HIDDEN_NPC,{
mes "can I do about all of";
mes "this nasty dirt in the air?";
next;
- if (countitem(953) > 0 && countitem(533) > 0 && countitem(511) > 0 && countitem(1049) > 0) {
+ if (countitem(Stone_Heart) > 0 && countitem(Grape_Juice) > 0 && countitem(Green_Herb) > 0 && countitem(Skirt_Of_Virgin) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "Well, there are all these";
mes "clues Grout'he found. It sucks,";
@@ -1760,10 +1760,10 @@ payon,159,129,3 script Wooden Floor#paypuzz5 HIDDEN_NPC,{
mes "it. Fortunately, the juice from";
mes "the Green Herb makes the";
mes "engraving appear more clearly.^000000";
- delitem 953,1; //Stone_Heart
- delitem 511,1; //Green_Herb
- delitem 533,1; //Grape_Juice
- delitem 1049,1; //Skirt_Of_Virgin
+ delitem Stone_Heart,1;
+ delitem Green_Herb,1;
+ delitem Grape_Juice,1;
+ delitem Skirt_Of_Virgin,1;
HELLIONQ = 54;
next;
mes "[Stone Engraving]";
@@ -1809,7 +1809,7 @@ payon,159,129,3 script Wooden Floor#paypuzz5 HIDDEN_NPC,{
}
pay_arche,142,28,0 script Buddha Statue#paypuzz6 HIDDEN_NPC,5,5,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFHold it right there!";
mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
close;
@@ -1880,7 +1880,7 @@ pay_arche,142,28,0 script Buddha Statue#paypuzz6 HIDDEN_NPC,5,5,{
mes "tablet that will lead you";
mes "to the Hellion's gem.";
HELLIONQ = 57;
- getitem 7334,1; //Piece_Of_Slate_2
+ getitem Piece_Of_Slate_2,1;
close;
case 4:
mes "[Echoing Voice]";
@@ -1895,7 +1895,7 @@ pay_arche,142,28,0 script Buddha Statue#paypuzz6 HIDDEN_NPC,5,5,{
}
OnTouch:
- if (HELLIONQ == 56 && countitem(7333) > 0) {
+ if (HELLIONQ == 56 && countitem(Piece_Of_Slate_1) > 0) {
specialeffect2 EF_HEAL2;
specialeffect EF_HEAL2;
mes "^3355FFThe piece of tablet";
@@ -1908,7 +1908,7 @@ OnTouch:
}
geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFHold it right there!";
mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
close;
@@ -1999,7 +1999,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
close;
}
else if (HELLIONQ == 61) {
- if (countitem(504) > 0) {
+ if (countitem(White_Potion) > 0) {
mes "[Welshyun]";
mes "Oh, a White Potion?";
mes "Yes, may I please have";
@@ -2028,7 +2028,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
mes "please remember that.";
mes "Ah, and my student's";
mes "name is Enoz.";
- delitem 504,1; //White_Potion
+ delitem White_Potion,1;
HELLIONQ = 62;
close;
}
@@ -2091,7 +2091,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
close;
}
else if (HELLIONQ == 65) {
- if (countitem(717) > 0) {
+ if (countitem(Blue_Gemstone) > 0) {
mes "[Welshyun]";
mes "Thank you. You've";
mes "brought the book to Enoz";
@@ -2115,9 +2115,9 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
mes "you are brave. As promised,";
mes "you may have this piece of";
mes "the tablet, which I've already found. The clues were too simple...";
- delitem 717,1; //Blue_Gemstone
+ delitem Blue_Gemstone,1;
HELLIONQ = 66;
- getitem 7336,1; //Piece_Of_Slate_4
+ getitem Piece_Of_Slate_4,1;
next;
mes "[Welshyun]";
mes "Please send my regards";
@@ -2154,7 +2154,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
close;
}
else if (HELLIONQ == 67) {
- if (countitem(7333) > 0 && countitem(7334) > 0 && countitem(7335) > 0 && countitem(7336) > 0) {
+ if (countitem(Piece_Of_Slate_1) > 0 && countitem(Piece_Of_Slate_2) > 0 && countitem(Piece_Of_Slate_3) > 0 && countitem(Piece_Of_Slate_4) > 0) {
mes "[Welshyun]";
mes "Hm? Did you need";
mes "me to combine all four";
@@ -2188,12 +2188,12 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
mes "complete tablet.";
mes "Please bring this";
mes "safely back to Chilias.";
- delitem 7333,1; //Piece_Of_Slate_1
- delitem 7334,1; //Piece_Of_Slate_2
- delitem 7335,1; //Piece_Of_Slate_3
- delitem 7336,1; //Piece_Of_Slate_4
+ delitem Piece_Of_Slate_1,1;
+ delitem Piece_Of_Slate_2,1;
+ delitem Piece_Of_Slate_3,1;
+ delitem Piece_Of_Slate_4,1;
HELLIONQ = 68;
- getitem 7332,1; //Slate
+ getitem Slate,1;
next;
mes "[Welshyun]";
mes "Wait, take a look!";
@@ -2264,7 +2264,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
}
OnTouch:
- if (HELLIONQ == 58 && countitem(7335) > 0) {
+ if (HELLIONQ == 58 && countitem(Piece_Of_Slate_3) > 0) {
specialeffect2 EF_HEAL2;
specialeffect EF_HEAL2;
mes "^3355FFThe piece of tablet";
@@ -2443,7 +2443,7 @@ gef_fild09,296,59,0 script Hidden Cave#hellion HIDDEN_NPC,3,3,{
}
OnTouch:
- if (HELLIONQ == 68 && countitem(7332) > 0) {
+ if (HELLIONQ == 68 && countitem(Slate) > 0) {
specialeffect2 EF_HEAL2;
specialeffect EF_HEAL2;
mes "^3355FFThe tablet in your";
diff --git a/npc/quests/first_class/tu_acolyte.txt b/npc/quests/first_class/tu_acolyte.txt
index 96b6e628e..a819942d1 100644
--- a/npc/quests/first_class/tu_acolyte.txt
+++ b/npc/quests/first_class/tu_acolyte.txt
@@ -108,7 +108,7 @@ prt_church,179,15,1 script Priest Praupin 4_M_MINISTER,{
mes "Ah, he's away at the convent right now. If you want to meet Bishop Maugins in the Saint Capitolina Convent, travel ^3131FFnorth^000000, ^3131FFeast^000000, ^3131FFeast^000000 and then ^3131FFeast^000000 from Prontera.";
close;
case 22:
- if(countitem(7181) > 0){ // Receipt_01
+ if(countitem(Receipt_01) > 0){ // Receipt_01
emotion e_gasp;
mes "Oh my, you seem";
mes "to be growing quickly";
@@ -135,14 +135,14 @@ prt_church,179,15,1 script Priest Praupin 4_M_MINISTER,{
next;
switch(select("Wand:Flail")) {
case 1:
- delitem 7181,1; //Receipt_01
+ delitem Receipt_01,1;
tu_acolyte01 = 23;
- getitem 1604,1; //Wand
+ getitem Wand,1;
break;
case 2:
- delitem 7181,1; //Receipt_01
+ delitem Receipt_01,1;
tu_acolyte01 = 23;
- getitem 1510,1; //Flail
+ getitem Flail,1;
break;
}
close;
@@ -346,8 +346,8 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
mes "I hope you";
mes "have a safe trip.";
tu_acolyte01 = 4;
- getitem 1504,1; //Mace
- getitem 602,1; //Wing_Of_Butterfly
+ getitem Mace,1;
+ getitem Wing_Of_Butterfly,1;
savepoint "prt_monk",30,250;
close;
} else {
@@ -369,7 +369,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
break;
case 4:
if(getskilllv("AL_HEAL") > 2){
- if(countitem(1504) > 0){
+ if(countitem(Mace) > 0){
mes "Oh my!";
mes "Welcome back~";
mes "I see that you've";
@@ -396,7 +396,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
mes "You have returned the Mace.";
emotion e_heh;
tu_acolyte01 = 5;
- delitem 1504, 1; //Mace
+ delitem Mace, 1;
if(Class == Job_Acolyte_High) {
getexp 2000,1000;
specialeffect2 EF_CONE;
@@ -460,7 +460,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
mes "However, I'm a little busy with";
mes "my work right now, so would you deliver this to Priest Gardron in the next building for me?";
tu_acolyte01 = 7;
- getitem 7148,1; //Mother_Letter
+ getitem Mother_Letter,1;
close;
case 7:
mes "Would you please";
@@ -707,10 +707,10 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
mes "Why don't you put some of your things in Kafra Storage first?";
} else {
tu_acolyte01 = 18;
- getitem 7183,1; //Sister_Letter
- getitem 7181,1; //Receipt_01
- getitem 1081,2; //Merchant_Box_1
- getitem 7148,1; //Mother_Letter
+ getitem Sister_Letter,1;
+ getitem Receipt_01,1;
+ getitem Merchant_Box_1,2;
+ getitem Mother_Letter,1;
}
close;
case 18:
@@ -817,7 +817,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{
mes "[Priest Gardron]";
if(tu_acolyte01 == 7){
- if(countitem(7148) >= 1){
+ if(countitem(Mother_Letter) >= 1){
mes "Hmm...?";
mes "What's that?";
mes "You have something for me?";
@@ -831,7 +831,7 @@ monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{
mes "her, especially since";
mes "she is getting old now, but I'm relieved to hear that her health";
mes "is good. We are truly blessed...";
- delitem 7148,1; //Mother_Letter
+ delitem Mother_Letter,1;
tu_acolyte01 = 8;
close;
} else {
@@ -874,7 +874,7 @@ monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{
else
getexp 2000,2000;
specialeffect2 EF_CONE;
- //getitem 505,1; //Blue_Potion
+ //getitem Blue_Potion,1;
close;
} else {
if (RENEWAL) {
@@ -1224,7 +1224,7 @@ prt_monk,226,257,6 script Ill Girl#tu 4_F_04,{
//== Veiner ================================================
prt_monk,197,228,3 script Veiner 4_M_ORIENT02,{
mes "[Veiner]";
- if(countitem(1081) && tu_acolyte01 == 18){
+ if(countitem(Merchant_Box_1) && tu_acolyte01 == 18){
mes "So very exhausted...";
mes "Should I just go back home?";
next;
@@ -1247,7 +1247,7 @@ prt_monk,197,228,3 script Veiner 4_M_ORIENT02,{
mes "Thank you very much for delivering this to me. Sorry, but I'm always excited to hear from my cutie pie~";
emotion e_thx;
tu_acolyte01 = 19;
- delitem 1081,1; //Merchant_Box_1
+ delitem Merchant_Box_1,1;
close;
} else if(tu_acolyte01 > 18){
mes "I can't wait";
@@ -1272,7 +1272,7 @@ prt_monk,28,260,5 script Hedrick 1_M_04,{
mes "And so efficiently too!";
mes "Awesome job as usual,";
mes "Hedrick. You're number one!";
- if(countitem(7148)==0 || tu_acolyte01 != 19) close;
+ if(countitem(Mother_Letter)==0 || tu_acolyte01 != 19) close;
next;
mes "[Hedrick]";
mes "Oh...?";
@@ -1293,16 +1293,16 @@ prt_monk,28,260,5 script Hedrick 1_M_04,{
mes "Here, why don't";
mes "you have one of the";
mes "cookies she sent me?";
- delitem 7148,1; //Mother_Letter
+ delitem Mother_Letter,1;
tu_acolyte01 = 20;
- getitem 538,1; //Well_Baked_Cookie
+ getitem Well_Baked_Cookie,1;
close;
}
//== Weapon Merchant =======================================
prt_monk,136,261,0 script Weapon Merchant#tu HIDDEN_WARP_NPC,9,9,{
OnTouch:
- if(tu_acolyte01 != 20 || countitem(1081)==0) end;
+ if(tu_acolyte01 != 20 || countitem(Merchant_Box_1)==0) end;
mes "[Weapon Merchant]";
mes "The stuff I requested from the guild is finally here!";
mes "It's pretty tough to keep everything in stock since this is such a remote place.";
@@ -1311,7 +1311,7 @@ OnTouch:
mes "Hey, thanks so much!";
mes "Oh, and come here if";
mes "you need anything, okay?";
- delitem 1081,1; //Merchant_Box_1
+ delitem Merchant_Box_1,1;
tu_acolyte01 = 21;
close;
}
@@ -1320,7 +1320,7 @@ OnTouch:
monk_in,103,176,7 script Karven 1_M_PASTOR,{
mes "[Karven]";
mes "May you rest";
- if(tu_acolyte01 == 21 && countitem(7183)){
+ if(tu_acolyte01 == 21 && countitem(Sister_Letter)){
delitem 7183, 1;
tu_acolyte01 = 22;
mes "in peace forever...";
diff --git a/npc/quests/first_class/tu_archer.txt b/npc/quests/first_class/tu_archer.txt
index 1f3506428..064f3fd9f 100644
--- a/npc/quests/first_class/tu_archer.txt
+++ b/npc/quests/first_class/tu_archer.txt
@@ -759,7 +759,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "[Reidin Corse]";
mes "Here's a little something to encourage you. Since Mandagora are Earth property monsters, these Fire Arrows will work really well.";
tu_archer01 = 8;
- getitem 1752,300; //Fire_Arrow
+ getitem Fire_Arrow,300;
next;
}
mes "[Reidin Corse]";
@@ -794,7 +794,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "learned Vulture's Eye!";
mes "Why did I spend so much time explaining about it? Well, I guess we're ready to move on to the next lesson...";
tu_archer01 = 9;
- getitem 1752,500; //Fire_Arrow
+ getitem Fire_Arrow,500;
close;
}
} else if(tu_archer01 == 8){
@@ -832,7 +832,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "Ah, so you've learned";
mes "a little something about Vulture's Eye! What do you think about it now? Ah, and here's a little reward for you before I start the next lesson~";
tu_archer01 = 9;
- getitem 1752,500; //Fire_Arrow
+ getitem Fire_Arrow,500;
close;
}
} else if(tu_archer01 == 9){
@@ -938,12 +938,12 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
tu_archer01 = 11;
close;
} else if(tu_archer01 == 11){
- if (RENEWAL && countitem(940) < 10) {
+ if (RENEWAL && countitem(Grasshopper's_Leg) < 10) {
mes "Hey...";
mes "You gotta bring";
mes "^3131FF10 Grasshopper's Leg^000000 to pass my midterm! Go back to the southwest area of Prontera and get them!";
close;
- } else if (!RENEWAL && (countitem(962) < 10 || countitem(991) == 0)) {
+ } else if (!RENEWAL && (countitem(Tentacle) < 10 || countitem(Crystal_Blue) == 0)) {
mes "Hey...";
mes "You gotta bring";
mes "^3131FF10 Tentacles^000000 and";
@@ -965,9 +965,9 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
specialeffect2 EF_WIND;
tu_archer01 = 12;
if (RENEWAL)
- delitem 940,10; //Grasshopper's_Leg
+ delitem Grasshopper's_Leg,10;
getexp 1000,1000;
- getitem 1707,1; //Great_Bow
+ getitem Great_Bow,1;
close;
}
} else if(tu_archer01 == 12){
@@ -1037,20 +1037,20 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "This stuff is just a little something to encourage you, so don't take it the wrong way! Now hurry up, get what I asked for,";
mes "and come back!";
tu_archer01 = 14;
- getitem 601,10; //Wing_Of_Fly
- getitem 501,10; //Red_Potion
- getitem 602,1; //Wing_Of_Butterfly
+ getitem Wing_Of_Fly,10;
+ getitem Red_Potion,10;
+ getitem Wing_Of_Butterfly,1;
close;
}
} else if((tu_archer01 == 14) || (tu_archer01 == 15)){
- if (RENEWAL && (countitem(906) < 10 || countitem(921) < 10)) {
+ if (RENEWAL && (countitem(Pointed_Scale) < 10 || countitem(Mushroom_Spore) < 10)) {
mes "Remember, you";
mes "need to head into";
mes "the forest east of Payon and get me";
mes "^3131FF10 Mushroom Spores^000000";
mes "and ^3131FF10 Pointed Scales^000000.";
close;
- } else if (!RENEWAL && (countitem(1032) < 5 || countitem(905) < 20)) {
+ } else if (!RENEWAL && (countitem(Blossom_Of_Maneater) < 5 || countitem(Stem) < 20)) {
mes "Remember, you";
mes "need to head over to";
mes "Mt. Mjolnir and get me";
@@ -1101,7 +1101,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
getexp 1000,1000;
else
getexp 3000,3000;
- getitem 1770,500; //Iron_Arrow
+ getitem Iron_Arrow,500;
next;
mes "[Reidin Corse]";
mes "Well, it's like you're a full fledged Archer now. Honestly,";
@@ -1559,7 +1559,7 @@ pay_arche,76,135,3 script #Target HIDDEN_NPC,{ end; }
pay_arche,130,113,3 script Alchemist Guildmember#tu 2_M_ALCHE,{
mes "[Alchemist Guildmember]";
if(tu_archer02 > 0){
- if((countitem(1032) > 0) || (countitem(905) > 0 )){ // Blossom_Of_Maneater & Stem
+ if((countitem(Blossom_Of_Maneater) > 0) || (countitem(Stem) > 0 )){ // Blossom_Of_Maneater & Stem
mes "Great...!";
mes "I've been waiting";
mes "for the Icarus Guild";
@@ -1583,18 +1583,18 @@ pay_arche,130,113,3 script Alchemist Guildmember#tu 2_M_ALCHE,{
mes "Flora field! I really";
mes "appreciate your help~";
- .@alche_f = countitem(1032); // Blossom_Of_Maneater
- .@alche_s = countitem(905); // Stem
+ .@alche_f = countitem(Blossom_Of_Maneater); // Blossom_Of_Maneater
+ .@alche_s = countitem(Stem); // Stem
.@f_zeny = .@alche_f * 130;
.@s_zeny = .@alche_s * 30;
.@total_zeny = .@f_zeny + .@s_zeny;
- if(countitem(1032) == 0){
- delitem 905, .@alche_s; //Stem
- } else if(countitem(905) == 0){
- delitem 1032, .@alche_f; //Blossom_Of_Maneater
+ if(countitem(Blossom_Of_Maneater) == 0){
+ delitem Stem, .@alche_s;
+ } else if(countitem(Stem) == 0){
+ delitem Blossom_Of_Maneater, .@alche_f;
} else {
- delitem 1032, .@alche_f; //Blossom_Of_Maneater
- delitem 905, .@alche_s; //Stem
+ delitem Blossom_Of_Maneater, .@alche_f;
+ delitem Stem, .@alche_s;
}
Zeny += .@total_zeny;
close;
diff --git a/npc/quests/first_class/tu_ma_th01.txt b/npc/quests/first_class/tu_ma_th01.txt
index 282ad6a50..787d64498 100644
--- a/npc/quests/first_class/tu_ma_th01.txt
+++ b/npc/quests/first_class/tu_ma_th01.txt
@@ -297,7 +297,7 @@ moc_fild11,205,52,0 script Trace of Battle#5 CLEAR_NPC,{
mes "^3355FFThe traces of the battle";
mes "now split and head towards";
mes "the north and south. However,^000000";
- if(countitem(506) == 0){
+ if(countitem(Green_Potion) == 0){
mes "^3355FFthere is a puddle of strong poison that you must neutralize before you can investigate this scene.^000000";
close;
} else {
@@ -366,7 +366,7 @@ moc_fild11,205,52,0 script Trace of Battle#5 CLEAR_NPC,{
mes "^3355FFThe traces of the battle";
mes "now split and head towards";
mes "the north and south. However,^000000";
- if(countitem(506) == 0){
+ if(countitem(Green_Potion) == 0){
mes "^3355FFthere is a puddle of strong poison that you must neutralize before you can investigate this scene.^000000";
close;
} else {
@@ -979,7 +979,7 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{
next;
switch(select("Pour Green Potion.:Don't use Green Potion.")){
case 1:
- if(countitem(506) < 1){
+ if(countitem(Green_Potion) < 1){
mes "^3355FFUnfortunately, you";
mes "don't have a Green";
mes "Potion that you can";
@@ -991,7 +991,7 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{
mes "really make anything";
mes "happen. Perhaps you";
mes "should try something else.^000000";
- delitem 506,1; //Green_Potion
+ delitem Green_Potion,1;
tu_thief01 = 23;
close;
}
@@ -1012,8 +1012,8 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{
close;
}
} else if(tu_thief01 == 23){
- if(countitem(511) > 0 || countitem(716) > 0){
- if(countitem(511) > 0 && countitem(716) > 0){
+ if(countitem(Green_Herb) > 0 || countitem(Red_Gemstone) > 0){
+ if(countitem(Green_Herb) > 0 && countitem(Red_Gemstone) > 0){
mes "^3355FFYou try grinding";
mes "a Green Herb and";
mes "sprinkling it on the";
@@ -1029,11 +1029,11 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{
mes "to successfully dismantle";
mes "the trap. Now you can safely";
mes "check what might be inside.^000000";
- delitem 511,1; //Green_Herb
- delitem 716,1; //Red_Gemstone
+ delitem Green_Herb,1;
+ delitem Red_Gemstone,1;
tu_thief01 = 24;
close;
- } else if(countitem(511) > 0){
+ } else if(countitem(Green_Herb) > 0){
mes "^3355FFYou should try to";
mes "dismantle this trap";
mes "by using other catalysts";
@@ -1133,7 +1133,7 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{
next;
switch(select("Pour Green Potion.:Don't use Green Potion.")){
case 1:
- if(countitem(506) < 1){
+ if(countitem(Green_Potion) < 1){
mes "^3355FFUnfortunately, you";
mes "don't have a Green";
mes "Potion that you can";
@@ -1145,7 +1145,7 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{
mes "really make anything";
mes "happen. Perhaps you";
mes "should try something else.^000000";
- delitem 506,1; //Green_Potion
+ delitem Green_Potion,1;
tu_magician01 = 23;
close;
}
@@ -1166,8 +1166,8 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{
close;
}
} else if(tu_magician01 == 23){
- if(countitem(511) > 0 || countitem(716) > 0){
- if(countitem(511) > 0 && countitem(716) > 0){
+ if(countitem(Green_Herb) > 0 || countitem(Red_Gemstone) > 0){
+ if(countitem(Green_Herb) > 0 && countitem(Red_Gemstone) > 0){
mes "^3355FFYou try grinding";
mes "a Green Herb and";
mes "sprinkling it on the";
@@ -1183,11 +1183,11 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{
mes "to successfully dismantle";
mes "the trap. Now you can safely";
mes "check what might be inside.^000000";
- delitem 511,1; //Green_Herb
- delitem 716,1; //Red_Gemstone
+ delitem Green_Herb,1;
+ delitem Red_Gemstone,1;
tu_magician01 = 24;
close;
- } else if(countitem(511) > 0){
+ } else if(countitem(Green_Herb) > 0){
mes "^3355FFYou should try to";
mes "dismantle this trap";
mes "by using other catalysts";
diff --git a/npc/quests/first_class/tu_magician01.txt b/npc/quests/first_class/tu_magician01.txt
index 1998ccb89..22c1c4b43 100644
--- a/npc/quests/first_class/tu_magician01.txt
+++ b/npc/quests/first_class/tu_magician01.txt
@@ -485,7 +485,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "all 10 Chrysalis from hunting";
mes "all of those Pupa. Hmmmm...";
next;
- if (countitem(915) < 10) {
+ if (countitem(Chrysalis) < 10) {
mes "[Mana]";
mes "Aw, you don't";
mes "have enough of";
@@ -516,7 +516,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "like I asked? I hope so...";
mes "Because I'm going to check~";
next;
- if(countitem(915) < 10){
+ if(countitem(Chrysalis) < 10){
mes "[Mana]";
mes "Whoa, you need";
mes "more than just this.";
@@ -710,7 +710,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "training. I hope it comes";
mes "in handy when fighting...";
tu_magician01 = 6;
- getitem 1604,1; //Wand
+ getitem Wand,1;
specialeffect2 EF_HIT5;
if(.@skill_e1) getexp 300,100;
if(.@skill_e2) getexp 300,100;
@@ -804,7 +804,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "out both of our guilds. Once";
mes "again, thanks very much~";
tu_magician01 = 28;
- getitem 2321,1; //Silk_Robe
+ getitem Silk_Robe,1;
Zeny += 3000;
getexp 3000,1000;
close;
diff --git a/npc/quests/first_class/tu_merchant.txt b/npc/quests/first_class/tu_merchant.txt
index 9b863bf7f..ecb900535 100644
--- a/npc/quests/first_class/tu_merchant.txt
+++ b/npc/quests/first_class/tu_merchant.txt
@@ -575,7 +575,7 @@ alberta_in,70,51,5 script Guarnien 4W_M_02,{
tu_merchant = 2;
changequest 8229, 8230;
getexp 58,11;
- getitem 1351,1; //Battle_Axe
+ getitem Battle_Axe,1;
next;
mes "[Guarnien]";
mes "Alright, next time";
@@ -642,7 +642,7 @@ alberta_in,70,51,5 script Guarnien 4W_M_02,{
tu_merchant = 2;
setquest 8230;
getexp 58,11;
- getitem 1351,1; //Battle_Axe
+ getitem Battle_Axe,1;
next;
mes "[Guarnien]";
mes "Alright, next time";
@@ -711,7 +711,7 @@ prontera,66,111,3 script Sagle 4_KID01,{
} else {
Zeny -= 420;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -759,7 +759,7 @@ prontera,66,111,3 script Sagle 4_KID01,{
} else {
Zeny -= 410;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -806,7 +806,7 @@ prontera,66,111,3 script Sagle 4_KID01,{
} else {
Zeny -= 390;
tu_merchant = 9;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -862,7 +862,7 @@ prontera,93,330,3 script Kellion 4W_M_01,{
} else {
Zeny -= 340;
tu_merchant = 10;
- getitem 569,10; //Novice_Potion
+ getitem Novice_Potion,10;
close;
}
case 2:
@@ -901,7 +901,7 @@ prontera,93,330,3 script Kellion 4W_M_01,{
} else {
Zeny -= 390;
tu_merchant = 9;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -940,7 +940,7 @@ prontera,93,330,3 script Kellion 4W_M_01,{
} else {
Zeny -= 400;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -999,7 +999,7 @@ prt_in,169,11,3 script Aigie 4_F_03,{
} else {
Zeny -= 390;
tu_merchant = 9;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -1044,7 +1044,7 @@ prt_in,169,11,3 script Aigie 4_F_03,{
} else {
Zeny -= 420;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -1089,7 +1089,7 @@ prt_in,169,11,3 script Aigie 4_F_03,{
} else {
Zeny -= 340;
tu_merchant = 10;
- getitem 569,10; //Novice_Potion
+ getitem Novice_Potion,10;
close;
}
case 2:
@@ -1143,7 +1143,7 @@ prontera,247,129,3 script Jayon 4_M_03,{
} else {
Zeny -= 410;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -1189,7 +1189,7 @@ prontera,247,129,3 script Jayon 4_M_03,{
} else {
Zeny -= 400;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -1236,7 +1236,7 @@ prontera,247,129,3 script Jayon 4_M_03,{
} else {
Zeny -= 410;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -1290,7 +1290,7 @@ prt_in,251,129,3 script Maos 4_M_SEAMAN,{
} else {
Zeny -= 420;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -1325,7 +1325,7 @@ prt_in,251,129,3 script Maos 4_M_SEAMAN,{
} else {
Zeny -= 340;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
@@ -1360,7 +1360,7 @@ prt_in,251,129,3 script Maos 4_M_SEAMAN,{
} else {
Zeny -= 400;
tu_merchant = 10;
- getitem 501,10; //Red_Potion
+ getitem Red_Potion,10;
close;
}
case 2:
diff --git a/npc/quests/first_class/tu_sword.txt b/npc/quests/first_class/tu_sword.txt
index 6dfb3f33a..a735ae219 100644
--- a/npc/quests/first_class/tu_sword.txt
+++ b/npc/quests/first_class/tu_sword.txt
@@ -131,7 +131,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
getexp 186,0;
else
getexp 1860,0;
- getitem 1113,1; //Scimiter
+ getitem Scimiter,1;
next;
mes "[Shurank]";
mes "That is all I have to teach you about Swordman skills. Hopefully, I've been able to clear up anything you haven't understood about your job and skills.";
@@ -186,7 +186,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "I hope that you make good use of it as you train to become stronger and stronger. Good luck out there.";
tu_swordman = 23;
completequest 8228;
- getitem 1113,1; //Scimiter
+ getitem Scimiter,1;
close;
case 21:
mes "Ah, you've returned. I've just received a communique from";
@@ -748,7 +748,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
getexp 97,0;
else
getexp 970,0;
- getitem 2503,1; //Muffler
+ getitem Muffler,1;
close;
} else {
mes "[Shurank]";
@@ -802,7 +802,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
getexp 97,0;
else
getexp 970,0;
- getitem 2503,1; //Muffler
+ getitem Muffler,1;
close;
} else {
mes "[Shurank]";
@@ -892,7 +892,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
getexp 97,0;
else
getexp 970,0;
- getitem 2503,1; //Muffler
+ getitem Muffler,1;
close;
} else {
mes "[Shurank]";
@@ -1000,7 +1000,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
getexp 97,0;
else
getexp 970,0;
- getitem 2503,1; //Muffler
+ getitem Muffler,1;
close;
}
}
diff --git a/npc/quests/first_class/tu_thief01.txt b/npc/quests/first_class/tu_thief01.txt
index c593d8b93..b446458b8 100644
--- a/npc/quests/first_class/tu_thief01.txt
+++ b/npc/quests/first_class/tu_thief01.txt
@@ -368,14 +368,14 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "You can go ahead and kill Pickies to get those. It really shouldn't be that hard. Oh, and use this Wing thingee to come back.";
tu_thief01 = 5;
savepoint "moc_ruins",80,164;
- getitem 602,1; //Wing_Of_Butterfly
+ getitem Wing_Of_Butterfly,1;
getexp 100,50;
specialeffect2 EF_HIT5;
close2;
warp "moc_fild12",158,373;
end;
} else if(tu_thief01 == 5 || tu_thief01 == 6){
- if(countitem(916) < 10){
+ if(countitem(Feather_Of_Birds) < 10){
mes "'Ey, you don't have the 10 ^ff0000Feather of Birds^000000 I asked you for! You gotta apply what you know, you know.";
mes "Now hurry up and do it!";
close2;
@@ -426,7 +426,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "to the poison! That stuff";
mes "is pretty strong!";
tu_thief01 = 8;
- getitem 1207,1; //Main_Gauche
+ getitem Main_Gauche,1;
getexp 1000,500;
specialeffect2 EF_HIT5;
close;
@@ -436,7 +436,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "Less work for me!";
mes "Alright, you better get stronger the next time I see you. Oh, and you can have this stuff. You know, since you're so gangster and all.";
tu_thief01 = 7;
- getitem 1207,1; //Main_Gauche
+ getitem Main_Gauche,1;
getexp 500,200;
specialeffect2 EF_HIT5;
close;
@@ -463,7 +463,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
break;
}
tu_thief01 = 7;
- getitem 1207,1; //Main_Gauche
+ getitem Main_Gauche,1;
getexp 500,200;
specialeffect2 EF_HIT5;
close;
@@ -589,7 +589,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "[Yierhan]";
mes "Hey, this stuff is yours. Think of it as a reward for helping us out. Take care of yourself now~";
tu_thief01 = 27;
- getitem 2307,1; //Mantle
+ getitem Mantle,1;
Zeny += 5000;
getexp 8000,3000;
close;
diff --git a/npc/quests/guildrelay.txt b/npc/quests/guildrelay.txt
index e9aaf90a5..79a6e99e5 100644
--- a/npc/quests/guildrelay.txt
+++ b/npc/quests/guildrelay.txt
@@ -63,7 +63,7 @@
.@name4$ = "Diligo";
.@GID = getcastledata("prtg_cas"+strnpcinfo(2),1);
}
- if (checkweight(908,630) == 0) {
+ if (checkweight(Spawn,630) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now: store some of";
@@ -106,7 +106,7 @@
mes "you need to think how much";
mes "trust there is in the guild.";
guildrelay_q = 8;
- getitem 7240,1; //Soul_Of_Confidence
+ getitem Soul_Of_Confidence,1;
next;
mes "[" + .@name$ + "]";
mes "Your second test will be";
@@ -163,7 +163,7 @@
mes "you need to think how much";
mes "trust there is in the guild.";
guildrelay_q = 8;
- getitem 7240,1; //Soul_Of_Confidence
+ getitem Soul_Of_Confidence,1;
next;
mes "[" + .@name$ + "]";
mes "Your second test will be";
@@ -218,7 +218,7 @@
mes "you need to think how much";
mes "trust there is in the guild.";
guildrelay_q = 8;
- getitem 7240,1; //Soul_Of_Confidence
+ getitem Soul_Of_Confidence,1;
next;
mes "[" + .@name$ + "]";
mes "Your second test will be";
@@ -277,7 +277,7 @@
mes "strongholds and might can";
mes "bring peace, but it's true.";
guildrelay_q = 15;
- getitem 7246,1; //Soul_Of_Peace
+ getitem Soul_Of_Peace,1;
next;
mes "[" + .@name$ + "]";
mes "If power isn't used to";
@@ -388,7 +388,7 @@
mes "give it to your most trusted";
mes "Knight or Lord Knight.";
guildrelay_q = 1;
- getitem 7234,1; //Soul_Of_Guild
+ getitem Soul_Of_Guild,1;
next;
mes "[" + .@name$ + "]";
mes "This Knight should take";
@@ -399,7 +399,7 @@
}
}
else if (guildrelay_q == 1) {
- if (countitem(7234) > 0) {
+ if (countitem(Soul_Of_Guild) > 0) {
mes "[" + .@name$ + "]";
mes "You still have the Spirit of";
mes "Guild I gave you? I suppose";
@@ -424,7 +424,7 @@
mes "to you, master.";
close;
}
- else if (countitem(7239) > 0) {
+ else if (countitem(Soul_Of_Proceeding) > 0) {
mes "[" + .@name$ + "]";
mes "Ah, is this the Spirit";
mes "of Advance? This must mean";
@@ -432,25 +432,25 @@
mes "test. Keep up the good work.";
mes "Hand me the spirit, and allow";
mes "me to give you your guild's reward.";
- delitem 7239,1; //Soul_Of_Proceeding
+ delitem Soul_Of_Proceeding,1;
guildtime = gettime(GETTIME_HOUR);
guildrelay_q = 100;
.@incen_item = rand(1,100);
if ((.@incen_item > 0) && (.@incen_item < 25)) {
- getitem 608,20; //Seed_Of_Yggdrasil
- getitem 678,2; //Poison_Bottle
+ getitem Seed_Of_Yggdrasil,20;
+ getitem Poison_Bottle,2;
}
else if ((.@incen_item > 24) && (.@incen_item < 50)) {
- getitem 607,10; //Yggdrasilberry
- getitem 678,2; //Poison_Bottle
+ getitem Yggdrasilberry,10;
+ getitem Poison_Bottle,2;
}
else if ((.@incen_item > 50) && (.@incen_item < 75)) {
- getitem 644,5; //Gift_Box
- getitem 678,2; //Poison_Bottle
+ getitem Gift_Box,5;
+ getitem Poison_Bottle,2;
}
else if ((.@incen_item > 74) && (.@incen_item < 101)) {
- getitem 603,3; //Old_Blue_Box
- getitem 678,2; //Poison_Bottle
+ getitem Old_Blue_Box,3;
+ getitem Poison_Bottle,2;
}
next;
mes "[" + .@name$ + "]";
@@ -474,7 +474,7 @@
}
}
else if (guildrelay_q == 8) {
- if (countitem(7240) > 0) {
+ if (countitem(Soul_Of_Confidence) > 0) {
mes "[" + .@name$ + "]";
mes "You must be having";
mes "trouble finding " + .@name3$ + ".";
@@ -484,7 +484,7 @@
mes "him once you locate him.";
close;
}
- else if (countitem(7245) > 0) {
+ else if (countitem(Soul_Of_Friendship) > 0) {
mes "[" + .@name$ + "]";
mes "Ah, so you already completed";
mes "the test and earned the Spirit";
@@ -500,45 +500,45 @@
mes "may come in handy in future";
mes "challenges that you will all";
mes "face together. Good work!";
- delitem 7245,1; //Soul_Of_Friendship
+ delitem Soul_Of_Friendship,1;
guildtime = gettime(GETTIME_HOUR);
guildrelay_q = 150;
.@incen_item = rand(1,100);
if ((.@incen_item > 0) && (.@incen_item < 16)) {
- getitem 607,10; //Yggdrasilberry
- getitem 644,5; //Gift_Box
- getitem 678,3; //Poison_Bottle
+ getitem Yggdrasilberry,10;
+ getitem Gift_Box,5;
+ getitem Poison_Bottle,3;
}
else if ((.@incen_item > 14) && (.@incen_item < 31)) {
- getitem 607,10; //Yggdrasilberry
- getitem 603,3; //Old_Blue_Box
- getitem 678,3; //Poison_Bottle
+ getitem Yggdrasilberry,10;
+ getitem Old_Blue_Box,3;
+ getitem Poison_Bottle,3;
}
else if ((.@incen_item > 29) && (.@incen_item < 46)) {
- getitem 607,10; //Yggdrasilberry
- getitem 617,3; //Old_Violet_Box
- getitem 678,3; //Poison_Bottle
+ getitem Yggdrasilberry,10;
+ getitem Old_Violet_Box,3;
+ getitem Poison_Bottle,3;
}
else if ((.@incen_item > 44) && (.@incen_item < 61)) {
- getitem 644,4; //Gift_Box
- getitem 603,2; //Old_Blue_Box
- getitem 678,3; //Poison_Bottle
+ getitem Gift_Box,4;
+ getitem Old_Blue_Box,2;
+ getitem Poison_Bottle,3;
}
else if ((.@incen_item > 59) && (.@incen_item < 76)) {
- getitem 644,3; //Gift_Box
- getitem 617,2; //Old_Violet_Box
- getitem 678,3; //Poison_Bottle
+ getitem Gift_Box,3;
+ getitem Old_Violet_Box,2;
+ getitem Poison_Bottle,3;
}
else if ((.@incen_item > 74) && (.@incen_item < 91)) {
- getitem 603,2; //Old_Blue_Box
- getitem 617,2; //Old_Violet_Box
- getitem 678,3; //Poison_Bottle
+ getitem Old_Blue_Box,2;
+ getitem Old_Violet_Box,2;
+ getitem Poison_Bottle,3;
}
else if ((.@incen_item > 89) && (.@incen_item < 101)) {
- getitem 607,10; //Yggdrasilberry
- getitem 644,3; //Gift_Box
- getitem 603,2; //Old_Blue_Box
- getitem 617,1; //Old_Violet_Box
+ getitem Yggdrasilberry,10;
+ getitem Gift_Box,3;
+ getitem Old_Blue_Box,2;
+ getitem Old_Violet_Box,1;
}
next;
mes "[" + .@name$ + "]";
@@ -567,7 +567,7 @@
}
}
else if (guildrelay_q == 15) {
- if (countitem(7246) > 0) {
+ if (countitem(Soul_Of_Peace) > 0) {
mes "[" + .@name$ + "]";
mes "You still have the";
mes "Spirit of Peace? If you";
@@ -577,7 +577,7 @@
mes "them. Heed my advice...";
close;
}
- else if (countitem(7251) > 0) {
+ else if (countitem(Soul_Of_Victory) > 0) {
mes "[" + .@name$ + "]";
mes "I see that you've completed";
mes "the last test and received";
@@ -593,33 +593,33 @@
mes "given on the behalf of King";
mes "Tristan III, and share it with";
mes "guild. Once again, good work.";
- delitem 7251,1; //Soul_Of_Victory
+ delitem Soul_Of_Victory,1;
guildtime = gettime(GETTIME_HOUR);
guildrelay_q = 25;
.@incen_item = rand(1,100);
if ((.@incen_item > 0) && (.@incen_item < 26)) {
- getitem 608,10; //Seed_Of_Yggdrasil
- getitem 607,5; //Yggdrasilberry
- getitem 644,4; //Gift_Box
+ getitem Seed_Of_Yggdrasil,10;
+ getitem Yggdrasilberry,5;
+ getitem Gift_Box,4;
}
else if ((.@incen_item > 25) && (.@incen_item < 51)) {
- getitem 608,10; //Seed_Of_Yggdrasil
- getitem 607,5; //Yggdrasilberry
- getitem 603,3; //Old_Blue_Box
+ getitem Seed_Of_Yggdrasil,10;
+ getitem Yggdrasilberry,5;
+ getitem Old_Blue_Box,3;
}
else if ((.@incen_item > 50) && (.@incen_item < 76)) {
- getitem 608,10; //Seed_Of_Yggdrasil
- getitem 617,2; //Old_Violet_Box
- getitem 607,5; //Yggdrasilberry
+ getitem Seed_Of_Yggdrasil,10;
+ getitem Old_Violet_Box,2;
+ getitem Yggdrasilberry,5;
}
else if ((.@incen_item > 75) && (.@incen_item < 91)) {
- getitem 608,10; //Seed_Of_Yggdrasil
- getitem 644,4; //Gift_Box
- getitem 603,2; //Old_Blue_Box
- getitem 617,1; //Old_Violet_Box
+ getitem Seed_Of_Yggdrasil,10;
+ getitem Gift_Box,4;
+ getitem Old_Blue_Box,2;
+ getitem Old_Violet_Box,1;
}
else if ((.@incen_item > 90) && (.@incen_item < 101)) {
- getitem 5074,1; //Ear_Of_Angel's_Wing
+ getitem Ear_Of_Angel's_Wing,1;
}
next;
mes "[" + .@name$ + "]";
@@ -714,7 +714,7 @@
mes "The test has now officially";
mes "begun. Good luck to you.";
guildrelay_q = 1;
- getitem 7234,1; //Soul_Of_Guild
+ getitem Soul_Of_Guild,1;
close;
case 2:
mes "[" + .@name$ + "]";
@@ -729,7 +729,7 @@
}
}
else {
- if (countitem(7234) > 0) {
+ if (countitem(Soul_Of_Guild) > 0) {
if (BaseJob == Job_Knight) {
mes "[" + .@name$ + "]";
mes "Hello," + strcharinfo(0) + ".";
@@ -750,7 +750,7 @@
close;
}
}
- else if (countitem(7235) > 0) {
+ else if (countitem(Soul_Of_Courage) > 0) {
if ((guildrelay_q == 88) && (BaseJob == Job_Knight)) {
mes "[" + .@name$ + "]";
mes "Ah," + strcharinfo(0) + "";
@@ -788,7 +788,7 @@
close;
}
}
- else if (countitem(7237) > 0) {
+ else if (countitem(Soul_Of_Partnership) > 0) {
if ((guildrelay_q == 87) && (BaseJob == Job_Blacksmith)) {
mes "[" + .@name$ + "]";
mes "Hello," + strcharinfo(0) + ".";
@@ -823,7 +823,7 @@
close;
}
}
- else if (countitem(7238) > 0) {
+ else if (countitem(Soul_Of_Correspondence) > 0) {
if ((guildrelay_q == 86) && (BaseJob == Job_Alchemist)) {
mes "[" + .@name$ + "]";
mes "Hello," + strcharinfo(0) + ".";
@@ -858,7 +858,7 @@
close;
}
}
- else if (countitem(7239) > 0) {
+ else if (countitem(Soul_Of_Proceeding) > 0) {
if ((guildrelay_q == 85) && (BaseJob == Job_Hunter)) {
mes "[" + .@name$ + "]";
mes "Hello, " + strcharinfo(0) + ".";
@@ -879,7 +879,7 @@
close;
}
}
- else if (countitem(7240) > 0) {
+ else if (countitem(Soul_Of_Confidence) > 0) {
if (BaseJob == Job_Sage) {
mes "[" + .@name$ + "]";
mes "Hello, " + strcharinfo(0) + ".";
@@ -901,7 +901,7 @@
close;
}
}
- else if (countitem(7241) > 0) {
+ else if (countitem(Soul_Of_Agreement) > 0) {
if ((guildrelay_q == 71) && (BaseJob == Job_Sage)) {
mes "[" + .@name$ + "]";
mes "Hello," + strcharinfo(0) + ".";
@@ -939,7 +939,7 @@
close;
}
}
- else if (countitem(7242) > 0) {
+ else if (countitem(Soul_Of_Harmony) > 0) {
if ((guildrelay_q == 72) && ((BaseJob == Job_Bard) || (BaseJob == Job_Dancer))) {
mes "[" + .@name$ + "]";
mes "Hello," + strcharinfo(0) + ".";
@@ -977,7 +977,7 @@
close;
}
}
- else if (countitem(7244) > 0) {
+ else if (countitem(Soul_Of_Unity) > 0) {
if ((guildrelay_q == 74) && (BaseJob == Job_Assassin)) {
mes "[" + .@name$ + "]";
mes "Greetings, " + strcharinfo(0) + ",";
@@ -1015,7 +1015,7 @@
close;
}
}
- else if (countitem(7245) > 0) {
+ else if (countitem(Soul_Of_Friendship) > 0) {
if ((guildrelay_q == 75) && (BaseJob == Job_Wizard)) {
mes "[" + .@name$ + "]";
mes "Ah, " + strcharinfo(0) + ",";
@@ -1037,7 +1037,7 @@
close;
}
}
- else if (countitem(7246) > 0) {
+ else if (countitem(Soul_Of_Peace) > 0) {
if (BaseJob == Job_Rogue) {
mes "[" + .@name$ + "]";
mes "Ah, " + strcharinfo(0) + ",";
@@ -1059,7 +1059,7 @@
close;
}
}
- else if (countitem(7247) > 0) {
+ else if (countitem(Soul_Of_Spirit) > 0) {
if ((guildrelay_q == 95) && (BaseJob == Job_Priest)) {
mes "[" + .@name$ + "]";
mes "Hello," + strcharinfo(0) + ".";
@@ -1094,7 +1094,7 @@
close;
}
}
- else if (countitem(7249) > 0) {
+ else if (countitem(Soul_Of_Service) > 0) {
if ((guildrelay_q == 98) && (BaseJob == Job_Priest)) {
mes "[" + .@name$ + "]";
mes "Hello," + strcharinfo(0) + ".";
@@ -1129,7 +1129,7 @@
close;
}
}
- else if (countitem(7250) > 0) {
+ else if (countitem(Soul_Of_Glory) > 0) {
if ((guildrelay_q == 96) && (BaseJob == Job_Crusader)) {
mes "[" + .@name$ + "]";
mes "Hello," + strcharinfo(0) + ".";
@@ -1164,7 +1164,7 @@
close;
}
}
- else if (countitem(7251) > 0) {
+ else if (countitem(Soul_Of_Victory) > 0) {
if ((guildrelay_q == 97) && (Class == Job_Monk)) {
mes "[" + .@name$ + "]";
mes "Ah, " + strcharinfo(0) + ",";
@@ -1242,7 +1242,7 @@
.@name$ = strnpcinfo(1);
getmapxy(.@m$,.@x,.@x,1);
.@GID = getcastledata(.@m$,1);
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now: store some of";
@@ -1266,7 +1266,7 @@
}
if (getcharid(2) == .@GID) {
if (strcharinfo(0) == getguildmaster(.@GID)) {
- if (countitem(7234) > 0) {
+ if (countitem(Soul_Of_Guild) > 0) {
mes "[" + .@name$ + "]";
mes "Hm. You can't just keep";
mes "that spirit to yourself.";
@@ -1288,7 +1288,7 @@
}
}
else {
- if ((BaseJob == Job_Knight) && (countitem(7234) > 0)) {
+ if ((BaseJob == Job_Knight) && (countitem(Soul_Of_Guild) > 0)) {
mes "[" + .@name$ + "]";
mes "For your first test,";
mes "I'll start you off with";
@@ -1305,7 +1305,7 @@
mes "^FF000030 Shoulder Protectors^000000.";
mes "That shouldn't be too";
mes "hard now, right?";
- delitem 7234,1; //Soul_Of_Guild
+ delitem Soul_Of_Guild,1;
guildrelay_q = 2;
close;
case 2:
@@ -1315,7 +1315,7 @@
mes "^FF000030 Mole Whiskers^000000.";
mes "That shouldn't be too";
mes "hard now, right?";
- delitem 7234,1; //Soul_Of_Guild
+ delitem Soul_Of_Guild,1;
guildrelay_q = 3;
close;
case 3:
@@ -1325,12 +1325,12 @@
mes "^FF000030 Elder Pixie's Moustaches^000000.";
mes "That shouldn't be too";
mes "hard now, right?";
- delitem 7234,1; //Soul_Of_Guild
+ delitem Soul_Of_Guild,1;
guildrelay_q = 89;
close;
}
}
- if ((countitem(1015) > 29) && (countitem(7196) > 29) && (countitem(7157) > 29) && (guildrelay_q == 2)) {
+ if ((countitem(Thin_N'_Long_Tongue) > 29) && (countitem(Shoulder_Protection) > 29) && (countitem(Black_Mask) > 29) && (guildrelay_q == 2)) {
mes "[" + .@name$ + "]";
mes "Huh. I didn't actually";
mes "expect that you'd collect";
@@ -1338,11 +1338,11 @@
mes "Now, take this and give it to";
mes "a Blacksmith or Mastersmith.";
mes "Your guild's pretty good...";
- delitem 1015,30; //Thin_N'_Long_Tongue
- delitem 7196,30; //Shoulder_Protection
- delitem 7157,30; //Black_Mask
+ delitem Thin_N'_Long_Tongue,30;
+ delitem Shoulder_Protection,30;
+ delitem Black_Mask,30;
guildrelay_q = 88;
- getitem 7235,1; //Soul_Of_Courage
+ getitem Soul_Of_Courage,1;
close;
}
if ((BaseJob == Job_Knight) && (guildrelay_q == 2)) {
@@ -1355,7 +1355,7 @@
mes "Don't forget this time.";
close;
}
- if ((countitem(1097) > 29) && (countitem(1017) > 29) && (countitem(1096) > 29) && (guildrelay_q == 3)) {
+ if ((countitem(Worn_Out_Page) > 29) && (countitem(Moustache_Of_Mole) > 29) && (countitem(Round_Shell) > 29) && (guildrelay_q == 3)) {
mes "[" + .@name$ + "]";
mes "Huh. I didn't actually";
mes "expect that you'd collect";
@@ -1363,11 +1363,11 @@
mes "Now, take this and give it to";
mes "a Blacksmith or Mastersmith.";
mes "Your guild's pretty good...";
- delitem 1097,30; //Worn_Out_Page
- delitem 1017,30; //Moustache_Of_Mole
- delitem 1096,30; //Round_Shell
+ delitem Worn_Out_Page,30;
+ delitem Moustache_Of_Mole,30;
+ delitem Round_Shell,30;
guildrelay_q = 88;
- getitem 7235,1; //Soul_Of_Courage
+ getitem Soul_Of_Courage,1;
close;
}
if ((BaseJob == Job_Knight) && (guildrelay_q == 3)) {
@@ -1380,7 +1380,7 @@
mes "Don't forget this time.";
close;
}
- if ((countitem(7112) > 29) && (countitem(1012) > 29) && (countitem(1040) > 29) && (guildrelay_q == 89)) {
+ if ((countitem(Fright_Paper_Blade) > 29) && (countitem(Lizard_Scruff) > 29) && (countitem(Elder_Pixie's_Beard) > 29) && (guildrelay_q == 89)) {
mes "[" + .@name$ + "]";
mes "Huh. I didn't actually";
mes "expect that you'd collect";
@@ -1388,11 +1388,11 @@
mes "Now, take this and give it to";
mes "a Blacksmith or Mastersmith.";
mes "Your guild's pretty good...";
- delitem 7112,30; //Fright_Paper_Blade
- delitem 1012,30; //Lizard_Scruff
- delitem 1040,30; //Elder_Pixie's_Beard
+ delitem Fright_Paper_Blade,30;
+ delitem Lizard_Scruff,30;
+ delitem Elder_Pixie's_Beard,30;
guildrelay_q = 88;
- getitem 7235,1; //Soul_Of_Courage
+ getitem Soul_Of_Courage,1;
close;
}
if ((BaseJob == Job_Knight) && (guildrelay_q == 89)) {
@@ -1405,7 +1405,7 @@
mes "Don't forget this time.";
close;
}
- if ((BaseJob == Job_Blacksmith) && (countitem(7235) > 0)) {
+ if ((BaseJob == Job_Blacksmith) && (countitem(Soul_Of_Courage) > 0)) {
mes "[" + .@name$ + "]";
mes "Wow, you brought the";
mes "items sooner than I had";
@@ -1427,7 +1427,7 @@
mes "We can continue the testing";
mes "when the time is right so";
mes "don't you worry about it.";
- delitem 7235,1; //Soul_Of_Courage
+ delitem Soul_Of_Courage,1;
guildrelay_q = 4;
guildtime = gettime(GETTIME_HOUR);
close;
@@ -1442,7 +1442,7 @@
mes "Alchemist or Biochemist.";
mes "Your work here is done.";
guildrelay_q = 87;
- getitem 7237,1; //Soul_Of_Partnership
+ getitem Soul_Of_Partnership,1;
close;
}
}
@@ -1456,7 +1456,7 @@
mes "Alchemist or Biochemist.";
mes "Your work here is done.";
guildrelay_q = 87;
- getitem 7237,1; //Soul_Of_Partnership
+ getitem Soul_Of_Partnership,1;
close;
}
}
@@ -1470,7 +1470,7 @@
mes "Alchemist or Biochemist.";
mes "Your work here is done.";
guildrelay_q = 87;
- getitem 7237,1; //Soul_Of_Partnership
+ getitem Soul_Of_Partnership,1;
close;
}
}
@@ -1483,7 +1483,7 @@
mes "Alchemist or Biochemist.";
mes "Your work here is done.";
guildrelay_q = 87;
- getitem 7237,1; //Soul_Of_Partnership
+ getitem Soul_Of_Partnership,1;
close;
}
if ((guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
@@ -1495,7 +1495,7 @@
mes "come back to me later.";
close;
}
- if ((BaseJob == Job_Alchemist) && (countitem(7237) > 0)) {
+ if ((BaseJob == Job_Alchemist) && (countitem(Soul_Of_Partnership) > 0)) {
mes "[" + .@name$ + "]";
mes "Oh, you got it, eh?";
mes "You might not think this";
@@ -1511,7 +1511,7 @@
mes "You'll pass once you";
mes "gain 3 more levels.";
mes "How about that, eh?";
- delitem 7237,1; //Soul_Of_Partnership
+ delitem Soul_Of_Partnership,1;
guildrelay_q = 5;
close;
}
@@ -1522,7 +1522,7 @@
mes "You'll pass once you";
mes "gain 2 more levels.";
mes "How about that, eh?";
- delitem 7237,1; //Soul_Of_Partnership
+ delitem Soul_Of_Partnership,1;
guildrelay_q = 6;
close;
}
@@ -1533,7 +1533,7 @@
mes "You'll pass once you";
mes "gain 1 more level.";
mes "How about that, eh?";
- delitem 7237,1; //Soul_Of_Partnership
+ delitem Soul_Of_Partnership,1;
guildrelay_q = 7;
close;
}
@@ -1545,9 +1545,9 @@
mes "you're tough enough as it is.";
mes "Fine, fine. You pass! Give this";
mes "to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000 now~";
- delitem 7237,1; //Soul_Of_Partnership
+ delitem Soul_Of_Partnership,1;
guildrelay_q = 86;
- getitem 7238,1; //Soul_Of_Correspondence
+ getitem Soul_Of_Correspondence,1;
close;
}
}
@@ -1560,7 +1560,7 @@
mes "in your guild. Nice work,";
mes "and I'll see you around.";
guildrelay_q = 86;
- getitem 7238,1; //Soul_Of_Correspondence
+ getitem Soul_Of_Correspondence,1;
close;
}
if (((BaseLevel + 1) < (BaseLevel)) && (guildrelay_q == 6)) {
@@ -1572,7 +1572,7 @@
mes "in your guild. Nice work,";
mes "and I'll see you around.";
guildrelay_q = 86;
- getitem 7238,1; //Soul_Of_Correspondence
+ getitem Soul_Of_Correspondence,1;
close;
}
if ((BaseLevel < (BaseLevel)) && (guildrelay_q == 7)) {
@@ -1584,7 +1584,7 @@
mes "in your guild. Nice work,";
mes "and I'll see you around.";
guildrelay_q = 86;
- getitem 7238,1; //Soul_Of_Correspondence
+ getitem Soul_Of_Correspondence,1;
close;
}
if ((guildrelay_q == 5) || (guildrelay_q == 6) || (guildrelay_q == 7)) {
@@ -1596,7 +1596,7 @@
mes "You have to become stronger!";
close;
}
- if ((BaseJob == Job_Hunter) && (countitem(7238) > 0)) {
+ if ((BaseJob == Job_Hunter) && (countitem(Soul_Of_Correspondence) > 0)) {
mes "[" + .@name$ + "]";
mes "Ah, good, you're here.";
mes "Now, my request for you";
@@ -1621,9 +1621,9 @@
mes "your guild master as";
mes "soon as you can, alright?";
setfalcon;
- delitem 7238,1; //Soul_Of_Correspondence
+ delitem Soul_Of_Correspondence,1;
guildrelay_q = 85;
- getitem 7239,1; //Soul_Of_Proceeding
+ getitem Soul_Of_Proceeding,1;
close;
}
else {
@@ -1646,7 +1646,7 @@
close;
}
}
- if ((guildrelay_q == 88) && (countitem(7235) > 0)) {
+ if ((guildrelay_q == 88) && (countitem(Soul_Of_Courage) > 0)) {
mes "[" + .@name$ + "]";
mes "Please give the";
mes "Spirit of Charge to";
@@ -1665,7 +1665,7 @@
mes "show them your skills~";
close;
}
- if ((guildrelay_q == 87) && (countitem(7237) > 0)) {
+ if ((guildrelay_q == 87) && (countitem(Soul_Of_Partnership) > 0)) {
mes "[" + .@name$ + "]";
mes "Please give the";
mes "Spirit of Association to";
@@ -1684,7 +1684,7 @@
mes "something out.";
close;
}
- if ((guildrelay_q == 86) && (countitem(7238) > 0)) {
+ if ((guildrelay_q == 86) && (countitem(Soul_Of_Correspondence) > 0)) {
mes "[" + .@name$ + "]";
mes "Please give the";
mes "Spirit of Coordination";
@@ -1702,7 +1702,7 @@
mes "to give you by then.";
close;
}
- if ((guildrelay_q == 85) && (countitem(7239) > 0)) {
+ if ((guildrelay_q == 85) && (countitem(Soul_Of_Proceeding) > 0)) {
mes "[" + .@name$ + "]";
mes "Please give the";
mes "Spirit of Advance";
@@ -1751,7 +1751,7 @@
.@name$ = strnpcinfo(1);
getmapxy(.@m$,.@x,.@x,1);
.@GID = getcastledata(.@m$,1);
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now: store some of";
@@ -1770,7 +1770,7 @@
}
if (getcharid(2) == .@GID) {
if (strcharinfo(0) == getguildmaster(.@GID)) {
- if (countitem(7240) > 0) {
+ if (countitem(Soul_Of_Confidence) > 0) {
mes "[" + .@name$ + "]";
mes "Hm? What are you doing?";
mes "You're not supposed to";
@@ -1797,7 +1797,7 @@
}
}
else {
- if ((BaseJob == Job_Sage) && (countitem(7240) > 0)) {
+ if ((BaseJob == Job_Sage) && (countitem(Soul_Of_Confidence) > 0)) {
mes "[" + .@name$ + "]";
mes "I see that you've brought";
mes "the ^42426FSpirit of Trust^000000. Now, the";
@@ -1813,7 +1813,7 @@
mes "coming back to me. Your";
mes "guild must have solidarity";
mes "in order to be successful.";
- delitem 7240,1; //Soul_Of_Confidence
+ delitem Soul_Of_Confidence,1;
guildrelay_q = 9;
guildtime = gettime(GETTIME_HOUR);
close;
@@ -1835,7 +1835,7 @@
mes "to a ^42426FBard^000000, ^42426FMinstrel^000000, ^42426FDancer^000000,";
mes "or ^42426FGypsy^000000. Good luck to you.";
guildrelay_q = 81;
- getitem 7241,1; //Soul_Of_Agreement
+ getitem Soul_Of_Agreement,1;
close;
}
else {
@@ -1866,7 +1866,7 @@
mes "to a ^42426FBard^000000, ^42426FMinstrel^000000, ^42426FDancer^000000,";
mes "or ^42426FGypsy^000000. Good luck to you.";
guildrelay_q = 71;
- getitem 7241,1; //Soul_Of_Agreement
+ getitem Soul_Of_Agreement,1;
close;
}
else {
@@ -1897,7 +1897,7 @@
mes "to a ^42426FBard^000000, ^42426FMinstrel^000000, ^42426FDancer^000000,";
mes "or ^42426FGypsy^000000. Good luck to you.";
guildrelay_q = 71;
- getitem 7241,1; //Soul_Of_Agreement
+ getitem Soul_Of_Agreement,1;
close;
}
else {
@@ -1926,7 +1926,7 @@
mes "You can also give it to ^42426FDancer^000000 or ^42426FGypsy^000000";
mes "Good luck.";
guildrelay_q = 71;
- getitem 7241,1; //Soul_Of_Agreement
+ getitem Soul_Of_Agreement,1;
close;
}
else if ((BaseJob == Job_Sage) && (guildrelay_q == 9)) {
@@ -1939,7 +1939,7 @@
mes "dreams, passions, and goals!";
close;
}
- if (((BaseJob == Job_Bard) || (BaseJob == Job_Dancer)) && (countitem(7241) > 0)) {
+ if (((BaseJob == Job_Bard) || (BaseJob == Job_Dancer)) && (countitem(Soul_Of_Agreement) > 0)) {
mes "[" + .@name$ + "]";
mes "For the sake of promoting";
mes "teamwork amongst your guild,";
@@ -1963,7 +1963,7 @@
mes "You might want to write";
mes "these down so you don't";
mes "forget. Good luck to you.";
- delitem 7241,1; //Soul_Of_Agreement
+ delitem Soul_Of_Agreement,1;
guildrelay_q = 10;
break;
case 2:
@@ -1974,7 +1974,7 @@
mes "You might want to write";
mes "these down so you don't";
mes "forget. Good luck to you.";
- delitem 7241,1; //Soul_Of_Agreement
+ delitem Soul_Of_Agreement,1;
guildrelay_q = 11;
break;
case 3:
@@ -1985,7 +1985,7 @@
mes "You might want to write";
mes "these down so you don't";
mes "forget. Good luck to you.";
- delitem 7241,1; //Soul_Of_Agreement
+ delitem Soul_Of_Agreement,1;
guildrelay_q = 80;
break;
}
@@ -1999,7 +1999,7 @@
mes "guild to work together on this.";
close;
}
- if ((countitem(7097) > 29) && (countitem(7172) > 29) && (countitem(920) > 29) && (guildrelay_q == 10)) {
+ if ((countitem(Burning_Heart) > 29) && (countitem(Leopard_Talon) > 29) && (countitem(Claw_Of_Wolves) > 29) && (guildrelay_q == 10)) {
mes "[" + .@name$ + "]";
mes "Oh, perfect! You brought";
mes "all the items. Well then,";
@@ -2007,19 +2007,19 @@
mes "take this spirit now. Please";
mes "give it to an ^42426FAssassin^000000 or an";
mes "^42426FAssassin Cross^000000. Thank you.";
- delitem 7097,30; //Burning_Heart
- delitem 7172,30; //Leopard_Talon
- delitem 920,30; //Claw_Of_Wolves
+ delitem Burning_Heart,30;
+ delitem Leopard_Talon,30;
+ delitem Claw_Of_Wolves,30;
if (BaseJob == Job_Dancer) {
guildrelay_q = 72;
}
else {
guildrelay_q = 72;
}
- getitem 7242,1; //Soul_Of_Harmony
+ getitem Soul_Of_Harmony,1;
close;
}
- else if ((countitem(7189) > 29) && (countitem(7194) > 29) && (countitem(7155) > 29) && (guildrelay_q == 11)) {
+ else if ((countitem(Heart_Of_Tree) > 29) && (countitem(Soft_Leaf) > 29) && (countitem(Poison_Toad's_Skin) > 29) && (guildrelay_q == 11)) {
mes "[" + .@name$ + "]";
mes "Oh, perfect! You brought";
mes "all the items. Well then,";
@@ -2027,19 +2027,19 @@
mes "take this spirit now. Please";
mes "give it to an ^42426FAssassin^000000 or an";
mes "^42426FAssassin Cross^000000. Thank you.";
- delitem 7189,30; //Heart_Of_Tree
- delitem 7194,30; //Soft_Leaf
- delitem 7155,30; //Poison_Toad's_Skin
+ delitem Heart_Of_Tree,30;
+ delitem Soft_Leaf,30;
+ delitem Poison_Toad's_Skin,30;
if (BaseJob == Job_Dancer) {
guildrelay_q = 72;
}
else {
guildrelay_q = 72;
}
- getitem 7242,1; //Soul_Of_Harmony
+ getitem Soul_Of_Harmony,1;
close;
}
- else if ((countitem(7106) > 29) && (countitem(7121) > 29) && (countitem(1027) > 29) && (guildrelay_q == 80)) {
+ else if ((countitem(Goat's_Horn) > 29) && (countitem(Honey_Jar) > 29) && (countitem(Porcupine_Spike) > 29) && (guildrelay_q == 80)) {
mes "[" + .@name$ + "]";
mes "Oh, perfect! You brought";
mes "all the items. Well then,";
@@ -2047,16 +2047,16 @@
mes "take this spirit now. Please";
mes "give it to an ^42426FAssassin^000000 or an";
mes "^42426FAssassin Cross^000000. Thank you.";
- delitem 7106,30; //Goat's_Horn
- delitem 7121,30; //Honey_Jar
- delitem 1027,30; //Porcupine_Spike
+ delitem Goat's_Horn,30;
+ delitem Honey_Jar,30;
+ delitem Porcupine_Spike,30;
if (BaseJob == Job_Dancer) {
guildrelay_q = 72;
}
else {
guildrelay_q = 72;
}
- getitem 7242,1; //Soul_Of_Harmony
+ getitem Soul_Of_Harmony,1;
close;
}
else if (guildrelay_q == 10) {
@@ -2110,19 +2110,19 @@
mes "forget. Good luck to you.";
close;
}
- if ((BaseJob == Job_Assassin) && (countitem(7242) > 0)) {
+ if ((BaseJob == Job_Assassin) && (countitem(Soul_Of_Harmony) > 0)) {
mes "[" + .@name$ + "]";
mes "You brought the";
mes "Spirit of Combination?";
mes "Make sure that you give";
mes "that to a ^2F4F2FWizard^000000 or";
mes "a ^2F4F2FHigh Wizard^000000.";
- delitem 7242,1; //Soul_Of_Harmony
+ delitem Soul_Of_Harmony,1;
guildrelay_q = 74;
- getitem 7244,1; //Soul_Of_Unity
+ getitem Soul_Of_Unity,1;
close;
}
- if ((BaseJob == Job_Wizard) && (countitem(7244) > 0)) {
+ if ((BaseJob == Job_Wizard) && (countitem(Soul_Of_Unity) > 0)) {
mes "[" + .@name$ + "]";
mes "For the sake of your";
mes "guild, you must become";
@@ -2147,7 +2147,7 @@
mes "Don't despair: I know";
mes "you'll be able to reach";
mes "this goal. Good luck to you.";
- delitem 7244,1; //Soul_Of_Unity
+ delitem Soul_Of_Unity,1;
guildrelay_q = 12;
close;
}
@@ -2159,7 +2159,7 @@
mes "Don't despair: I know";
mes "you'll be able to reach";
mes "this goal. Good luck to you.";
- delitem 7244,1; //Soul_Of_Unity
+ delitem Soul_Of_Unity,1;
guildrelay_q = 13;
close;
}
@@ -2171,7 +2171,7 @@
mes "Don't despair: I know";
mes "you'll be able to reach";
mes "this goal. Good luck to you.";
- delitem 7244,1; //Soul_Of_Unity
+ delitem Soul_Of_Unity,1;
guildrelay_q = 14;
close;
}
@@ -2197,9 +2197,9 @@
mes "Please give this spirit";
mes "to your ^FF0000Guild Master^000000.";
mes "You're done for now.";
- delitem 7244,1; //Soul_Of_Unity
+ delitem Soul_Of_Unity,1;
guildrelay_q = 75;
- getitem 7245,1; //Soul_Of_Friendship
+ getitem Soul_Of_Friendship,1;
close;
}
}
@@ -2218,7 +2218,7 @@
mes "to your ^FF0000Guild Master^000000.";
mes "You've done well.";
guildrelay_q = 75;
- getitem 7245,1; //Soul_Of_Friendship
+ getitem Soul_Of_Friendship,1;
close;
}
else if ((BaseLevel + 1) < (BaseLevel) && (guildrelay_q == 13)) {
@@ -2236,7 +2236,7 @@
mes "to your ^FF0000Guild Master^000000.";
mes "You've done well.";
guildrelay_q = 75;
- getitem 7245,1; //Soul_Of_Friendship
+ getitem Soul_Of_Friendship,1;
close;
}
else if ((BaseLevel < BaseLevel) && (guildrelay_q == 14)) {
@@ -2254,7 +2254,7 @@
mes "to your ^FF0000Guild Master^000000.";
mes "You've done well.";
guildrelay_q = 75;
- getitem 7245,1; //Soul_Of_Friendship
+ getitem Soul_Of_Friendship,1;
close;
}
if ((guildrelay_q == 12) && (BaseJob == Job_Wizard)) {
@@ -2300,7 +2300,7 @@
close;
}
}
- if ((guildrelay_q == 71) && (countitem(7241) > 0)) {
+ if ((guildrelay_q == 71) && (countitem(Soul_Of_Agreement) > 0)) {
mes "[" + .@name$ + "]";
mes "There's no need for you";
mes "to hold onto that Spirit";
@@ -2325,7 +2325,7 @@
mes "always offer my support.";
close;
}
- if ((guildrelay_q == 72) && (countitem(7242) > 0)) {
+ if ((guildrelay_q == 72) && (countitem(Soul_Of_Harmony) > 0)) {
mes "[" + .@name$ + "]";
mes "There's no need for you";
mes "to hold onto that Spirit of";
@@ -2350,7 +2350,7 @@
mes "always offer my support.";
close;
}
- if ((guildrelay_q == 73) && (countitem(7242) > 0)) {
+ if ((guildrelay_q == 73) && (countitem(Soul_Of_Harmony) > 0)) {
mes "[" + .@name$ + "]";
mes "There's no need for you";
mes "to hold onto that Spirit of";
@@ -2375,7 +2375,7 @@
mes "always offer my support.";
close;
}
- if ((guildrelay_q == 74) && (countitem(7244) > 0)) {
+ if ((guildrelay_q == 74) && (countitem(Soul_Of_Unity) > 0)) {
mes "[" + .@name$ + "]";
mes "There's no need for you";
mes "to hold onto that Spirit";
@@ -2399,7 +2399,7 @@
mes "must be meted swiftly!";
close;
}
- if ((guildrelay_q == 75) && (countitem(7245) > 0)) {
+ if ((guildrelay_q == 75) && (countitem(Soul_Of_Friendship) > 0)) {
mes "[" + .@name$ + "]";
mes "There's no need for you";
mes "to hold onto that Spirit of";
@@ -2435,7 +2435,7 @@
.@name$ = strnpcinfo(1);
getmapxy(.@m$,.@x,.@x,1);
.@GID = getcastledata(.@m$,1);
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now: store some of";
@@ -2454,7 +2454,7 @@
}
if (getcharid(2) == .@GID) {
if (strcharinfo(0) == getguildmaster(.@GID)) {
- if (countitem(7246) > 0) {
+ if (countitem(Soul_Of_Peace) > 0) {
mes "[" + .@name$ + "]";
mes "Hm? That spirit that";
mes "you've brought with you...";
@@ -2479,7 +2479,7 @@
}
}
else {
- if ((BaseJob == Job_Rogue) && (countitem(7246) > 0)) {
+ if ((BaseJob == Job_Rogue) && (countitem(Soul_Of_Peace) > 0)) {
mes "[" + .@name$ + "]";
mes "So you're the one that's";
mes "been entrusted with the";
@@ -2496,7 +2496,7 @@
mes "will clearly demonstrate";
mes "to me that your people";
mes "skills are up to par.";
- delitem 7246,1; //Soul_Of_Peace
+ delitem Soul_Of_Peace,1;
guildrelay_q = 91;
close;
case 2:
@@ -2509,7 +2509,7 @@
mes "will clearly demonstrate";
mes "to me that your people";
mes "skills are up to par.";
- delitem 7246,1; //Soul_Of_Peace
+ delitem Soul_Of_Peace,1;
guildrelay_q = 92;
close;
case 3:
@@ -2522,7 +2522,7 @@
mes "will clearly demonstrate";
mes "to me that your people";
mes "skills are up to par.";
- delitem 7246,1; //Soul_Of_Peace
+ delitem Soul_Of_Peace,1;
guildrelay_q = 93;
close;
}
@@ -2546,7 +2546,7 @@
mes "it to a Priest or High";
mes "Priest in your guild.";
guildrelay_q = 95;
- getitem 7247,1; //Soul_Of_Spirit
+ getitem Soul_Of_Spirit,1;
close;
}
else {
@@ -2575,7 +2575,7 @@
mes "it to a Priest or High";
mes "Priest in your guild.";
guildrelay_q = 95;
- getitem 7247,1; //Soul_Of_Spirit
+ getitem Soul_Of_Spirit,1;
close;
}
else {
@@ -2603,7 +2603,7 @@
mes "it to a Priest or High";
mes "Priest in your guild.";
guildrelay_q = 95;
- getitem 7247,1; //Soul_Of_Spirit
+ getitem Soul_Of_Spirit,1;
close;
}
else {
@@ -2616,7 +2616,7 @@
close;
}
}
- if ((BaseJob == Job_Priest) && (countitem(7247) > 0)) {
+ if ((BaseJob == Job_Priest) && (countitem(Soul_Of_Spirit) > 0)) {
mes "[" + .@name$ + "]";
mes "Good work getting the";
mes "Spirit of Determination,";
@@ -2639,7 +2639,7 @@
mes "I'm certain you can do";
mes "this. Come back to me";
mes "when you are ready.";
- delitem 7247,1; //Soul_Of_Spirit
+ delitem Soul_Of_Spirit,1;
guildrelay_q = 18;
close;
}
@@ -2657,7 +2657,7 @@
mes "I'm certain you can do";
mes "this. Come back to me";
mes "when you are ready.";
- delitem 7247,1; //Soul_Of_Spirit
+ delitem Soul_Of_Spirit,1;
guildrelay_q = 19;
close;
}
@@ -2675,7 +2675,7 @@
mes "I'm certain you can do";
mes "this. Come back to me";
mes "when you are ready.";
- delitem 7247,1; //Soul_Of_Spirit
+ delitem Soul_Of_Spirit,1;
guildrelay_q = 20;
close;
}
@@ -2694,9 +2694,9 @@
mes "sure to give it to a";
mes "^4D4DFFCrusader^000000 or ^4D4DFFPaladin^000000";
mes "in your guild.";
- delitem 7247,1; //Soul_Of_Spirit
+ delitem Soul_Of_Spirit,1;
guildrelay_q = 98;
- getitem 7249,1; //Soul_Of_Service
+ getitem Soul_Of_Service,1;
close;
}
}
@@ -2717,7 +2717,7 @@
mes "^4D4DFFCrusader^000000 or ^4D4DFFPaladin^000000";
mes "in your guild.";
guildrelay_q = 98;
- getitem 7249,1; //Soul_Of_Service
+ getitem Soul_Of_Service,1;
close;
}
if (((BaseLevel + 1) < (BaseLevel)) && (guildrelay_q == 19)) {
@@ -2737,7 +2737,7 @@
mes "^4D4DFFCrusader^000000 or ^4D4DFFPaladin^000000";
mes "in your guild.";
guildrelay_q = 98;
- getitem 7249,1; //Soul_Of_Service
+ getitem Soul_Of_Service,1;
close;
}
if ((BaseLevel < BaseLevel) && (guildrelay_q == 20)) {
@@ -2755,10 +2755,10 @@
mes "who is in our guild.";
mes "Good luck!";
guildrelay_q = 98;
- getitem 7249,1; //Soul_Of_Service
+ getitem Soul_Of_Service,1;
close;
}
- if ((BaseJob == Job_Crusader) && (countitem(7249) > 0)) {
+ if ((BaseJob == Job_Crusader) && (countitem(Soul_Of_Service) > 0)) {
mes "[" + .@name$ + "]";
mes "I see that you possess";
mes "the Spirit of Service. Hmm.";
@@ -2782,7 +2782,7 @@
mes "you've come early or on time.";
mes "You'll need to really listen";
mes "to your feelings this time...";
- delitem 7249,1; //Soul_Of_Service
+ delitem Soul_Of_Service,1;
guildrelay_q = 21;
guildtime = gettime(GETTIME_HOUR);
close;
@@ -2797,7 +2797,7 @@
mes "again. Now give this spirit to";
mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
guildrelay_q = 96;
- getitem 7250,1; //Soul_Of_Glory
+ getitem Soul_Of_Glory,1;
close;
}
else {
@@ -2819,7 +2819,7 @@
mes "again. Now give this spirit to";
mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
guildrelay_q = 96;
- getitem 7250,1; //Soul_Of_Glory
+ getitem Soul_Of_Glory,1;
close;
}
else {
@@ -2841,7 +2841,7 @@
mes "again. Now give this spirit to";
mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
guildrelay_q = 96;
- getitem 7250,1; //Soul_Of_Glory
+ getitem Soul_Of_Glory,1;
close;
}
else {
@@ -2862,7 +2862,7 @@
mes "again. Now give this spirit to";
mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
guildrelay_q = 96;
- getitem 7250,1; //Soul_Of_Glory
+ getitem Soul_Of_Glory,1;
close;
}
if ((guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
@@ -2872,7 +2872,7 @@
mes "and come back later.";
close;
}
- if ((BaseJob == Job_Monk) && (countitem(7250) > 0)) {
+ if ((BaseJob == Job_Monk) && (countitem(Soul_Of_Glory) > 0)) {
mes "[" + .@name$ + "]";
mes "Most of the souls have";
mes "been shared, and there is";
@@ -2890,7 +2890,7 @@
mes "^FF000030 Celestial Robes^000000.";
mes "I shall be waiting";
mes "for you right here.";
- delitem 7250,1; //Soul_Of_Glory
+ delitem Soul_Of_Glory,1;
guildrelay_q = 23;
close;
case 2:
@@ -2901,7 +2901,7 @@
mes "^FF000030 Horrendous Hairs^000000.";
mes "I shall be waiting";
mes "for you right here.";
- delitem 7250,1; //Soul_Of_Glory
+ delitem Soul_Of_Glory,1;
guildrelay_q = 24;
close;
case 3:
@@ -2912,12 +2912,12 @@
mes "^FF000030 PecoPeco Feathers^000000.";
mes "I shall be waiting";
mes "for you right here.";
- delitem 7250,1; //Soul_Of_Glory
+ delitem Soul_Of_Glory,1;
guildrelay_q = 94;
close;
}
}
- if ((countitem(7165) > 29) && (countitem(1021) > 29) && (countitem(1023) > 29) && (guildrelay_q == 23)) {
+ if ((countitem(Limpid_Celestial_Robe) > 29) && (countitem(Dokkaebi_Horn) > 29) && (countitem(Fish_Tail) > 29) && (guildrelay_q == 23)) {
mes "[" + .@name$ + "]";
mes "Well, well. You've";
mes "gathered those items";
@@ -2925,11 +2925,11 @@
mes "you would. Good job. Now,";
mes "please give this to your ^FF0000Guild";
mes "Master^000000 as soon as you can.";
- delitem 7165,30; //Limpid_Celestial_Robe
- delitem 1021,30; //Dokkaebi_Horn
- delitem 1023,30; //Fish_Tail
+ delitem Limpid_Celestial_Robe,30;
+ delitem Dokkaebi_Horn,30;
+ delitem Fish_Tail,30;
guildrelay_q = 97;
- getitem 7251,1; //Soul_Of_Victory
+ getitem Soul_Of_Victory,1;
close;
}
if ((BaseJob == Job_Monk) && (guildrelay_q == 23)) {
@@ -2940,7 +2940,7 @@
mes "Good luck~";
close;
}
- if ((countitem(1048) > 29) && (countitem(1013) > 29) && (countitem(7200) > 29) && (guildrelay_q == 24)) {
+ if ((countitem(Slender_Snake) > 29) && (countitem(Colorful_Shell) > 29) && (countitem(Flexible_String) > 29) && (guildrelay_q == 24)) {
mes "[" + .@name$ + "]";
mes "Well, well. You've";
mes "gathered those items";
@@ -2948,11 +2948,11 @@
mes "you would. Good job. Now,";
mes "please give this to your ^FF0000Guild";
mes "Master^000000 as soon as you can.";
- delitem 1048,30; //Slender_Snake
- delitem 1013,30; //Colorful_Shell
- delitem 7200,30; //Flexible_String
+ delitem Slender_Snake,30;
+ delitem Colorful_Shell,30;
+ delitem Flexible_String,30;
guildrelay_q = 97;
- getitem 7251,1; //Soul_Of_Victory
+ getitem Soul_Of_Victory,1;
close;
}
if ((BaseJob == Job_Monk) && (guildrelay_q == 24)) {
@@ -2965,7 +2965,7 @@
mes "for you right here.";
close;
}
- if ((countitem(7003) > 29) && (countitem(7101) > 29) && (countitem(7153) > 29) && (guildrelay_q == 94)) {
+ if ((countitem(Anolian_Skin) > 29) && (countitem(Peco_Wing_Feather) > 29) && (countitem(Old_Japaness_Clothes) > 29) && (guildrelay_q == 94)) {
mes "[" + .@name$ + "]";
mes "Well, well. You've";
mes "gathered those items";
@@ -2973,11 +2973,11 @@
mes "you would. Good job. Now,";
mes "please give this to your ^FF0000Guild";
mes "Master^000000 as soon as you can.";
- delitem 7003,30; //Anolian_Skin
- delitem 7101,30; //Peco_Wing_Feather
- delitem 7153,30; //Old_Japaness_Clothes
+ delitem Anolian_Skin,30;
+ delitem Peco_Wing_Feather,30;
+ delitem Old_Japaness_Clothes,30;
guildrelay_q = 97;
- getitem 7251,1; //Soul_Of_Victory
+ getitem Soul_Of_Victory,1;
close;
}
if ((BaseJob == Job_Monk) && (guildrelay_q == 94)) {
@@ -2990,7 +2990,7 @@
mes "for you right here.";
close;
}
- if ((guildrelay_q == 95) && (countitem(7247) > 0)) {
+ if ((guildrelay_q == 95) && (countitem(Soul_Of_Spirit) > 0)) {
mes "[" + .@name$ + "]";
mes "Please give the";
mes "Spirit of Determination";
@@ -3010,7 +3010,7 @@
mes "there's no need to rush.";
close;
}
- if ((guildrelay_q == 98) && (countitem(7249) > 0)) {
+ if ((guildrelay_q == 98) && (countitem(Soul_Of_Service) > 0)) {
mes "[" + .@name$ + "]";
mes "Please give the";
mes "Spirit of Service to";
@@ -3028,7 +3028,7 @@
mes "your guild in the meantime?";
close;
}
- if ((guildrelay_q == 96) && (countitem(7250) > 0)) {
+ if ((guildrelay_q == 96) && (countitem(Soul_Of_Glory) > 0)) {
mes "[" + .@name$ + "]";
mes "Please give the";
mes "Spirit of Glory to";
@@ -3047,7 +3047,7 @@
mes "your guild as well as you can.";
close;
}
- if ((guildrelay_q == 97) && (countitem(7251) > 0)) {
+ if ((guildrelay_q == 97) && (countitem(Soul_Of_Victory) > 0)) {
mes "[" + .@name$ + "]";
mes "You need to give";
mes "the ^FF0000Spirit of Victory^000000";
diff --git a/npc/quests/gunslinger_quests.txt b/npc/quests/gunslinger_quests.txt
index a39de2335..8b1dcda5e 100644
--- a/npc/quests/gunslinger_quests.txt
+++ b/npc/quests/gunslinger_quests.txt
@@ -59,7 +59,7 @@ que_ng,182,85,3 script Garrison 4_M_MANAGER,{
switch(gun_gs)
{
case 0:
- if(countitem(13104) < 1)
+ if(countitem(The_Garrison) < 1)
{
mes "[Garrison]";
mes "My name is Garrison. I'm a master in crafting guns.";
@@ -138,7 +138,7 @@ que_ng,182,85,3 script Garrison 4_M_MANAGER,{
}
case 1:
- if((countitem(999) < 10) || (countitem(7317) < 10) || (countitem(1011) < 10) || (countitem(1003) < 30) || (countitem(985) < 1))
+ if((countitem(Steel) < 10) || (countitem(Screw) < 10) || (countitem(Emveretarcon) < 10) || (countitem(Coal) < 30) || (countitem(Elunium) < 1))
{
mes "[Garrison]";
mes "10 Steel, 1 Elunium, 10 Emveretarcon, 30 Coal, and 10 Rusty Screws.";
@@ -213,7 +213,7 @@ que_ng,182,85,3 script Garrison 4_M_MANAGER,{
mes "I'm sorry about what happened.";
mes "But, as promised, I will slot your Garrison ...";
next;
- if(countitem(13104) < 1)
+ if(countitem(The_Garrison) < 1)
{
mes "[Garrison]";
mes "Huh? Sigh.";
@@ -234,7 +234,7 @@ que_ng,182,85,3 script Garrison 4_M_MANAGER,{
gun_gs = 5;
close;
case 4:
- if(countitem(13104) < 1)
+ if(countitem(The_Garrison) < 1)
{
mes "[Garrison]";
mes "Go and get your Garrison and then get back to me.";
@@ -287,7 +287,7 @@ SubGarrison:
close;
case 2:
- if((countitem(999) < 50) || (countitem(7317) < 20) || (countitem(984) < 1) || (countitem(1003) < 50) ||(countitem(985) < 3) )
+ if((countitem(Steel) < 50) || (countitem(Screw) < 20) || (countitem(Oridecon) < 1) || (countitem(Coal) < 50) ||(countitem(Elunium) < 3) )
{
mes "[Garrison]";
mes "You didn't bring enough materials";
@@ -306,7 +306,7 @@ SubGarrison:
mes "More Zeny!!";
close;
}
- else if(checkweight(13104,1) == 0)
+ else if(checkweight(The_Garrison,1) == 0)
{
mes "[Garrison]";
mes "There's no room in your inventory";
@@ -320,13 +320,13 @@ SubGarrison:
mes "Hmm, looks like the correct amount of materials and Zeny.";
mes "Here's a Garrison~";
mes "If you need one again, come and see me~";
- delitem 984,1; //Oridecon
- delitem 985,3; //Elunium
- delitem 999,50; //Steel
- delitem 1003,50; //Coal
- delitem 7317,20; //Rusty Screw
+ delitem Oridecon,1;
+ delitem Elunium,3;
+ delitem Steel,50;
+ delitem Coal,50;
+ delitem Screw,20; //Rusty Screw
Zeny -= 30000;
- getitem 13104,1; //Garrison
+ getitem The_Garrison,1; //Garrison
close;
case 3:
@@ -353,7 +353,7 @@ SubGarrison_:
close;
case 2:
- if((countitem(999) < 10) || (countitem(7317) < 10) || (countitem(1011) < 10) || (countitem(1003) < 30) || (countitem(985) < 1) || (countitem(13104) < 1))
+ if((countitem(Steel) < 10) || (countitem(Screw) < 10) || (countitem(Emveretarcon) < 10) || (countitem(Coal) < 30) || (countitem(Elunium) < 1) || (countitem(The_Garrison) < 1))
{
mes "[Garrison]";
mes "You didn't bring enough materials";
@@ -365,7 +365,7 @@ SubGarrison_:
mes "Don't forget.";
close;
}
- else if(checkweight(13105,1) != 1)
+ else if(checkweight(The_Garrison_,1) != 1)
{
mes "[Garrison]";
mes "There's no room in your inventory";
@@ -569,7 +569,7 @@ que_ng,187,163,3 script Ingrid 4_F_ALCHE,{
}
SubInferno:
- if ((countitem(7319) < 100) || (countitem(7317) < 50) || (countitem(984) < 10) || countitem(7097) < 100)
+ if ((countitem(Old_Steel_Plate) < 100) || (countitem(Screw) < 50) || (countitem(Oridecon) < 10) || countitem(Burning_Heart) < 100)
{
mes "[Ingrid]";
mes "Yeah, the required materials are 100 Used Iron Plates, 10 Oridecons, 50 Rusty Old Screws, 100 Burning Hearts, and 200,000 Zeny";
@@ -586,7 +586,7 @@ SubInferno:
mes "Please don't forget that.";
close;
}
- else if(checkweight(13162,1) != 1)
+ else if(checkweight(Inferno,1) != 1)
{
mes "[Ingrid]";
mes "It looks like you have too many items to carry my creation, so I can't give it to you.";
@@ -834,7 +834,7 @@ que_ng,185,180,3 script Vanessa 4_F_JOB_BLACKSMITH,{
SubDestroyer:
- if ((countitem(7319) < 50) || (countitem(7317) < 70) || (countitem(984) < 5))
+ if ((countitem(Old_Steel_Plate) < 50) || (countitem(Screw) < 70) || (countitem(Oridecon) < 5))
{
mes "[Vanessa]";
mes "Yeah, the required materials are 50 Used Iron Plates,";
@@ -850,7 +850,7 @@ SubDestroyer:
mes "Keep that in mind.";
close;
}
- else if(checkweight(13160,1) != 1)
+ else if(checkweight(Destroyer,1) != 1)
{
mes "[Vanessa]";
mes "It looks like you wouldn't be able to carry my creation with you even if I made it.";
@@ -881,7 +881,7 @@ SubDestroyer:
SubDestroyer_:
- if ((countitem(1812) < 1) || (countitem(984) < 5))
+ if ((countitem(Finger_) < 1) || (countitem(Oridecon) < 5))
{
mes "[Vanessa]";
mes "Yeah, the required materials are 1 Finger[2]";
@@ -889,7 +889,7 @@ SubDestroyer_:
mes "Keep in mind that the materials need to be exact.";
close;
}
- else if(checkweight(13161,1) != 1)
+ else if(checkweight(Destroyer_,1) != 1)
{
mes "[Vanessa]";
mes "There's no space in your inventory.";
@@ -921,7 +921,7 @@ SubDestroyer_:
que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
if(gun_na == 1){
- if(countitem(1043) > 999 && countitem(932) > 999){
+ if(countitem(Nail_Of_Orc) > 999 && countitem(Skel_Bone) > 999){
delitem 1043,1000;
delitem 932,1000;
gun_na = 2;
@@ -991,7 +991,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
mes "alright?";
close;
}
- if(checkweight(13158,1) == 0){
+ if(checkweight(Butcher,1) == 0){
mes "[N. A]";
mes "You are overweight.";
mes "Even if I give you the";
@@ -1022,7 +1022,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
}
}
else if(gun_na == 10){
- if (countitem(999) > 69 && countitem(985) > 4 && countitem(984) > 2 && countitem(1003) > 69 && countitem(7317) > 49 && Zeny > 50000){
+ if (countitem(Steel) > 69 && countitem(Elunium) > 4 && countitem(Oridecon) > 2 && countitem(Coal) > 69 && countitem(Screw) > 49 && Zeny > 50000){
delitem 999,70;
delitem 985,5;
delitem 984,3;
@@ -1071,7 +1071,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
}
}
else if(gun_na == 11){
- if(checkweight(13157,1) == 0){
+ if(checkweight(Drifter,1) == 0){
mes "[N. A]";
mes "You are overweight.";
mes "Even if I made you the";
@@ -1171,31 +1171,31 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
mes "you could find.";
close;
case 2:
- if(countitem(13205) >= 30){
+ if(countitem(Poison_Sphere) >= 30){
delitem 13205,30;
gun_na = 103;
}
break;
case 3:
- if(countitem(13203) >= 30){
+ if(countitem(Flare_Sphere) >= 30){
delitem 13203,30;
gun_na = 103;
}
break;
case 4:
- if(countitem(13204) >= 30){
+ if(countitem(Lighting_Sphere) >= 30){
delitem 13204,30;
gun_na = 103;
}
break;
case 5:
- if(countitem(13206) >= 30){
+ if(countitem(Blind_Sphere) >= 30){
delitem 13206,30;
gun_na = 103;
}
break;
case 6:
- if(countitem(13207) >= 30){
+ if(countitem(Freezing_Sphere) >= 30){
delitem 13207,30;
gun_na = 103;
}
@@ -1390,7 +1390,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
lighthalzen,205,284,6 script F. Harrison 4_M_03,{
if (gun_na == 100){
- if(checkweight(13102,1) == 0){
+ if(checkweight(Crimson_Bolt,1) == 0){
mes "[F. Harrison]";
mes "You are overweight.";
mes "Even if I gave you the";
@@ -1487,8 +1487,8 @@ lighthalzen,205,284,6 script F. Harrison 4_M_03,{
close;
}
else if(gun_na == 103){
- if(countitem(999) >= 10 && countitem(985) >= 2 && countitem(984) >= 1 && countitem(1003) >= 20){
- if(countitem(13102) > 0){
+ if(countitem(Steel) >= 10 && countitem(Elunium) >= 2 && countitem(Oridecon) >= 1 && countitem(Coal) >= 20){
+ if(countitem(Crimson_Bolt) > 0){
delitem 999,10;
delitem 985,2;
delitem 984,1;
@@ -1525,7 +1525,7 @@ lighthalzen,205,284,6 script F. Harrison 4_M_03,{
}
}
else if(gun_na == 104){
- if(checkweight(13159,1) == 0){
+ if(checkweight(Butcher_,1) == 0){
mes "-You're overweight already.-";
mes "-Come back after dropping some";
mes "stuff first.-";
@@ -1556,7 +1556,7 @@ lighthalzen,205,284,6 script F. Harrison 4_M_03,{
mes "beautiful 'Crimson Bolt'.";
close;
}
- if(BaseLevel > 67 && countitem(13158) > 0){
+ if(BaseLevel > 67 && countitem(Butcher) > 0){
mes "[F. Harrison]";
mes "Man, I'm so bored...";
mes "I wonder if there's anything";
diff --git a/npc/quests/juice_maker.txt b/npc/quests/juice_maker.txt
index 52f849c8e..514526e66 100644
--- a/npc/quests/juice_maker.txt
+++ b/npc/quests/juice_maker.txt
@@ -121,8 +121,8 @@ prt_in,47,173,3 script Morrison#juice 4W_M_01,{
mes "[Little Morrison]";
mes "It's a little something I've been saving to eat for later, but since you gave me Meat, I think I can pass on the sweets.";
close;
- getitem 529,3; //Candy
- getitem 530,1; //Candy_Striper
+ getitem Candy,3;
+ getitem Candy_Striper,1;
}
close;
}
@@ -130,7 +130,7 @@ prt_in,47,173,3 script Morrison#juice 4W_M_01,{
mes "Agh....Noooo!!!";
mes "No, don't make me eat it! I can't bear to taste fruits!";
next;
- if (countitem(517) > 0) {
+ if (countitem(Meat) > 0) {
switch(select("Talk:Show the Meat:Cancel")) {
case 1:
mes "[Little Morrison]";
@@ -148,7 +148,7 @@ prt_in,47,173,3 script Morrison#juice 4W_M_01,{
mes "C-can I please have one?";
next;
if (select("Give Meat:Don't Give Meat") == 1) {
- delitem 517,1; //Meat
+ delitem Meat,1;
++morison_meat;
mes "[Little Morrison]";
mes "Wow~!!! Meat!!";
@@ -190,7 +190,7 @@ prt_in,47,173,3 script Morrison#juice 4W_M_01,{
}
payon_in03,188,146,5 script Marx Hansen#juice 4_M_04,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -232,7 +232,7 @@ payon_in03,188,146,5 script Marx Hansen#juice 4_M_04,{
mes "See you next time.";
close;
}
- if (countitem(.@fruit) == 0 || countitem(713) == 0 || Zeny < 3) {
+ if (countitem(.@fruit) == 0 || countitem(Empty_Bottle) == 0 || Zeny < 3) {
mes "[Merchant Marx Hansen]";
mes "Oh no...";
mes "You don't have all the necessary materials. To make "+getitemname(.@juice)+", I need 1 "+getitemname(.@fruit)+" and 1 Empty Bottle. I will also need a 3 zeny fee.";
@@ -248,7 +248,7 @@ payon_in03,188,146,5 script Marx Hansen#juice 4_M_04,{
switch(select("As many as I can.:I want a certain amount.:Cancel.")) {
case 1:
.@make = countitem(.@fruit);
- if (countitem(713) < .@make) .@make = countitem(713);
+ if (countitem(Empty_Bottle) < .@make) .@make = countitem(Empty_Bottle);
if (Zeny/3 < .@make) .@make = Zeny/3;
break;
case 2:
@@ -283,7 +283,7 @@ payon_in03,188,146,5 script Marx Hansen#juice 4_M_04,{
.@total_zeny = 3 * .@make;
- if (countitem(.@fruit) < .@make || countitem(713) < .@make || Zeny < .@total_zeny) {
+ if (countitem(.@fruit) < .@make || countitem(Empty_Bottle) < .@make || Zeny < .@total_zeny) {
mes "[Merchant Marx Hansen]";
mes "Oh no...";
mes "You don't have all the necessary materials. I can't help a situation like this. I guess you collect what you need.";
diff --git a/npc/quests/kiel_hyre_quest.txt b/npc/quests/kiel_hyre_quest.txt
index 1d5277ece..610ad4e00 100644
--- a/npc/quests/kiel_hyre_quest.txt
+++ b/npc/quests/kiel_hyre_quest.txt
@@ -82,7 +82,7 @@
//- Juno Pub Master/Starting point -
yuno_in01,35,179,4 script Pub Master#kh 1_ETC_01,5,5,{
- if (checkweight(7487,1) == 0) {
+ if (checkweight(Tavern_Wine,1) == 0) {
mes "[Vandt]";
mes "Just a second! You're";
mes "carrying too many items";
@@ -219,7 +219,7 @@ yuno_in01,35,179,4 script Pub Master#kh 1_ETC_01,5,5,{
mes "Mrs. ^ff0000Lecollane^000000 in the Kiel";
mes "Hyre Academy. I'll pay you";
mes "once you finish the job, okay?";
- getitem 7487,1; //Tavern_Wine
+ getitem Tavern_Wine,1;
KielHyreQuest = 2;
close;
case 2:
@@ -253,7 +253,7 @@ yuno_in01,35,179,4 script Pub Master#kh 1_ETC_01,5,5,{
close;
}
else if (KielHyreQuest == 6) {
- if (countitem(7487) == 0) {
+ if (countitem(Tavern_Wine) == 0) {
mes "[Vandt]";
mes "Oh, you're back.";
mes "Thanks for making that";
@@ -276,7 +276,7 @@ yuno_in01,35,179,4 script Pub Master#kh 1_ETC_01,5,5,{
mes "There you go!";
mes "Thank you so much";
mes "for helping me out~";
- getitem 7487,1; //Tavern_Wine
+ getitem Tavern_Wine,1;
Zeny += 1000;
close;
}
@@ -390,8 +390,8 @@ yuno,217,114,6 script Little Kid#kh 4W_KID,{
mes "Now please give this flour";
mes "and these eggs to Elly, and";
mes "send her my regards. See you~";
- delitem 7488,1; //Delivery_Package
- getitem 7488,1; //Delivery_Package
+ delitem Delivery_Box,1; //Delivery_Package
+ getitem Delivery_Box,1; //Delivery_Package
KHToastGirlEnd = 3;
close;
}
@@ -406,7 +406,7 @@ yuno,217,114,6 script Little Kid#kh 4W_KID,{
//- Lighthalzen WindMill Owner -
lighthalzen,366,299,4 script Windmill Owner#kh 1_ETC_01,{
- if (checkweight(7488,1) == 0) {
+ if (checkweight(Delivery_Box,1) == 0) {
mes "[Mills]";
mes "Hey, you've got too much";
mes "stuff on you right now. ";
@@ -451,7 +451,7 @@ lighthalzen,366,299,4 script Windmill Owner#kh 1_ETC_01,{
mes "extra errands on my end. Yeah,";
mes "I know how other people treat";
mes "you adventurers. Well, see ya.";
- getitem 7488,1; //Delivery_Package
+ getitem Delivery_Box,1; //Delivery_Package
KHToastGirlEnd = 2;
close;
case 2:
@@ -750,7 +750,7 @@ kh_school,176,60,4 script Lady#kh 4W_F_01,{
mes "may go now, and please";
mes "don't wander needlessly";
mes "around the academy.";
- delitem 7487,1; //Tavern_Wine
+ delitem Tavern_Wine,1;
KielHyreQuest = 4;
close;
case 2:
@@ -777,7 +777,7 @@ kh_school,176,60,4 script Lady#kh 4W_F_01,{
//- Elly (In school) -
kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "[Elly]";
mes "I'm sorry, but would you";
mes "put some of your things in";
@@ -923,7 +923,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
}
}
else if (KielHyreQuest == 6) {
- if ((countitem(519) < 7) || (countitem(548) < 2) || (countitem(7182) < 5) || (countitem(7487) < 1) || (countitem(7488) < 1)) {
+ if ((countitem(Milk) < 7) || (countitem(Cheese) < 2) || (countitem(Cacao) < 5) || (countitem(Tavern_Wine) < 1) || (countitem(Delivery_Box) < 1)) {
mes "[Elly]";
mes "Let's see, would you";
mes "like me to remind you";
@@ -958,11 +958,11 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "give me a moment while I bake";
mes "these cookies? It shouldn't take";
mes "long, so hold on just a bit.";
- delitem 519,7; //Milk
- delitem 548,2; //Cheese
- delitem 7182,5; //Cacao
- delitem 7487,1; //Tavern_Wine
- delitem 7488,1; //Delivery_Package
+ delitem Milk,7;
+ delitem Cheese,2;
+ delitem Cacao,5;
+ delitem Tavern_Wine,1;
+ delitem Delivery_Box,1; //Delivery_Package
KielHyreQuest = 8;
//KHPubMasterEnd no longer needed-- deleting.
KHPubMasterEnd = 0;
@@ -994,7 +994,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "[Elly]";
mes ""+strcharinfo(0)+"?";
mes "...that name! It's wonderful!";
- getitem 538,5; //Well_Baked_Cookie
+ getitem Well_Baked_Cookie,5;
KielHyreQuest = 10;
}
else if (KielHyreQuest == 10) {
@@ -1086,7 +1086,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "you can use this Cottage Key.";
mes "That way, you can just go";
mes "inside and talk to him~";
- getitem 7489,1; //Villa_Spare_Key
+ getitem Villa_Spare_Key,1;
KielHyreQuest = 16;
}
else if ((KielHyreQuest >= 14) && (KielHyreQuest < 20)) {
@@ -1140,7 +1140,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "this letter! Ah, does this";
mes "mean that he's in danger?!";
mes "Oh no, what should I do?";
- delitem 7490,1; //Letter_to_Elly
+ delitem Kyll_Hire_Letter,1; //Letter_to_Elly
KielHyreQuest = 22;
}
else if (KielHyreQuest == 22) {
@@ -1386,7 +1386,7 @@ yuno_fild08,69,185,0 script Window#kh HIDDEN_NPC,{
//- Elly (In Dormitory) -
kh_school,178,180,4 script Elly 4_F_KHELLY,{
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -1449,8 +1449,8 @@ kh_school,178,180,4 script Elly 4_F_KHELLY,{
mes "and a ^000000Button^3355FF drop from Elly's";
mes "hands. It looks like she woke";
mes "up, but only for an instant.^000000";
- getitem 7493,1; //Golden_Key
- getitem 7494,1; //Kiel_Button
+ getitem Golden_Key,1;
+ getitem Kiel_Button,1;
KielHyreQuest = 34;
close;
}
@@ -1472,7 +1472,7 @@ kh_school,178,180,4 script Elly 4_F_KHELLY,{
}
}
else if (KielHyreQuest == 34) {
- if (countitem(7491) < 1) {
+ if (countitem(Iron_Box) < 1) {
//Missing text, needs another run through.
mes "^3355FFMaybe the golden key^000000";
mes "unlocks something in the^000000";
@@ -1518,8 +1518,8 @@ kh_school,178,180,4 script Elly 4_F_KHELLY,{
mes "^FFFFFF_^000000";
mes "Sorry about that,";
mes "Grandpa";
- getitem 7495,1; //Blue_Key_Card
- delitem 7491,1; //Iron_Box
+ getitem Blue_Key_Card,1;
+ delitem Iron_Box,1;
KielHyreQuest = 36;
close;
}
@@ -1686,7 +1686,7 @@ yuno_fild08,71,170,0 script Grave#kh HIDDEN_NPC,{
close;
}
else if (KielHyreQuest == 36) {
- if (countitem(7492) < 1) {
+ if (countitem(Yellow_Key_Card) < 1) {
mes "^3355FFIt's just a grave.";
mes "It might be important";
mes "to you later, but now";
@@ -1759,7 +1759,7 @@ yuno_fild08,71,170,0 script Grave#kh HIDDEN_NPC,{
}
else if (KielHyreQuest >= 106) {
- if (countitem(7509) < 1) {
+ if (countitem(Fancy_Key_Card) < 1) {
mes "^3355FFThe secret entrance";
mes "has now been sealed.^000000";
close;
@@ -1990,7 +1990,7 @@ kh_vila,179,11,0 script Letter#kh -1,1,1,{
//OnTouch2:
OnTouch:
if (KielHyreQuest == 18) {
- if (checkweight(7490,1) == 0) {
+ if (checkweight(Kyll_Hire_Letter,1) == 0) {
mes "^3355FFJust a minute...!";
mes "There's something on";
mes "the floor here, but you";
@@ -2004,7 +2004,7 @@ OnTouch:
mes "you pick it up, despite";
mes "the fact that it's not";
mes "addressed to you.^000000";
- getitem 7490,1; //Kyll_Hire_Letter
+ getitem Kyll_Hire_Letter,1;
KielHyreQuest = 20;
close;
} else {
@@ -2047,7 +2047,7 @@ kh_vila,16,175,0 script Box#khp1 HIDDEN_NPC,{
mes "at all! It's just";
mes "normal Pet Food!";
Zeny -= 1100;
- getitem 537,1; //Pet_Food
+ getitem Pet_Food,1;
close;
}
case 2:
@@ -2237,8 +2237,8 @@ kh_vila,33,184,0 script Pot#khp1 HIDDEN_NPC,{
//- Cottage interior, fire place; Calabash -
kh_vila,14,55,0 script Calabash#khp1 HIDDEN_NPC,{
- if ((countitem(7329) < 1) && (countitem(7516) < 1) && (countitem(7491) < 1) && (KielHyreQuest < 38)) {
- if (checkweight(7329,1) == 0) {
+ if ((countitem(Old_Copper_Key) < 1) && (countitem(Green_Key_Card) < 1) && (countitem(Iron_Box) < 1) && (KielHyreQuest < 38)) {
+ if (checkweight(Old_Copper_Key,1) == 0) {
mes "^3355FFThat's a nice looking";
mes "calabash. You might even";
mes "get something from it...";
@@ -2269,7 +2269,7 @@ kh_vila,14,55,0 script Calabash#khp1 HIDDEN_NPC,{
mes "feel around with your";
mes "fingers until you retrieve";
mes "an Old Bronze Key.^000000";
- getitem 7329,1; //Old_Bronze_Key
+ getitem Old_Copper_Key,1; //Old_Bronze_Key
close;
case 3:
mes "^3355FFThere's probably";
@@ -2381,7 +2381,7 @@ OnTouch:
next;
switch(select("March forward:Run away")) {
case 1:
- if (countitem(537) >= 1) {
+ if (countitem(Pet_Food) >= 1) {
mes "^3355FFWait! Perhaps you can";
mes "use food to soothe the";
mes "savage beast. Why don't";
@@ -2396,7 +2396,7 @@ OnTouch:
mes "it devours the food. You'd";
mes "better pass this dog now";
mes "while you have the chance!^000000";
- delitem 537,1; //Pet_Food
+ delitem Pet_Food,1;
close2;
warp "kh_vila",173,182;
end;
@@ -2432,7 +2432,7 @@ OnTouch:
//- Cottage interior, upstairs; Drawer, first room nightstand -
kh_vila,115,186,0 script Drawer#khp1 HIDDEN_NPC,{
- if (checkweight(7492,1) == 0) {
+ if (checkweight(Yellow_Key_Card,1) == 0) {
mes "^3355FFThere's something inside";
mes "this drawer, but you can't";
mes "take it since you're carrying";
@@ -2441,7 +2441,7 @@ kh_vila,115,186,0 script Drawer#khp1 HIDDEN_NPC,{
mes "trusty Kafra Storage first.^000000";
close;
}
- if ((countitem(7492) < 1) && (KielHyreQuest <= 36)) {
+ if ((countitem(Yellow_Key_Card) < 1) && (KielHyreQuest <= 36)) {
mes "^3355FFYou find an old drawer";
mes "^that has been closed.";
mes "^If you open it, then you";
@@ -2455,7 +2455,7 @@ kh_vila,115,186,0 script Drawer#khp1 HIDDEN_NPC,{
mes "Keycard from inside the";
mes "drawer. Opening that drawer";
mes "turned out to be worthwhile.^000000";
- getitem 7492,1; //Yellow_Key_Card
+ getitem Yellow_Key_Card,1;
close;
case 2:
mes "^3355FFForget opening that";
@@ -2474,14 +2474,14 @@ kh_vila,115,186,0 script Drawer#khp1 HIDDEN_NPC,{
//- Cottage interior, upstairs; Box -
kh_vila,107,126,0 script Box#khp2 HIDDEN_NPC,{
- if ((countitem(7329) < 1) && (countitem(7516) < 1) && (countitem(7491) < 1) && (KielHyreQuest < 38)) {
+ if ((countitem(Old_Copper_Key) < 1) && (countitem(Green_Key_Card) < 1) && (countitem(Iron_Box) < 1) && (KielHyreQuest < 38)) {
mes "^3355FFA solid box is laid";
mes "on the floor in which";
mes "a smaller, locked box";
mes "has been placed inside.^000000";
close;
}
- else if ((countitem(7329) >= 1) && (countitem(7516) < 1) && (countitem(7491) < 1) && (KielHyreQuest < 38)) {
+ else if ((countitem(Old_Copper_Key) >= 1) && (countitem(Green_Key_Card) < 1) && (countitem(Iron_Box) < 1) && (KielHyreQuest < 38)) {
mes "^3355FFA solid box is laid";
mes "on the floor in which";
mes "a smaller, locked box";
@@ -2497,8 +2497,8 @@ kh_vila,107,126,0 script Box#khp2 HIDDEN_NPC,{
mes "open the inner box and";
mes "obtain the Green Keycard";
mes "that was locked inside.";
- getitem 7516,1; //Green_Key_Card
- delitem 7329,1; //Old_Bronze_Key
+ getitem Green_Key_Card,1;
+ delitem Old_Copper_Key,1; //Old_Bronze_Key
close;
case 2:
mes "^3355FFWhat...?";
@@ -2519,7 +2519,7 @@ kh_vila,107,126,0 script Box#khp2 HIDDEN_NPC,{
//- Cottage interior, upstairs; Bookshelf -
kh_vila,181,138,0 script Bookshelf#khp1 HIDDEN_NPC,{
- if ((countitem(7491) < 1) && (countitem(7329) >= 1) || (countitem(7516) >= 1)) {
+ if ((countitem(Iron_Box) < 1) && (countitem(Old_Copper_Key) >= 1) || (countitem(Green_Key_Card) >= 1)) {
mes "^3355FFOne of the books on";
mes "this crammed bookshelf";
mes "is labeled with the note,";
@@ -2550,7 +2550,7 @@ kh_vila,181,138,0 script Bookshelf#khp1 HIDDEN_NPC,{
mes "you insert into";
mes "the first keyhole?^000000";
next;
- if (countitem(7329) >= 1) {
+ if (countitem(Old_Copper_Key) >= 1) {
select("Old Bronze Key:Cottage Key");
mes "^3355FFWhich key will";
mes "you insert into";
@@ -2558,7 +2558,7 @@ kh_vila,181,138,0 script Bookshelf#khp1 HIDDEN_NPC,{
next;
select("Old Bronze Key:Cottage Key");
}
- else if (countitem(7516) >= 1) {
+ else if (countitem(Green_Key_Card) >= 1) {
switch(select("Green Keycard:Cottage Key")) {
case 1:
.@KHFirstKeyhole = 1;
@@ -2588,9 +2588,9 @@ kh_vila,181,138,0 script Bookshelf#khp1 HIDDEN_NPC,{
mes "You take the Grey Box";
mes "with you, hoping that it";
mes "will come in handy later.^000000";
- delitem 7489,1; //Villa_Spare_Key
- delitem 7516,1; //Green_Key_Card
- getitem 7491,1; //Iron_Box
+ delitem Villa_Spare_Key,1;
+ delitem Green_Key_Card,1;
+ getitem Iron_Box,1;
close;
}
@@ -3013,7 +3013,7 @@ kh_vila,185,68,0 script Test Tube::TestTubeKHQ2 HIDDEN_NPC,{
}
}
else if (KielHyreQuest >= 30) {
- if ((countitem(7491) > 0) && (countitem(7492) > 0)){
+ if ((countitem(Iron_Box) > 0) && (countitem(Yellow_Key_Card) > 0)){
mes "^3355FFWhat could the";
mes "number 4772961";
mes "mean? For now, you've";
@@ -3224,7 +3224,7 @@ kh_school,121,149,4 duplicate(BeatifulLadyKHQ1) Beautiful lady#kh5 4_F_KHELLISIA
//- Beautiful Lady "Allysia" -
kh_school,122,186,4 script Beautiful Lady#kh6 4_F_KHELLISIA,{
- if (checkweight(7496,1) == 0) {
+ if (checkweight(Red_Key_Card,1) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -3299,7 +3299,7 @@ kh_school,122,186,4 script Beautiful Lady#kh6 4_F_KHELLISIA,{
mes "inside this factory. If you";
mes "locate Kiel Hyre, please";
mes "let me know right away.";
- getitem 7496,1; //Red_Key_Card
+ getitem Red_Key_Card,1;
KielHyreQuest = 40;
break;
}
@@ -3343,7 +3343,7 @@ kh_school,122,186,4 script Beautiful Lady#kh6 4_F_KHELLISIA,{
mes "Alright, I've recieved";
mes "Kiel Hyre's orders, and";
mes "must carry them out...";
- delitem 7497,1; //Steel_Piece
+ delitem Steel_Piece,1;
KielHyreQuest = 44;
close2;
cutin "",255;
@@ -3364,9 +3364,9 @@ kh_school,122,186,4 script Beautiful Lady#kh6 4_F_KHELLISIA,{
mes "Hyre Mansion in Lighthalzen.";
mes "Present the Golden Key to";
mes "be admitted to the premises.";
- delitem 7492,1; //Yellow_Key_Card
- delitem 7495,1; //Blue_Key_Card
- delitem 7496,1; //Red_Key_Card
+ delitem Yellow_Key_Card,1;
+ delitem Blue_Key_Card,1;
+ delitem Red_Key_Card,1;
KielHyreQuest = 46;
next;
mes "[Allysia]";
@@ -3417,7 +3417,7 @@ kh_dun01,166,223,0 script Mechanical Device#kh::KHKeyardReader HIDDEN_NPC,{
mes "correct keycard into the slot.^000000";
close;
}
- else if ((KielHyreQuest == 40) && (countitem(7496) >= 1)) {
+ else if ((KielHyreQuest == 40) && (countitem(Red_Key_Card) >= 1)) {
mes "^3355FFYou encounter";
mes "a mechanical device.";
mes "It looks like it can be";
@@ -3459,7 +3459,7 @@ kh_dun01,224,233,0 script Factory B Area Door -1,5,5,{
//OnTouch2:
OnTouch:
if (KielHyreQuest == 40) {
- if (checkweight(7497,1) == 0) {
+ if (checkweight(Steel_Piece,1) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -3512,7 +3512,7 @@ OnTouch:
mes "fragment through";
mes "the gap between the";
mes "door and the floor.^000000";
- getitem 7497,1; //Steel_Piece
+ getitem Steel_Piece,1;
KielHyreQuest = 42;
close;
}
@@ -3526,7 +3526,7 @@ OnTouch:
//- Robot Factory Second Floor Entrances -
kh_dun01,44,203,0 script Entrance Device#khd2::KHAccess HIDDEN_NPC,{
- if (countitem(7509) < 1) {
+ if (countitem(Fancy_Key_Card) < 1) {
mes "^3355FFYou encounter";
mes "a mechanical device.";
mes "It looks like it can be";
@@ -3678,7 +3678,7 @@ kh_mansion,78,55,5 script Steward#kh 4_M_MANAGER,{
//- Kiel Hyre -
kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -3791,8 +3791,8 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "let me rest?? I'm still not";
mes "feeling well from the time";
mes "I was locked up in the factory.";
- delitem 7493,1; //Golden_Key
- delitem 7494,1; //Kiel_Button
+ delitem Golden_Key,1;
+ delitem Kiel_Button,1;
KielHyreQuest = 48;
break;
}
@@ -3804,7 +3804,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "Please, take this as";
mes "a little reward for";
mes "saving my life.";
- getitem 12105,1; //Taming_Gift_Set
+ getitem Set_Of_Taiming_Item,1; //Taming_Gift_Set
getexp RENEWAL_EXP?70000:700000,0;
KielHyreQuest = 50;
}
@@ -4144,11 +4144,11 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "wrong... and she just... just...";
mes "The river swallowed her...";
mes "I felt empty. She was gone. ";
- delitem 7499,1; //Family_Portrait
- delitem 7500,1; //Elysia_Portrait
- delitem 7501,1; //Kyll_Hyre_Letter2
- delitem 7502,1; //Piece_Memo_Of_James
- delitem 7503,1; //Man_Portrait
+ delitem Family_Portrait,1;
+ delitem Elysia_Portrait,1;
+ delitem Kyll_Hire_Letter2,1; //Kyll_Hyre_Letter2
+ delitem Piece_Memo_Of_James,1;
+ delitem Man_Portrait,1;
KielHyreQuest = 70;
close2;
cutin "",255;
@@ -4328,7 +4328,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "on him anymore. Use this";
mes "device that will cause his";
mes "power supply to fluctuate.";
- getitem 7504,1; //Toy_Motor
+ getitem Toy_Motor,1;
next;
cutin "kh_kyel03",2;
mes "[Kiel Hyre]";
@@ -4381,7 +4381,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "to retrieve Allysia's";
mes "Ring from Kiehl's heart?";
next;
- if (countitem(7508) < 1) {
+ if (countitem(Elysia_Ring) < 1) {
mes "[Kiel Hyre]";
mes "You mean... You don't have it?";
mes "Please, retrieve Allysia's Ring";
@@ -4415,7 +4415,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "enter and investigate the";
mes "deepest levels of the factory.";
mes "I'll investigate Kiehl's room.";
- getitem 7509,1; //Fancy_Key_Card
+ getitem Fancy_Key_Card,1;
KielHyreQuest = 108;
next;
if (Sex == 0) {
@@ -4430,8 +4430,8 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "and here, please take this";
mes "with my thanks for all of";
mes "your help, "+.@KHTitle$+" "+strcharinfo(0)+".";
- getitem 616,1; //Old Card Album
- delitem 7508,1; //Elysia_Ring
+ getitem Old_Card_Album,1; //Old Card Album
+ delitem Elysia_Ring,1;
getexp RENEWAL_EXP?100000:1000000,0;
}
else if (KielHyreQuest >= 108) {
@@ -4990,7 +4990,7 @@ yuno,257,140,4 script Odd Grandma 4_F_EINOLD,{
mes "you go? You were";
mes "supposed to come";
mes "home a while ago!";
- if (countitem(7500) < 1)
+ if (countitem(Elysia_Portrait) < 1)
close;
next;
select("Allysia? Isn't she...");
@@ -5028,7 +5028,7 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{
close;
}
else if (KielHyreQuest == 56) {
- if (checkweight(7498,1) == 0) {
+ if (checkweight(Rosimier_Key,1) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -5109,17 +5109,17 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{
mes "from City Hall ask me for it.";
mes "Alright then, I hope you find";
mes "what you're looking for.";
- getitem 7498,1; //Rosimier_Key
+ getitem Rosimier_Key,1;
KielHyreQuest = 58;
close;
}
}
else if ((KielHyreQuest == 58) &&
- (countitem(7499) < 1) ||
- (countitem(7500) < 1) ||
- (countitem(7501) < 1) ||
- (countitem(7502) < 1)) {
+ (countitem(Family_Portrait) < 1) ||
+ (countitem(Elysia_Portrait) < 1) ||
+ (countitem(Kyll_Hire_Letter2) < 1) ||
+ (countitem(Piece_Memo_Of_James) < 1)) {
mes "[Old Lady]";
mes "Please hurry and find";
mes "whatever you're searching";
@@ -5131,10 +5131,10 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{
}
else if ((KielHyreQuest == 58) &&
- (countitem(7499) == 1) &&
- (countitem(7500) == 1) &&
- (countitem(7501) == 1) &&
- (countitem(7502) == 1)) {
+ (countitem(Family_Portrait) == 1) &&
+ (countitem(Elysia_Portrait) == 1) &&
+ (countitem(Kyll_Hire_Letter2) == 1) &&
+ (countitem(Piece_Memo_Of_James) == 1)) {
mes "[Old Lady]";
mes "Oh, you're finished";
mes "searching the mansion?";
@@ -5171,7 +5171,7 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{
mes "Allysia's body in the river,";
mes "so he might have a better";
mes "idea of what had happened.";
- delitem 7498,1; //Rosimier_Key
+ delitem Rosimier_Key,1;
KielHyreQuest = 60;
close;
}
@@ -5187,7 +5187,7 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{
//- Warp portal into Rosimier Mansion -
yuno,273,141,0 script Rosimmir_Entrance WARPNPC,2,2,{
OnTouch:
- if (countitem(7498) < 1) {
+ if (countitem(Rosimier_Key) < 1) {
mes "That mansion seems to have";
mes "been destroyed by the time.";
mes "However, the door looks like";
@@ -5203,7 +5203,7 @@ OnTouch:
//- Rosimier Mansion, first floor; Table -
kh_rossi,23,23,0 script Table#khr2 HIDDEN_NPC,{
- if (checkweight(7499,1) == 0) {
+ if (checkweight(Family_Portrait,1) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -5218,12 +5218,12 @@ kh_rossi,23,23,0 script Table#khr2 HIDDEN_NPC,{
close;
}
else if (KielHyreQuest < 60) {
- if (countitem(7499) < 1) {
+ if (countitem(Family_Portrait) < 1) {
cutin "kh_family_port",1;
mes "^3355FFYou examine the table,";
mes "and find a framed portrait";
mes "inside the open drawer.^000000";
- getitem 7499,1; //Family_Portrait
+ getitem Family_Portrait,1;
}
else {
mes "^3355FFThe open drawer of";
@@ -5244,7 +5244,7 @@ kh_rossi,23,23,0 script Table#khr2 HIDDEN_NPC,{
//- Rosimier Mansion, first floor; Shelf -
kh_rossi,92,40,0 script Shelf#khr HIDDEN_NPC,{
- if (checkweight(7500,1) == 0) {
+ if (checkweight(Elysia_Portrait,1) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -5259,7 +5259,7 @@ kh_rossi,92,40,0 script Shelf#khr HIDDEN_NPC,{
close;
}
else if (KielHyreQuest < 60) {
- if (countitem(7500) < 1) {
+ if (countitem(Elysia_Portrait) < 1) {
mes "^3355FFThere are locked";
mes "boxes on these bookshelves.";
mes "Perhaps if you used this";
@@ -5283,7 +5283,7 @@ kh_rossi,92,40,0 script Shelf#khr HIDDEN_NPC,{
mes "^3355FFThe message, ''To my love,";
mes "Allysia. From James.'' is";
mes "written on the back.^000000";
- getitem 7500,1; //Elysia_Portrait
+ getitem Elysia_Portrait,1;
close2;
cutin "",255;
end;
@@ -5315,7 +5315,7 @@ kh_rossi,92,40,0 script Shelf#khr HIDDEN_NPC,{
//- Rosimier Mansion, top floor; Desk -
kh_rossi,144,286,0 script Desk#khr3 HIDDEN_NPC,{
- if (checkweight(7501,1) == 0) {
+ if (checkweight(Kyll_Hire_Letter2,1) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -5337,13 +5337,13 @@ kh_rossi,144,286,0 script Desk#khr3 HIDDEN_NPC,{
mes "^3355FFThe first drawer is locked.^000000";
close;
case 2:
- if (countitem(7501) < 1) {
+ if (countitem(Kyll_Hire_Letter2) < 1) {
mes "^3355FFThere is a letter inside";
mes "this second drawer. It";
mes "was sent by a person";
mes "with the initials, K.H.,";
mes "and addressed to Allysia.^000000";
- getitem 7501,1; //Kyll_Hyre_Letter2
+ getitem Kyll_Hire_Letter2,1; //Kyll_Hyre_Letter2
close;
}
else {
@@ -5378,7 +5378,7 @@ kh_rossi,144,286,0 script Desk#khr3 HIDDEN_NPC,{
//- Rosimier Mansion, top floor; Bookshelf -
kh_rossi,148,288,0 script Bookshelf#khr HIDDEN_NPC,{
- if (checkweight(7502,1) == 0) {
+ if (checkweight(Piece_Memo_Of_James,1) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -5394,13 +5394,13 @@ kh_rossi,148,288,0 script Bookshelf#khr HIDDEN_NPC,{
close;
}
else if (KielHyreQuest < 60) {
- if (countitem(7502) < 1) {
+ if (countitem(Piece_Memo_Of_James) < 1) {
mes "^3355FFYou encounter a dusty";
mes "bookshelf filled with";
mes "numerous books. You";
mes "find a folded note between";
mes "the books as you examine them.^000000";
- getitem 7502,1; //Piece_Memo_Of_James
+ getitem Piece_Memo_Of_James,1;
close;
}
else {
@@ -5475,7 +5475,7 @@ yuno_fild12,232,222,0 script Old Fisherman 4_M_SEAMAN,{
mes "but you're not getting any.";
mes "Now, if you bring me some";
mes "Raw Fish, I'd be more friendly~";
- if (countitem(544) >= 10) {
+ if (countitem(Fish_Slice) >= 10) {
next;
mes "[Fisherman]";
mes "Oh, is all this fish";
@@ -5541,7 +5541,7 @@ yuno_fild12,232,222,0 script Old Fisherman 4_M_SEAMAN,{
mes "Let's see, he lived in";
mes "a hut near the northeast";
mes "forest guard camp.";
- delitem 544,10; //Fish_Slice
+ delitem Fish_Slice,10;
KielHyreQuest = 62;
close;
}
@@ -5563,7 +5563,7 @@ yuno_fild12,232,222,0 script Old Fisherman 4_M_SEAMAN,{
//- Kiel Hyre's hut; Wooden Board -
yuno_fild09,158,217,0 script Wooden Board#kh HIDDEN_NPC,{
- if (checkweight(7503,1) == 0) {
+ if (checkweight(Man_Portrait,1) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -5590,7 +5590,7 @@ yuno_fild09,158,217,0 script Wooden Board#kh HIDDEN_NPC,{
mes "of Kiel Hyre, in a broken";
mes "picture frame underneath";
mes "the old wooden board.^000000";
- getitem 7503,1; //Man_Portrait
+ getitem Man_Portrait,1;
KielHyreQuest = 64;
next;
cutin "",255;
@@ -5695,7 +5695,7 @@ kh_kiehl01,13,40,0 script Flower Vase#kh1 HIDDEN_NPC,{
//- Kiehl's Room; Box -
kh_kiehl01,19,25,0 script Box#kh1 HIDDEN_NPC,{
- if (checkweight(7505,1) == 0) {
+ if (checkweight(Toy_Key,1) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -5714,7 +5714,7 @@ kh_kiehl01,19,25,0 script Box#kh1 HIDDEN_NPC,{
close;
}
if (KielHyreQuest >= 74) {
- if (countitem(7505) < 1) {
+ if (countitem(Toy_Key) < 1) {
mes "^3355FFYou found a box with";
mes "a button for each letter";
mes "of the alphabet on top of it.^000000";
@@ -5726,7 +5726,7 @@ kh_kiehl01,19,25,0 script Box#kh1 HIDDEN_NPC,{
mes "emits a pleasant chiming";
mes "sound, and the box pops";
mes "open to reveal a small key.^000000";
- getitem 7505,1; //Toy_Key
+ getitem Toy_Key,1;
close;
}
else {
@@ -5760,12 +5760,12 @@ kh_kiehl01,44,33,0 script Big Door#BigDoorKHQ1 HIDDEN_NPC,{
next;
input .@KHInput$;
if (.@KHInput$ == "Black Keycard") {
- if (countitem(7506) >= 1) {
+ if (countitem(Black_Key_Card) >= 1) {
mes "^3355FFYou insert the";
mes "Black Keycard into the";
mes "slot, and successfully";
mes "unlock and open the door.^000000";
- delitem 7506,1; //Black_Key_Card
+ delitem Black_Key_Card,1;
donpcevent "Big_Door_1_Warp::OnEnable";
enablenpc "Big_Door_1_Warp";
.KHDoor1Opened = 1;
@@ -5819,12 +5819,12 @@ kh_kiehl01,174,40,0 script Big Door#BigDoorKHQ2 HIDDEN_NPC,{
next;
input .@KHInput$;
if (.@KHInput$ == "Toy Key") {
- if (countitem(7505) >= 1) {
+ if (countitem(Toy_Key) >= 1) {
mes "^3355FFYou insert the key into";
mes "the keyhole, and the door";
mes "unlocks with a click as";
mes "you turn the key.^000000";
- delitem 7505,1; //Toy_Key
+ delitem Toy_Key,1;
donpcevent "Big_Door_2_Warp::OnEnable";
enablenpc "Big_Door_2_Warp";
.KHDoor2Opened = 1;
@@ -5877,12 +5877,12 @@ kh_kiehl01,77,108,0 script Big Door#BigDoorKHQ3 HIDDEN_NPC,{
next;
input .@KHInput$;
if (.@KHInput$ == "Black Keycard") {
- if (countitem(7506) >= 1) {
+ if (countitem(Black_Key_Card) >= 1) {
mes "^3355FFYou insert the";
mes "Black Keycard into the";
mes "slot, and successfully";
mes "unlock and open the door.^000000";
- delitem 7506,1; //Black_Key_Card
+ delitem Black_Key_Card,1;
donpcevent "Big_Door_3_Warp::OnEnable";
enablenpc "Big_Door_3_Warp";
.KHDoor3Opened = 1;
@@ -5935,12 +5935,12 @@ kh_kiehl01,42,177,0 script Big Door#BigDoorKHQ4 HIDDEN_NPC,{
next;
input .@KHInput$;
if (.@KHInput$ == "Black Keycard") {
- if (countitem(7506) >= 2) {
+ if (countitem(Black_Key_Card) >= 2) {
mes "^3355FFYou insert the";
mes "Black Keycard into the";
mes "slot, and successfully";
mes "unlock and open the door.^000000";
- delitem 7506,2; //Black_Key_Card
+ delitem Black_Key_Card,2;
donpcevent "Big_Door_4_Warp::OnEnable";
enablenpc "Big_Door_4_Warp";
.KHDoor4Opened = 1;
@@ -6069,7 +6069,7 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{
.@KHPryingItem$ = "Rusty Iron Piece";
break;
case 3:
- if (countitem(7507) >= 1) {
+ if (countitem(Sturdy_Iron_Piece) >= 1) {
if (KielHyreQuest < 92) {
mes "^3355FFYou insert one end of";
mes "a Solid Iron Piece into the";
@@ -6078,7 +6078,7 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{
mes "The gap widens a little bit,";
mes "but you break one of your";
mes "Solid Iron Pieces.^000000";
- delitem 7507,1; //Hard_Piece_of_Steel
+ delitem Sturdy_Iron_Piece,1; //Hard_Piece_of_Steel
KielHyreQuest += 2;
close;
}
@@ -6090,7 +6090,7 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{
mes "Unable the withstand the";
mes "awesome force, this Solid";
mes "Iron Piece shatters into dust.^000000";
- delitem 7507,1; //Hard_Piece_of_Steel
+ delitem Sturdy_Iron_Piece,1; //Hard_Piece_of_Steel
KielHyreQuest = 94;
close;
}
@@ -6230,7 +6230,7 @@ OnGlobalTimerOff:
//- Kiehl's Room; Kiehl -
// - Timer will drop to 3 minutes once Kiehl is defeated.
kh_kiehl02,50,52,4 script Kiehl#Original 4_M_KHKIEL,{
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFJust a second...";
mes "You're carrying too";
mes "many items with you";
@@ -6645,7 +6645,7 @@ kh_kiehl02,50,52,4 script Kiehl#Original 4_M_KHKIEL,{
mes "again, but who knows?";
mes "Anyway, I'll open up the";
mes "exit for you. Farewell~";
- delitem 7504,1; //Toy_Motor
+ delitem Toy_Motor,1;
KielHyreQuest = 104;
hideonnpc "Kiehl#Copy";
donpcevent "Kiehl_Room_Exit::OnEnable";
@@ -6659,7 +6659,7 @@ kh_kiehl02,50,52,4 script Kiehl#Original 4_M_KHKIEL,{
mes "^3355FFYou retrieve the";
mes "ring from the heart of";
mes "Kiehl's old robotic body.^000000";
- getitem 7508,1; //Elysia_Ring
+ getitem Elysia_Ring,1;
KielHyreQuest = 106;
close2;
cutin "",255;
diff --git a/npc/quests/lvl4_weapon_quest.txt b/npc/quests/lvl4_weapon_quest.txt
index 0839f27a8..f61c2122c 100644
--- a/npc/quests/lvl4_weapon_quest.txt
+++ b/npc/quests/lvl4_weapon_quest.txt
@@ -39,7 +39,7 @@
//=========================================================================
umbala,117,285,3 script Bazo#lv4 4_M_03,{
- if (checkweight(908,300) == 0) {
+ if (checkweight(Spawn,300) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
@@ -152,28 +152,28 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
mes "This sword was born to be yours!";
mes "Congratulations and hopefully it will be useful to you.";
lv4_weapon = 0;
- getitem 1141,1; //Immaterial_Sword
+ getitem Immaterial_Sword,1;
}
else if (lv4_weapon == 6) {
mes "Slash!";
mes "This mace was born to be yours!";
mes "Congratulations and hopefully it will be useful to you.";
lv4_weapon = 0;
- getitem 1526,1; //Slash
+ getitem Slash,1;
}
else if (lv4_weapon == 7) {
mes "Quadrille!";
mes "This mace was born to be yours!";
mes "Congratulations and hopefully it will be useful to you.";
lv4_weapon = 0;
- getitem 1527,1; //Quadrille
+ getitem Quadrille,1;
}
next;
mes "[Bazo]";
mes "Ah, I'm very satisfied with these results. If you wish to have another one, please feel free to visit me anytime. Alright then, enjoy your travels~";
close;
}
- if (((lv4_weapon == 2) && (countitem(7295) > 29)) || ((lv4_weapon == 3) && (countitem(7294) > 29)) || ((lv4_weapon == 4) && (countitem(7291) > 29))) {
+ if (((lv4_weapon == 2) && (countitem(Citrine) > 29)) || ((lv4_weapon == 3) && (countitem(Turquoise) > 29)) || ((lv4_weapon == 4) && (countitem(Agate) > 29))) {
if (lv4_weapon == 2) {
.@itemreq = 7295; // Citrine
}
@@ -275,12 +275,12 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
mes "materials you've brought again?";
close;
}
- if ((lv4_weapon == 1) && (countitem(969) > 9) && (countitem(999) > 49) && (countitem(714) > 9)) {
+ if ((lv4_weapon == 1) && (countitem(Gold) > 9) && (countitem(Steel) > 49) && (countitem(Emperium) > 9)) {
mes "[Bazo]";
mes "Oh, you've brought all the basic materials. Now, let me check to see if you brought any of the rare ores I asked for...";
next;
- if ((countitem(7295) > 29) || (countitem(7294) > 29) || (countitem(7291) > 29)) {
- if ((countitem(7295) > 29) && (countitem(7294) > 29) && (countitem(7291) > 29)) {
+ if ((countitem(Citrine) > 29) || (countitem(Turquoise) > 29) || (countitem(Agate) > 29)) {
+ if ((countitem(Citrine) > 29) && (countitem(Turquoise) > 29) && (countitem(Agate) > 29)) {
mes "[Bazo]";
mes "Hahaha, I asked you to";
mes "bring one kind of ore, not all of them. So which one would you";
@@ -298,7 +298,7 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
break;
}
}
- else if ((countitem(7295) > 29) && (countitem(7294) > 29)) {
+ else if ((countitem(Citrine) > 29) && (countitem(Turquoise) > 29)) {
mes "Hahaha, I asked you to";
mes "bring one kind of ore, not";
mes "two. So which one would";
@@ -312,7 +312,7 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
break;
}
}
- else if ((countitem(7295) > 29) && (countitem(7291) > 29)) {
+ else if ((countitem(Citrine) > 29) && (countitem(Agate) > 29)) {
mes "Hahaha, I asked you to";
mes "bring one kind of ore, not";
mes "two. So which one would";
@@ -326,7 +326,7 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
break;
}
}
- else if ((countitem(7294) > 29) && (countitem(7291) > 29)) {
+ else if ((countitem(Turquoise) > 29) && (countitem(Agate) > 29)) {
mes "Hahaha, I asked you to";
mes "bring one kind of ore, not";
mes "two. So which one would";
@@ -341,13 +341,13 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
}
}
else {
- if (countitem(7295) > 29) {
+ if (countitem(Citrine) > 29) {
.@itemreq = 7295; // Citrine
}
- if (countitem(7294) > 29) {
+ if (countitem(Turquoise) > 29) {
.@itemreq = 7294; //Turqoise
}
- if (countitem(7291) > 29) {
+ if (countitem(Agate) > 29) {
.@itemreq = 7291; // Agate
}
}
@@ -374,9 +374,9 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
mes "Okay, now I need";
mes "some time to preprare...";
mes "Talk to you later!";
- delitem 969,10; //Gold
- delitem 999,50; //Steel
- delitem 714,10; //Emperium
+ delitem Gold,10;
+ delitem Steel,50;
+ delitem Emperium,10;
if (.@itemreq == 7295) {
lv4_weapon = 2;
}
@@ -480,7 +480,7 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
}
umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
- if (checkweight(908,300) == 0) {
+ if (checkweight(Spawn,300) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
@@ -594,24 +594,24 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
if (lv4_weapon == 12) {
mes "Ooh, this is a huge success! But of course, since it's my handiwork, that goes without saying. Hey, this is a weapon... Some sort of... Mailbreaker!";
lv4_weapon = 0;
- getitem 1225,1; //Mail_Breaker
+ getitem Mail_Breaker,1;
}
else if (lv4_weapon == 13) {
mes "Ooh, this is a huge success! But of course, since it's my handiwork, that goes without saying. Hey, this is a weapon... Some sort of... Swordbreaker!";
lv4_weapon = 0;
- getitem 1224,1; //Sword_Breaker
+ getitem Sword_Breaker,1;
}
else if (lv4_weapon == 14) {
mes "Ooh, this is a huge success! But of course, since it's my handiwork, that goes without saying. Hey, this is a weapon... Some sort of... Slaughter!";
lv4_weapon = 0;
- getitem 1367,1; //Slaughter
+ getitem Slaughter,1;
}
next;
mes "[Hibilaithan]";
mes "Ah, yet another creation that's a testament to my awesome skills! Come back to me whenever you want me to make something truly great for you. See you around~";
close;
}
- if (((lv4_weapon == 9) && (countitem(7292) > 29)) || ((lv4_weapon == 10) && (countitem(7297) > 29)) || ((lv4_weapon == 11) && (countitem(7296) > 29))) {
+ if (((lv4_weapon == 9) && (countitem(Muscovite) > 29)) || ((lv4_weapon == 10) && (countitem(Biotite) > 29)) || ((lv4_weapon == 11) && (countitem(Pyroxene) > 29))) {
if (lv4_weapon == 9) {
.@itemreq = 7292; //Muscovite
}
@@ -728,12 +728,12 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
mes "materials you've brought again?";
close;
}
- if ((lv4_weapon == 8) && (countitem(969) > 9) && (countitem(999) > 49) && (countitem(714) > 9)) {
+ if ((lv4_weapon == 8) && (countitem(Gold) > 9) && (countitem(Steel) > 49) && (countitem(Emperium) > 9)) {
mes "[Hibilaithan]";
mes "Ooh, you're back earlier than I expected. I see that you have all the basic materials, but did you bring the most important thing...?";
next;
- if ((countitem(7292) > 29) || (countitem(7297) > 29) || (countitem(7296) > 29)) {
- if ((countitem(7292) > 29) && (countitem(7297) > 29) && (countitem(7296) > 29)) {
+ if ((countitem(Muscovite) > 29) || (countitem(Biotite) > 29) || (countitem(Pyroxene) > 29)) {
+ if ((countitem(Muscovite) > 29) && (countitem(Biotite) > 29) && (countitem(Pyroxene) > 29)) {
mes "[Hibilaithan]";
mes "Whoa, you brought all three kinds of those ores I asked for? Haha, we can only use one of them, so go ahead and choose.";
next;
@@ -749,7 +749,7 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
break;
}
}
- else if ((countitem(7292) > 29) && (countitem(7297) > 29)) {
+ else if ((countitem(Muscovite) > 29) && (countitem(Biotite) > 29)) {
mes "[Hibilaithan]";
mes "Hahaha, you only needed to bring one kind of ore, not two. Now, which ore would you like to use?";
next;
@@ -762,7 +762,7 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
break;
}
}
- else if ((countitem(7292) > 29) && (countitem(7296) > 29)) {
+ else if ((countitem(Muscovite) > 29) && (countitem(Pyroxene) > 29)) {
mes "[Hibilaithan]";
mes "Hahaha, you only needed to bring one kind of ore, not two. Now, which ore would you like to use?";
next;
@@ -775,7 +775,7 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
break;
}
}
- else if ((countitem(7297) > 29) && (countitem(7296) > 29)) {
+ else if ((countitem(Biotite) > 29) && (countitem(Pyroxene) > 29)) {
mes "[Hibilaithan]";
mes "Hahaha, you only needed to bring one kind of ore, not two. Now, which ore would you like to use?";
next;
@@ -789,13 +789,13 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
}
}
else {
- if (countitem(7292) > 29) {
+ if (countitem(Muscovite) > 29) {
.@itemreq = 7292; //Muscovite
}
- else if (countitem(7297) > 29) {
+ else if (countitem(Biotite) > 29) {
.@itemreq = 7297; // Biotite
}
- else if (countitem(7296) > 29) {
+ else if (countitem(Pyroxene) > 29) {
.@itemreq = 7296; // Pyroxene
}
}
@@ -822,16 +822,16 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
mes "[Hibilaithan]";
mes "Okay, I'll need some time to get ready. Come back to me a little later so that I can judge your";
mes "luck today~";
- delitem 969,10; //Gold
- delitem 999,50; //Steel
- delitem 714,10; //Emperium
- if (countitem(7292) > 29) {
+ delitem Gold,10;
+ delitem Steel,50;
+ delitem Emperium,10;
+ if (countitem(Muscovite) > 29) {
lv4_weapon = 9;
}
- else if (countitem(7297) > 29) {
+ else if (countitem(Biotite) > 29) {
lv4_weapon = 10;
}
- else if (countitem(7296) > 29) {
+ else if (countitem(Pyroxene) > 29) {
lv4_weapon = 11;
}
close;
@@ -938,7 +938,7 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
}
um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
- if (checkweight(908,300) == 0) {
+ if (checkweight(Spawn,300) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
@@ -1043,19 +1043,19 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
mes "I don't believe it!";
mes "This is such an incredibly rare weapon! Yes, I remember its name from what my late father told me. This is... Caesar's Sword!";
lv4_weapon = 0;
- getitem 1134,1; //Scissores_Sword
+ getitem Scissores_Sword,1;
}
else if (lv4_weapon == 20) {
mes "I don't believe it!";
mes "This is such an incredibly rare weapon! Yes, I remember its name from what my late father told me. This is... Tirfing!";
lv4_weapon = 0;
- getitem 1139,1; //Tale_Fing_
+ getitem Tale_Fing_,1;
}
else if (lv4_weapon == 21) {
mes "I don't believe it!";
mes "This is such an incredibly rare weapon! Yes, I remember its name from what my late father told me. This is... Sabbath!";
lv4_weapon = 0;
- getitem 1365,1; //Sabbath
+ getitem Sabbath,1;
}
next;
mes "[Tabezthan]";
@@ -1064,7 +1064,7 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
mes "Farewell for now, brave adventurer.";
close;
}
- if (((lv4_weapon == 16) && (countitem(7290))) || ((lv4_weapon == 17) && (countitem(7289))) || ((lv4_weapon == 18) && (countitem(7293)))) {
+ if (((lv4_weapon == 16) && (countitem(Phlogopite))) || ((lv4_weapon == 17) && (countitem(Olivine))) || ((lv4_weapon == 18) && (countitem(Rose_Quartz)))) {
if (lv4_weapon == 16) {
.@itemreq = 7290; //Phlogopite
}
@@ -1170,12 +1170,12 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
mes "return to me.";
close;
}
- if ((lv4_weapon == 15) && (countitem(969) > 9) && (countitem(999) > 49) && (countitem(714) > 9)) {
+ if ((lv4_weapon == 15) && (countitem(Gold) > 9) && (countitem(Steel) > 49) && (countitem(Emperium) > 9)) {
mes "[Tabezthan]";
mes "You've returned to me earlier than I've expected. I sense that you've brought all the basic materials, but did you bring enough special ore as well?";
next;
- if ((countitem(7290) > 29) || (countitem(7289) > 29) || (countitem(7293) > 29)) {
- if ((countitem(7290) > 29) && (countitem(7289) > 29) && (countitem(7293) > 29)) {
+ if ((countitem(Phlogopite) > 29) || (countitem(Olivine) > 29) || (countitem(Rose_Quartz) > 29)) {
+ if ((countitem(Phlogopite) > 29) && (countitem(Olivine) > 29) && (countitem(Rose_Quartz) > 29)) {
mes "[Tabezthan]";
mes "Ah, you've brought all three. However, we can only use one kind of ore at a time, so please choose just one.";
next;
@@ -1191,7 +1191,7 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
break;
}
}
- else if ((countitem(7290) > 29) && (countitem(7289) > 29)) {
+ else if ((countitem(Phlogopite) > 29) && (countitem(Olivine) > 29)) {
mes "[Tabezthan]";
mes "Hahaha, you didn't need";
mes "to bring more than one kind";
@@ -1207,7 +1207,7 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
break;
}
}
- else if ((countitem(7290) > 29) && (countitem(7293) > 29)) {
+ else if ((countitem(Phlogopite) > 29) && (countitem(Rose_Quartz) > 29)) {
mes "[Tabezthan]";
mes "Hahaha, you didn't need";
mes "to bring more than one kind";
@@ -1223,7 +1223,7 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
break;
}
}
- else if ((countitem(7289) > 29) && (countitem(7293) > 29)) {
+ else if ((countitem(Olivine) > 29) && (countitem(Rose_Quartz) > 29)) {
mes "[Tabezthan]";
mes "Hahaha, you didn't need";
mes "to bring more than one kind";
@@ -1240,13 +1240,13 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
}
}
else {
- if (countitem(7290) > 29) {
+ if (countitem(Phlogopite) > 29) {
.@itemreq = 7290; //Phlogopite
}
- else if (countitem(7289) > 29) {
+ else if (countitem(Olivine) > 29) {
.@itemreq = 7289; //Olivine
}
- else if (countitem(7293) > 29) {
+ else if (countitem(Rose_Quartz) > 29) {
.@itemreq = 7293; //Rose_Quartz
}
}
@@ -1268,16 +1268,16 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
next;
mes "[Tabezthan]";
mes "Now, please give me a little time to finish my preparations. I shall speak to you later.";
- delitem 999,50; //Steel
- delitem 969,10; //Gold
- delitem 714,10; //Emperium
- if (countitem(7290) > 29) {
+ delitem Steel,50;
+ delitem Gold,10;
+ delitem Emperium,10;
+ if (countitem(Phlogopite) > 29) {
lv4_weapon = 16;
}
- else if (countitem(7289) > 29) {
+ else if (countitem(Olivine) > 29) {
lv4_weapon = 17;
}
- else if (countitem(7293) > 29) {
+ else if (countitem(Rose_Quartz) > 29) {
lv4_weapon = 18;
}
close;
@@ -1709,7 +1709,7 @@ morocc,289,230,3 script Citizen#lv4-2 4_F_03,{
}
niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
- if (checkweight(908,300) == 0) {
+ if (checkweight(Spawn,300) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
@@ -1774,11 +1774,11 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
mes "can't believe it! I created";
if (lv4_weapon == 29) {
mes "this... Great Axe!";
- getitem 1364,1; //Great_Axe
+ getitem Great_Axe,1;
}
else {
mes "this... Longinus's Spear!";
- getitem 1469,1; //Longinus's_Spear
+ getitem Longinus's_Spear,1;
}
lv4_weapon = 0;
next;
@@ -1801,11 +1801,11 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
mes "can't believe it! I created";
if (lv4_weapon == 29) {
mes "this... Guillotine!";
- getitem 1369,1; //Guillotine
+ getitem Guillotine,1;
}
else {
mes "this... Brionac!";
- getitem 1470,1; //Brionac
+ getitem Brionac,1;
}
lv4_weapon = 0;
next;
@@ -1821,7 +1821,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
close;
}
}
- if (((lv4_weapon == 27) && (countitem(7289) > 29) && (countitem(7294) > 29) && (countitem(7291) > 29)) || ((lv4_weapon == 28) && (countitem(7290) > 29) && (countitem(7296) > 29) && (countitem(7293) > 29))) {
+ if (((lv4_weapon == 27) && (countitem(Olivine) > 29) && (countitem(Turquoise) > 29) && (countitem(Agate) > 29)) || ((lv4_weapon == 28) && (countitem(Phlogopite) > 29) && (countitem(Pyroxene) > 29) && (countitem(Rose_Quartz) > 29))) {
mes "[Kayron]";
mes "What's this?";
mes "The stuff you're carrying";
@@ -1875,40 +1875,40 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
.@aekddam = rand(1,3);
if (.@shobu > 1) {
if (lv4_weapon == 27) {
- delitem 7289,30; //Olivine
- delitem 7294,30; //Turquoise
- delitem 7291,30; //Agate
+ delitem Olivine,30;
+ delitem Turquoise,30;
+ delitem Agate,30;
}
else {
- delitem 7290,30; //Phlogopite
- delitem 7296,30; //Pyroxene
- delitem 7293,30; //Rose_Quartz
+ delitem Phlogopite,30;
+ delitem Pyroxene,30;
+ delitem Rose_Quartz,30;
}
lv4_weapon += 2;
}
else if (.@shobu < 2) {
if (.@aekddam == 1) {
if (lv4_weapon == 27) {
- delitem 7289,30; //Olivine
+ delitem Olivine,30;
}
else {
- delitem 7290,30; //Phlogopite
+ delitem Phlogopite,30;
}
}
else if (.@aekddam == 2) {
if (lv4_weapon == 27) {
- delitem 7294,30; //Turquoise
+ delitem Turquoise,30;
}
else {
- delitem 7296,30; //Pyroxene
+ delitem Pyroxene,30;
}
}
else if (.@aekddam == 3) {
if (lv4_weapon == 27) {
- delitem 7291,30; //Agate
+ delitem Agate,30;
}
else {
- delitem 7293,30; //Rose_Quartz
+ delitem Rose_Quartz,30;
}
}
}
@@ -2006,7 +2006,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
mes "I mean, me and my father used to know this stuff like it was second nature. What's wrong with me...?";
close;
}
- if ((lv4_weapon == 25) && (countitem(1005) > 1) && (countitem(989) > 0) && (countitem(710) > 0) && (countitem(969) > 19)) {
+ if ((lv4_weapon == 25) && (countitem(Hammer_Of_Blacksmith) > 1) && (countitem(Emperium_Anvil) > 0) && (countitem(Illusion_Flower) > 0) && (countitem(Gold) > 19)) {
mes "[Kayron]";
mes "Oh...!";
mes "I had no idea you were such a reliable person! You brought the things I've asked for pretty quickly!";
@@ -2016,10 +2016,10 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
next;
mes "[Kayron]";
mes "Is there any way to get more of my memory back? In the meantime, let me keep these materials. I promise they'll be used to make a good weapon for you.";
- delitem 1005,2; //Hammer_Of_Blacksmith
- delitem 989,1; //Emperium_Anvil
- delitem 710,1; //Illusion_Flower
- delitem 969,20; //Gold
+ delitem Hammer_Of_Blacksmith,2;
+ delitem Emperium_Anvil,1;
+ delitem Illusion_Flower,1;
+ delitem Gold,20;
lv4_weapon = 26;
close;
}
@@ -2228,11 +2228,11 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "but I finally finished it!";
if (lv4_weapon == 38) {
mes "This is... Berserk!";
- getitem 1814,1; //Berserk
+ getitem Berserk,1;
}
else {
mes "This is... Tjungkuletti!";
- getitem 1416,1; //Tjungkuletti
+ getitem Tjungkuletti,1;
}
lv4_weapon = 0;
next;
@@ -2254,11 +2254,11 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "but I finally finished it!";
if (lv4_weapon == 38) {
mes "This is... the Rudra Bow!";
- getitem 1720,1; //Bow_Of_Rudra
+ getitem Bow_Of_Rudra,1;
}
else {
mes "This is... Brocca! Weee~ I made it!";
- getitem 1415,1; //Skewer
+ getitem Skewer,1;
}
lv4_weapon = 0;
next;
@@ -2274,7 +2274,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
close;
}
}
- if (((lv4_weapon == 36) && (countitem(7292) > 29) && (countitem(7293) > 29) && (countitem(7289) > 29)) || ((lv4_weapon == 37) && (countitem(7297) > 29) && (countitem(7291) > 29) && (countitem(7295) > 29))) {
+ if (((lv4_weapon == 36) && (countitem(Muscovite) > 29) && (countitem(Rose_Quartz) > 29) && (countitem(Olivine) > 29)) || ((lv4_weapon == 37) && (countitem(Biotite) > 29) && (countitem(Agate) > 29) && (countitem(Citrine) > 29))) {
mes "[Reyghema]";
mes "Wait...";
mes "The stuff that you have. Those are things I'll need for my creation! Let me take a look...";
@@ -2323,40 +2323,40 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
.@aekddam = rand(1,3);
if (.@shobu > 1) {
if (lv4_weapon == 36) {
- delitem 7292,30; //Muscovite
- delitem 7293,30; //Rose_Quartz
- delitem 7289,30; //Olivine
+ delitem Muscovite,30;
+ delitem Rose_Quartz,30;
+ delitem Olivine,30;
}
else {
- delitem 7297,30; //Biotite
- delitem 7291,30; //Agate
- delitem 7295,30; //Citrine
+ delitem Biotite,30;
+ delitem Agate,30;
+ delitem Citrine,30;
}
lv4_weapon += 2;
}
else if (.@shobu < 2) {
if (.@aekddam == 1) {
if (lv4_weapon == 36) {
- delitem 7292,30; //Muscovite
+ delitem Muscovite,30;
}
else {
- delitem 7297,30; //Biotite
+ delitem Biotite,30;
}
}
else if (.@aekddam == 2) {
if (lv4_weapon == 36) {
- delitem 7293,30; //Rose_Quartz
+ delitem Rose_Quartz,30;
}
else {
- delitem 7291,30; //Agate
+ delitem Agate,30;
}
}
else if (.@aekddam == 3) {
if (lv4_weapon == 36) {
- delitem 7289,30; //Olivine
+ delitem Olivine,30;
}
else {
- delitem 7295,30; //Citrine
+ delitem Citrine,30;
}
}
}
@@ -2462,7 +2462,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "'Killing me?!' I'm already dead!";
close;
}
- if ((lv4_weapon == 34) && (countitem(1005) > 1) && (countitem(989) > 0) && (countitem(710) > 0) && (countitem(969) > 19)) {
+ if ((lv4_weapon == 34) && (countitem(Hammer_Of_Blacksmith) > 1) && (countitem(Emperium_Anvil) > 0) && (countitem(Illusion_Flower) > 0) && (countitem(Gold) > 19)) {
mes "[Reyghema]";
mes "Good work, you've brought everything I asked for. However, there's been a bit of a snafu in the plans...";
next;
@@ -2472,10 +2472,10 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "[Reyghema]";
mes "Just give me some time to think about it some more. For now, let";
mes "me hold on to the things you've brought. You've got my word that I'll be using these to make a weapon for you.";
- delitem 1005,2; //Hammer_Of_Blacksmith
- delitem 989,1; //Emperium_Anvil
- delitem 710,1; //Illusion_Flower
- delitem 969,20; //Gold
+ delitem Hammer_Of_Blacksmith,2;
+ delitem Emperium_Anvil,1;
+ delitem Illusion_Flower,1;
+ delitem Gold,20;
lv4_weapon = 35;
close;
}
@@ -2636,7 +2636,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
}
niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
- if (checkweight(908,300) == 0) {
+ if (checkweight(Spawn,300) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
@@ -2698,11 +2698,11 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "This weapon's name";
if (lv4_weapon == 47) {
mes "is Edge!";
- getitem 1132,1; //Edge
+ getitem Edge,1;
}
else {
mes "is Dragon Slayer!";
- getitem 1166,1; //Dragon_Slayer
+ getitem Dragon_Slayer,1;
}
lv4_weapon = 0;
next;
@@ -2716,11 +2716,11 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "This weapon's name";
if (lv4_weapon == 47) {
mes "is Excalibur!";
- getitem 1137,1; //Excalibur
+ getitem Excalibur,1;
}
else {
mes "is Schweizersabel!";
- getitem 1167,1; //Schweizersabel
+ getitem Schweizersabel,1;
}
lv4_weapon = 0;
next;
@@ -2734,7 +2734,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "my memories again, I'll try to help you as well. So long, adventurer...";
close;
}
- if (((lv4_weapon == 45) && (countitem(7294) > 29) && (countitem(7297) > 29) && (countitem(7293) > 29)) || ((lv4_weapon == 46) && (countitem(7295) > 29) && (countitem(7296) > 29) && (countitem(7290) > 29))) {
+ if (((lv4_weapon == 45) && (countitem(Turquoise) > 29) && (countitem(Biotite) > 29) && (countitem(Rose_Quartz) > 29)) || ((lv4_weapon == 46) && (countitem(Citrine) > 29) && (countitem(Pyroxene) > 29) && (countitem(Phlogopite) > 29))) {
mes "[Hein]";
mes "Mm...?";
mes "The stuff you brought seems to be just what I need to finish my work. Let me have a look at them...";
@@ -2785,40 +2785,40 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
}
if (.@shobu > 1) {
if (lv4_weapon == 45) {
- delitem 7294,30; //Turquoise
- delitem 7297,30; //Biotite
- delitem 7293,30; //Rose_Quartz
+ delitem Turquoise,30;
+ delitem Biotite,30;
+ delitem Rose_Quartz,30;
}
else {
- delitem 7295,30; //Citrine
- delitem 7296,30; //Pyroxene
- delitem 7290,30; //Phlogopite
+ delitem Citrine,30;
+ delitem Pyroxene,30;
+ delitem Phlogopite,30;
}
lv4_weapon += 2;
}
else if (.@shobu < 2) {
if (.@aekddam == 1) {
if (lv4_weapon == 45) {
- delitem 7294,30; //Turquoise
+ delitem Turquoise,30;
}
else {
- delitem 7295,30; //Citrine
+ delitem Citrine,30;
}
}
else if (.@aekddam == 2) {
if (lv4_weapon == 45) {
- delitem 7297,30; //Biotite
+ delitem Biotite,30;
}
else {
- delitem 7296,30; //Pyroxene
+ delitem Pyroxene,30;
}
}
else if (.@aekddam == 3) {
if (lv4_weapon == 45) {
- delitem 7293,30; //Rose_Quartz
+ delitem Rose_Quartz,30;
}
else {
- delitem 7290,30; //Phlogopite
+ delitem Phlogopite,30;
}
}
}
@@ -2919,7 +2919,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "I had a much better memory when I was alive I'm sure. My father would quiz me on this stuff all the time...";
close;
}
- if ((lv4_weapon == 43) && (countitem(1005) > 1) && (countitem(989) > 0) && (countitem(710) > 0) && (countitem(969) > 19)) {
+ if ((lv4_weapon == 43) && (countitem(Hammer_Of_Blacksmith) > 1) && (countitem(Emperium_Anvil) > 0) && (countitem(Illusion_Flower) > 0) && (countitem(Gold) > 19)) {
mes "[Hein]";
mes "Hey, you brought everything I asked for already. You must be ready to get started!";
next;
@@ -2929,10 +2929,10 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
next;
mes "[Hein]";
mes "Well, for now, let me keep the things you've brought to me. I promise that I'll use this stuff to make you a good weapon once everything is ready.";
- delitem 1005,2; //Hammer_Of_Blacksmith
- delitem 989,1; //Emperium_Anvil
- delitem 710,1; //Illusion_Flower
- delitem 969,20; //Gold
+ delitem Hammer_Of_Blacksmith,2;
+ delitem Emperium_Anvil,1;
+ delitem Illusion_Flower,1;
+ delitem Gold,20;
lv4_weapon = 44;
close;
}
@@ -3078,7 +3078,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
}
niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
- if (checkweight(908,300) == 0) {
+ if (checkweight(Spawn,300) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
@@ -3140,11 +3140,11 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "Waltboughst never fails!";
if (lv4_weapon == 56) {
mes "With my skill and your luck, there was zero probability for failure. Behold... Byeollungum!";
- getitem 1140,1; //Byeorrun_Gum
+ getitem Byeorrun_Gum,1;
}
else {
mes "With my skill and your luck, there was zero probability for failure. Behold... Exorcise!";
- getitem 1233,1; //Exercise
+ getitem Exercise,1;
}
lv4_weapon = 0;
next;
@@ -3170,11 +3170,11 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "Waltboughst never fails!";
if (lv4_weapon == 56) {
mes "With my skill and your luck, there was zero probability for failure. Behold... Combat Knife!";
- getitem 1228,1; //Combat_Knife
+ getitem Combat_Knife,1;
}
else {
mes "With my skill and your luck, there was zero probability for failure. Behold...Grand Cross!!";
- getitem 1528,1; //Grand_Cross
+ getitem Grand_Cross,1;
}
lv4_weapon = 0;
next;
@@ -3196,7 +3196,7 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
close;
}
}
- if (((lv4_weapon == 54) && (countitem(7292) > 29) && (countitem(7291) > 29) && (countitem(7295) > 29)) || ((lv4_weapon == 55) && (countitem(7296) > 29) && (countitem(7294) > 29) && (countitem(7290) > 29))) {
+ if (((lv4_weapon == 54) && (countitem(Muscovite) > 29) && (countitem(Agate) > 29) && (countitem(Citrine) > 29)) || ((lv4_weapon == 55) && (countitem(Pyroxene) > 29) && (countitem(Turquoise) > 29) && (countitem(Phlogopite) > 29))) {
mes "[Waltboughst]";
mes "Wait, what's that you're holding?";
mes "I think those are the exact things we need for me to make you a weapon...";
@@ -3251,40 +3251,40 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
.@aekddam = rand(1,3);
if (.@shobu > 1) {
if (lv4_weapon == 54) {
- delitem 7292,30; //Muscovite
- delitem 7295,30; //Citrine
- delitem 7291,30; //Agate
+ delitem Muscovite,30;
+ delitem Citrine,30;
+ delitem Agate,30;
}
else {
- delitem 7296,30; //Pyroxene
- delitem 7294,30; //Turquoise
- delitem 7290,30; //Phlogopite
+ delitem Pyroxene,30;
+ delitem Turquoise,30;
+ delitem Phlogopite,30;
}
lv4_weapon += 2;
}
else if (.@shobu < 2) {
if (.@aekddam == 1) {
if (lv4_weapon == 54) {
- delitem 7292,30; //Muscovite
+ delitem Muscovite,30;
}
else {
- delitem 7296,30; //Pyroxene
+ delitem Pyroxene,30;
}
}
else if (.@aekddam == 2) {
if (lv4_weapon == 54) {
- delitem 7295,30; //Citrine
+ delitem Citrine,30;
}
else {
- delitem 7294,30; //Turquoise
+ delitem Turquoise,30;
}
}
else if (.@aekddam == 3) {
if (lv4_weapon == 54) {
- delitem 7291,30; //Agate
+ delitem Agate,30;
}
else {
- delitem 7290,30; //Phlogopite
+ delitem Phlogopite,30;
}
}
}
@@ -3387,16 +3387,16 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "sure he'd be ashamed...";
close;
}
- if ((lv4_weapon == 52) && (countitem(1005) > 1) && (countitem(989) > 0) && (countitem(710) > 0) && (countitem(969) > 19)) {
+ if ((lv4_weapon == 52) && (countitem(Hammer_Of_Blacksmith) > 1) && (countitem(Emperium_Anvil) > 0) && (countitem(Illusion_Flower) > 0) && (countitem(Gold) > 19)) {
mes "[Waltboughst]";
mes "You brought everything I needed already? That's great, but somehow, I can't still remember the other materials I need...";
next;
mes "[Waltboughst]";
mes "Tell you what. Let me hold on to these things, and I promise you that I'll use them to create a weapon for you. In the meantime, we need to figure out the rest of the necessary materials...";
- delitem 1005,2; //Hammer_Of_Blacksmith
- delitem 989,1; //Emperium_Anvil
- delitem 710,1; //Illusion_Flower
- delitem 969,20; //Gold
+ delitem Hammer_Of_Blacksmith,2;
+ delitem Emperium_Anvil,1;
+ delitem Illusion_Flower,1;
+ delitem Gold,20;
lv4_weapon = 53;
close;
}
diff --git a/npc/quests/mage_solution.txt b/npc/quests/mage_solution.txt
index 696b3bffa..fad23dba1 100644
--- a/npc/quests/mage_solution.txt
+++ b/npc/quests/mage_solution.txt
@@ -45,13 +45,13 @@ pay_arche,122,100,0 script Dollshoi 4_M_ORIENT01,{
mes "Hey! You don't have enough money to cover my 50 Zeny charge.";
close;
}
- if (countitem(1092) == 0) {
+ if (countitem(Empty_Cylinder) == 0) {
mes "You can't carry solutions without a bottle! Bring me an Empty Test Tube.";
close;
}
- delitem 1092,1; //Empty_Cylinder
+ delitem Empty_Cylinder,1;
Zeny -= 50;
- getitem 1089,1; //Payon_Potion
+ getitem Payon_Potion,1;
}
close;
}
@@ -66,13 +66,13 @@ moc_ruins,91,150,0 script Ponka-Hontas 4_F_04,{
mes "I'm sorry, but you don't have enough money to cover the 50 Zeny fee.";
close;
}
- if (countitem(1092) == 0) {
+ if (countitem(Empty_Cylinder) == 0) {
mes "You can't carry liquids without using a bottle. Bring an Empty Test Tube the next time you see me.";
close;
}
- delitem 1092,1; //Empty_Cylinder
+ delitem Empty_Cylinder,1;
Zeny -= 50;
- getitem 1088,1; //Morocc_Potion
+ getitem Morocc_Potion,1;
}
close;
}
diff --git a/npc/quests/monstertamers.txt b/npc/quests/monstertamers.txt
index 74fbc30c9..d8e9e375a 100644
--- a/npc/quests/monstertamers.txt
+++ b/npc/quests/monstertamers.txt
@@ -81,7 +81,7 @@ alberta_in,173,76,4 script Monster Tamer#alb 4_M_TELEPORTER,{
mes "The extremely sour taste";
mes "is perfect for monsters. . .";
next;
- if ((countitem(702) > 0) && (countitem(512) > 1)) {
+ if ((countitem(Animal_Blood) > 0) && (countitem(Apple) > 1)) {
mes "[Iwado]";
mes "Oh ! You have all the items to make 1 Monster Juice! Good, good! With all my pride as a monster tamer, I will make one for you right now.";
next;
@@ -97,9 +97,9 @@ alberta_in,173,76,4 script Monster Tamer#alb 4_M_TELEPORTER,{
mes "cute monster you";
mes "are raising.";
mes "Monster Juice!";
- delitem 512,2; //Apple
- delitem 702,1; //Animal_Blood
- getitem 626,1; // Monster_Juice
+ delitem Apple,2;
+ delitem Animal_Blood,1;
+ getitem Monster_Juice,1; // Monster_Juice
close;
}
else {
@@ -122,7 +122,7 @@ alberta_in,173,76,4 script Monster Tamer#alb 4_M_TELEPORTER,{
mes "Its name? ^3355FFSinging Flower^000000!!";
mes "A scent that makes you dizzy with pleasure. A perfect item for monsters...";
next;
- if (countitem(707) > 0) {
+ if (countitem(Singing_Plant) > 0) {
mes "[Iwado]";
mes "Oh! You have all the items necessary to make 1 Singing Flower!! Good, good! With all my pride as a monster tamer, I will make it for you right away.";
next;
@@ -139,8 +139,8 @@ alberta_in,173,76,4 script Monster Tamer#alb 4_M_TELEPORTER,{
mes "cute monster you";
mes "are raising.";
mes "Singing Flower!";
- delitem 707,1; //Singing_Plant
- getitem 629,1; // Singing_Flower
+ delitem Singing_Plant,1;
+ getitem Singing_Flower,1; // Singing_Flower
close;
}
else {
@@ -160,7 +160,7 @@ alberta_in,173,76,4 script Monster Tamer#alb 4_M_TELEPORTER,{
mes "[Iwado]";
mes "This is a flower that is far beyond what humans can gaze at! Its name? ^3355FFWild Flower^000000 !! A troublesome design, but perfect for monsters!";
next;
- if ((countitem(2207) > 0) && (countitem(705) > 0)) {
+ if ((countitem(Fancy_Flower) > 0) && (countitem(Clover) > 0)) {
mes "[Iwado]";
mes "Oh! You have all the items necessary to make 1 Wild Flower! Good! Good! With all my pride as a monster tamer, I will make one for you right away.";
next;
@@ -176,9 +176,9 @@ alberta_in,173,76,4 script Monster Tamer#alb 4_M_TELEPORTER,{
mes "cute monsters you";
mes "are raising.";
mes "Wild Flower!";
- delitem 2207,1; //Fancy_Flower
- delitem 705,1; //Clover
- getitem 10009,1; // Wild_Flower
+ delitem Fancy_Flower,1;
+ delitem Clover,1;
+ getitem Wild_Flower,1; // Wild_Flower
close;
}
else {
@@ -268,7 +268,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "[YuU]";
mes "This is an item far beyond what humans can wear! Its name? ^3355FFSkull Helm^000000! Disgusting on humans, but cute on monsters.";
next;
- if (countitem(5017) > 0) {
+ if (countitem(Bone_Helm) > 0) {
mes "[YuU]";
mes "Oh! You have all the items necessary to make Skull Helm! Good, good! With all my pride as a monster tamer, I will make it for you right away.";
next;
@@ -283,8 +283,8 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "the cute monster you";
mes "are raising.";
mes "Skull Helm!";
- delitem 5017,1; //Bone_Helm
- getitem 10001,1; // Skull_Helm
+ delitem Bone_Helm,1;
+ getitem Skull_Helm,1; // Skull_Helm
close;
}
else {
@@ -301,7 +301,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "[YuU]";
mes "This item is far beyond what humans can wear. Its name? ^3355FFMonster Oxygen Mask^000000! Show your monster that you care with this special gift.";
next;
- if (countitem(5004) > 0) {
+ if (countitem(Oxygen_Mask) > 0) {
mes "[YuU]";
mes "Oh! You have all the items necessary to make 1 Monster Oxygen Mask! Good, Good! With all my pride as a monster tamer, I will make it for you right away.";
next;
@@ -318,8 +318,8 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "the cute monster you";
mes "are raising...";
mes "Monster Oxygen Mask!";
- delitem 5004,1; //Oxygen_Mask
- getitem 10002,1; // Monster_Oxygen_Mask
+ delitem Oxygen_Mask,1;
+ getitem Monster_Oxygen_Mask,1; // Monster_Oxygen_Mask
close;
}
else {
@@ -336,7 +336,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "[YuU]";
mes "This is not an item that a normal human would dare to wear! Its name? ^3355FFSilk Ribbon^000000! Its perfect for monsters!";
next;
- if (countitem(2208) > 0) {
+ if (countitem(Ribbon) > 0) {
mes "[YuU]";
mes "Oh! You have all the items necessary to make 1 Silk Ribbon! Good, good! With all my pride as a monster tamer, I will make it for you right away!";
next;
@@ -351,8 +351,8 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "the cute monster you";
mes "are raising.";
mes "Silk Ribbon!";
- delitem 2208,1; //Ribbon
- getitem 10007,1; // Silk_Ribbon
+ delitem Ribbon,1;
+ getitem Silk_Ribbon,1; // Silk_Ribbon
close;
}
else {
@@ -369,7 +369,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "[YuU]";
mes "This is an item far beyond the fashion sense of humans! Its name? ^3355FFStellar Hairpin^000000! It's dangerous for humans to wear, but fashionable of monsters.";
next;
- if (countitem(2294) > 0) {
+ if (countitem(Star_Dust) > 0) {
mes "[YuU]";
mes "Oh! You have all the items necessary to make 1 Stellar! Good, good! With all my pride as a monster tamer, I will make it for you right away.";
next;
@@ -386,8 +386,8 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "the cute monster you";
mes "are raising";
mes "Stellar Hairpin!";
- delitem 2294,1; // Stellar
- getitem 10011,1; // Stellar_Hairpin
+ delitem Star_Dust,1; // Stellar
+ getitem Stellar_Hairpin,1; // Stellar_Hairpin
close;
}
else {
@@ -404,7 +404,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "[YuU]";
mes "This is far beyond what the headwear that humans can don. Its name? ^3355FFTiny Egg Shell^000000! It has the shine of marble and the glow of youth!";
next;
- if (countitem(5015) > 0) {
+ if (countitem(Egg_Shell) > 0) {
mes "[YuU]";
mes "Oh! You have all the items necessary to make 1 Tiny Egg Shell! Good, good! With all my pride as a monster tamer, I will make it for you right away!";
next;
@@ -421,8 +421,8 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "the cute monster you";
mes "are raising";
mes "Tiny Egg Shell!";
- delitem 5015,1; //Egg_Shell
- getitem 10012,1; // Tiny_Egg_Shell
+ delitem Egg_Shell,1;
+ getitem Tiny_Egg_Shell,1; // Tiny_Egg_Shell
close;
}
else {
@@ -439,7 +439,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "[YuU]";
mes "Ah yes, this is eyewear far beyond the glasses of normal humans. Its name? ^3355FFRocker Glasses^000000! Suave eyewear for suave monsters~";
next;
- if ((countitem(912) > 1) && (countitem(2208) > 0) && (Zeny > 399)) {
+ if ((countitem(Zargon) > 1) && (countitem(Ribbon) > 0) && (Zeny > 399)) {
mes "[YuU]";
mes "Oh! You have all the items necessary to make 1 Rocker Glasses! Good, good! With all my pride as a monster tamer, I will make it for you right away!";
next;
@@ -455,10 +455,10 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "the cute monster you";
mes "are raising.";
mes "Rocker Glasses!";
- delitem 912,2; //Zargon
- delitem 2208,1; //Ribbon
+ delitem Zargon,2;
+ delitem Ribbon,1;
Zeny -= 400;
- getitem 10014,1; // Rocker_Glasses
+ getitem Rocker_Glasses,1; // Rocker_Glasses
close;
}
else {
@@ -522,7 +522,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "[Shogo]";
mes "This is an item far beyond what humans can read! Its name? ^3355FFBook of Devil^000000! A very mysterious item that can supposedly summon demons...";
next;
- if ((countitem(1006) > 0) && (countitem(958) > 1)) {
+ if ((countitem(Old_Magic_Book) > 0) && (countitem(Horrendous_Mouth) > 1)) {
mes "[Shogo]";
mes "Oh! You have all the items necessary to make 1 Book of Devil! Good, good! With all my pride as a monster tamer, I will make one for you right away.";
next;
@@ -538,9 +538,9 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "the cute monster you";
mes "are raising.";
mes "Book of Devil!";
- delitem 958,2; //Horrendous_Mouth
- delitem 1006,1; //Old_Magic_Book
- getitem 642,1; // Book_Of_Devil
+ delitem Horrendous_Mouth,2;
+ delitem Old_Magic_Book,1;
+ getitem Book_Of_Devil,1; // Book_Of_Devil
close;
}
else {
@@ -558,7 +558,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "[Shogo]";
mes "This is an item which expresses feelings beyond what a human can feel. Its name? ^3355FFNo Recipient^000000! Who sent this letter, and who was supposed to receive it?";
next;
- if (countitem(7014) > 0) {
+ if (countitem(Old_Portrait) > 0) {
mes "[Shogo]";
mes "Oh! You have all the items necessary to make No Recipient! Good, good! With all my pride as a monster tamer, I will make one for you right away.";
next;
@@ -573,8 +573,8 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "for the cute monster";
mes "you are raising.";
mes "No Recipient!";
- delitem 7014,1; //Old_Portrait
- getitem 636,1; // No_Recipient
+ delitem Old_Portrait,1;
+ getitem No_Recipient,1; // No_Recipient
close;
}
else {
@@ -593,7 +593,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "Its name?";
mes "^3355FFOrc Trophy^000000!";
next;
- if ((countitem(1004) > 0) && (countitem(904) > 0)) {
+ if ((countitem(Patriotism_Marks) > 0) && (countitem(Scorpion's_Tail) > 0)) {
mes "[Shogo]";
mes "Oh! You have all the items necessary to make an Orc Trophy! Good, good! With all my pride as a monster tamer, let me make one for you right away!";
next;
@@ -610,9 +610,9 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
mes "the cute monster";
mes "you are raising...";
mes "Orc Trophy!";
- delitem 904,1; //Scorpion's_Tail
- delitem 1004,1; //Patriotism_Marks
- getitem 635,1; // Horror_Of_Tribe
+ delitem Scorpion's_Tail,1;
+ delitem Patriotism_Marks,1;
+ getitem Horror_Of_Tribe,1; // Horror_Of_Tribe
close;
}
else {
@@ -641,7 +641,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{
}
comodo,112,182,0 script Munak's Grandma 8_F_GRANDMOTHER,{
- if (countitem(1558) > 0) {
+ if (countitem(Girl's_Diary) > 0) {
mes "[Munak's grandma]";
mes "Oh my...";
mes "Have you seen my granddaughter,";
@@ -690,7 +690,7 @@ comodo,112,182,0 script Munak's Grandma 8_F_GRANDMOTHER,{
mes "now...";
close;
case 2:
- if (countitem(901) > 0) {
+ if (countitem(Danggie) > 0) {
mes "[Munak's Grandma]";
mes "Oh god!";
mes "It's my granddaughter's diary!";
diff --git a/npc/quests/mrsmile.txt b/npc/quests/mrsmile.txt
index ab15d7b06..b1ef57b59 100644
--- a/npc/quests/mrsmile.txt
+++ b/npc/quests/mrsmile.txt
@@ -70,15 +70,15 @@
mes "And will try to make Ragnarok the most enjoyable game in the world.";
close;
case 2:
- if (countitem(909) > 9 && countitem(914) > 9 && countitem(705) > 9) {
+ if (countitem(Jellopy) > 9 && countitem(Fluff) > 9 && countitem(Clover) > 9) {
mes "[Smile Girl]";
mes "Congratulations !";
mes "Now please take this Mr.Smile.";
next;
- delitem 909,10; //Jellopy
- delitem 914,10; //Fluff
- delitem 705,10; //Clover
- getitem 2278,1; //Mr_Smile
+ delitem Jellopy,10;
+ delitem Fluff,10;
+ delitem Clover,10;
+ getitem Mr_Smile,1;
mes "[Smile Girl]";
mes "His majesty,Tristram the 3rd";
mes "has promised to try his best to make Ragnarok better and more enjoyable.";
diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt
index 37c6d4e18..e9cb42069 100644
--- a/npc/quests/newgears/2004_headgears.txt
+++ b/npc/quests/newgears/2004_headgears.txt
@@ -55,7 +55,7 @@
//== Black Cat Ears ========================================
payon,115,131,3 script Neko Neko#1 4_F_JOB_ASSASSIN,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -63,7 +63,7 @@ payon,115,131,3 script Neko Neko#1 4_F_JOB_ASSASSIN,{
mes "- you put some items into Kafra Storage. -";
close;
}
- if (countitem(2213) > 0 && countitem(983) > 0 && countitem(914) > 199 && Zeny > 9999) {
+ if (countitem(Cat_Hairband) > 0 && countitem(Black_Dyestuffs) > 0 && countitem(Fluff) > 199 && Zeny > 9999) {
mes "[Neko Neko]";
mes "Heh? You brought all the items~";
mes "Okay, give me some time.";
@@ -81,11 +81,11 @@ payon,115,131,3 script Neko Neko#1 4_F_JOB_ASSASSIN,{
mes "Now you can wear";
mes "Black Cat Ears";
mes "of your very own~";
- delitem 2213,1; //Cat_Hairband
- delitem 983,1; //Black_Dyestuffs
- delitem 914,200; //Fluff
+ delitem Cat_Hairband,1;
+ delitem Black_Dyestuffs,1;
+ delitem Fluff,200;
Zeny -= 10000;
- getitem 5057,1; //Ear_Of_Black_Cat
+ getitem Ear_Of_Black_Cat,1;
next;
mes "[Neko Neko]";
mes "Thank you for using my service~!";
@@ -122,7 +122,7 @@ payon,115,131,3 script Neko Neko#1 4_F_JOB_ASSASSIN,{
//== X Hairpin, Band Aid, Flower Hairpin ===================
geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Argen]";
mes "Hey~ why are you carrying so many items?";
mes "You mind sharing them with me?";
@@ -169,7 +169,7 @@ geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{
emotion e_heh;
switch(select("^3131FFX Hairpin^000000:^3131FFBand Aid^000000:^3131FFFlower Hairpin^000000:No thanks.")) {
case 1:
- if (countitem(2294) > 0 && countitem(7220) > 399) {
+ if (countitem(Star_Dust) > 0 && countitem(Ectoplasm) > 399) {
mes "[Argen]";
mes "X Hairpin!";
mes "Nice choice~!";
@@ -193,9 +193,9 @@ geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{
mes "Alright, I'm done!";
mes "So what do you think?";
mes "Pretty cool, eh?";
- delitem 2294,1; //Star_Dust
- delitem 7220,400; //Ectoplasm
- getitem 5079,1; //Crossed_Hair_Band
+ delitem Star_Dust,1;
+ delitem Ectoplasm,400;
+ getitem Crossed_Hair_Band,1;
next;
break;
case 2:
@@ -218,7 +218,7 @@ geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{
}
break;
case 2:
- if (countitem(970) > 0 && countitem(930) > 499) {
+ if (countitem(Alchol) > 0 && countitem(Rotten_Bandage) > 499) {
mes "[Argen]";
mes "Band Aid, eh?";
mes "Got it! Hold on";
@@ -233,9 +233,9 @@ geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{
mes "*Whew~!*";
mes "I'm finished!";
mes "Pretty cool, huh?";
- delitem 970,1; //Alchol
- delitem 930,500; //Rotten_Bandage
- getitem 5063,1; //Plaster
+ delitem Alchol,1;
+ delitem Rotten_Bandage,500;
+ getitem Plaster,1;
next;
}
else {
@@ -251,7 +251,7 @@ geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{
}
break;
case 3:
- if (countitem(2269) > 0 && countitem(999) > 9 && Zeny > 19999) {
+ if (countitem(Centimental_Flower) > 0 && countitem(Steel) > 9 && Zeny > 19999) {
mes "[Argen]";
mes "You wanna a Flower Hairpin~?";
mes "Alright, gimmie a minute, yeah?";
@@ -263,11 +263,11 @@ geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{
mes "[Argen]";
mes "Ah... It's done!";
mes "Hey, that looks pretty smooth! Oh, and uh, you can keep this leftover Stem.";
- delitem 2269,1; //Centimental_Flower
- delitem 999,10; //Steel
+ delitem Centimental_Flower,1;
+ delitem Steel,10;
Zeny -= 20000;
- getitem 5061,1; //Flower_Hairpin
- getitem 905,1; //Stem
+ getitem Flower_Hairpin,1;
+ getitem Stem,1;
next;
}
else {
@@ -311,7 +311,7 @@ geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{
//== Hot-blooded Headband ==================================
yuno,300,188,5 script Zhenbolt#1 4_M_MONK,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -319,7 +319,7 @@ yuno,300,188,5 script Zhenbolt#1 4_M_MONK,{
mes "- you put some items into Kafra Storage. -";
close;
}
- if (countitem(7216) > 299 && countitem(7097) > 299 && countitem(2211) > 0 && countitem(982) > 0) {
+ if (countitem(Red_Scarf) > 299 && countitem(Burning_Heart) > 299 && countitem(Bandana) > 0 && countitem(White_Dyestuffs) > 0) {
mes "[Zhenbolt]";
mes "What's this?!";
mes "You've already brought everything I've asked! Good job, hero~! Let me get to work right away...";
@@ -336,11 +336,11 @@ yuno,300,188,5 script Zhenbolt#1 4_M_MONK,{
mes "[Zhenbolt]";
mes "Take this...";
mes "It's known as the ^FF0000Hot-blooded Headband^000000, my personal symbol of fighting spirit! With this on your head, nothing can stop you!";
- delitem 7216,300; //Red_Scarf
- delitem 7097,300; //Burning_Heart
- delitem 2211,1; //Bandana
- delitem 982,1; //White_Dyestuffs
- getitem 5070,1; //Headband_Of_Power
+ delitem Red_Scarf,300;
+ delitem Burning_Heart,300;
+ delitem Bandana,1;
+ delitem White_Dyestuffs,1;
+ getitem Headband_Of_Power,1;
next;
mes "[Zhenbolt]";
mes "Now, go!";
@@ -406,7 +406,7 @@ yuno,300,188,5 script Zhenbolt#1 4_M_MONK,{
//== Red Ribbon ============================================
prontera,165,232,3 script Nephia#1 4_F_ALCHE,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -414,7 +414,7 @@ prontera,165,232,3 script Nephia#1 4_F_ALCHE,{
mes "- you put some items into Kafra Storage. -";
close;
}
- if (countitem(2244) > 0 && countitem(2209) > 0 && countitem(10007) > 0) {
+ if (countitem(Big_Sis'_Ribbon) > 0 && countitem(Ribbon_) > 0 && countitem(Silk_Ribbon) > 0) {
mes "[Nephia]";
mes "Oh...";
mes "You've brought all these ribbons! I can't wait to tie you a new ribbon to put on your ^FF66CCbeautiful hair!^000000";
@@ -430,10 +430,10 @@ prontera,165,232,3 script Nephia#1 4_F_ALCHE,{
next;
mes "[Nephia]";
mes "That's it~! We're done! Oh, I just know you're going to look precious wearing this.";
- delitem 2244,1; //Big_Sis'_Ribbon
- delitem 2209,1; //Ribbon_
- delitem 10007,1; //Silk_Ribbon
- getitem 5083,1; //Red_Tailed_Ribbon
+ delitem Big_Sis'_Ribbon,1;
+ delitem Ribbon_,1;
+ delitem Silk_Ribbon,1;
+ getitem Red_Tailed_Ribbon,1;
next;
mes "[Nephia]";
mes "Hopefully, we can get together and do each other's hair sometime! Wouldn't that be soooo much fun?";
@@ -519,7 +519,7 @@ prontera,165,232,3 script Nephia#1 4_F_ALCHE,{
//== Indian Headband =======================================
comodo,237,217,5 script Meruntei#1 4_M_JOB_HUNTER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -527,17 +527,17 @@ comodo,237,217,5 script Meruntei#1 4_M_JOB_HUNTER,{
mes "- you put some items into Kafra Storage. -";
close;
}
- if (countitem(5010) > 0 && countitem(5049) > 0 && countitem(7101) > 9 && Zeny > 9999) {
+ if (countitem(Indian_Hair_Piece) > 0 && countitem(Stripe_Band) > 0 && countitem(Peco_Wing_Feather) > 9 && Zeny > 9999) {
mes "[Meruntei]";
mes "Oh! You brought all of them! Now I shall make you an Indian Headband of your very own.";
next;
mes "[Meruntei]";
mes "Take this! The items you have brought will be very useful for continuing my work in spreading headbands around Rune-Midgard.";
- delitem 5010,1; //Indian_Hair_Piece
- delitem 5049,1; //Stripe_Band
- delitem 7101,10; //Peco_Wing_Feather
+ delitem Indian_Hair_Piece,1;
+ delitem Stripe_Band,1;
+ delitem Peco_Wing_Feather,10;
Zeny -= 10000;
- getitem 5071,1; //Indian_Headband
+ getitem Indian_Headband,1;
next;
mes "[Meruntei]";
mes "iiiyiyiyiyiyiyiiiiii~~!";
@@ -572,7 +572,7 @@ comodo,237,217,5 script Meruntei#1 4_M_JOB_HUNTER,{
//== Mushroom Band =========================================
geffen,67,87,3 script Ipore#1 8_F_GIRL,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -580,7 +580,7 @@ geffen,67,87,3 script Ipore#1 8_F_GIRL,{
mes "- you put some items into Kafra Storage. -";
close;
}
- if (countitem(921) > 299) {
+ if (countitem(Mushroom_Spore) > 299) {
mes "[Ipore]";
mes "Wow! Did you really gather these 300 Mushroom Spores all by yoruself? Nice! Now it's time to use my magic~";
next;
@@ -612,8 +612,8 @@ geffen,67,87,3 script Ipore#1 8_F_GIRL,{
next;
mes "[Ipore]";
mes "Anyway, now you can wear that mushroom at a rakish angle, the way it's supposed to be worn. Stay cool, you fashion rebel, you.";
- delitem 921,300; //Mushroom_Spore
- getitem 5082,1; //Mushroom_Band
+ delitem Mushroom_Spore,300;
+ getitem Mushroom_Band,1;
close;
}
mes "[Ipore]";
@@ -652,7 +652,7 @@ geffen,67,87,3 script Ipore#1 8_F_GIRL,{
//== Angel Wing Ears, Devil Wing Ears ======================
yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -667,7 +667,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
mes "[Skillful Looking Artisan]";
mes "Allow me to introduce myself. My name is Hatbyr Mhore, a travelling Blacksmith.";
next;
- if (countitem(2254) > 0 && countitem(2286) > 0) {
+ if (countitem(Angelic_Chain) > 0 && countitem(Elven_Ears) > 0) {
mes "[Hatbyr Mhore]";
mes "Oh? It seems that you're carrying some valuable stuff with you.";
next;
@@ -706,7 +706,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
close;
}
else {
- if (countitem(2254) > 0 && countitem(2286) > 0 && Zeny > 19999) {
+ if (countitem(Angelic_Chain) > 0 && countitem(Elven_Ears) > 0 && Zeny > 19999) {
mes "[Hatbyr Mhore]";
mes "Alright...";
mes "Let's get a groove on!";
@@ -716,10 +716,10 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
mes "There you go, buddy.";
mes "I am proud to say this is my masterpiece. Please take this item. I call it...";
mes "'Angel Wing Ears!'";
- delitem 2254,1; //Angelic_Chain
- delitem 2286,1; //Elven_Ears
+ delitem Angelic_Chain,1;
+ delitem Elven_Ears,1;
Zeny -= 20000;
- getitem 5074,1; //Ear_Of_Angel's_Wing
+ getitem Ear_Of_Angel's_Wing,1;
next;
mes "[Hatbyr Mhore]";
mes "There's no doubt that you'll be the talk of the town sporting these fashionable things.";
@@ -764,17 +764,17 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
close;
}
else {
- if (countitem(2255) > 0 && countitem(2286) > 0 && Zeny > 19999) {
+ if (countitem(Satanic_Chain) > 0 && countitem(Elven_Ears) > 0 && Zeny > 19999) {
mes "[Hatbyr Mhore]";
mes "Alright, it's time to roll!";
specialeffect EF_REPAIRWEAPON;
next;
mes "[Hatbyr Mhore]";
mes "There you go, buddy. I am proud to say this is my masterpiece. I call it... 'Devil Wing Ears!'";
- delitem 2255,1; //Satanic_Chain
- delitem 2286,1; //Elven_Ears
+ delitem Satanic_Chain,1;
+ delitem Elven_Ears,1;
Zeny -= 20000;
- getitem 5068,1; //Ear_Of_Devil's_Wing
+ getitem Ear_Of_Devil's_Wing,1;
next;
mes "[Hatbyr Mhore]";
mes "You'll be wowing everyone on the streets with your fashionable new look that says 'It feels so good to be so bad.' Glad to be of service~!";
@@ -792,7 +792,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
close;
}
}
- else if (countitem(2255) > 0 && countitem(2286) > 0) {
+ else if (countitem(Satanic_Chain) > 0 && countitem(Elven_Ears) > 0) {
mes "[Hatbyr Mhore]";
mes "Oh? It seems that you're carrying some valuable stuff with you.";
next;
@@ -832,7 +832,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
close;
}
else {
- if (countitem(2255) > 0 && countitem(2286) > 0 && Zeny > 19999) {
+ if (countitem(Satanic_Chain) > 0 && countitem(Elven_Ears) > 0 && Zeny > 19999) {
mes "[Hatbyr Mhore]";
mes "Alright...";
mes "Let's get a groove on!";
@@ -841,10 +841,10 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
mes "[Hatbyr Mhore]";
mes "There you go, buddy.";
mes "I am proud to say this is my masterpiece. Please take this item. I call it... 'Devil Wing Ears!'";
- delitem 2255,1; //Satanic_Chain
- delitem 2286,1; //Elven_Ears
+ delitem Satanic_Chain,1;
+ delitem Elven_Ears,1;
Zeny -= 20000;
- getitem 5068,1; //Ear_Of_Devil's_Wing
+ getitem Ear_Of_Devil's_Wing,1;
next;
mes "[Hatbyr Mhore]";
mes "You'll be wowing everyone on the streets with your fashionable new look that says 'It feels so good to be so bad.' Glad to be of service~!";
@@ -887,7 +887,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
close;
}
else {
- if (countitem(2254) > 0 && countitem(2286) > 0 && Zeny > 19999) {
+ if (countitem(Angelic_Chain) > 0 && countitem(Elven_Ears) > 0 && Zeny > 19999) {
mes "Alright...";
mes "Let's get a groove on!";
specialeffect EF_REPAIRWEAPON;
@@ -895,10 +895,10 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
mes "[Hatbyr Mhore]";
mes "There you go, buddy.";
mes "I am proud to say this is my masterpiece. Please take this item. I call it... 'Angel Wing Ears!'";
- delitem 2254,1; //Angelic_Chain
- delitem 2286,1; //Elven_Ears
+ delitem Angelic_Chain,1;
+ delitem Elven_Ears,1;
Zeny -= 20000;
- getitem 5074,1; //Ear_Of_Angel's_Wing
+ getitem Ear_Of_Angel's_Wing,1;
next;
mes "[Hatbyr Mhore]";
mes "There's no doubt that you'll be the talk of the town sporting these fashionable things.";
@@ -972,7 +972,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
//== Sea-Otter Hat =========================================
xmas,183,267,3 script Pretty Lindsay#1 4_F_NFLOSTGIRL,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -985,7 +985,7 @@ xmas,183,267,3 script Pretty Lindsay#1 4_F_NFLOSTGIRL,{
mes "I know you brought everything you need for me to make you a hat, but you're carrying too much stuff. Why don't you put some of your things in Kafra Storage?";
close;
}
- else if (countitem(5033) > 0 && countitem(5064) > 0) {
+ else if (countitem(Smokie_Hat) > 0 && countitem(Leaf_Headgear) > 0) {
emotion e_gasp;
mes "[Pretty Lindsay]";
mes "Whoa~";
@@ -1008,9 +1008,9 @@ xmas,183,267,3 script Pretty Lindsay#1 4_F_NFLOSTGIRL,{
mes "Gosh! I think I";
mes "spent all my energy.";
mes "Okay, take this~";
- delitem 5033,1; //Smokie_Hat
- delitem 5064,1; //Leaf_Headgear
- getitem 5078,1; //Sea_Otter_Cap
+ delitem Smokie_Hat,1;
+ delitem Leaf_Headgear,1;
+ getitem Sea_Otter_Cap,1;
next;
mes "[Pretty Lindsay]";
mes "I made this hat with all my heart, so you gotta promise me you will take care of this, okay?";
@@ -1086,7 +1086,7 @@ xmas,183,267,3 script Pretty Lindsay#1 4_F_NFLOSTGIRL,{
//== Teddybear Hat =========================================
xmas,175,156,3 script Fuzzy Fuzz#1 4_M_05,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -1094,7 +1094,7 @@ xmas,175,156,3 script Fuzzy Fuzz#1 4_M_05,{
mes "- you put some items into Kafra Storage. -";
close;
}
- if (countitem(5030) > 0 && countitem(7213) > 99 && countitem(7217) > 99 && countitem(7161) > 299) {
+ if (countitem(Panda_Cap) > 0 && countitem(Needle_Pouch) > 99 && countitem(Spool) > 99 && countitem(Black_Bear's_Skin) > 299) {
if ((MaxWeight-Weight) < 2000) {
mes "[Fuzzy Fuzz]";
mes "You brought every material I need, but unfortunately you don't have enough space in your inventory. Try and place some of your items into Kafra Storage first.";
@@ -1117,11 +1117,11 @@ xmas,175,156,3 script Fuzzy Fuzz#1 4_M_05,{
mes "[Fuzzy Fuzz]";
emotion e_ic;
mes "It's complete! There you go. I think this one will look really good on you! Please take good care of this hat.";
- delitem 5030,1; //Panda_Cap
- delitem 7213,100; //Needle_Pouch
- delitem 7217,100; //Spool
- delitem 7161,300; //Black_Bear's_Skin
- getitem 5059,1; //Brown_Bear_Cap
+ delitem Panda_Cap,1;
+ delitem Needle_Pouch,100;
+ delitem Spool,100;
+ delitem Black_Bear's_Skin,300;
+ getitem Brown_Bear_Cap,1;
close;
}
emotion e_gasp;
@@ -1173,7 +1173,7 @@ xmas,175,156,3 script Fuzzy Fuzz#1 4_M_05,{
//== Model Training Hat ====================================
payon_in03,8,193,4 script Nanhyang#1 1_F_ORIENT_03,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -1187,7 +1187,7 @@ payon_in03,8,193,4 script Nanhyang#1 1_F_ORIENT_03,{
mes "You look like you're having trouble carrying all of your things. Why don't you place some of your extra items into the Kafra Storage?";
close;
}
- if (countitem(5073) > 0 && countitem(1750) > 0) {
+ if (countitem(Cap_Of_Concentration) > 0 && countitem(Arrow) > 0) {
mes "[Nanhyang]";
mes "Hello, there.";
mes "Ah, I can tell that you already have a ^8C1717'Model Training Hat'^000000. I see that using it has corrected your posture.";
@@ -1211,10 +1211,10 @@ payon_in03,8,193,4 script Nanhyang#1 1_F_ORIENT_03,{
mes " . . . . . . . . . . . . . ";
next;
mes "[Nanhyang]";
- delitem 5073,1; //Cap_Of_Concentration
- delitem 1750,1; //Arrow
- getitem 2285,1; //Apple_Of_Archer
- getitem 1550,1; //Book
+ delitem Cap_Of_Concentration,1;
+ delitem Arrow,1;
+ getitem Apple_Of_Archer,1;
+ getitem Book,1;
mes "There you go.";
next;
mes "[Nanhyang]";
@@ -1231,7 +1231,7 @@ payon_in03,8,193,4 script Nanhyang#1 1_F_ORIENT_03,{
mes "and glamorous poise.";
close;
}
- if (countitem(2285) > 0 && countitem(1550) > 0) {
+ if (countitem(Apple_Of_Archer) > 0 && countitem(Book) > 0) {
mes "[Nanhyang]";
emotion e_heh;
mes "You brought the materials~";
@@ -1272,13 +1272,13 @@ payon_in03,8,193,4 script Nanhyang#1 1_F_ORIENT_03,{
mes "[Nanhyang]";
mes "Here it is.";
mes "Oh, right, this arrow from the Apple of Archer is left over, so you can go ahead and take that.";
- delitem 2285,1; //Apple_Of_Archer
- delitem 1550,1; //Book
- getitem 5073,1; //Cap_Of_Concentration
+ delitem Apple_Of_Archer,1;
+ delitem Book,1;
+ getitem Cap_Of_Concentration,1;
next;
mes "[Nanhyang]";
mes "Also, I can disassemble the Model Training Hat into its original materials. So if you want the original items back, bring the Model Training Hat and the arrow I gave you.";
- getitem 1750,1; //Arrow
+ getitem Arrow,1;
next;
mes "[Nanhyang]";
mes "I hope you";
@@ -1333,7 +1333,7 @@ payon_in03,8,193,4 script Nanhyang#1 1_F_ORIENT_03,{
//== Tulip Hairpin =========================================
geffen,83,189,5 script Seth#1 4_M_KID2,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " [Seth]";
mes "Whoa, why are you carrying so many items with you?";
mes "You look so heavy...! Maybe you can walk more easily if you put some of your stuff away?";
@@ -1348,7 +1348,7 @@ geffen,83,189,5 script Seth#1 4_M_KID2,{
mes "Today at school, I learned how to make a paper flower! The flower was sort of hard, but now I can do it! Then I made a tiny tiny flower and put in on my head~";
emotion e_lv;
next;
- if (countitem(2278) > 0 && countitem(975) > 0) {
+ if (countitem(Mr_Smile) > 0 && countitem(Scarlet_Dyestuffs) > 0) {
mes "[Seth]";
mes "Hey~!";
mes "You have a Mr. Smile and Scarlet Dyestuffs! Yaaay~! I could use those and make you a paper flower. C'mon, lemme show you!";
@@ -1378,9 +1378,9 @@ geffen,83,189,5 script Seth#1 4_M_KID2,{
mes "[Seth]";
mes "Tah dah~!";
next;
- delitem 2278,1; //Mr_Smile
- delitem 975,1; //Scarlet_Dyestuffs
- getitem 5077,1; //Tulip_Hairpin
+ delitem Mr_Smile,1;
+ delitem Scarlet_Dyestuffs,1;
+ getitem Tulip_Hairpin,1;
mes "[Seth]";
mes "Heheheh~!";
mes "I'm done!";
@@ -1389,7 +1389,7 @@ geffen,83,189,5 script Seth#1 4_M_KID2,{
if (BaseJob == Job_Novice || BaseJob == Job_SuperNovice) {
mes "[Seth]";
mes "Oh, here's the leftovers. Mommy says that we should always save things. Heh heh~";
- getitem 935,1; //Shell
+ getitem Shell,1;
next;
}
mes "[Seth]";
@@ -1451,7 +1451,7 @@ geffen,83,189,5 script Seth#1 4_M_KID2,{
//== Party Hat, Straw Hat, Cowboy Hat, Sombrero, Beanie ====
xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -1471,7 +1471,7 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
next;
switch(select("Party Hat:Straw Hat:Cowboy Hat:Sombrero:Beanie")) {
case 1:
- if (countitem(2236) > 0 && countitem(7151) > 99 && countitem(7111) > 99) {
+ if (countitem(Santa's_Hat) > 0 && countitem(Oil_Paper) > 99 && countitem(Smooth_Paper) > 99) {
mes "[Mad Hatter]";
mes "Party Hat! It's a Santa Hat I've remade by adding colorful paper for a festive look. Celebrate good times with a Party Hat! Come on!";
next;
@@ -1494,16 +1494,16 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
mes "^3355FF*Squick Squick Grind Grind*^000000";
mes "^3355FF*Swish Swish Rustle Rustle*^000000";
next;
- delitem 2236,1; //Santa's_Hat
- delitem 7151,100; //Oil_Paper
- delitem 7111,100; //Smooth_Paper
+ delitem Santa's_Hat,1;
+ delitem Oil_Paper,100;
+ delitem Smooth_Paper,100;
mes "[Mad Hatter]";
mes "It's done! Your new life, as the life of the party, has officially begun. All you need to do is wear this Party Hat. Though, knowing a couple jokes would probably help too.";
- getitem 5060,1; //Party_Hat
+ getitem Party_Hat,1;
next;
mes "[Mad Hatter]";
mes "Oh by the way, there's some stuff left over. I guess you should hold onto it. You know, in case you need it later.";
- getitem 914,10; //Fluff
+ getitem Fluff,10;
close;
}
else {
@@ -1526,7 +1526,7 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
close;
}
case 2:
- if (countitem(2280) > 0 && countitem(7197) > 299 && countitem(7150) > 299) {
+ if (countitem(Sahkkat) > 0 && countitem(Tough_Vines) > 299 && countitem(Bamboo_Cut) > 299) {
mes "[Mad Hatter]";
mes "A Straw Hat! Made out of a Sakkat with bamboo and tough vines, it gives you a relaxed, rustic feeling when you wear it.";
next;
@@ -1550,14 +1550,14 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
mes "^3355FF*Squish Squish Fwsht Fwsht*^000000";
mes "^3355FF*Crunch Crunch Tap Tap*^000000";
next;
- delitem 2280,1; //Sahkkat
- delitem 7197,300; //Tough_Vines
- delitem 7150,300; //Bamboo_Cut
+ delitem Sahkkat,1;
+ delitem Tough_Vines,300;
+ delitem Bamboo_Cut,300;
mes "[Mad Hatter]";
mes "It's done!";
mes "Now you can wear this hat, feel cool, and relax with style.";
mes "Please come again~";
- getitem 5062,1; //Straw_Hat
+ getitem Straw_Hat,1;
close;
}
else {
@@ -1575,7 +1575,7 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
close;
}
case 3:
- if (countitem(2248) > 0 && countitem(7030) > 107 && countitem(7194) > 107 && countitem(7120) > 3) {
+ if (countitem(Western_Grace) > 0 && countitem(Claw_Of_Desert_Wolf) > 107 && countitem(Soft_Leaf) > 107 && countitem(Burning_Horse_Shoe) > 3) {
mes "[Mad Hatter]";
mes "I take a Western Grace, add some manliness, um, do some finangling, and Voila~! A Cowboy Hat!";
next;
@@ -1602,13 +1602,13 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
mes "^3355FF*Bang Bang Ping Ping*^000000";
mes "^3355FF*Uk Uk Uk Uk Uhoh Uhoh*^000000";
next;
- delitem 2248,1; //Western_Grace
- delitem 7030,108; //Claw_Of_Desert_Wolf
- delitem 7194,108; //Soft_Leaf
- delitem 7120,4; //Burning_Horse_Shoe
+ delitem Western_Grace,1;
+ delitem Claw_Of_Desert_Wolf,108;
+ delitem Soft_Leaf,108;
+ delitem Burning_Horse_Shoe,4;
mes "[Mad Hatter]";
mes "Yeeeeehaw! With this hat on, you can tame broncos, rob stagecoaches, and look really stylish in duels!";
- getitem 5075,1; //Cowboy_Hat
+ getitem Cowboy_Hat,1;
close;
}
else {
@@ -1630,7 +1630,7 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
close;
}
case 4:
- if (countitem(5062) > 0 && countitem(952) > 49 && countitem(1907) > 0) {
+ if (countitem(Straw_Hat) > 0 && countitem(Cactus_Needle) > 49 && countitem(Guitar) > 0) {
mes "[Mad Hatter]";
mes "Ah yes. Now here's a classy hat for mariachi heroes and Latin lovers. You can't deny the sex appeal that just pours from someone wearing a Sombrero.";
next;
@@ -1654,12 +1654,12 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
mes "^3355FFDing Ding Ding Dan Dan Dan^000000";
mes "^3355FFAdios Amigo^000000";
next;
- delitem 5062,1; //Straw_Hat
- delitem 952,50; //Cactus_Needle
- delitem 1907,1; //Guitar
+ delitem Straw_Hat,1;
+ delitem Cactus_Needle,50;
+ delitem Guitar,1;
mes "[Mad Hatter]";
mes "With this Sombrero, you'll look like you have all kinds of style. Adios, cool guy~";
- getitem 5067,1; //Sombrero
+ getitem Sombrero,1;
close;
}
else {
@@ -1681,7 +1681,7 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
close;
}
case 5:
- if (countitem(2226) > 0 && countitem(7038) > 499) {
+ if (countitem(Cap) > 0 && countitem(Yarn) > 499) {
mes "[Mad Hatter]";
mes "A Beanie...!";
mes "Whaddup, broham. This hat keeps your head toasty, but let's you play things cool with your homeys. And, um, fly girls.";
@@ -1706,15 +1706,15 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
mes "^3355FF*Squish Squish Fwsht Fwsht*^000000";
mes "^3355FF*Crunch Crunch Tap Tap*^000000";
next;
- delitem 2226,1; //Cap
- delitem 7038,500; //Yarn
+ delitem Cap,1;
+ delitem Yarn,500;
mes "[Mad Hatter]";
mes "There you go! Your very own Beanie! Cute, but still 'dope!'";
next;
mes "[Mad Hatter]";
mes "Uh! Uh!";
mes "I'm in da house!";
- getitem 5076,1; //Fur_Hat
+ getitem Fur_Hat,1;
close;
}
else {
@@ -1741,7 +1741,7 @@ xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
//== Decorative Golden Bell, Crown of Ancient Queen, Crown of Mistress =
yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -1771,7 +1771,7 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{
mes "[Nehris]";
mes "This Golden Bell is fashioned after the one worn by the 'Sohee' monster. It's a cute accessory I personally recommend for us ladies. A little oversized, but I believe you'll like it a lot.";
next;
- if (countitem(10016) > 0 && countitem(714) > 0 && countitem(969) > 2 && Zeny > 19999) {
+ if (countitem(Golden_Bell) > 0 && countitem(Emperium) > 0 && countitem(Gold) > 2 && Zeny > 19999) {
mes "[Nehris]";
mes "Thank you for";
mes "bringing everything.";
@@ -1779,11 +1779,11 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{
next;
mes "^3355FF* Clang Clang! Scrape Scrape! Jingle Jingle! *^000000";
next;
- delitem 10016,1; //Golden_Bell
- delitem 714,1; //Emperium
- delitem 969,3; //Gold
+ delitem Golden_Bell,1;
+ delitem Emperium,1;
+ delitem Gold,3;
Zeny -= 20000;
- getitem 5091,1; //Big_Golden_Bell
+ getitem Big_Golden_Bell,1;
mes "[Nehris]";
mes "Yoohoo~";
mes "There you go. Here's your beautiful Golden Bell. I doubt it will jingle if you shake your head, though.";
@@ -1809,7 +1809,7 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{
mes "[Nehris]";
mes "This crown is inspired by the the one worn by the 'Isis' monster. It has a elegant look fitting for ancient royalty.";
next;
- if (countitem(10006) > 0 && countitem(714) > 0 && countitem(969) > 2 && Zeny > 19999) {
+ if (countitem(Queen's_Hair_Ornament) > 0 && countitem(Emperium) > 0 && countitem(Gold) > 2 && Zeny > 19999) {
mes "[Nehris]";
mes "Thank you for";
mes "bringing everything.";
@@ -1817,11 +1817,11 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{
next;
mes "^3355FF* Clang Clang! Scrape Scrape! Jingle Jingle! *^000000";
next;
- delitem 10006,1; //Queen's_Hair_Ornament
- delitem 714,1; //Emperium
- delitem 969,3; //Gold
+ delitem Queen's_Hair_Ornament,1;
+ delitem Emperium,1;
+ delitem Gold,3;
Zeny -= 20000;
- getitem 5080,1; //Headgear_Of_Queen
+ getitem Headgear_Of_Queen,1;
mes "[Nehris]";
mes "Tah dah!";
mes "Here's your Crown of Ancient Queen! I don't know if you can get anyone to bow before you while wearing this, but at least you'll look elegant.";
@@ -1844,7 +1844,7 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{
mes "[Nehris]";
mes "This crown is an imitation of the one worn by the 'Mistress' monster. Wearing this will give you a look of brusque authority.";
next;
- if (countitem(2249) > 0 && countitem(714) > 0 && countitem(969) > 2 && Zeny > 39999) {
+ if (countitem(Coronet) > 0 && countitem(Emperium) > 0 && countitem(Gold) > 2 && Zeny > 39999) {
mes "[Nehris]";
mes "Thank you for";
mes "bringing everything.";
@@ -1867,11 +1867,11 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{
next;
mes "^3355FF* Clang Clang! Scrape Scrape! Jingle Jingle! *^000000";
next;
- delitem 2249,1; //Coronet
- delitem 714,1; //Emperium
- delitem 969,3; //Gold
+ delitem Coronet,1;
+ delitem Emperium,1;
+ delitem Gold,3;
Zeny -= 40000;
- getitem 5081,1; //Mistress_Crown
+ getitem Mistress_Crown,1;
mes "[Nehris]";
mes "Yay! You've got a great looking crown!";
next;
@@ -1904,7 +1904,7 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{
//== Alarm Mask ============================================
alde_alche,88,180,0 script Muscle Man#Alarm Mask 4_M_ALCHE_A,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Muscle Man]";
mes "Hmmm...";
mes "It's seems you're carrying too much stuff for me to give anything to you.";
@@ -1932,7 +1932,7 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 4_M_ALCHE_A,{
specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man3";
specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man4";
initnpctimer;
- if (countitem(1095) > 2999 && countitem(2288) > 0) {
+ if (countitem(Needle_Of_Alarm) > 2999 && countitem(Mr_Scream) > 0) {
if (select("Give him items:Cancel") == 1) {
mes "[Muscle Man]";
mes "Ooh... Finally!";
@@ -1943,9 +1943,9 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 4_M_ALCHE_A,{
mes "Alright...";
mes "Now I can use this Mr.Scream and all these clock hands to continue my testing.";
next;
- delitem 1095,3000; //Needle_Of_Alarm
- delitem 2288,1; //Mr_Scream
- getitem 5086,1; //Alarm_Mask
+ delitem Needle_Of_Alarm,3000;
+ delitem Mr_Scream,1;
+ getitem Alarm_Mask,1;
mes "[Muscle Man]";
mes "And, this is yours. All yours.";
next;
@@ -2077,7 +2077,7 @@ OnInit:
//== Drooping Cat, Smokie Leaf, Lazy Smokie, Blue Fish =====
morocc,273,79,4 script Educated Traveller 4W_M_03,{
disable_items;
- if ((MaxWeight-Weight) < 5000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 5000 || checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're over weight -";
mes "- to receive more items from this NPC. -";
@@ -2085,7 +2085,7 @@ morocc,273,79,4 script Educated Traveller 4W_M_03,{
mes "- you put some items into Kafra Storage. -";
close;
}
- if (countitem(7030) > 0) {
+ if (countitem(Claw_Of_Desert_Wolf) > 0) {
mes "[Lee Hester]";
mes "Hm...?";
mes "What's that";
@@ -2108,7 +2108,7 @@ morocc,273,79,4 script Educated Traveller 4W_M_03,{
next;
switch(select("Drooping Cat:Smokie Leaf:Lazy Smokie:Blue Fish:That's... okay.")) {
case 1:
- if (countitem(2233) > 0 && countitem(983) > 0 && countitem(7206) > 299) {
+ if (countitem(Circlet_) > 0 && countitem(Black_Dyestuffs) > 0 && countitem(Black_Kitty_Doll) > 299) {
mes "[Lee Hester]";
mes "Ah...";
mes "You brought everything.";
@@ -2141,11 +2141,11 @@ morocc,273,79,4 script Educated Traveller 4W_M_03,{
mes "[Lee Hester]";
mes "There you go. *Phew~*";
mes "Your own 'Drooping Cat' hat, powered by a scientific principle! Also, would you mind if I keep that Desert Wolf Claw? Heh heh, thanks~";
- delitem 2233,1; //Circlet_
- delitem 983,1; //Black_Dyestuffs
- delitem 7206,300; //Black_Kitty_Doll
- delitem 7030,1; //Claw_Of_Desert_Wolf
- getitem 5058,1; //Drooping_Kitty
+ delitem Circlet_,1;
+ delitem Black_Dyestuffs,1;
+ delitem Black_Kitty_Doll,300;
+ delitem Claw_Of_Desert_Wolf,1;
+ getitem Drooping_Kitty,1;
emotion e_ho;
close;
}
@@ -2178,7 +2178,7 @@ morocc,273,79,4 script Educated Traveller 4W_M_03,{
close;
}
case 2:
- if (countitem(945) > 599) {
+ if (countitem(Raccoon_Leaf) > 599) {
mes "[Lee Hester]";
mes "Ah...";
mes "You brought everything.";
@@ -2213,9 +2213,9 @@ morocc,273,79,4 script Educated Traveller 4W_M_03,{
mes "[Lee Hester]";
mes "There you go. *Phew~*";
mes "Your own 'Smokie Leaf' hat, powered by a scientific principle! Also, would you mind if I keep that Desert Wolf Claw? Heh heh, thanks~";
- delitem 945,600; //Raccoon_Leaf
- delitem 7030,1; //Claw_Of_Desert_Wolf
- getitem 5064,1; //Leaf_Headgear
+ delitem Raccoon_Leaf,600;
+ delitem Claw_Of_Desert_Wolf,1;
+ getitem Leaf_Headgear,1;
emotion e_gasp;
close;
}
@@ -2251,7 +2251,7 @@ morocc,273,79,4 script Educated Traveller 4W_M_03,{
close;
}
case 3:
- if (countitem(1026) > 999 && countitem(7065) > 99 && countitem(945) > 9) {
+ if (countitem(Acorn) > 999 && countitem(Sea_Otter_Leather) > 99 && countitem(Raccoon_Leaf) > 9) {
mes "[Lee Hester]";
mes "Ah....";
mes "You brought everything.";
@@ -2288,11 +2288,11 @@ morocc,273,79,4 script Educated Traveller 4W_M_03,{
mes "[Lee Hester]";
mes "There you go. *Phew~*";
mes "Your own 'Lazy Smokie' hat, powered by a scientific principle! Also, would you mind if I keep that Desert Wolf Claw? Heh heh, thanks~";
- delitem 1026,1000; //Acorn
- delitem 7065,100; //Sea_Otter_Leather
- delitem 945,10; //Raccoon_Leaf
- delitem 7030,1; //Claw_Of_Desert_Wolf
- getitem 5084,1; //Lazy_Raccoon
+ delitem Acorn,1000;
+ delitem Sea_Otter_Leather,100;
+ delitem Raccoon_Leaf,10;
+ delitem Claw_Of_Desert_Wolf,1;
+ getitem Lazy_Raccoon,1;
emotion e_heh;
close;
}
@@ -2340,7 +2340,7 @@ morocc,273,79,4 script Educated Traveller 4W_M_03,{
close;
}
case 4:
- if (countitem(624) > 0 && countitem(959) > 299 && countitem(551) > 49 && countitem(1023) > 0 && countitem(938) > 99) {
+ if (countitem(Rotten_Fish) > 0 && countitem(Rotten_Scale) > 299 && countitem(Shusi) > 49 && countitem(Fish_Tail) > 0 && countitem(Sticky_Mucus) > 99) {
mes "[Lee Hester]";
mes "Ah...";
mes "You brought everything.";
@@ -2373,13 +2373,13 @@ morocc,273,79,4 script Educated Traveller 4W_M_03,{
mes "[Lee Hester]";
mes "There you go. *Phew~*";
mes "Your own 'Blue Fish' hat, powered by a scientific principle! Also, would you mind if I keep that Desert Wolf Claw? Heh heh, thanks~";
- delitem 624,1; //Rotten_Fish
- delitem 959,300; //Rotten_Scale
- delitem 551,50; //Shusi
- delitem 1023,1; //Fish_Tail
- delitem 938,100; //Sticky_Mucus
- delitem 7030,1; //Claw_Of_Desert_Wolf
- getitem 5065,1; //Fish_On_Head
+ delitem Rotten_Fish,1;
+ delitem Rotten_Scale,300;
+ delitem Shusi,50;
+ delitem Fish_Tail,1;
+ delitem Sticky_Mucus,100;
+ delitem Claw_Of_Desert_Wolf,1;
+ getitem Fish_On_Head,1;
emotion e_ic;
close;
}
@@ -2513,7 +2513,7 @@ OnTouch:
pay_dun03,48,84,4 script Nine Tails#Kitsune Man 4_M_JPN2,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you are carrying -";
mes "- too many items with you. -";
@@ -2521,13 +2521,13 @@ pay_dun03,48,84,4 script Nine Tails#Kitsune Man 4_M_JPN2,{
mes "- you put some items into Kafra Storage. -";
close;
}
- if (countitem(1022) > 998) {
+ if (countitem(Fox_Tail) > 998) {
mes "[Nine Tails]";
mes "Oh! You finally brought what I've asked, human. Okay, now I can bring her back to life!";
next;
if (select("Give items:Cancel") == 1) {
- delitem 1022,999; //Fox_Tail
- getitem 5069,1; //Mask_Of_Fox
+ delitem Fox_Tail,999;
+ getitem Mask_Of_Fox,1;
mes "[Nine Tails]";
mes "Now...";
mes "Take this";
@@ -2634,7 +2634,7 @@ OnMyMobDead2:
in_orcs01,31,93,1 script Orc Warrior#1 ORK_WARRIOR,2,2,{
OnTouch:
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -2695,7 +2695,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 1) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes "WHAT?!";
mes "That's so much Jellopy!!";
@@ -2757,7 +2757,7 @@ OnTouch:
mes "[Orc Warrior]";
mes "I hate humans! In fact, all Orcs hate humans! Hate you hate you hate you with a passion!";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 2;
mes "[Orc Warrior]";
mes "So...";
@@ -2781,7 +2781,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 2) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes "No.... Not again!!";
mes "What are you doing with so much Jellopy?!";
@@ -2816,7 +2816,7 @@ OnTouch:
mes "[Orc Warrior]";
mes "Bah! Humans have built their own towns and cities. Do they keep their senseless killing amongst each other?! NO! Humans have to rampage and ravage everything!!";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 3;
mes "[Orc Warrior]";
mes "Now, if you want";
@@ -2837,7 +2837,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 3) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes ".....";
mes "Again, human, you confound me with your stubborness. I see that humans are masochists. Or just like to annoy Orcs by making them count a thousand Jellopies.";
@@ -2881,7 +2881,7 @@ OnTouch:
mes "I don't understand why I am sharing this story about my tribe.";
mes "That's enough for today!";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 4;
mes "[Orc Warrior]";
mes "Grrr~! If you want to listen longer go bring me ^FF00001000 Jellopy^000000 again.";
@@ -2896,7 +2896,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 4) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes "Oh... it's you again.";
mes "I can see the Jellopy in your hands, and I'm pretty sure you've brought a thousand again, so let's get this over with.";
@@ -2917,7 +2917,7 @@ OnTouch:
mes "...I've talked too much already.";
mes "That's the end of the conversation for today.";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 5;
mes "[Orc Warrior]";
mes "Now, if you want to listen some more, go bring me";
@@ -2933,7 +2933,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 5) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes "*Sigh...*";
mes "You're too tough to get rid of.";
@@ -2953,7 +2953,7 @@ OnTouch:
mes "[Orc Warrior]";
mes "Orcs never restore health during battle using your silly medicines. Hmpf. Humans can be so weak, drinking bottles of Potion to keep up in a fight. Oh well, though, I'm not sure if you're the same.";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 6;
mes "[Orc Warrior]";
mes "Now, if you want";
@@ -2972,7 +2972,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 6) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes "What the...! Don't you know when to stop? I do not believe a human would like to hear about Orcs so much. But...";
mes "We Orcs are a proud race, and I shall oblige.";
@@ -2995,7 +2995,7 @@ OnTouch:
mes "[Orc Warrior]";
mes "Hm, well to you humans, we may all look the same, but we Orcs can tell each other apart. How about you, human? Do I look the same as every Warrior outside to you?";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 7;
mes "[Orc Warrior]";
mes "Now...";
@@ -3015,7 +3015,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 7) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes "I expected you to quit by now. But I was wrong, because you're here once again. We made a deal and I will keep my promise.";
next;
@@ -3042,7 +3042,7 @@ OnTouch:
mes "[Orc Warrior]";
mes "Well, humans rarely get the chance to see this helmet unless they're in battle with an Orc Hero themselves...";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 8;
mes "[Orc Warrior]";
mes "Now, if you want";
@@ -3063,7 +3063,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 8) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes "Oh, hello. You're back.";
mes "Go ahead and put the 1000 Jellopies over there on the table by the skulls.";
@@ -3086,7 +3086,7 @@ OnTouch:
mes "[Orc Warrior]";
mes "Every Orc can recognize him by his distinguished helm with the three horns.";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 9;
mes "[Orc Warrior]";
mes "Now...";
@@ -3106,7 +3106,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 9) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes "It's been a while I've seen such a determined human such as yourself. Just leave the Jellopy near the bed.";
next;
@@ -3132,7 +3132,7 @@ OnTouch:
mes "[Orc Warrior]";
mes "I don't think there is a curse which transforms humans into a totally ugly creature depending on their deeds. So it is difficult to tell which humans are honorable...";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 10;
mes "[Orc Warrior]";
mes "Now...";
@@ -3152,7 +3152,7 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 10) {
- if (countitem(909) > 999) {
+ if (countitem(Jellopy) > 999) {
mes "[Orc Warrior]";
mes "With these...";
mes "You have brought me 10,000 Jellopies. I must say that I am impressed. Since you have shown me your respect, I will repay you with my honesty.";
@@ -3163,9 +3163,9 @@ OnTouch:
mes "[Orc Warrior]";
mes "I suggest you that you experience more battles with the many different Orcs out there. That's the best way of understanding and learning about the Orc tribe.";
next;
- delitem 909,1000; //Jellopy
+ delitem Jellopy,1000;
orcs_hero_hat = 11;
- getitem 1304,1; //Orcish_Axe
+ getitem Orcish_Axe,1;
mes "[Orc Warrior]";
mes "This is a small token of my gratitue. This axe used to aid me in many battles and is very precious to me. I hope you will take care of this.";
next;
@@ -3182,12 +3182,12 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 11) {
- if (countitem(1304) > 0) {
+ if (countitem(Orcish_Axe) > 0) {
mes "[Orc Warrior]";
mes "You have made a lot of effort to show me your respect. Now, if you want to learn more about Orcs, feel free to come back anytime, my friend.";
close;
}
- else if (countitem(931) > 99) {
+ else if (countitem(Orcish_Voucher) > 99) {
if (rand(1,5) == 5) {
mes "[Orc Warrior]";
mes "Oh, I see you've taken my advice and have been meeting many other Orcs through battle.";
@@ -3222,7 +3222,7 @@ OnTouch:
mes "[Orc Warrior]";
mes "Ah, spoken like a true warrior. Alright then, go forth and do battle with others of my tribe, and bring me 10,000 Orcish Vouchers.";
next;
- delitem 931,100; //Orcish_Voucher
+ delitem Orcish_Voucher,100;
orcs_hero_hat = 13;
orcs_hero_hat2 = 100;
mes "[Orc Warrior]";
@@ -3249,7 +3249,7 @@ OnTouch:
}
}
else if (orcs_hero_hat2 > 99 && orcs_hero_hat2 < 10000) {
- if (countitem(931) > 0) {
+ if (countitem(Orcish_Voucher) > 0) {
if (orcs_hero_hat2 > 9999)
orcs_hero_hat2 = 10000;
mes "[Orc Warrior]";
@@ -3265,9 +3265,9 @@ OnTouch:
mes "victory with me?";
next;
if (select("Yes, I do.:I will do it later.") == 1) {
- .@total_vouchers = orcs_hero_hat2+countitem(931);
+ .@total_vouchers = orcs_hero_hat2+countitem(Orcish_Voucher);
if (.@total_vouchers < 10000) {
- delitem 931,countitem(931); //Orcish_Voucher
+ delitem Orcish_Voucher,countitem(Orcish_Voucher);
orcs_hero_hat2 = .@total_vouchers;
mes "[Orc Warrior]";
mes "I hope you will";
@@ -3305,14 +3305,14 @@ OnTouch:
else
mes "an Orc Lady!!";
next;
- delitem 931,countitem(931); //Orcish_Voucher
+ delitem Orcish_Voucher,countitem(Orcish_Voucher);
orcs_hero_hat = 14;
orcs_hero_hat2 = 10000;
- getitem 2299,1; //Viking_Helm
+ getitem Viking_Helm,1;
mes "[Orc Warrior]";
mes "This is a present for you. I am not sure if it will fit to your head or not, but try it. If your head is too big to wear this, I suggest that you carry this with you.";
next;
- getitem 931,1; //Orcish_Voucher
+ getitem Orcish_Voucher,1;
mes "[Orc Warrior]";
mes "As an Orc Warrior,";
mes "I will now give you";
@@ -3341,12 +3341,12 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 14) {
- if (countitem(931) == 1 && (countitem(2299) > 0 || isequipped(2299))) {
+ if (countitem(Orcish_Voucher) == 1 && (countitem(Viking_Helm) > 0 || isequipped(2299))) {
mes "[Orc Warrior]";
mes "Hm? You don't think you cannot come back to where you originally came, just because now you're an Orc Warrior, do you? Hahahahaha!";
close;
}
- else if (countitem(2299) > 0 || isequipped(2299)) {
+ else if (countitem(Viking_Helm) > 0 || isequipped(2299)) {
mes "[Orc Warrior]";
mes "Warrior...";
mes "May a fresh";
@@ -3400,7 +3400,7 @@ OnTouch:
}
}
else if (orcs_hero_hat == 15) {
- if (countitem(968) > 99) {
+ if (countitem(Voucher_Of_Orcish_Hero) > 99) {
mes "[Orc Warrior]";
mes "Ah...";
mes "I knew you would succeed!";
@@ -3442,13 +3442,13 @@ OnTouch:
mes "[Orc Warrior]";
mes "You deserve to be an Orc Hero, the most powerful Orc warrior! As of today, you are now an Orc Hero!";
next;
- delitem 968,100; //Voucher_Of_Orcish_Hero
+ delitem Voucher_Of_Orcish_Hero,100;
orcs_hero_hat = 16;
- getitem 1124,1; //Orcish_Sword
+ getitem Orcish_Sword,1;
mes "[Orc Warrior]";
mes "This is a sword only given to our heroes. I am not sure if you can use this or not, but as an Orc Hero, you're obligated to carry this with you always.";
next;
- getitem 968,1; //Voucher_Of_Orcish_Hero
+ getitem Voucher_Of_Orcish_Hero,1;
mes "[Orc Warrior]";
mes "Now that you";
mes "are an Orc Hero,";
@@ -3477,12 +3477,12 @@ OnTouch:
close;
}
else if (orcs_hero_hat > 15) {
- if (countitem(968) < 1) {
+ if (countitem(Voucher_Of_Orcish_Hero) < 1) {
mes "[Orc Warrior]";
mes "Warrior, where did you leave your Heroic Emblem? Without the token, I cannot recognize you as an Orc Hero. Please find it and keep it with you anywhere you go.";
close;
}
- else if (countitem(1124) < 1 && isequipped(1124) == 0) {
+ else if (countitem(Orcish_Sword) < 1 && isequipped(1124) == 0) {
mes "[Orc Warrior]";
mes "Warrior, where did you leave your sword? Without the sword, I cannot recognize you as an Orc Hero. Please find it and keep it with you anywhere you go.";
close;
@@ -3504,7 +3504,7 @@ OnTouch:
in_orcs01,162,33,1 script Orc Hero#1 ORK_HERO,2,2,{
OnTouch:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -3526,14 +3526,14 @@ OnTouch:
close;
}
else if (orcs_hero_hat == 16) {
- if (countitem(968) == 1 && (countitem(1124) > 0 || isequipped(1124) == 1)) {
+ if (countitem(Voucher_Of_Orcish_Hero) == 1 && (countitem(Orcish_Sword) > 0 || isequipped(1124) == 1)) {
if (rand(1,10) == 1) {
mes "[Orc Hero]";
mes "Hm, are you the human who was granted status as an Orc Hero?";
next;
mes "[Orc Hero]";
mes "I hope you know the meaning of returning my Emblem. I expect that we will meet again on the battlefield.";
- if (countitem(2299) > 0) {
+ if (countitem(Viking_Helm) > 0) {
next;
mes "[Orc Hero]";
mes "Wait...";
@@ -3577,7 +3577,7 @@ OnTouch:
mes "[Orc Hero]";
mes "Although you're a human, you're an Orc Hero amongst us now, so you should have a helm suitable for your position...";
next;
- delitem 2299,1; //Viking_Helm
+ delitem Viking_Helm,1;
orcs_hero_hat = 17;
getnameditem 5094,strcharinfo(0); //Orc_Hero_Helm
mes "[Orc Hero]";
diff --git a/npc/quests/newgears/2005_headgears.txt b/npc/quests/newgears/2005_headgears.txt
index 98b1e7d44..63283f33a 100644
--- a/npc/quests/newgears/2005_headgears.txt
+++ b/npc/quests/newgears/2005_headgears.txt
@@ -37,7 +37,7 @@
//=========================================================================
yuno,222,116,3 script Kasis#LhzHat 4_M_REPAIR,{
- if(countitem(519) > 49 && countitem(7031) > 49 && countitem(548) > 49 && countitem(539) > 49)
+ if(countitem(Milk) > 49 && countitem(Old_Frying_Pan) > 49 && countitem(Cheese) > 49 && countitem(Piece_Of_Cake) > 49)
{
mes "[Kasis]";
mes "Milk, Cheese,";
@@ -516,7 +516,7 @@ lighthalzen,143,68,0 script Strange Guy#LhzHat 1_M_01,{
mes "look through your Inventory...";
next;
@lhzhatfailed = 0;
- if(countitem(611) < 10)
+ if(countitem(Spectacles) < 10)
{
mes "[Morris]";
mes "Wait. You don't have";
@@ -527,7 +527,7 @@ lighthalzen,143,68,0 script Strange Guy#LhzHat 1_M_01,{
@lhzhatfailed = 1;
next;
}
- if(countitem(7301) < 1887 && @lhzhatfailed == 0)
+ if(countitem(Sword_Accessory) < 1887 && @lhzhatfailed == 0)
{
mes "[Morris]";
mes "Magnifiers. Check.";
@@ -535,7 +535,7 @@ lighthalzen,143,68,0 script Strange Guy#LhzHat 1_M_01,{
@lhzhatfailed = 1;
next;
}
- if(countitem(5120) < 1 && @lhzhatfailed == 0)
+ if(countitem(Fedora_) < 1 && @lhzhatfailed == 0)
{
mes "[Morris]";
mes "Magnifiers. Check.";
@@ -683,7 +683,7 @@ lighthalzen,143,68,0 script Strange Guy#LhzHat 1_M_01,{
mes "brought everything...";
next;
@lhzhatfailed = 0;
- if(countitem(611) < 10)
+ if(countitem(Spectacles) < 10)
{
mes "[Morris]";
mes "Hmm, you don't have";
@@ -694,7 +694,7 @@ lighthalzen,143,68,0 script Strange Guy#LhzHat 1_M_01,{
@lhzhatfailed = 1;
next;
}
- if(countitem(7301) < 1887 && @lhzhatfailed == 0)
+ if(countitem(Sword_Accessory) < 1887 && @lhzhatfailed == 0)
{
mes "[Morris]";
mes "Magnifiers. Check.";
@@ -702,7 +702,7 @@ lighthalzen,143,68,0 script Strange Guy#LhzHat 1_M_01,{
@lhzhatfailed = 1;
next;
}
- if(countitem(5120) < 1 && @lhzhatfailed == 0)
+ if(countitem(Fedora_) < 1 && @lhzhatfailed == 0)
{
mes "[Morris]";
mes "Magnifiers. Check.";
@@ -775,7 +775,7 @@ lighthalzen,360,313,3 script Kid#LhzHat 4_M_KID1,{
mes "Um, would you do";
mes "me a favor, please?";
next;
- if(countitem(526) && countitem(7270) && countitem(941) && countitem(10004))
+ if(countitem(Royal_Jelly) && countitem(Milk_Bottle) && countitem(Nose_Ring) && countitem(Pacifier))
{
mes "[Kid]";
mes "Oh! You brought me";
@@ -829,7 +829,7 @@ lighthalzen,360,313,3 script Kid#LhzHat 4_M_KID1,{
switch( select( "Help him.", "Refuse to help." ) )
{
case 1:
- if(!countitem(526))
+ if(!countitem(Royal_Jelly))
{
mes "[Kid]";
mes "If you would, do you think";
@@ -892,7 +892,7 @@ lighthalzen,360,313,3 script Kid#LhzHat 4_M_KID1,{
}
einbech,70,222,5 script Metelle#LhzHat 4_F_02,{
- if(countitem(983) && countitem(7267) > 998 && countitem(749) && Zeny > 49999)
+ if(countitem(Black_Dyestuffs) && countitem(Tiger_Skin_Panties) > 998 && countitem(Frozen_Rose) && Zeny > 49999)
{
mes "[Metelle]";
mes "Oh, hello, what's this?";
@@ -1013,7 +1013,7 @@ lhz_in02,91,38,5 script Margaret Mary#LhzHat 4_F_01,{
switch( select( "Make a Mystic Rose.", "End Conversation." ) )
{
case 1:
- if(countitem(731) > 9 && countitem(748) > 2 && countitem(982) && Zeny > 49999)
+ if(countitem(Crystal_Jewel_) > 9 && countitem(Witherless_Rose) > 2 && countitem(White_Dyestuffs) && Zeny > 49999)
{
mes "[Margaret Mary]";
mes "Ah, I see that you've brought";
@@ -1266,7 +1266,7 @@ lighthalzen,182,89,0 script Relaxed-Looking Lady 4_F_02,{
switch( select( "Yes.", "I forgot what I need." ) )
{
case 1:
- if(countitem(10015) < 1 || countitem(10007) < 1 || countitem(975) < 1 || countitem(5032) < 1 || Zeny < 50000)
+ if(countitem(Green_Lace) < 1 || countitem(Silk_Ribbon) < 1 || countitem(Scarlet_Dyestuffs) < 1 || countitem(Picnic_Hat) < 1 || Zeny < 50000)
{
mes "[Achiha]";
mes "Uh oh.";
@@ -1339,7 +1339,7 @@ lighthalzen,182,89,0 script Relaxed-Looking Lady 4_F_02,{
switch( select( "Yes.", "I forgot what I need." ) )
{
case 1:
- if(countitem(10015) < 1 || countitem(10007) < 1 || countitem(975) < 1 || countitem(5032) < 1 || Zeny < 50000)
+ if(countitem(Green_Lace) < 1 || countitem(Silk_Ribbon) < 1 || countitem(Scarlet_Dyestuffs) < 1 || countitem(Picnic_Hat) < 1 || Zeny < 50000)
{
mes "[Achiha]";
mes "Uh oh.";
@@ -1513,7 +1513,7 @@ gl_prison1,137,138,5 script Zealotus#LhzHat ZHERLTHSH,{
}
else if(ZLMASKQ == 7)
{
- if(countitem(7263) && countitem(660) && countitem(7099) > 29)
+ if(countitem(Cat_Eyed_Stone) && countitem(Prohibition_Red_Candle) && countitem(Old_Magic_Circle) > 29)
{
mes "[Zealotus]";
mes "I see that you have";
@@ -1644,14 +1644,14 @@ gl_prison1,97,104,1 script Phendark#LhzHat PHENDARK,{
emotion e_sob;
if(!(
- countitem(1950) || countitem(1951) || countitem(1952) ||
- countitem(1953) || countitem(1954) || countitem(1955) ||
- countitem(1956) || countitem(1957) || countitem(1958) ||
- countitem(1959) || countitem(1960) || countitem(1961) ||
- countitem(1962) || countitem(1963) || countitem(1964) ||
- countitem(1965) || countitem(1966) || countitem(1967) ||
- countitem(1968) || countitem(1969) || countitem(1970) ||
- countitem(1971)
+ countitem(Rope) || countitem(Rope_) || countitem(Line) ||
+ countitem(Line_) || countitem(Wire) || countitem(Wire_) ||
+ countitem(Rante) || countitem(Rante_) || countitem(Tail) ||
+ countitem(Tail_) || countitem(Whip) || countitem(Whip_) ||
+ countitem(Lariat) || countitem(Rapture_Rose) || countitem(Chemeti) ||
+ countitem(Whip_Of_Red_Flame) || countitem(Whip_Of_Ice_Piece) || countitem(Whip_Of_Earth) ||
+ countitem(Jump_Rope) || countitem(Bladed_Whip) || countitem(Queen's_Whip) ||
+ countitem(Electric_Wire)
))
close; // no whip equipped or in inventory
@@ -1696,7 +1696,7 @@ gl_prison1,97,104,1 script Phendark#LhzHat PHENDARK,{
}
else if(ZLMASKQ == 2 || ZLMASKQ == 3)
{
- if(countitem(7315) > 368 && ZLMASKQ == 3)
+ if(countitem(Dark_Crystal_Fragment) > 368 && ZLMASKQ == 3)
{
mes "[Phendark]";
mes "Y-you again!";
@@ -2135,7 +2135,7 @@ airport,148,41,3 script Freight Manager#toast 4_M_EIN_SOLDIER,{
mes "yet. Where could h--Oh!";
mes "Hello, welcome to Einbroch~";
next;
- if (isequipped(5107) || countitem(5107)) {
+ if (isequipped(5107) || countitem(Well_Baked_Toast)) {
mes "[Kirishu]";
mes "Wait a sec, that";
mes "Crunch Toast! You must";
diff --git a/npc/quests/newgears/2006_headgears.txt b/npc/quests/newgears/2006_headgears.txt
index 49ad6e5c7..28be564f0 100644
--- a/npc/quests/newgears/2006_headgears.txt
+++ b/npc/quests/newgears/2006_headgears.txt
@@ -38,7 +38,7 @@
//== Censor Bar ============================================
rachel,91,273,0 script ? 4_M_RACHMAN2,{
- if (countitem(983) > 0 && countitem(7111) > 99 && countitem(938) > 98 && Zeny > 99999) {
+ if (countitem(Black_Dyestuffs) > 0 && countitem(Smooth_Paper) > 99 && countitem(Sticky_Mucus) > 98 && Zeny > 99999) {
mes "[?]";
mes "Giggle giggle...isn't it my partner, eh?";
mes "So, did you bring everything that I asked?";
@@ -60,11 +60,11 @@ rachel,91,273,0 script ? 4_M_RACHMAN2,{
mes "- Bzzz Bzzz Click Click -";
mes "- Fumble Fumble Fumble Fumble -";
next;
- delitem 983,1; //Black_Dyestuffs
- delitem 7111,100; //Smooth_Paper
- delitem 938,99; //Sticky_Mucus
+ delitem Black_Dyestuffs,1;
+ delitem Smooth_Paper,100;
+ delitem Sticky_Mucus,99;
Zeny -= 100000;
- getitem 5175,1; //Anonimity_Request
+ getitem Censor_Bar,1; //Anonimity_Request
mes "[?]";
mes "Phew...it's done. Well, it was not that difficult to make, but...";
mes "Giggle giggle, what is important is that";
@@ -105,7 +105,7 @@ rachel,91,273,0 script ? 4_M_RACHMAN2,{
//== Feather Beret =========================================
rachel,152,131,3 script Sakjul 4_M_MIDDLE1,{
- if (countitem(5172) > 0 && countitem(7063) > 99 && countitem(982) > 0) {
+ if (countitem(Beret) > 0 && countitem(Soft_Feather) > 99 && countitem(White_Dyestuffs) > 0) {
mes "[Sakjul]";
mes "Great, you have brought everything";
mes "to make ^FF0000Feather Beret^000000!";
@@ -136,9 +136,9 @@ rachel,152,131,3 script Sakjul 4_M_MIDDLE1,{
next;
.@result = rand(1,10);
if (.@result == 4) {
- delitem 5172,1; //Beret
- delitem 7063,100; //Soft_Feather
- delitem 982,1; //White_Dyestuffs
+ delitem Beret,1;
+ delitem Soft_Feather,100;
+ delitem White_Dyestuffs,1;
mes "[Sakjul]";
mes "I did succeed in making the hat,";
mes "but I cannot let it fall into someone else's hand!";
@@ -160,10 +160,10 @@ rachel,152,131,3 script Sakjul 4_M_MIDDLE1,{
mes "If you understood, now, go, go gather the materials again!";
close;
}
- delitem 5172,1; //Beret
- delitem 7063,100; //Soft_Feather
- delitem 982,1; //White_Dyestuffs
- getitem 5170,1; //Feather_Beret
+ delitem Beret,1;
+ delitem Soft_Feather,100;
+ delitem White_Dyestuffs,1;
+ getitem Feather_Beret,1;
mes "[Sakjul]";
mes "Great, I have made it! Look at this beautiful coordination";
mes "between the feather and the beret,";
@@ -255,7 +255,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{
mes "do not disgrace this Helm through evil doings.";
next;
moza_valkylie = 0;
- getitem 5171,1; //Valkyrie_Helm
+ getitem Valkyrie_Helm,1;
mes "[Ghenirhemin]";
mes "May God bless this adventurer";
mes "who has written new history.";
@@ -300,7 +300,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{
mes "only because you, a human wants it to happen faster.";
close;
}
- else if (moza_valkylie == 2 && Zeny > 9999999 && countitem(4219) > 0 && countitem(4114) > 0 && countitem(4177) > 0 && countitem(4259) > 0 && countitem(4212) > 0 && countitem(4073) > 0 && countitem(4112) > 0 && countitem(4081) > 0 && countitem(4251) > 0 && countitem(4166) > 0 && countitem(7511) > 999 && countitem(7563) > 999) {
+ else if (moza_valkylie == 2 && Zeny > 9999999 && countitem(Sageworm_Card) > 0 && countitem(Argiope_Card) > 0 && countitem(Dryad_Card) > 0 && countitem(Wooden_Golem_Card) > 0 && countitem(Bon_Gun_Card) > 0 && countitem(Pirate_Skel_Card) > 0 && countitem(Marduk_Card) > 0 && countitem(Hode_Card) > 0 && countitem(Elder_Card) > 0 && countitem(Nightmare_Terror_Card) > 0 && countitem(Rune_Of_Darkness) > 999 && countitem(Bloody_Rune) > 999) {
mes "[Ghenirhemin]";
mes "Hmm...I am impressed that you have brought everything";
mes "despite of the difficulty in gathering them. It was difficult, wasn't it?";
@@ -318,18 +318,18 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{
mes "Excellent. Now, all we have to do";
mes "is just waiting until they finish being fused into one.";
next;
- delitem 4219,1; //Sageworm_Card
- delitem 4114,1; //Argiope_Card
- delitem 4177,1; //Dryad_Card
- delitem 4259,1; //Wooden_Golem_Card
- delitem 4212,1; //Bon_Gun_Card
- delitem 4073,1; //Pirate_Skel_Card
- delitem 4112,1; //Marduk_Card
- delitem 4081,1; //Hode_Card
- delitem 4251,1; //Elder_Card
- delitem 4166,1; //Nightmare_Terror_Card
- delitem 7511,1000; //Rune_Of_Darkness
- delitem 7563,1000; //Bloody_Rune
+ delitem Sageworm_Card,1;
+ delitem Argiope_Card,1;
+ delitem Dryad_Card,1;
+ delitem Wooden_Golem_Card,1;
+ delitem Bon_Gun_Card,1;
+ delitem Pirate_Skel_Card,1;
+ delitem Marduk_Card,1;
+ delitem Hode_Card,1;
+ delitem Elder_Card,1;
+ delitem Nightmare_Terror_Card,1;
+ delitem Rune_Of_Darkness,1000;
+ delitem Bloody_Rune,1000;
Zeny -= 10000000;
moza_valkylie = 3;
mes "[Ghenirhemin]";
@@ -577,15 +577,15 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{
//== Hahoe Mask / Mythical Lion Mask / Bride Mask ==========
payon,135,320,3 script Chungwolmang 4W_M_01,{
if (moza_tal == 2) {
- if (countitem(7015) > 19 && countitem(952) > 99 && countitem(1028) > 99) {
+ if (countitem(Bookclip_In_Memory) > 19 && countitem(Cactus_Needle) > 99 && countitem(Wild_Boar's_Mane) > 99) {
//Hahoe_Mask: Bookclip_In_Memory, Cactus_Needle, Wild_Boar's_Mane
callsub S_MakeMask,5176,7015,20,952,100,1028,100,0,0;
}
- if (countitem(1048) > 499 && countitem(1053) > 1 && countitem(980) > 0) {
+ if (countitem(Slender_Snake) > 499 && countitem(Tooth_Of_Ancient_Fish) > 1 && countitem(Orange_Dyestuffs) > 0) {
//Guardian_Lion_Mask: Slender_Snake, Tooth_Of_Ancient_Fishm Orange_Dyestuffs
callsub S_MakeMask,5177,1048,500,1053,2,980,1,0,0;
}
- if (countitem(1049) > 19 && countitem(1059) > 499 && countitem(1054) > 1 && countitem(1024) > 99) {
+ if (countitem(Skirt_Of_Virgin) > 19 && countitem(Transparent_Cloth) > 499 && countitem(Lip_Of_Ancient_Fish) > 1 && countitem(Chinese_Ink) > 99) {
//Bride_Mask: Skirt_Of_Virgin, Transparent_Cloth, Lip_Of_Ancient_Fish, Chinese_Ink
callsub S_MakeMask,5169,1049,20,1059,500,1054,2,1024,100;
}
@@ -620,7 +620,7 @@ payon,135,320,3 script Chungwolmang 4W_M_01,{
mes "Bring the exact amount of materials, then I will give you the mask right away.";
close;
}
- if (countitem(7201) > 499) && (countitem(7200) > 9 && moza_tal == 1) {
+ if (countitem(Log) > 499) && (countitem(Flexible_String) > 9 && moza_tal == 1) {
mes "[Chungwolmang]";
mes "Ah, Four Leaf Clover must bring me luck";
mes "because you came back faster than I thought! Wow...";
@@ -678,8 +678,8 @@ payon,135,320,3 script Chungwolmang 4W_M_01,{
mes "Bring the exact amount of materials, then I will give you the mask right away.";
break;
}
- delitem 7201,500; //Log
- delitem 7200,10; //Flexible_String
+ delitem Log,500;
+ delitem Flexible_String,10;
moza_tal = 2;
next;
mes "[Chungwolmang]";
@@ -708,7 +708,7 @@ payon,135,320,3 script Chungwolmang 4W_M_01,{
mes "Thanks in advance.";
close;
}
- if (countitem(706) > 0) {
+ if (countitem(Four_Leaf_Clover) > 0) {
mes "[Chungwolmang]";
mes "Ah...! Hey! I can tell something unique about you.";
mes "Do you have a Four Leaf Clover by any chance?";
@@ -742,7 +742,7 @@ payon,135,320,3 script Chungwolmang 4W_M_01,{
mes "Will you be so kind to bring them to me?";
mes "In fact, I can't pay you back unless I have them.";
next;
- delitem 706,1; //Four_Leaf_Clover
+ delitem Four_Leaf_Clover,1;
moza_tal = 1;
mes "[Chungwolmang]";
mes "You want me to pay you back, don't you?";
@@ -818,7 +818,7 @@ S_MakeMask:
//== Magistrate Hat / Ayam =================================
payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{
- if (moza_korea == 2 && countitem(954) > 299 && countitem(733) > 4 && countitem(975) > 0 && countitem(7166) > 49) {
+ if (moza_korea == 2 && countitem(Shining_Scales) > 299 && countitem(Crystal_Jewel___) > 4 && countitem(Scarlet_Dyestuffs) > 0 && countitem(Soft_Silk_Cloth) > 49) {
mes "[Han Garam]";
mes "You came back faster than I expected.";
mes "Great, I am also highly motivated for the fact that";
@@ -858,12 +858,12 @@ payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{
mes "Please take this Ayam.";
mes "As I promised, this is my gift for you.";
next;
- delitem 954,300; //Shining_Scales
- delitem 733,5; //Crystal_Jewel___
- delitem 975,1; //Scarlet_Dyestuffs
- delitem 7166,50; //Soft_Silk_Cloth
+ delitem Shining_Scales,300;
+ delitem Crystal_Jewel___,5;
+ delitem Scarlet_Dyestuffs,1;
+ delitem Soft_Silk_Cloth,50;
moza_korea = 0;
- getitem 5174,1; //A_yam
+ getitem Ayam,1; //A_yam
mes "[Han Garam]";
mes "Now I need to meet with the Dragon God again,";
mes "if I want to make another hat...umm...";
@@ -880,7 +880,7 @@ payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{
mes "Can't you just give them to me already?";
close;
}
- else if (moza_korea == 2 && countitem(954) > 299 && countitem(733) > 4 && countitem(983) > 0 && countitem(2221) > 0) {
+ else if (moza_korea == 2 && countitem(Shining_Scales) > 299 && countitem(Crystal_Jewel___) > 4 && countitem(Black_Dyestuffs) > 0 && countitem(Hat_) > 0) {
mes "[Han Garam]";
mes "You came back faster than I expected.";
mes "Great, I am also highly motivated for the fact that";
@@ -920,12 +920,12 @@ payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{
mes "Please take this Magistrate Hat.";
mes "As I promised, this is my gift for you.";
next;
- delitem 954,300; //Shining_Scales
- delitem 733,5; //Crystal_Jewel___
- delitem 983,1; //Black_Dyestuffs
- delitem 2221,1; //Hat_
+ delitem Shining_Scales,300;
+ delitem Crystal_Jewel___,5;
+ delitem Black_Dyestuffs,1;
+ delitem Hat_,1;
moza_korea = 0;
- getitem 5173,1; //Judge_Hat
+ getitem Satto_Hat,1; //Judge_Hat
mes "[Han Garam]";
mes "Now I need to meet with the Dragon God again,";
mes "if I want to make another hat...umm...";
@@ -1036,7 +1036,7 @@ payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{
mes "Okay then, I will be waiting you to come back.";
close;
}
- if (countitem(7446) > 6 && countitem(7448) > 6 && countitem(7445) > 6 && countitem(7447) > 6) {
+ if (countitem(Dragonball_Blue) > 6 && countitem(Dragonball_Yellow) > 6 && countitem(Dragonball_Green) > 6 && countitem(Dragonball_Red) > 6) {
mes "[Han Garam]";
mes "My name is Han Garam,";
mes "and I am a proud heir of a renown family... eh?";
@@ -1079,10 +1079,10 @@ payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{
mes "But, can you wait for a while?";
mes "To make hat, I have to contact the Dragon God first.";
next;
- delitem 7446,7; //Blue_Orb
- delitem 7448,7; //Yellow_Orb
- delitem 7445,7; //Green_Orb
- delitem 7447,7; //Red_Orb
+ delitem Dragonball_Blue,7; //Blue_Orb
+ delitem Dragonball_Yellow,7; //Yellow_Orb
+ delitem Dragonball_Green,7; //Green_Orb
+ delitem Dragonball_Red,7; //Red_Orb
moza_korea = 1;
mes "[Han Garam]";
mes "...Okay, give me some time to focus.";
diff --git a/npc/quests/newgears/2008_headgears.txt b/npc/quests/newgears/2008_headgears.txt
index 4229d8853..7e0946066 100644
--- a/npc/quests/newgears/2008_headgears.txt
+++ b/npc/quests/newgears/2008_headgears.txt
@@ -245,7 +245,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "I will put all my efforts into it.";
mes "I want to challenge my skills!!";
next;
- if (countitem(2250) > 0 || countitem(5441) > 0 || countitem(5439) > 0 || countitem(5440) > 0 || countitem(5438) > 0) {
+ if (countitem(Fillet) > 0 || countitem(Fillet_White) > 0 || countitem(Fillet_Red) > 0 || countitem(Fillet_Blue) > 0 || countitem(Fillet_Green) > 0) {
mes "["+strcharinfo(0)+"]";
mes "(I have a Cute Ribbon...what should I do..?)";
next;
@@ -258,14 +258,14 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
next;
switch(select("Yellow one..:White one..:Blue one..:Red one..:Green one..:Never mind.")){
case 1:
- if(countitem(2250) > 0) {
+ if(countitem(Fillet) > 0) {
mes "[Elgo]";
mes "Ok Ok, Yellow Cute Ribbon, huh?";
mes "What color do you want it to be dyed?";
next;
switch(select("White:Blue:Red:Green")){
case 1:
- if(countitem(982) > 0) {
+ if(countitem(White_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Wow, pure and innocent white!";
mes "Ok, let's do it.";
@@ -286,7 +286,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it white, bring me ^4d4dff1 White Dyestuffs^000000.";
close;
case 2:
- if(countitem(978) > 0) {
+ if(countitem(Cobaltblue_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Cool blue!!";
mes "Let's do it!";
@@ -307,7 +307,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it blue, bring me ^4d4dff1 Blue Dyestuffs^000000.";
close;
case 3:
- if(countitem(975) > 0) {
+ if(countitem(Scarlet_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Cute Red!";
mes "Let's do it!";
@@ -328,7 +328,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it red, bring me ^4d4dff1 Red Dyestuffs^000000.";
close;
case 4:
- if(countitem(979) > 0) {
+ if(countitem(Darkgreen_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Nature's Green!";
mes "Let's do it!";
@@ -355,14 +355,14 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "But you don't even have one.";
close;
case 2:
- if(countitem(5441) > 0) {
+ if(countitem(Fillet_White) > 0) {
mes "[Elgo]";
mes "Ok Ok, This white Cute Ribbon, huh?";
mes "What color do you want it to be dyed?";
next;
switch(select("Yellow:Blue:Red:Green")) {
case 1:
- if(countitem(976) > 0) {
+ if(countitem(Lemon_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Basic Yellow!";
mes "Let's do it!";
@@ -383,7 +383,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it yellow, bring me ^4d4dff1 yellow Dyestuffs^000000.";
close;
case 2:
- if(countitem(978) > 0) {
+ if(countitem(Cobaltblue_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Cool blue!!";
mes "Let's do it!";
@@ -404,7 +404,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it blue, bring me ^4d4dff1 Blue Dyestuffs^000000.";
close;
case 3:
- if(countitem(975) > 0) {
+ if(countitem(Scarlet_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Cute Red!";
mes "Let's do it!";
@@ -425,7 +425,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it red, bring me ^4d4dff1 Red Dyestuffs^000000.";
close;
case 4:
- if(countitem(979) > 0) {
+ if(countitem(Darkgreen_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Nature's Green!";
mes "Let's do it!";
@@ -452,14 +452,14 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "But you don't even have one.";
close;
case 3:
- if(countitem(5440) > 0) {
+ if(countitem(Fillet_Blue) > 0) {
mes "[Elgo]";
mes "Ok Ok, This blue Cute Ribbon, huh?";
mes "What color do you want it to be dyed?";
next;
switch(select("White:Yellow:Red:Green")) {
case 1:
- if(countitem(982) > 0) {
+ if(countitem(White_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Wow, pure and innocent white!";
mes "Ok, let's do it.";
@@ -480,7 +480,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it white, bring me ^4d4dff1 White Dyestuffs^000000.";
close;
case 2:
- if(countitem(976) > 0) {
+ if(countitem(Lemon_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Basic Yellow!";
mes "Let's do it!";
@@ -501,7 +501,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it yellow, bring me ^4d4dff1 yellow Dyestuffs^000000.";
close;
case 3:
- if(countitem(975) > 0) {
+ if(countitem(Scarlet_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Cute Red!";
mes "Let's do it!";
@@ -522,7 +522,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it red, bring me ^4d4dff1 Red Dyestuffs^000000.";
close;
case 4:
- if(countitem(979) > 0) {
+ if(countitem(Darkgreen_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Nature's Green!";
mes "Let's do it!";
@@ -549,14 +549,14 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "But you don't even have one.";
close;
case 4:
- if(countitem(5439) > 0) {
+ if(countitem(Fillet_Red) > 0) {
mes "[Elgo]";
mes "Ok Ok, This Red Cute Ribbon, huh?";
mes "What color do you want it to be dyed?";
next;
switch(select("White:Blue:Yellow:Green")){
case 1:
- if (countitem(982) > 0){
+ if (countitem(White_Dyestuffs) > 0){
mes "[Elgo]";
mes "Wow, pure and innocent white!";
mes "Ok, let's do it.";
@@ -577,7 +577,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it white, bring me ^4d4dff1 White Dyestuffs^000000.";
close;
case 2:
- if(countitem(978) > 0) {
+ if(countitem(Cobaltblue_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Cool blue!!";
mes "Let's do it!";
@@ -598,7 +598,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it blue, bring me ^4d4dff1 Blue Dyestuffs^000000.";
close;
case 3:
- if(countitem(976) > 0) {
+ if(countitem(Lemon_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Basic Yellow!";
mes "Let's do it!";
@@ -619,7 +619,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it yellow, bring me ^4d4dff1 yellow Dyestuffs^000000.";
close;
case 4:
- if(countitem(979) > 0) {
+ if(countitem(Darkgreen_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Nature's Green!";
mes "Let's do it!";
@@ -646,14 +646,14 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "But you don't even have one.";
close;
case 5:
- if(countitem(5438) > 0) {
+ if(countitem(Fillet_Green) > 0) {
mes "[Elgo]";
mes "Ok Ok, This Green Cute Ribbon, huh?";
mes "What color do you want it to be dyed?";
next;
switch(select("White:Blue:Red:Yellow")) {
case 1:
- if(countitem(982) > 0) {
+ if(countitem(White_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Wow, pure and innocent white!";
mes "Ok, let's do it.";
@@ -674,7 +674,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it white, bring me ^4d4dff1 White Dyestuffs^000000.";
close;
case 2:
- if(countitem(978) > 0) {
+ if(countitem(Cobaltblue_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Cool blue!!";
mes "Let's do it!";
@@ -695,7 +695,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it blue, bring me ^4d4dff1 Blue Dyestuffs^000000.";
close;
case 3:
- if(countitem(975) > 0) {
+ if(countitem(Scarlet_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Cute Red!";
mes "Let's do it!";
@@ -716,7 +716,7 @@ morocc_in,137,102,5 script Trainee#2008hat01 4_KID01,{
mes "If you want to dye it red, bring me ^4d4dff1 Red Dyestuffs^000000.";
close;
case 4:
- if(countitem(976) > 0) {
+ if(countitem(Lemon_Dyestuffs) > 0) {
mes "[Elgo]";
mes "Basic Yellow!";
mes "Let's do it!";
@@ -802,7 +802,7 @@ OnTouch:
mes "Brides...wear...Corollas..";
next;
select("Would you make one for me?");
- if((countitem(10007) > 0) && (countitem(1032) > 999)) {
+ if((countitem(Silk_Ribbon) > 0) && (countitem(Blossom_Of_Maneater) > 999)) {
mes "[Aite]";
mes ".. Materials..you..have..";
mes "..Too much time to make one.";
diff --git a/npc/quests/ninja_quests.txt b/npc/quests/ninja_quests.txt
index 03c1c011a..004e373f2 100644
--- a/npc/quests/ninja_quests.txt
+++ b/npc/quests/ninja_quests.txt
@@ -59,7 +59,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
mes "Come back after you've grown a bit more.";
close;
}
- if (countitem(2102) < 1 && !(MISC_QUEST & 2048)){
+ if (countitem(Guard_) < 1 && !(MISC_QUEST & 2048)){
mes "[Boshuu]";
mes "I'm the best craftsman out of what people call the Three Craftsmen of Ninja Tools.";
mes "They call me Murata Boshuu.";
@@ -157,7 +157,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
}
}
else if (ninbo == 2){
- if (countitem(2102) < 1 || countitem(2117) < 1){
+ if (countitem(Guard_) < 1 || countitem(Arm_Guard) < 1){
mes "[Boshuu]";
mes "Hmm... It looks like you didn't bring me enough materials.";
mes "In order to create a Slotted Arm Guard, I need 1 Slotted Guard";
@@ -191,7 +191,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
mes "This should only take a second";
mes "Bang Clang~ Bang Clang~";
next;
- if(countitem(2102) < 1 || countitem(2117) < 1 || Zeny < 10000){
+ if(countitem(Guard_) < 1 || countitem(Arm_Guard) < 1 || Zeny < 10000){
mes "HACK DETECTED";
close;
}
@@ -220,7 +220,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
mes "Well, I'll see you later~";
close;
}else{
- if (countitem(2102) < 1 || countitem(2117) < 1){
+ if (countitem(Guard_) < 1 || countitem(Arm_Guard) < 1){
mes "[Boshuu]";
mes "Hmm... It looks like you didn't bring me enough materials.";
mes "In order to make a Slotted Arm Guard,";
@@ -261,7 +261,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
mes "Here, it's finally complete.";
mes "I present to you a Slotted Arm Guard.";
next;
- if(countitem(2102) < 1 || countitem(2117) < 1 || Zeny < 10000){
+ if(countitem(Guard_) < 1 || countitem(Arm_Guard) < 1 || Zeny < 10000){
mes "HACK DETECTED";
close;
}
@@ -319,7 +319,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
mes "Well, if you change your mind later, come back and see me.";
close;
}else{
- if (countitem(2102) < 1 || countitem(2117) < 1){
+ if (countitem(Guard_) < 1 || countitem(Arm_Guard) < 1){
mes "[Boshuu]";
mes "Hmm... It looks like you didn't bring me enough materials.";
next;
@@ -361,7 +361,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
mes "This should only take a second";
mes "Bang Clang ~Bang Clang ~";
next;
- if(countitem(2102) < 1 || countitem(2117) < 1 || Zeny < 10000){
+ if(countitem(Guard_) < 1 || countitem(Arm_Guard) < 1 || Zeny < 10000){
mes "HACK DETECTED";
close;
}
@@ -405,7 +405,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
mes "Come back when you're stronger.";
close;
}
- if (countitem(2107) < 1 && !(MISC_QUEST & 4096)){
+ if (countitem(Mirror_Shield) < 1 && !(MISC_QUEST & 4096)){
mes "[Basshu]";
mes "I am one of the brothers of the three craftsmen in charge of crafting shields in the east named Murata Basshu";
next;
@@ -487,7 +487,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
}
}
else if (ninbot == 2){
- if(countitem(2107) < 1 || countitem(2117) < 1){
+ if(countitem(Mirror_Shield) < 1 || countitem(Arm_Guard) < 1){
mes "[Basshu]";
mes "Hmm.. It looks like there aren't enough materials.";
mes "For an Improved Arm Guard, I require...";
@@ -531,7 +531,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
mes "Bang Clang ~Bang Clang ~";
mes "Sweep Sweep~ Saw Saw~";
next;
- if(countitem(2107) < 1 || countitem(2117) < 1 || Zeny < 20000){
+ if(countitem(Mirror_Shield) < 1 || countitem(Arm_Guard) < 1 || Zeny < 20000){
mes "HACK DETECTED";
close;
}
@@ -560,7 +560,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
mes "Come back and talk to me anytime.";
close;
}else{
- if(countitem(2107) < 1 || countitem(2117) < 1){
+ if(countitem(Mirror_Shield) < 1 || countitem(Arm_Guard) < 1){
mes "[Basshu]";
mes "Hmm.. It looks like there aren't enough materials.";
mes "In order to make an Improved Arm Guard, I require...";
@@ -606,7 +606,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
mes "Here it is -- it's complete.";
mes "I've made you an Improved Arm Guard";
next;
- if(countitem(2107) < 1 || countitem(2117) < 1 || Zeny < 20000){
+ if(countitem(Mirror_Shield) < 1 || countitem(Arm_Guard) < 1 || Zeny < 20000){
mes "HACK DETECTED";
close;
}
@@ -668,7 +668,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
mes "Come and find me if you change your mind.";
close;
}else{
- if(countitem(2107) < 1 || countitem(2117) < 1){
+ if(countitem(Mirror_Shield) < 1 || countitem(Arm_Guard) < 1){
mes "[Basshu]";
mes "Hmm.. It looks like there aren't enough materials.";
mes "In order to create an Improved Arm Guard, I require...";
@@ -712,7 +712,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
mes "Bang Clang ~Bang Clang ~";
mes "Sweep Sweep~ Saw Saw~";
next;
- if(countitem(2107) < 1 || countitem(2117) < 1 || Zeny < 20000){
+ if(countitem(Mirror_Shield) < 1 || countitem(Arm_Guard) < 1 || Zeny < 20000){
mes "HACK DETECTED";
close;
}
@@ -770,7 +770,7 @@ que_ng,27,18,3 script Toshu 4_M_SEAMAN,{
mes "If you decide to go foward with this afterwards, come and find me.";
close;
}else{
- if(countitem(2104) < 1 || countitem(2119) < 1){
+ if(countitem(Buckler_) < 1 || countitem(Improved_Arm_Guard) < 1){
mes "[Toshu]";
mes "It doesn't look like you brought me enough materials.";
mes "The required materials are 1 Slotted Buckler";
@@ -814,7 +814,7 @@ que_ng,27,18,3 script Toshu 4_M_SEAMAN,{
mes "Clink Clank~!Clink Clank~!!";
mes "Sweep Sweep~ Saw Saw~";
next;
- if(countitem(2104) < 1 || countitem(2119) < 1 || Zeny < 40000){
+ if(countitem(Buckler_) < 1 || countitem(Improved_Arm_Guard) < 1 || Zeny < 40000){
mes "HACK DETECTED";
close;
}
@@ -897,7 +897,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{
mes "If you ever happen to gather all these materials one day, feel free to come back.";
close;
}else{
- if(countitem(1036) < 400 || countitem(984) < 5 || countitem(7123) < 30){
+ if(countitem(Dragon_Scale) < 400 || countitem(Oridecon) < 5 || countitem(Dragon's_Skin) < 30){
mes "[Kaibara]";
mes "It looks like there are not enough ingredients for me to make you a Gokurin.";
next;
@@ -949,7 +949,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{
mes "If you ever happen to gather all these materials one day, feel free to come back.";
close;
}else{
- if(countitem(999) < 30 || countitem(7022) < 1){
+ if(countitem(Steel) < 30 || countitem(Old_Hilt) < 1){
mes "[Kaibara]";
mes "It looks like you need more materials before I can make you a Jitte.";
next;
@@ -998,7 +998,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{
mes "If you ever happen to gather all these materials one day, feel free to come back.";
close;
}else{
- if(countitem(999) < 25 || countitem(7099) < 5){
+ if(countitem(Steel) < 25 || countitem(Old_Magic_Circle) < 5){
mes "[Kaibara]";
mes "It looks like you don't have all the materials I need to create an Ashura[3] for you.";
next;
@@ -1046,7 +1046,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{
mes "If you ever happen to gather all these materials one day, feel free to come back.";
close;
}else{
- if(countitem(999) < 30 || countitem(720) < 10){
+ if(countitem(Steel) < 30 || countitem(Skyblue_Jewel) < 10){
mes "[Kaibara]";
mes "It looks like your short on materials for me to create you a Murasame.";
next;
@@ -1096,7 +1096,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{
mes "If you ever happen to gather all these materials one day, feel free to come back.";
close;
}else{
- if(countitem(932) < 500 || countitem(12001) < 10 || countitem(722) < 5){
+ if(countitem(Skel_Bone) < 500 || countitem(Holy_Scroll_1_3) < 10 || countitem(Scarlet_Jewel) < 5){
mes "[Kaibara]";
mes "It looks like you're short on raw materials for me to be able to make you a Hakujin.";
next;
@@ -1180,7 +1180,7 @@ que_ng,22,62,3 script Tetsu 4_M_SEAMAN,{
break;
}
- if(countitem(999)<50 || countitem(7115)<20 || countitem(984)<5){
+ if(countitem(Steel)<50 || countitem(Harpy's_Feather)<20 || countitem(Oridecon)<5){
mes "[Tetsu]";
mes "It looks like you haven't brought me enough materials to make you a Fuuma Shuriken Beneki.";
next;
@@ -1228,7 +1228,7 @@ que_ng,22,62,3 script Tetsu 4_M_SEAMAN,{
break;
}
- if(countitem(999)<30 || countitem(7301)<100 || countitem(984)<2){
+ if(countitem(Steel)<30 || countitem(Sword_Accessory)<100 || countitem(Oridecon)<2){
mes "[Tetsu]";
mes "It looks like you haven't brought me enough materials to make you a Fuuma Shuriken Daisharin.";
next;
@@ -1281,7 +1281,7 @@ que_ng,22,62,3 script Tetsu 4_M_SEAMAN,{
break;
}
- if(countitem(733)<20 || countitem(13301)<1 || countitem(984)<3){
+ if(countitem(Crystal_Jewel___)<20 || countitem(Huuma_Giant_Wheel)<1 || countitem(Oridecon)<3){
mes "[Tetsu]";
mes "It looks like you haven't brought me enough materials to make you a Fuuma Shuriken Daisharin[4].";
next;
@@ -1330,7 +1330,7 @@ que_ng,22,62,3 script Tetsu 4_M_SEAMAN,{
break;
}
- if(countitem(999)<50 || countitem(7098)<100 || countitem(7097)<100 || countitem(7521)<50){
+ if(countitem(Steel)<50 || countitem(Live_Coal)<100 || countitem(Burning_Heart)<100 || countitem(Flame_Stone)<50){
mes "[Tetsu]";
mes "It looks like you haven't brought me enough materials to make you a Fuuma Shuriken Rekka.";
next;
diff --git a/npc/quests/obb_quest.txt b/npc/quests/obb_quest.txt
index ea9b5ceee..c8bcfd0fe 100644
--- a/npc/quests/obb_quest.txt
+++ b/npc/quests/obb_quest.txt
@@ -42,7 +42,7 @@
//=========================================================================
alberta,43,244,0 script Tourist#thai 4W_M_03,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -214,7 +214,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
close;
}
case 3:
- if (countitem(517) == 0) {
+ if (countitem(Meat) == 0) {
mes "[Tourist]";
mes "I see...I can understand that you";
mes "can't help me. It's alright...";
@@ -228,13 +228,13 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
}
.@th_rand = rand(1,100);
if (.@th_rand > 0 && .@th_rand < 10) {
- if (countitem(517) == 10) {
+ if (countitem(Meat) == 10) {
mes "[Tourist]";
mes "Ah...thanks! Thank you so much!";
- delitem 517,10; //Meat
+ delitem Meat,10;
next;
}
- else if (countitem(517) < 10) {
+ else if (countitem(Meat) < 10) {
mes "[Tourist]";
mes "I appreciate that you're";
mes "helping me out of the";
@@ -249,7 +249,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "more Meat!";
close;
}
- else if (countitem(517) > 10) {
+ else if (countitem(Meat) > 10) {
mes "[Tourist]";
mes "I appreciate you bringing";
mes "all this for me but...";
@@ -263,13 +263,13 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
}
}
else if (.@th_rand > 11 && .@th_rand < 80) {
- if (countitem(517) == 20) {
+ if (countitem(Meat) == 20) {
mes "[Tourist]";
mes "Ah...thanks! Thank you so much!";
- delitem 517,20; //Meat
+ delitem Meat,20;
next;
}
- else if (countitem(517) < 20) {
+ else if (countitem(Meat) < 20) {
mes "[Tourist]";
mes "I appreciate that you're";
mes "helping me out of the";
@@ -284,7 +284,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "more Meat!";
close;
}
- else if (countitem(517) > 20) {
+ else if (countitem(Meat) > 20) {
mes "[Tourist]";
mes "I appreciate you bringing";
mes "all this for me but...";
@@ -298,13 +298,13 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
}
}
else {
- if (countitem(517) == 40) {
+ if (countitem(Meat) == 40) {
mes "[Tourist]";
mes "Ah...thanks! Thank you so much!";
- delitem 517,40; //Meat
+ delitem Meat,40;
next;
}
- else if (countitem(517) < 40) {
+ else if (countitem(Meat) < 40) {
mes "[Tourist]";
mes "I appreciate that you're";
mes "helping me out of the";
@@ -319,7 +319,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "more Meat!";
close;
}
- else if (countitem(517) > 40) {
+ else if (countitem(Meat) > 40) {
mes "[Tourist]";
mes "Geez, you want I should";
mes "choke myself to death?";
@@ -333,9 +333,9 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "starving for a long time.";
mes "He ate all the meat I gave him";
mes "and it was all gone in a flash.^000000";
- if (countitem(538) > 0) {
+ if (countitem(Well_Baked_Cookie) > 0) {
mes "^0000FF...Oh my! He took my cookies without even asking and ate all of those too!!^000000";
- delitem 538,countitem(538); //Well_Baked_Cookie
+ delitem Well_Baked_Cookie,countitem(Well_Baked_Cookie);
}
next;
mes "[Tourist]";
@@ -384,14 +384,14 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "For me, it's impossible!!";
close;
case 4:
- if (countitem(538) > 19) {
+ if (countitem(Well_Baked_Cookie) > 19) {
mes "[Tourist]";
mes "Ah~!! Thank you so much!!";
mes "There really are many good";
mes "people like you in this world.";
next;
thai_head = 5;
- delitem 538,20; //Well_Baked_Cookie
+ delitem Well_Baked_Cookie,20;
mes "[Tourist]";
mes "I appreciate what you've done for";
mes "me...now I can see her smile with";
@@ -482,7 +482,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
close;
}
thai_head = 6;
- getitem 1205,1; //Cutter_
+ getitem Cutter_,1;
next;
mes "[Tourist]";
mes "Heh...once gain, thanks for";
@@ -711,8 +711,8 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
mes "^FF0000Munak Munak Munak Munak!!^000000";
close;
case 7:
- if (countitem(636) > 0) {
- delitem 636,1; //No_Recipient
+ if (countitem(No_Recipient) > 0) {
+ delitem No_Recipient,1;
mes "[Tommy]";
mes "^FF0000Munak Munak Munak Munak!!^000000";
next;
@@ -1082,7 +1082,7 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
}
comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -1431,20 +1431,20 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
mes "^3355FFYou feel there may be something you missed.^000000";
close;
case 15:
- if (countitem(7054) > 9 && countitem(965) > 14 && countitem(964) > 9 && countitem(7053) > 49) {
+ if (countitem(Brigan) > 9 && countitem(Clam_Shell) > 14 && countitem(Crap_Shell) > 9 && countitem(Cyfar) > 49) {
mes "[Elder Creek]";
mes "I see you know how the world";
mes "works. When you need something";
mes "from someone, you must give";
mes "in order to receive.";
mes "Thank you for your kindness.";
- delitem 7054,10; //Brigan
- delitem 965,15; //Clam_Shell
- delitem 964,10; //Crap_Shell
- delitem 7053,50; //Cyfar
+ delitem Brigan,10;
+ delitem Clam_Shell,15;
+ delitem Crap_Shell,10;
+ delitem Cyfar,50;
next;
thai_head = 16;
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
mes "[Elder Creek]";
mes "Please, take this first.";
mes "If you would, please go talk to my";
diff --git a/npc/quests/okolnir.txt b/npc/quests/okolnir.txt
index 7cee73a4f..d29f0d5b4 100644
--- a/npc/quests/okolnir.txt
+++ b/npc/quests/okolnir.txt
@@ -90,7 +90,7 @@ function script F_Okolnir {
next;
switch(select("Sure let's go there.:No.")) {
case 1:
- if (countitem(7839)) delitem 7839,countitem(7839); //Crystal_Key
+ if (countitem(Crystal_Key)) delitem Crystal_Key,countitem(Crystal_Key);
mes "[Guide]";
mes "Ok......";
mes "Please follow me...";
@@ -121,8 +121,8 @@ function script F_Okolnir {
next;
switch(select("Enter now.:No.")) {
case 1:
- if (countitem(7839) > 0) {
- delitem 7839,countitem(7839); //Crystal_Key
+ if (countitem(Crystal_Key) > 0) {
+ delitem Crystal_Key,countitem(Crystal_Key);
}
mes "[Guide]";
mes "Hope you get everything you want...";
@@ -957,9 +957,9 @@ que_qsch05,2,3,0 duplicate(#miro_yf_main) #miro_yf_sch05 CLEAR_NPC
OnTouch:
.@sub$ = callfunc("F_Okolnir");
- if (countitem(7839)) {
+ if (countitem(Crystal_Key)) {
mes "The Warp Gate responds to the Crystal Key.";
- delitem 7839,1; //Crystal_Key
+ delitem Crystal_Key,1;
close2;
warp "que_q"+.@sub$,114,158;
end;
@@ -2197,7 +2197,7 @@ que_qsch05,251,255,3 duplicate(Wish Maiden#main_boss) Wish Maiden#sch05_boss WIS
for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
delitem .@n[.@i],.@n[.@i+1];
getitem .@rwd,1;
- getitem 7840,1; //Valkyrie_Gift
+ getitem Valkyrie_Gift,1;
announce "["+ strcharinfo(0) +"], of guild ["+ getguildname(.@GID) +"] has brought a "+getitemname(.@rwd)+" into this world.",bc_all,"0x70dbdb";
close2;
cutin "wish_maiden11",255;
diff --git a/npc/quests/partyrelay.txt b/npc/quests/partyrelay.txt
index 247b6c8e7..e4e9d0d49 100644
--- a/npc/quests/partyrelay.txt
+++ b/npc/quests/partyrelay.txt
@@ -37,7 +37,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
getpartymember(getcharid(1));
.@partymembercount = $@partymembercount;
.@partyleader = getpartyleader(getcharid(1),2);
- if (checkweight(907,300) == 0) {
+ if (checkweight(Resin,300) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now: store some of";
@@ -45,7 +45,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "Storage, and then come back.^000000";
close;
}
- if ((countitem(7731) > 0) || (countitem(7732) > 0) || (countitem(7735) > 0) || (countitem(7736) > 0) || (countitem(7739) > 0) || (countitem(7740) > 0)) {
+ if ((countitem(Mission_Certificate2) > 0) || (countitem(Mission_Certificate3) > 0) || (countitem(Mission_Certificate6) > 0) || (countitem(Mission_Certificate7) > 0) || (countitem(Mission_Certificate10) > 0) || (countitem(Mission_Certificate11) > 0)) {
mes "[Ledrion]";
mes "Hm? I'm afraid that you've";
mes "misunderstood me earlier...";
@@ -54,7 +54,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "of your group members with you.";
close;
}
- if ((countitem(7741) > 0) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
+ if ((countitem(Mission_Certificate12) > 0) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
mes "[Ledrion]";
mes "Ah, you've brought the";
mes "last ticket from Rospii.";
@@ -78,21 +78,21 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "You deserve a real reward!";
next;
.@present = rand(1,7);
- delitem 7741,1; //Mission_Certificate12
+ delitem Mission_Certificate12,1;
party_relay = 0;
- getitem 644,6; //Gift_Box
- getitem 603,3; //Old_Blue_Box
+ getitem Gift_Box,6;
+ getitem Old_Blue_Box,3;
if (.@present == 2) {
- getitem 1365,1; //Sabbath
+ getitem Sabbath,1;
}
else if (.@present == 4) {
- getitem 1367,1; //Slaughter
+ getitem Slaughter,1;
}
else if (.@present == 6) {
- getitem 1527,1; //Quadrille
+ getitem Quadrille,1;
}
else {
- getitem 617,3; //Old_Violet_Box
+ getitem Old_Violet_Box,3;
}
callfunc "F_PartyRelay_Exp";
mes "[Ledrion]";
@@ -111,7 +111,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "you go on your adventures.";
close;
}
- if (countitem(7741) > 0) {
+ if (countitem(Mission_Certificate12) > 0) {
mes "[Ledrion]";
mes "Hm? Why aren't your";
mes "comrades with you?";
@@ -129,7 +129,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "over to Gatan right now?";
close;
}
- if ((countitem(7737) > 0) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
+ if ((countitem(Mission_Certificate8) > 0) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
mes "[Ledrion]";
mes "Great, you've brought";
mes "me the eighth ticket from";
@@ -145,11 +145,11 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "a little reward for your";
mes "effort thus far, and the";
mes "nineth ticket for your guild.";
- delitem 7737,1; //Mission_Certificate8
+ delitem Mission_Certificate8,1;
party_relay = 23;
- getitem 603,3; //Old_Blue_Box
- getitem 617,1; //Old_Violet_Box
- getitem 7738,1; //Mission_Certificate9
+ getitem Old_Blue_Box,3;
+ getitem Old_Violet_Box,1;
+ getitem Mission_Certificate9,1;
callfunc "F_PartyRelay_Exp";
next;
mes "[Ledrion]";
@@ -161,7 +161,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "Okay? I'll be seeing you.";
close;
}
- if (countitem(7737) > 0) {
+ if (countitem(Mission_Certificate8) > 0) {
mes "[Ledrion]";
mes "Hm? Why aren't your";
mes "comrades with you?";
@@ -178,7 +178,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "a ticket to Gatan?";
close;
}
- if ((countitem(7733) > 0) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
+ if ((countitem(Mission_Certificate4) > 0) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
mes "[Ledrion]";
mes "I see that you've brought";
mes "me the fourth ticket from";
@@ -194,15 +194,15 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "give this ticket to a Mage";
mes "Class character, and tell";
mes "him to bring it to Gatan.";
- delitem 7733,1; //Mission_Certificate4
+ delitem Mission_Certificate4,1;
party_relay = 12;
- getitem 644,3; //Gift_Box
- getitem 603,1; //Old_Blue_Box
- getitem 7734,1; //Mission_Certificate5
+ getitem Gift_Box,3;
+ getitem Old_Blue_Box,1;
+ getitem Mission_Certificate5,1;
callfunc "F_PartyRelay_Exp";
close;
}
- if (countitem(7733) > 0) {
+ if (countitem(Mission_Certificate4) > 0) {
mes "[Ledrion]";
mes "Hm? Why aren't your";
mes "comrades with you?";
@@ -261,7 +261,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "The relay has started~";
next;
party_relay = 2;
- getitem 7730,1; //Mission_Certificate1
+ getitem Mission_Certificate1,1;
mes "[Ledrion]";
mes "Now, since you're the";
mes "one that started the relay,";
@@ -405,7 +405,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
getpartymember(getcharid(1));
.@partymembercount = $@partymembercount;
.@partyleader = getpartyleader(getcharid(1),2);
- if (checkweight(907,300) == 0) {
+ if (checkweight(Resin,300) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now: store some of";
@@ -413,7 +413,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Storage, and then come back.^000000";
close;
}
- if ((countitem(7732) > 0) || (countitem(7733) > 0) || (countitem(7736) > 0) || (countitem(7737) > 0) || (countitem(7740) > 0) || (countitem(7741) > 0)) {
+ if ((countitem(Mission_Certificate3) > 0) || (countitem(Mission_Certificate4) > 0) || (countitem(Mission_Certificate7) > 0) || (countitem(Mission_Certificate8) > 0) || (countitem(Mission_Certificate11) > 0) || (countitem(Mission_Certificate12) > 0)) {
mes "[Gatan]";
mes "Say, aren't you forgetting";
mes "something? Try to remember...";
@@ -441,9 +441,9 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "to bring it to Bafhail. Ah, and";
mes "here's a little reward for you~";
party_relay = 28;
- getitem 7739,1; //Mission_Certificate10
- getitem 610,2; //Leaf_Of_Yggdrasil
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate10,1;
+ getitem Leaf_Of_Yggdrasil,2;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
next;
mes "[Gatan]";
@@ -568,7 +568,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "come here too late, alright?";
close;
}
- if ((countitem(7738) > 0) && ((BaseClass == Job_Swordman) || (BaseClass == Job_Mage))) {
+ if ((countitem(Mission_Certificate9) > 0) && ((BaseClass == Job_Swordman) || (BaseClass == Job_Mage))) {
mes "[Gatan]";
mes "Oh, um... Is that...?";
mes "That's a ticket from";
@@ -592,7 +592,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "finished my test, alright?";
mes "Just don't tell anyone!";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 27;
mes "[Gatan]";
mes "Hold on a second...";
@@ -609,7 +609,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 24;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -628,7 +628,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 24;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -647,7 +647,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 25;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -666,7 +666,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 25;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -685,7 +685,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 26;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -704,7 +704,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 26;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -716,7 +716,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
close;
}
}
- else if ((countitem(7738) > 0) && ((BaseClass == Job_Swordman) || (BaseClass == Job_Mage))) {
+ else if ((countitem(Mission_Certificate9) > 0) && ((BaseClass == Job_Swordman) || (BaseClass == Job_Mage))) {
mes "[Gatan]";
mes "Oh, um... Is that...?";
mes "That's a ticket from";
@@ -740,7 +740,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "finished my test, alright?";
mes "Just don't tell anyone!";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 27;
mes "[Gatan]";
mes "Hold on a second...";
@@ -757,7 +757,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 24;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -776,7 +776,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 24;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -795,7 +795,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 25;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -814,7 +814,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 25;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -833,7 +833,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 26;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -852,7 +852,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7738,1; //Mission_Certificate9
+ delitem Mission_Certificate9,1;
party_relay = 26;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -864,7 +864,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
close;
}
}
- if ((countitem(7738) > 0) && ((BaseClass == Job_Swordman) || (BaseClass == Job_Mage))) {
+ if ((countitem(Mission_Certificate9) > 0) && ((BaseClass == Job_Swordman) || (BaseClass == Job_Mage))) {
mes "[Gatan]";
mes "Oh, um... Is that...?";
mes "That's a ticket from";
@@ -907,8 +907,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "to bring it to Bafhail. Ah, and";
mes "here's a little reward for you~";
party_relay = 17;
- getitem 7735,1; //Mission_Certificate6
- getitem 610,2; //Leaf_Of_Yggdrasil
+ getitem Mission_Certificate6,1;
+ getitem Leaf_Of_Yggdrasil,2;
callfunc "F_PartyRelay_Exp";
next;
mes "[Gatan]";
@@ -1033,7 +1033,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "times. A bit confusing, I know~";
close;
}
- if ((BaseLevel > 39) && (countitem(7734) > 0) && (.@relaytime >= 8) && (.@relaytime < 11) && (BaseClass == Job_Mage)) {
+ if ((BaseLevel > 39) && (countitem(Mission_Certificate5) > 0) && (.@relaytime >= 8) && (.@relaytime < 11) && (BaseClass == Job_Mage)) {
mes "[Gatan]";
mes "Oh, um... Is that...?";
mes "That's a ticket from";
@@ -1057,7 +1057,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "finished my test, alright?";
mes "Just don't tell anyone!";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 16;
mes "[Gatan]";
mes "Hold on a second...";
@@ -1074,7 +1074,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 13;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1093,7 +1093,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 13;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1112,7 +1112,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 14;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1131,7 +1131,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 14;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1150,7 +1150,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 15;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1169,7 +1169,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 15;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1181,7 +1181,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
close;
}
}
- else if ((BaseLevel > 39) && (countitem(7734) > 0) && (.@relaytime >= 21) && (BaseClass == Job_Mage)) {
+ else if ((BaseLevel > 39) && (countitem(Mission_Certificate5) > 0) && (.@relaytime >= 21) && (BaseClass == Job_Mage)) {
mes "[Gatan]";
mes "Oh, um... Is that...?";
mes "That's a ticket from";
@@ -1205,7 +1205,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "finished my test, alright?";
mes "Just don't tell anyone!";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 16;
mes "[Gatan]";
mes "Hold on a second...";
@@ -1222,7 +1222,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 13;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1241,7 +1241,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 13;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1260,7 +1260,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 14;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1279,7 +1279,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 14;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1298,7 +1298,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 15;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1317,7 +1317,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7734,1; //Mission_Certificate5
+ delitem Mission_Certificate5,1;
party_relay = 15;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1329,7 +1329,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
close;
}
}
- if ((BaseLevel > 39) && (countitem(7734) > 0) && (BaseClass == Job_Mage)) {
+ if ((BaseLevel > 39) && (countitem(Mission_Certificate5) > 0) && (BaseClass == Job_Mage)) {
mes "[Gatan]";
mes "Oh, um... Is that...?";
mes "That's a ticket from";
@@ -1378,8 +1378,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "something for";
mes "your troubles~";
party_relay = 6;
- getitem 7731,1; //Mission_Certificate2
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate2,1;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
next;
mes "[Gatan]";
@@ -1507,7 +1507,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Good luck to you, alright?";
close;
}
- if ((BaseLevel > 39) && (countitem(7730) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && (BaseClass == Job_Swordman)) {
+ if ((BaseLevel > 39) && (countitem(Mission_Certificate1) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && (BaseClass == Job_Swordman)) {
mes "[Gatan]";
mes "Oh, um... Is that...?";
mes "That's a ticket from";
@@ -1532,7 +1532,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "finished my test, alright?";
mes "Just don't tell anyone!";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 5;
mes "[Gatan]";
mes "Hold on a second...";
@@ -1549,7 +1549,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 99;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1568,7 +1568,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 99;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1587,7 +1587,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 3;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1606,7 +1606,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 3;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1625,7 +1625,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 4;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1644,7 +1644,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 4;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1656,7 +1656,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
close;
}
}
- else if ((BaseLevel > 39) && (countitem(7730) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && (BaseClass == Job_Swordman)) {
+ else if ((BaseLevel > 39) && (countitem(Mission_Certificate1) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && (BaseClass == Job_Swordman)) {
mes "[Gatan]";
mes "Oh, um... Is that...?";
mes "That's a ticket from";
@@ -1681,7 +1681,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "finished my test, alright?";
mes "Just don't tell anyone!";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 5;
mes "[Gatan]";
mes "Hold on a second...";
@@ -1698,7 +1698,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 99;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1717,7 +1717,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Level. Go ahead";
mes "and do that, alright?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 99;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1736,7 +1736,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 3;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1755,7 +1755,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Base Levels. Go ahead";
mes "and do that, alright?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 3;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1774,7 +1774,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 4;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1793,7 +1793,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "go out and gain 3 Base";
mes "Levels for me, okay?";
next;
- delitem 7730,1; //Mission_Certificate1
+ delitem Mission_Certificate1,1;
party_relay = 4;
party_relay_lv = BaseLevel;
mes "[Gatan]";
@@ -1802,7 +1802,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
close;
}
}
- else if ((BaseLevel > 39) && (countitem(7730) > 0) && (BaseClass == Job_Swordman)) {
+ else if ((BaseLevel > 39) && (countitem(Mission_Certificate1) > 0) && (BaseClass == Job_Swordman)) {
mes "[Gatan]";
mes "Oh, um... Is that...?";
mes "That's a ticket from";
@@ -1840,7 +1840,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
getpartymember(getcharid(1));
.@partymembercount = $@partymembercount;
.@partyleader = getpartyleader(getcharid(1),2);
- if (checkweight(907,300) == 0) {
+ if (checkweight(Resin,300) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now: store some of";
@@ -1848,7 +1848,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Storage, and then come back.^000000";
close;
}
- if (countitem(7730) > 0) || (countitem(7733) > 0) || (countitem(7734) > 0) || (countitem(7737) > 0) || (countitem(7738) > 0) || (countitem(7741) > 0) {
+ if (countitem(Mission_Certificate1) > 0) || (countitem(Mission_Certificate4) > 0) || (countitem(Mission_Certificate5) > 0) || (countitem(Mission_Certificate8) > 0) || (countitem(Mission_Certificate9) > 0) || (countitem(Mission_Certificate12) > 0) {
mes "[Bafhail]";
mes "You must be confused...";
mes "It's not time for you";
@@ -1867,7 +1867,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "you've already forgotten.";
close;
}
- if ((party_relay == 29) && (.@relaytime >= 0) && (.@relaytime < 3) && (countitem(1012) > 19) && (countitem(1048) > 19) && (countitem(7003) > 19)) {
+ if ((party_relay == 29) && (.@relaytime >= 0) && (.@relaytime < 3) && (countitem(Lizard_Scruff) > 19) && (countitem(Slender_Snake) > 19) && (countitem(Anolian_Skin) > 19)) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
@@ -1875,13 +1875,13 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Please take your next ticket";
mes "and this small reward for you.";
next;
- delitem 1012,20; //Lizard_Scruff
- delitem 1048,20; //Slender_Snake
- delitem 7003,20; //Anolian_Skin
+ delitem Lizard_Scruff,20;
+ delitem Slender_Snake,20;
+ delitem Anolian_Skin,20;
party_relay = 30;
- getitem 7740,1; //Mission_Certificate11
- getitem 610,2; //Leaf_Of_Yggdrasil
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate11,1;
+ getitem Leaf_Of_Yggdrasil,2;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
mes "[Bafhail]";
mes "Make sure that you give";
@@ -1892,7 +1892,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Goodbye now, and good luck~";
close;
}
- else if ((party_relay == 29) && (.@relaytime >= 11) && (.@relaytime < 14) && (countitem(1012) > 19) && (countitem(1048) > 19) && (countitem(7003) > 19)) {
+ else if ((party_relay == 29) && (.@relaytime >= 11) && (.@relaytime < 14) && (countitem(Lizard_Scruff) > 19) && (countitem(Slender_Snake) > 19) && (countitem(Anolian_Skin) > 19)) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
@@ -1900,13 +1900,13 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Please take your next ticket";
mes "and this small reward for you.";
next;
- delitem 1012,20; //Lizard_Scruff
- delitem 1048,20; //Slender_Snake
- delitem 7003,20; //Anolian_Skin
+ delitem Lizard_Scruff,20;
+ delitem Slender_Snake,20;
+ delitem Anolian_Skin,20;
party_relay = 30;
- getitem 7740,1; //Mission_Certificate11
- getitem 610,2; //Leaf_Of_Yggdrasil
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate11,1;
+ getitem Leaf_Of_Yggdrasil,2;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
mes "[Bafhail]";
mes "Make sure that you give";
@@ -1934,7 +1934,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Don't forget now, alright?";
close;
}
- if ((countitem(7739) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) {
+ if ((countitem(Mission_Certificate10) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) {
mes "[Bafhail]";
mes "Oh, isn't that ticket...?";
mes "Ah, good, good. Judging";
@@ -1950,7 +1950,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF20 Anolian Skins^000000, and";
mes "^4D4DFF20 Horrendous Hairs^000000.";
next;
- delitem 7739,1; //Mission_Certificate10
+ delitem Mission_Certificate10,1;
party_relay = 29;
mes "[Bafhail]";
mes "Understood?";
@@ -1961,7 +1961,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "I'll see you later~";
close;
}
- else if ((countitem(7739) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) {
+ else if ((countitem(Mission_Certificate10) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) {
mes "[Bafhail]";
mes "Oh, isn't that ticket...?";
mes "Ah, good, good. Judging";
@@ -1977,7 +1977,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF20 Anolian Skins^000000, and";
mes "^4D4DFF20 Horrendous Hairs^000000.";
next;
- delitem 7739,1; //Mission_Certificate10
+ delitem Mission_Certificate10,1;
party_relay = 29;
mes "[Bafhail]";
mes "Understood?";
@@ -1989,7 +1989,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "I'll see you later~";
close;
}
- if ((countitem(7739) > 0) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) {
+ if ((countitem(Mission_Certificate10) > 0) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) {
mes "[Bafhail]";
mes "Oh, isn't that ticket...?";
mes "Ah, good, good. Judging";
@@ -2015,7 +2015,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "you've already forgotten.";
close;
}
- if ((party_relay == 19) && (.@relaytime >= 14) && (.@relaytime < 17) && (countitem(1015) > 9) && (countitem(7172) > 9) && (countitem(7155) > 9)) {
+ if ((party_relay == 19) && (.@relaytime >= 14) && (.@relaytime < 17) && (countitem(Thin_N'_Long_Tongue) > 9) && (countitem(Leopard_Talon) > 9) && (countitem(Poison_Toad's_Skin) > 9)) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
@@ -2023,12 +2023,12 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Please take your next ticket";
mes "and this small reward for you.";
next;
- delitem 1015,10; //Thin_N'_Long_Tongue
- delitem 7172,10; //Leopard_Talon
- delitem 7155,10; //Poison_Toad's_Skin
+ delitem Thin_N'_Long_Tongue,10;
+ delitem Leopard_Talon,10;
+ delitem Poison_Toad's_Skin,10;
party_relay = 20;
- getitem 7736,1; //Mission_Certificate7
- getitem 610,2; //Leaf_Of_Yggdrasil
+ getitem Mission_Certificate7,1;
+ getitem Leaf_Of_Yggdrasil,2;
callfunc "F_PartyRelay_Exp";
mes "[Bafhail]";
mes "Do me a favor and make";
@@ -2039,7 +2039,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "I'll see you later, then.";
close;
}
- else if ((party_relay == 19) && (.@relaytime >= 18) && (.@relaytime < 21) && (countitem(1015) > 9) && (countitem(7172) > 9) && (countitem(7155) > 9)) {
+ else if ((party_relay == 19) && (.@relaytime >= 18) && (.@relaytime < 21) && (countitem(Thin_N'_Long_Tongue) > 9) && (countitem(Leopard_Talon) > 9) && (countitem(Poison_Toad's_Skin) > 9)) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
@@ -2047,12 +2047,12 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Please take your next ticket";
mes "and this small reward for you.";
next;
- delitem 1015,10; //Thin_N'_Long_Tongue
- delitem 7172,10; //Leopard_Talon
- delitem 7155,10; //Poison_Toad's_Skin
+ delitem Thin_N'_Long_Tongue,10;
+ delitem Leopard_Talon,10;
+ delitem Poison_Toad's_Skin,10;
party_relay = 20;
- getitem 7736,1; //Mission_Certificate7
- getitem 610,2; //Leaf_Of_Yggdrasil
+ getitem Mission_Certificate7,1;
+ getitem Leaf_Of_Yggdrasil,2;
callfunc "F_PartyRelay_Exp";
mes "[Bafhail]";
mes "Do me a favor and make";
@@ -2081,7 +2081,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "when the time is right.";
close;
}
- if ((party_relay == 18) && (.@relaytime >= 14) && (.@relaytime < 17) && (countitem(7157) > 9) && (countitem(1021) > 9) && (countitem(7101) >9)) {
+ if ((party_relay == 18) && (.@relaytime >= 14) && (.@relaytime < 17) && (countitem(Black_Mask) > 9) && (countitem(Dokkaebi_Horn) > 9) && (countitem(Peco_Wing_Feather) >9)) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
@@ -2089,12 +2089,12 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Please take your next ticket";
mes "and this small reward for you.";
next;
- delitem 7157,10; //Black_Mask
- delitem 1021,10; //Dokkaebi_Horn
- delitem 7101,10; //Peco_Wing_Feather
+ delitem Black_Mask,10;
+ delitem Dokkaebi_Horn,10;
+ delitem Peco_Wing_Feather,10;
party_relay = 20;
- getitem 7736,1; //Mission_Certificate7
- getitem 610,2; //Leaf_Of_Yggdrasil
+ getitem Mission_Certificate7,1;
+ getitem Leaf_Of_Yggdrasil,2;
callfunc "F_PartyRelay_Exp";
mes "[Bafhail]";
mes "Do me a favor and make";
@@ -2105,7 +2105,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "I'll see you later, then.";
close;
}
- else if ((party_relay == 18) && (.@relaytime >= 18) && (.@relaytime < 21) && (countitem(7157) > 9) && (countitem(1021) > 9) && (countitem(7101) >9)) {
+ else if ((party_relay == 18) && (.@relaytime >= 18) && (.@relaytime < 21) && (countitem(Black_Mask) > 9) && (countitem(Dokkaebi_Horn) > 9) && (countitem(Peco_Wing_Feather) >9)) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
@@ -2113,12 +2113,12 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Please take your next ticket";
mes "and this small reward for you.";
next;
- delitem 7157,10; //Black_Mask
- delitem 1021,10; //Dokkaebi_Horn
- delitem 7101,10; //Peco_Wing_Feather
+ delitem Black_Mask,10;
+ delitem Dokkaebi_Horn,10;
+ delitem Peco_Wing_Feather,10;
party_relay = 20;
- getitem 7736,1; //Mission_Certificate7
- getitem 610,2; //Leaf_Of_Yggdrasil
+ getitem Mission_Certificate7,1;
+ getitem Leaf_Of_Yggdrasil,2;
callfunc "F_PartyRelay_Exp";
mes "[Bafhail]";
mes "Do me a favor and make";
@@ -2154,7 +2154,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "I just described, okay?";
close;
}
- if ((countitem(7735) > 0) && (.@relaytime >= 14) && (.@relaytime < 17) && (BaseClass == Job_Acolyte)) {
+ if ((countitem(Mission_Certificate6) > 0) && (.@relaytime >= 14) && (.@relaytime < 17) && (BaseClass == Job_Acolyte)) {
mes "[Bafhail]";
mes "Oh, isn't that ticket...?";
mes "Ah, good, good. Judging";
@@ -2175,7 +2175,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF10 Dokebi Horns^000000, and";
mes "^4D4DFF10 PecoPeco Feathers^000000.";
next;
- delitem 7735,1; //Mission_Certificate6
+ delitem Mission_Certificate6,1;
party_relay = 18;
mes "[Bafhail]";
mes "Understood?";
@@ -2186,7 +2186,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "I'll see you later~";
close;
}
- else if ((countitem(7735) > 0) && (.@relaytime >= 18) && (.@relaytime < 21) && (BaseClass == Job_Acolyte)) {
+ else if ((countitem(Mission_Certificate6) > 0) && (.@relaytime >= 18) && (.@relaytime < 21) && (BaseClass == Job_Acolyte)) {
mes "[Bafhail]";
mes "Oh, isn't that ticket...?";
mes "Ah, good, good. Judging";
@@ -2207,7 +2207,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF10 Leopard Claws^000000, and";
mes "^4D4DFF10 Poisonous Toad Skins^000000.";
next;
- delitem 7735,1; //Mission_Certificate6
+ delitem Mission_Certificate6,1;
party_relay = 19;
mes "[Bafhail]";
mes "Understood?";
@@ -2218,7 +2218,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "I'll see you later~";
close;
}
- if ((countitem(7735) > 0) && (BaseClass == Job_Acolyte)) {
+ if ((countitem(Mission_Certificate6) > 0) && (BaseClass == Job_Acolyte)) {
mes "[Bafhail]";
mes "Oh, isn't that ticket...?";
mes "Ah, good, good. Judging";
@@ -2245,7 +2245,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "for a while, I suppose.";
close;
}
- if ((party_relay == 8) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (countitem(7196) > 9) && (countitem(7184) > 9) && (countitem(920) > 9)) {
+ if ((party_relay == 8) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (countitem(Shoulder_Protection) > 9) && (countitem(Piano_Keyboard) > 9) && (countitem(Claw_Of_Wolves) > 9)) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
@@ -2253,12 +2253,12 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Please take your next ticket";
mes "and this small reward for you.";
next;
- delitem 7196,10; //Shoulder_Protection
- delitem 7189,10; //Heart_Of_Tree
- delitem 920,10; //Claw_Of_Wolves
+ delitem Shoulder_Protection,10;
+ delitem Heart_Of_Tree,10;
+ delitem Claw_Of_Wolves,10;
party_relay = 9;
- getitem 7732,1; //Mission_Certificate3
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate3,1;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
mes "[Bafhail]";
mes "Please give that";
@@ -2269,19 +2269,19 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Good luck on your travels~";
close;
}
- else if ((party_relay == 8) && ((.@relaytime >= 21) && (countitem(7196) > 9) && (countitem(7184) > 9) && (countitem(920) > 9))) {
+ else if ((party_relay == 8) && ((.@relaytime >= 21) && (countitem(Shoulder_Protection) > 9) && (countitem(Piano_Keyboard) > 9) && (countitem(Claw_Of_Wolves) > 9))) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
mes "everything I asked. Good work.";
mes "Please take your next ticket";
mes "and this small reward for you.";
- delitem 7196,10; //Shoulder_Protection
- delitem 7189,10; //Heart_Of_Tree
- delitem 920,10; //Claw_Of_Wolves
+ delitem Shoulder_Protection,10;
+ delitem Heart_Of_Tree,10;
+ delitem Claw_Of_Wolves,10;
party_relay = 9;
- getitem 7732,1; //Mission_Certificate3
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate3,1;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
next;
mes "[Bafhail]";
@@ -2310,7 +2310,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Standard Time. Don't forget!";
close;
}
- if ((party_relay == 7) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (countitem(1027) > 9) && (countitem(1040) > 9) && (countitem(1023) > 9)) {
+ if ((party_relay == 7) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (countitem(Porcupine_Spike) > 9) && (countitem(Elder_Pixie's_Beard) > 9) && (countitem(Fish_Tail) > 9)) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
@@ -2318,11 +2318,11 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Please take your next ticket";
mes "and this small reward for you.";
next;
- delitem 1027,10; //Porcupine_Spike
- delitem 1040,10; //Elder_Pixie's_Beard
- delitem 1023,10; //Fish_Tail
+ delitem Porcupine_Spike,10;
+ delitem Elder_Pixie's_Beard,10;
+ delitem Fish_Tail,10;
party_relay = 9;
- getitem 7732,1; //Mission_Certificate3
+ getitem Mission_Certificate3,1;
mes "[Bafhail]";
mes "Please give that";
mes "ticket to the Archer";
@@ -2332,7 +2332,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Good luck on your travels~";
close;
}
- else if ((party_relay == 7) && ((.@relaytime >= 21) && (countitem(1027) > 9) && (countitem(1040) > 9) && (countitem(1023) > 9))) {
+ else if ((party_relay == 7) && ((.@relaytime >= 21) && (countitem(Porcupine_Spike) > 9) && (countitem(Elder_Pixie's_Beard) > 9) && (countitem(Fish_Tail) > 9))) {
mes "[Bafhail]";
mes "Well, it looks like you came";
mes "at the right time and brought";
@@ -2340,11 +2340,11 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Please take your next ticket";
mes "and this small reward for you.";
next;
- delitem 1027,10; //Porcupine_Spike
- delitem 1040,10; //Elder_Pixie's_Beard
- delitem 1023,10; //Fish_Tail
+ delitem Porcupine_Spike,10;
+ delitem Elder_Pixie's_Beard,10;
+ delitem Fish_Tail,10;
party_relay = 9;
- getitem 7732,1; //Mission_Certificate3
+ getitem Mission_Certificate3,1;
mes "[Bafhail]";
mes "Please give that";
mes "ticket to the Archer";
@@ -2371,7 +2371,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "Standard Time. Don't forget!";
close;
}
- if ((countitem(7731) > 0) && (BaseLevel > 39) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (BaseClass == Job_Thief)) {
+ if ((countitem(Mission_Certificate2) > 0) && (BaseLevel > 39) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (BaseClass == Job_Thief)) {
mes "[Bafhail]";
mes "Oh, isn't that ticket...?";
mes "Ah, good, good. Judging";
@@ -2392,7 +2392,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF10 Wolf Claws^000000, and";
mes "^4D4DFF10 Shoulder Protectors^000000";
next;
- delitem 7731,1; //Mission_Certificate2
+ delitem Mission_Certificate2,1;
party_relay = 8;
mes "[Bafhail]";
mes "Remember that I won't";
@@ -2403,7 +2403,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "items for missions, okay?";
close;
}
- else if ((countitem(7731) > 0) && (BaseLevel > 39) && ((.@relaytime >= 21) && (BaseClass == Job_Thief))) {
+ else if ((countitem(Mission_Certificate2) > 0) && (BaseLevel > 39) && ((.@relaytime >= 21) && (BaseClass == Job_Thief))) {
mes "[Bafhail]";
mes "Oh, isn't that ticket...?";
mes "Ah, good, good. Judging";
@@ -2424,7 +2424,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF10 Porcupine Quills^000000, and";
mes "^4D4DFF10 Elder Pixie's Moustaches^000000";
next;
- delitem 7731,1; //Mission_Certificate2
+ delitem Mission_Certificate2,1;
party_relay = 7;
mes "[Bafhail]";
mes "Remember that I won't";
@@ -2435,7 +2435,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "items for missions, okay?";
close;
}
- if ((countitem(7731) > 0) && (BaseLevel > 39) && (BaseClass == Job_Thief)) {
+ if ((countitem(Mission_Certificate2) > 0) && (BaseLevel > 39) && (BaseClass == Job_Thief)) {
mes "[Bafhail]";
mes "Oh, isn't that ticket...?";
mes "Ah, good, good. Judging";
@@ -2473,7 +2473,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
getpartymember(getcharid(1));
.@partymembercount = $@partymembercount;
.@partyleader = getpartyleader(getcharid(1),2);
- if (checkweight(907,300) == 0) {
+ if (checkweight(Resin,300) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now: store some of";
@@ -2481,7 +2481,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "Storage, and then come back.^000000";
close;
}
- if (countitem(7730) > 0) || (countitem(7731) > 0) || (countitem(7734) > 0) || (countitem(7735) > 0) || (countitem(7738) > 0) || (countitem(7739) > 0) {
+ if (countitem(Mission_Certificate1) > 0) || (countitem(Mission_Certificate2) > 0) || (countitem(Mission_Certificate5) > 0) || (countitem(Mission_Certificate6) > 0) || (countitem(Mission_Certificate9) > 0) || (countitem(Mission_Certificate10) > 0) {
mes "[Lospii]";
mes "Hey, didn't you figure";
mes "out what you need to do?";
@@ -2519,9 +2519,9 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "gift from me. Cool, huh?";
next;
party_relay = 32;
- getitem 7741,1; //Mission_Certificate12
- getitem 610,2; //Leaf_Of_Yggdrasil
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate12,1;
+ getitem Leaf_Of_Yggdrasil,2;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
mes "[Lospii]";
mes "Okay, now take this";
@@ -2556,9 +2556,9 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "gift from me. Cool, huh?";
next;
party_relay = 32;
- getitem 7741,1; //Mission_Certificate12
- getitem 610,2; //Leaf_Of_Yggdrasil
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate12,1;
+ getitem Leaf_Of_Yggdrasil,2;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
mes "[Lospii]";
mes "Okay, now take this";
@@ -2587,7 +2587,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "Just only those times, okay?";
close;
}
- if ((countitem(7740) > 0) && (.@relaytime >= 8) && (.@relaytime < 11) && ((BaseJob == Job_Archer) || (BaseJob == Job_Merchant))) {
+ if ((countitem(Mission_Certificate11) > 0) && (.@relaytime >= 8) && (.@relaytime < 11) && ((BaseJob == Job_Archer) || (BaseJob == Job_Merchant))) {
mes "[Lospii]";
mes "Hi, I'm Lospii! Maybe";
mes "I'm younger than you, but";
@@ -2618,7 +2618,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "close so I know they're your";
mes "friends, not some other guys.";
next;
- delitem 7740,1; //Mission_Certificate11
+ delitem Mission_Certificate11,1;
party_relay = 31;
mes "[Lospii]";
mes "Okay, I'll be right";
@@ -2628,7 +2628,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "important to know!";
close;
}
- else if ((countitem(7740) > 0) && (.@relaytime >= 21) && ((BaseClass == Job_Archer) || (BaseClass == Job_Merchant))) {
+ else if ((countitem(Mission_Certificate11) > 0) && (.@relaytime >= 21) && ((BaseClass == Job_Archer) || (BaseClass == Job_Merchant))) {
mes "[Lospii]";
mes "Hi, I'm Lospii! Maybe";
mes "I'm younger than you, but";
@@ -2659,7 +2659,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "close so I know they're your";
mes "friends, not some other guys.";
next;
- delitem 7740,1; //Mission_Certificate11
+ delitem Mission_Certificate11,1;
party_relay = 31;
mes "[Lospii]";
mes "Okay, I'll be right";
@@ -2669,7 +2669,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "important to know!";
close;
}
- if ((countitem(7740) > 0) && ((BaseClass == Job_Archer) || (BaseClass == Job_Merchant))) {
+ if ((countitem(Mission_Certificate11) > 0) && ((BaseClass == Job_Archer) || (BaseClass == Job_Merchant))) {
mes "[Lospii]";
mes "Hi, I'm Lospii! Maybe";
mes "I'm younger than you, but";
@@ -2718,8 +2718,8 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "gift from me. Cool, huh?";
next;
party_relay = 22;
- getitem 7737,1; //Mission_Certificate8
- getitem 610,2; //Leaf_Of_Yggdrasil
+ getitem Mission_Certificate8,1;
+ getitem Leaf_Of_Yggdrasil,2;
callfunc "F_PartyRelay_Exp";
mes "[Lospii]";
mes "Okay, now take this";
@@ -2754,8 +2754,8 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "gift from me. Cool, huh?";
next;
party_relay = 22;
- getitem 7737,1; //Mission_Certificate8
- getitem 610,2; //Leaf_Of_Yggdrasil
+ getitem Mission_Certificate8,1;
+ getitem Leaf_Of_Yggdrasil,2;
callfunc "F_PartyRelay_Exp";
mes "[Lospii]";
mes "Okay, now take this";
@@ -2784,7 +2784,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "Just only those times, okay?";
close;
}
- if ((countitem(7736) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && (BaseClass == Job_Merchant)) {
+ if ((countitem(Mission_Certificate7) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && (BaseClass == Job_Merchant)) {
mes "[Lospii]";
mes "Hi, I'm Lospii! Maybe";
mes "I'm younger than you, but";
@@ -2815,7 +2815,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "close so I know they're your";
mes "friends, not some other guys.";
next;
- delitem 7736,1; //Mission_Certificate7
+ delitem Mission_Certificate7,1;
party_relay = 21;
mes "[Lospii]";
mes "Okay, I'll be right";
@@ -2825,7 +2825,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "important to know!";
close;
}
- else if ((countitem(7736) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && (BaseClass == Job_Merchant)) {
+ else if ((countitem(Mission_Certificate7) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && (BaseClass == Job_Merchant)) {
mes "[Lospii]";
mes "Hi, I'm Lospii! Maybe";
mes "I'm younger than you, but";
@@ -2856,7 +2856,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "close so I know they're your";
mes "friends, not some other guys.";
next;
- delitem 7736,1; //Mission_Certificate7
+ delitem Mission_Certificate7,1;
party_relay = 21;
mes "[Lospii]";
mes "Okay, I'll be right";
@@ -2866,7 +2866,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "important to know!";
close;
}
- if ((countitem(7736) > 0) && (BaseClass == Job_Merchant)) {
+ if ((countitem(Mission_Certificate7) > 0) && (BaseClass == Job_Merchant)) {
mes "[Lospii]";
mes "Hi, I'm Lospii! Maybe";
mes "I'm younger than you, but";
@@ -2915,8 +2915,8 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "gift from me. Cool, huh?";
next;
party_relay = 11;
- getitem 7733,1; //Mission_Certificate4
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate4,1;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
mes "[Lospii]";
mes "Okay, now take this";
@@ -2951,8 +2951,8 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "gift from me. Cool, huh?";
next;
party_relay = 11;
- getitem 7733,1; //Mission_Certificate4
- getitem 607,2; //Yggdrasilberry
+ getitem Mission_Certificate4,1;
+ getitem Yggdrasilberry,2;
callfunc "F_PartyRelay_Exp";
mes "[Lospii]";
mes "Okay, now take this";
@@ -2981,7 +2981,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "I... I can't read watches...";
close;
}
- if ((countitem(7732) > 0) && (BaseLevel > 39) && ((.@relaytime >= 14) && (.@relaytime < 17)) && (BaseClass == Job_Archer)) {
+ if ((countitem(Mission_Certificate3) > 0) && (BaseLevel > 39) && ((.@relaytime >= 14) && (.@relaytime < 17)) && (BaseClass == Job_Archer)) {
mes "[Lospii]";
mes "Hi, I'm Lospii! Maybe";
mes "I'm younger than you, but";
@@ -3012,7 +3012,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "close so I know they're your";
mes "friends, not some other guys.";
next;
- delitem 7732,1; //Mission_Certificate3
+ delitem Mission_Certificate3,1;
party_relay = 10;
mes "[Lospii]";
mes "Okay, I'll be right";
@@ -3022,7 +3022,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "important to know!";
close;
}
- else if ((countitem(7732) > 0) && (BaseLevel > 39) && ((.@relaytime >= 18) && (.@relaytime < 21)) && (BaseClass == Job_Archer)) {
+ else if ((countitem(Mission_Certificate3) > 0) && (BaseLevel > 39) && ((.@relaytime >= 18) && (.@relaytime < 21)) && (BaseClass == Job_Archer)) {
mes "[Lospii]";
mes "Hi, I'm Lospii! Maybe";
mes "I'm younger than you, but";
@@ -3053,7 +3053,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "close so I know they're your";
mes "friends, not some other guys.";
next;
- delitem 7732,1; //Mission_Certificate3
+ delitem Mission_Certificate3,1;
party_relay = 10;
mes "[Lospii]";
mes "Okay, I'll be right";
@@ -3063,7 +3063,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "important to know!";
close;
}
- if ((countitem(7732) > 0) && (BaseLevel > 39) && (BaseClass == Job_Archer)) {
+ if ((countitem(Mission_Certificate3) > 0) && (BaseLevel > 39) && (BaseClass == Job_Archer)) {
mes "[Lospii]";
mes "Hi, I'm Lospii! Maybe";
mes "I'm younger than you, but";
diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt
index cdcbcffc9..8c0adc421 100644
--- a/npc/quests/quests_13_1.txt
+++ b/npc/quests/quests_13_1.txt
@@ -382,7 +382,7 @@ aldebaran,127,138,3 script Promotional Staff#alde 4W_SAILOR,{
close;
}
if (ep13_ryu == 2) {
- if (countitem(909) < 300) {
+ if (countitem(Jellopy) < 300) {
mes "[Promotional Staff]";
mes "Don't forget to bring... ^FF0000300 Jellopy^000000.";
mes "Got it? ^FF0000300 Jellopy^000000!";
@@ -420,7 +420,7 @@ aldebaran,127,138,3 script Promotional Staff#alde 4W_SAILOR,{
mes "You resolved to carry it out, didn't you?";
mes "Brace yourself for it.";
next;
- delitem 909,300; //Jellopy
+ delitem Jellopy,300;
changequest 10058,10059;
ep13_ryu = 3;
mes "[Promotional Staff]";
@@ -484,7 +484,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
close;
}
if (ep13_ryu == 5) {
- if (countitem(723) == 0) {
+ if (countitem(Cardinal_Jewel) == 0) {
mes "[Promotional Staff]";
mes "^FF00001 Ruby!!^000000.";
mes "Don't you forget it!";
@@ -515,7 +515,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
mes "It is a very dangerous place so you must go through these tests before we can send you....";
mes "We're pretty picky.";
next;
- delitem 723,1; //Cardinal_Jewel
+ delitem Cardinal_Jewel,1;
changequest 10061,10062;
ep13_ryu = 6;
mes "[Promotional Staff]";
@@ -524,7 +524,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
close;
}
if (ep13_ryu == 4) {
- if (countitem(721) == 0) {
+ if (countitem(Azure_Jewel) == 0) {
mes "[Promotional Staff]";
mes "The one you should bring me is";
mes "^FF0000Emerald^000000. Can you get it?";
@@ -544,7 +544,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
mes "I can't judge you with only one jewel.";
mes "So I need one more stone.";
next;
- delitem 721,1; //Azure_Jewel
+ delitem Azure_Jewel,1;
changequest 10060,10061;
ep13_ryu = 5;
mes "[Promotional Staff]";
@@ -1979,7 +1979,7 @@ moc_fild22b,370,370,3 script Allied Manager#gm 4W_SAILOR,{
//== New Surroundings :: ep13_newbs ========================
mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "[Marian]";
mes "You have too many items~";
mes "Drop some and come back to me.";
@@ -2010,7 +2010,7 @@ mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
mes "Go to the right to find";
mes "^0000FFInstructor Lugen^000000.";
ep13_newbs = 1;
- getitem 12322,1; //Chocolate_Pie
+ getitem Chocolate_Pie,1;
setquest 11084;
close;
case 2:
@@ -2029,7 +2029,7 @@ mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
mes "and you'll find ^0000FFInstructor Lugen^000000.";
mes "Talk to him, first.";
ep13_newbs = 1;
- getitem 12322,1; //Chocolate_Pie
+ getitem Chocolate_Pie,1;
setquest 11084;
close;
}
@@ -2081,8 +2081,8 @@ mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
mes "And this is for you.";
mes "Go, go~~";
ep13_newbs = 14;
- getitem 6045,3; //Supply_Box
- getitem 12322,1; //Chocolate_Pie
+ getitem Supply_Box,3;
+ getitem Chocolate_Pie,1;
changequest 11091,11092;
close;
}
@@ -2090,7 +2090,7 @@ mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
if (ep13_newbs < 16) .@i = 3;
else if (ep13_newbs < 18) .@i = 2;
else .@i = 1;
- if (countitem(6045) < .@i) {
+ if (countitem(Supply_Box) < .@i) {
mes "[Marian]";
mes "Ha! You misplaced the Supply Box?!";
mes "What the~~?";
@@ -2100,7 +2100,7 @@ mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
mes "Ok, I have spares.";
mes "Let me give one to you.";
mes "Don't misplace this one, ok?!";
- getitem 6045,1; //Supply_Box
+ getitem Supply_Box,1;
close;
}
else {
@@ -2130,7 +2130,7 @@ mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
}
mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Instructor Lugen]";
mes "You are carrying too much weight.";
mes "Please try again after losing some weight.";
@@ -2267,7 +2267,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "with others, so make sure to";
mes "talk with them while you're there.";
ep13_newbs = 5;
- getitem 12322,1; //Chocolate_Pie
+ getitem Chocolate_Pie,1;
completequest 11086;
close;
}
@@ -2300,7 +2300,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "you first came here and";
mes "get the supplies from her.";
ep13_newbs = 13;
- getitem 12322,1; //Chocolate_Pie
+ getitem Chocolate_Pie,1;
setquest 11091;
close;
}
@@ -2313,7 +2313,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
close;
}
if (ep13_newbs == 14) {
- if (countitem(6045) > 2) {
+ if (countitem(Supply_Box) > 2) {
mes "[Instructor Lugen]";
mes "Did you recieve the supplies?";
mes "Can you show them to me, please?";
@@ -2343,7 +2343,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
}
}
if (ep13_newbs == 15) {
- if (countitem(6045) > 2) {
+ if (countitem(Supply_Box) > 2) {
mes "[Instructor Lugen]";
mes "The first box should be sent to";
mes "Jan, northwest of the camp.";
@@ -2367,7 +2367,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "for it a month ago.";
mes "Thanks so much.";
next;
- if (countitem(6045) > 1) {
+ if (countitem(Supply_Box) > 1) {
mes "[Instructor Lugen]";
mes "Next, this box is for Gerard.";
mes "He is investigating across the";
@@ -2389,7 +2389,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
}
}
if (ep13_newbs == 17) {
- if (countitem(6045) > 1) {
+ if (countitem(Supply_Box) > 1) {
mes "[Instructor Lugen]";
mes "Next, this box is for Gerard.";
mes "He is investigating across the";
@@ -2417,7 +2417,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "going out for the";
mes "investigation.";
next;
- if (countitem(6045) > 0) {
+ if (countitem(Supply_Box) > 0) {
mes "[Instructor Lugen]";
mes "And the last box is for";
mes "Alberto at the entrance";
@@ -2445,7 +2445,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
}
}
if (ep13_newbs == 19) {
- if (countitem(6045) > 0) {
+ if (countitem(Supply_Box) > 0) {
mes "[Instructor Lugen]";
mes "And the last box is for";
mes "Alberto at the entrance";
@@ -2559,7 +2559,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "on the barrier in the west.";
mes "Please give it to him.";
ep13_newbs = 23;
- getitem 6043,1; //Letter_From_Lugen
+ getitem Letter_From_Lugen,1;
setquest 11099;
close;
case 2:
@@ -2620,7 +2620,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "My friend, Otto, is working on the barrier in the west.";
mes "Please give it to him.";
ep13_newbs = 23;
- getitem 6043,1; //Letter_From_Lugen
+ getitem Letter_From_Lugen,1;
setquest 11099;
close;
case 2:
@@ -2630,12 +2630,12 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
}
}
if (ep13_newbs == 23) {
- if (countitem(6043) < 1) {
+ if (countitem(Letter_From_Lugen) < 1) {
mes "[Instructor Lugen]";
mes "Ah, did you lose the letter?";
mes "That's ok. It's no big deal.";
mes "I'll write it again.";
- getitem 6043,1; //Letter_From_Lugen
+ getitem Letter_From_Lugen,1;
close;
}
else {
@@ -2660,7 +2660,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "["+ strcharinfo(0) +"]";
mes "I have a letter from him, too.";
next;
- if (countitem(6044) < 1) {
+ if (countitem(Letter_From_Otto) < 1) {
mes "["+ strcharinfo(0) +"]";
mes "Huh, ehh..?!?!";
next;
@@ -2690,10 +2690,10 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
next;
mes "[Instructor Lugen]";
mes "And this is for you.";
- delitem 6044,1; //Letter_From_Otto
+ delitem Letter_From_Otto,1;
ep13_newbs = 100;
- getitem 617,1; //Old_Violet_Box
- getitem 12322,5; //Chocolate_Pie
+ getitem Old_Violet_Box,1;
+ getitem Chocolate_Pie,5;
if (RENEWAL_EXP)
getexp 100000,10000;
else
@@ -2729,7 +2729,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
}
mid_camp,123,290,4 script Otto#ep13bs 4_M_RUSMAN1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -2758,7 +2758,7 @@ mid_camp,123,290,4 script Otto#ep13bs 4_M_RUSMAN1,{
mes "That's good to hear.";
mes "Ah, and he wrote this letter for you.";
next;
- if (countitem(6043) < 1) {
+ if (countitem(Letter_From_Lugen) < 1) {
mes "["+ strcharinfo(0) +"]";
mes "Eh, where is it...";
next;
@@ -2786,20 +2786,20 @@ mid_camp,123,290,4 script Otto#ep13bs 4_M_RUSMAN1,{
mes "And I will have a vacation";
mes "in the near future and will";
mes "use that time to visit him.";
- delitem 6043,1; //Letter_From_Lugen
+ delitem Letter_From_Lugen,1;
ep13_newbs = 24;
- getitem 6044,1; //Letter_From_Otto
- getitem 12322,1; //Chocolate_Pie
+ getitem Letter_From_Otto,1;
+ getitem Chocolate_Pie,1;
changequest 11099,11100;
close;
}
}
if (ep13_newbs == 24) {
- if (countitem(6044) < 1) {
+ if (countitem(Letter_From_Otto) < 1) {
mes "[Otto]";
mes "You lost the letter?";
mes "I'll write it again.";
- getitem 6044,1; //Letter_From_Otto
+ getitem Letter_From_Otto,1;
close;
}
else {
@@ -2910,7 +2910,7 @@ mid_campin,106,122,4 script Receptionist Brink#ep13b 4_M_ORIENT02,{
mes "- I guess I'm registered -";
mes "- I'd better go back to Lugen -";
ep13_newbs = 4;
- getitem 12322,1; //Chocolate_Pie
+ getitem Chocolate_Pie,1;
changequest 11085,11086;
close;
case 2:
@@ -3018,7 +3018,7 @@ mid_camp,264,263,4 script Diego#ep13bs 4_M_RACHMAN1,{
}
}
if (ep13_newbs == 6) {
- if ((countitem(6041) > 19) && (countitem(6042) > 19)) {
+ if ((countitem(Strong_Bine) > 19) && (countitem(Ordinary_Branch) > 19)) {
mes "[Diego]";
mes "Oh!!";
mes "You finally brought";
@@ -3030,8 +3030,8 @@ mid_camp,264,263,4 script Diego#ep13bs 4_M_RACHMAN1,{
mes "Ok, so while I hold this post,";
mes "please attach the branches";
mes "and tie it up with the vines.";
- delitem 6041,20; //Strong_Bine
- delitem 6042,20; //Ordinary_Branch
+ delitem Strong_Bine,20;
+ delitem Ordinary_Branch,20;
ep13_newbs = 7;
changequest 11087,11088;
close;
@@ -3058,7 +3058,7 @@ mid_camp,264,263,4 script Diego#ep13bs 4_M_RACHMAN1,{
close;
}
if (ep13_newbs == 9) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -3092,7 +3092,7 @@ mid_camp,264,263,4 script Diego#ep13bs 4_M_RACHMAN1,{
mes "take some rest for the";
mes "expedition tomorrow!!";
ep13_newbs = 10;
- getitem 12322,5; //Chocolate_Pie
+ getitem Chocolate_Pie,5;
completequest 11090;
close2;
warp "mid_campin",291,128;
@@ -3177,7 +3177,7 @@ mid_campin,295,128,4 script Lucas#ep13bs 4_M_ACROSS,{
mes "No, just ignore what I said.";
mes "......";
ep13_newbs = 12;
- //getitem 12322,1; //Chocolate_Pie
+ //getitem Chocolate_Pie,1;
close;
case 2:
mes "[Lucas]";
@@ -3210,7 +3210,7 @@ mid_campin,292,120,4 script Davi#ep13bs 4_M_DIEMAN,{
mid_camp,160,298,4 script Jan#ep13bs 4_LGTSCIENCE,{
if (ep13_newbs == 15) {
- if (countitem(6045) > 0) {
+ if (countitem(Supply_Box) > 0) {
mes "[Jan]";
mes "Wawa, what is this~";
mes "Hey, is that for me?";
@@ -3229,9 +3229,9 @@ mid_camp,160,298,4 script Jan#ep13bs 4_LGTSCIENCE,{
mes "Please tell the Instructor";
mes "I'm grateful~";
mes "Uhuhu.";
- delitem 6045,1; //Supply_Box
+ delitem Supply_Box,1;
ep13_newbs = 16;
- getitem 12322,1; //Chocolate_Pie
+ getitem Chocolate_Pie,1;
changequest 11093,11094;
close;
}
@@ -3275,7 +3275,7 @@ mid_camp,160,298,4 script Jan#ep13bs 4_LGTSCIENCE,{
mid_camp,30,168,4 script Gerard#ep13bs 4_DST_SOLDIER,{
if (ep13_newbs == 17) {
- if (countitem(6045) > 0) {
+ if (countitem(Supply_Box) > 0) {
mes "["+ strcharinfo(0) +"]";
mes "Are you Gerard?";
next;
@@ -3312,9 +3312,9 @@ mid_camp,30,168,4 script Gerard#ep13bs 4_DST_SOLDIER,{
mes "Please tell the instructor that";
mes "I won't be back for some time.";
emotion e_no1;
- delitem 6045,1; //Supply_Box
+ delitem Supply_Box,1;
ep13_newbs = 18;
- getitem 12322,1; //Chocolate_Pie
+ getitem Chocolate_Pie,1;
changequest 11095,11096;
close;
}
@@ -3351,7 +3351,7 @@ mid_camp,30,168,4 script Gerard#ep13bs 4_DST_SOLDIER,{
man_fild01,80,248,4 script Alberto#ep13bs 4_M_RASWORD,{
if (ep13_newbs == 19) {
- if (countitem(6045) > 0) {
+ if (countitem(Supply_Box) > 0) {
mes "[Alberto]";
mes "Hhh, I am cold...";
next;
@@ -3394,9 +3394,9 @@ man_fild01,80,248,4 script Alberto#ep13bs 4_M_RASWORD,{
mes "that I am still alive.";
mes "Sniff.";
emotion e_sob;
- delitem 6045,1; //Supply_Box
+ delitem Supply_Box,1;
ep13_newbs = 20;
- getitem 12322,1; //Chocolate_Pie
+ getitem Chocolate_Pie,1;
changequest 11097,11098;
close;
}
@@ -3457,7 +3457,7 @@ mid_camp,166,248,4 script Sorcerer#ep13bs 4_M_ARUNA_NFM1,{
}
spl_fild02,348,76,0 script Tree#ep13bs1::ep13tree HIDDEN_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -3474,7 +3474,7 @@ spl_fild02,348,76,0 script Tree#ep13bs1::ep13tree HIDDEN_NPC,{
mes "- Break! -";
mes "- Bomb, bomb~~ -";
mes "- You got the branch. -";
- getitem 6042,1; //Ordinary_Branch
+ getitem Ordinary_Branch,1;
close;
}
else {
@@ -3848,7 +3848,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
close;
}
else if (ep13_animal == 2) {
- if (countitem(6041) > 0) {
+ if (countitem(Strong_Bine) > 0) {
mes "[Rumis Block]";
mes "I'm scared of this place.";
mes "But I'm not going to ask";
@@ -3954,7 +3954,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
mes "You know what I'm.";
mes "asking here, don't you?";
mes "Help me, help me, please.";
- delitem 6041,1; //Strong_Bine
+ delitem Strong_Bine,1;
ep13_animal = 3;
changequest 2147,2148;
close;
@@ -3993,7 +3993,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
}
}
else if (ep13_animal == 3) {
- if ((countitem(713) > 0) && (countitem(523) > 4) && (countitem(938) > 29)) {
+ if ((countitem(Empty_Bottle) > 0) && (countitem(Holy_Water) > 4) && (countitem(Sticky_Mucus) > 29)) {
mes "[Rumis Block]";
mes "Thank you.";
mes "you've brought the materials.";
@@ -4056,9 +4056,9 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
mes "- You have received a-";
mes "- Nepenthes Specimen -";
mes "- from Rumis Block. -";
- delitem 713,1; //Empty_Bottle
- delitem 523,5; //Holy_Water
- delitem 938,30; //Sticky_Mucus
+ delitem Empty_Bottle,1;
+ delitem Holy_Water,5;
+ delitem Sticky_Mucus,30;
ep13_animal = 4;
changequest 2148,2149;
close;
@@ -4236,7 +4236,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
}
}
else if (ep13_animal == 15) {
- if (countitem(6033) > 0) {
+ if (countitem(Horn_Of_Tendrilion) > 0) {
mes "["+strcharinfo(0)+"]";
mes "Mr. Rumis! Take a look at this!";
next;
@@ -4322,7 +4322,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
next;
mes "- You really hope that Rumis will be able to go back home. -";
ep13_animal = 100;
- delitem 6033,1; //Horn_Of_Tendrilion
+ delitem Horn_Of_Tendrilion,1;
getexp RENEWAL_EXP?50000:1000000,0;
close;
}
@@ -4601,7 +4601,7 @@ mid_camp,240,270,3 script Botanist#ep13 4_M_ALCHE_C,{
mes "Please take this rotting plant stem,";
mes "I'll meet you at the environmental purifier standing right next to the leftward bridge on the other side.";
ep13_animal = 7;
- getitem 6035,1; //Decaying_Stem
+ getitem Decaying_Stem,1;
changequest 2151,2152;
close;
}
@@ -4748,8 +4748,8 @@ mid_camp,52,148,1 script Dirt#ep13 CLEAR_NPC,{
next;
mes "- Something is growing out of the dirt. -";
ep13_animal = 9;
- delitem 6035,1; //Decaying_Stem
- getitem 7193,1; //Germinating_Sprout
+ delitem Decaying_Stem,1;
+ getitem Germinating_Sprout,1;
close;
}
end;
@@ -4797,7 +4797,7 @@ man_fild01,92,230,3 script Frozen Tree#evt_lumis HIDDEN_NPC,1,1,{
close;
}
else if (ep13_animal == 12) {
- if (countitem(6032) < 5) {
+ if (countitem(Horn_Of_Hilsrion) < 5) {
mes "[Rumis Block]";
mes "I'd like to study Hillsrion's Horns. Please bring 5 of them for me, okay.";
close;
@@ -4849,7 +4849,7 @@ man_fild01,92,230,3 script Frozen Tree#evt_lumis HIDDEN_NPC,1,1,{
mes "[Rumis Block]";
mes "Let's go back to the camp. Shall we? I have something to discuss with you.";
ep13_animal = 13;
- delitem 6032,5; //Horn_Of_Hilsrion
+ delitem Horn_Of_Hilsrion,5;
changequest 2155,2156;
close;
}
@@ -4995,7 +4995,7 @@ mid_camp,212,237,5 script Camp Guard Captain#man1 4_M_EIN_SOLDIER,{
//== The Tripartite Union's Feud :: ep13_1_rhea ============
mid_campin,376,120,0 script Research Official#ep131 4_M_SAGE_A,3,3,{
OnTouch:
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "[United Research Official]";
mes "How come you've got so much to carry?";
mes "Are you perhaps on training or something?";
@@ -5063,7 +5063,7 @@ OnTouch:
close;
}
else if (ep13_1_rhea == 10) {
- if (countitem(6036) > 0) {
+ if (countitem(Invite_To_Meeting) > 0) {
mes "[United Research Official]";
mes "Aha!";
next;
@@ -5106,7 +5106,7 @@ OnTouch:
next;
mes "[United Research Official]";
mes "So, first! Can you go meet those 3 researchers and check on them to prepare for the meeting?";
- delitem 6036,1; //Invite_To_Meeting
+ delitem Invite_To_Meeting,1;
ep13_1_rhea = 11;
changequest 8198,8199;
close;
@@ -5414,7 +5414,7 @@ OnTouch:
next;
mes "[United Research Official]";
mes "Please, stop by and say hellp to us from time to time.";
- getitem 12110,1; //First_Aid_Kit
+ getitem First_Aid_Kit,1;
close;
}
else {
@@ -5498,7 +5498,7 @@ OnTimer300000:
}
mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "[Ryosen]";
mes "How come you've got so much to carry?";
mes "Are you perhaps on training or something?";
@@ -5651,7 +5651,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "- the agenda and schedule -";
mes "- of the whole meeting! -";
ep13_1_rhea = 4;
- getitem 6036,1; //Invite_To_Meeting
+ getitem Invite_To_Meeting,1;
changequest 8196,8197;
close;
}
@@ -5670,7 +5670,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
close;
}
else if (ep13_1_rhea == 8) {
- if (countitem(6036) > 0) {
+ if (countitem(Invite_To_Meeting) > 0) {
mes "[Ryosen]";
mes "Ah, welcome back!";
next;
@@ -5683,7 +5683,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
next;
mes "[Ryosen]";
mes "Thank you for dealing with those guys. I've got to go through the file now. Please give me the Invitation.";
- delitem 6036,1; //Invite_To_Meeting
+ delitem Invite_To_Meeting,1;
ep13_1_rhea = 9;
close;
}
@@ -5724,7 +5724,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "[Ryosen]";
mes "In the meantime, I should prepare myself for the meeting.";
ep13_1_rhea = 10;
- getitem 6036,1; //Invite_To_Meeting
+ getitem Invite_To_Meeting,1;
changequest 8197,8198;
close;
}
@@ -5786,7 +5786,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
close;
}
else if (ep13_1_rhea == 14) {
- if (countitem(6037) > 0) {
+ if (countitem(Rough_File) > 0) {
mes "[Ryosen]";
mes ".....Whew... completely soaked, so loosely binded...torn here and there... I can't even read this thing!";
next;
@@ -5813,7 +5813,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
}
}
else if (ep13_1_rhea == 18) {
- if (countitem(6038) > 0) {
+ if (countitem(Neat_Report) > 0) {
mes "[Ryosen]";
mes "...Oh, this is...";
next;
@@ -5833,7 +5833,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
next;
mes "[Ryosen]";
mes "Please, the meeting's gonna begin soon.";
- delitem 6038,1; //Neat_Report
+ delitem Neat_Report,1;
ep13_1_rhea = 19;
changequest 8204,8205;
close;
@@ -5886,7 +5886,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "["+ strcharinfo(0) +"]";
mes "Wait! Hue wanted me to bring this to you.";
next;
- if (countitem(6038) > 0) {
+ if (countitem(Neat_Report) > 0) {
mes "[Ryosen]";
mes "A report... ?";
mes "Ahhh... the one I left in the meeting room...";
@@ -5931,9 +5931,9 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
next;
mes "[Ryosen]";
mes "Again, thank you so much.";
- delitem 6038,1; //Neat_Report
+ delitem Neat_Report,1;
ep13_1_rhea = 26;
- getitem 12319,1; //Strawberry_Cake
+ getitem Strawberry_Cake,1;
changequest 8209,8210;
close;
}
@@ -5973,7 +5973,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "If by any chance you find one, please come back to me.";
close;
case 2:
- if (countitem(12319) > 4) {
+ if (countitem(Strawberry_Cake) > 4) {
mes "[Ryosen]";
mes "Huh?";
next;
@@ -5993,7 +5993,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "[Ryosen]";
mes "... Haha, I'm joking...";
next;
- if (countitem(6023) > 4) {
+ if (countitem(Mystic_Horn) > 4) {
mes "[Ryosen]";
mes "Are you really, honestly, positively sure you want to exchange them for my cake?";
next;
@@ -6011,8 +6011,8 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
next;
mes "[Ryosen]";
mes "I heard you could extract some magical energy form Mystic Horns and use it. Anyway, thank you!";
- delitem 6023,5; //Mystic_Horn
- getitem 12319,1; //Strawberry_Cake
+ delitem Mystic_Horn,5;
+ getitem Strawberry_Cake,1;
close;
}
else {
@@ -6044,7 +6044,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
}
mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "[Hue]";
mes "How come you've got so much to carry?";
mes "Are you perhaps on training or something?";
@@ -6061,7 +6061,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
close;
}
else if (ep13_1_rhea == 4) {
- if (countitem(6036) > 0) {
+ if (countitem(Invite_To_Meeting) > 0) {
mes "[Hue]";
mes "What is it you want?";
next;
@@ -6098,7 +6098,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
next;
mes "[Hue]";
mes "You should have some Sand chips while I'm reading this. Don't expect any taste, it's from Arunafeltz.";
- delitem 6036,1; //Invite_To_Meeting
+ delitem Invite_To_Meeting,1;
ep13_1_rhea = 5;
close;
}
@@ -6152,7 +6152,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
mes "You'll experience some hard time talking to Hansenne... It'll be like testing your patience.";
mes "Good luck!";
ep13_1_rhea = 6;
- getitem 6036,1; //Invite_To_Meeting
+ getitem Invite_To_Meeting,1;
close;
}
else if (.@shu_agree00 == 3) {
@@ -6174,7 +6174,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
close;
}
else if (ep13_1_rhea == 15) {
- if (countitem(6037) > 0) {
+ if (countitem(Rough_File) > 0) {
mes "[Hue]";
mes "What is this stupid looking pile of documents?";
next;
@@ -6218,7 +6218,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
}
}
else if (ep13_1_rhea == 16) {
- if ((countitem(6037) > 0) && (countitem(7262) > 0) && (countitem(7031) > 0) && (countitem(7521) > 0) && (countitem(1024) > 0)) {
+ if ((countitem(Rough_File) > 0) && (countitem(Fan) > 0) && (countitem(Old_Frying_Pan) > 0) && (countitem(Flame_Stone) > 0) && (countitem(Chinese_Ink) > 0)) {
mes "[Hue]";
mes "Impressive. That was fast enough.";
next;
@@ -6228,11 +6228,11 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
next;
mes "[Hue]";
mes "Could you please sit there and wait for me while I restore this file?";
- delitem 6037,1; //Rough_File
- delitem 7262,1; //Fan
- delitem 7031,1; //Old_Frying_Pan
- delitem 7521,1; //Flame_Stone
- delitem 1024,1; //Chinese_Ink
+ delitem Rough_File,1;
+ delitem Fan,1;
+ delitem Old_Frying_Pan,1;
+ delitem Flame_Stone,1;
+ delitem Chinese_Ink,1;
ep13_1_rhea = 17;
close;
}
@@ -6259,7 +6259,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
mes "[Hue]";
mes "Please, deliver this file before it's too late. The meeting's gonna begin soon.";
ep13_1_rhea = 18;
- getitem 6038,1; //Neat_Report
+ getitem Neat_Report,1;
changequest 8203,8204;
close;
}
@@ -6328,8 +6328,8 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
mes "Please give this report to Ryosen.";
mes "Thank you.";
ep13_1_rhea = 25;
- getitem 6038,1; //Neat_Report
- getitem 12320,1; //Pineapple_Juice
+ getitem Neat_Report,1;
+ getitem Pineapple_Juice,1;
changequest 8208,8209;
close;
}
@@ -6370,7 +6370,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
mes "Please give me some when you get some.";
close;
case 2:
- if (countitem(12320) > 4) {
+ if (countitem(Pineapple_Juice) > 4) {
mes "[Hue]";
mes "Ah, oh my.";
next;
@@ -6386,7 +6386,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
mes "[Hue]";
mes "Ah, are you sure you want to exchange?";
next;
- if (countitem(6020) > 4) {
+ if (countitem(Fur) > 4) {
mes "[Hue]";
mes "Oh, so it's the thing called, Fur??";
next;
@@ -6406,8 +6406,8 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
next;
mes "[Hue]";
mes "I always needed this because the weather here is colder then I expected. I'm sure this will keep me warm.";
- delitem 6020,5; //Fur
- getitem 12320,1; //Pineapple_Juice
+ delitem Fur,5;
+ getitem Pineapple_Juice,1;
close;
}
else {
@@ -6437,7 +6437,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
}
mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "[Hansenne]";
mes "How come you've got so much to carry?";
mes "Are you perhaps on training or something?";
@@ -6456,7 +6456,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
close;
}
else if (ep13_1_rhea == 6) {
- if (countitem(6036) > 0) {
+ if (countitem(Invite_To_Meeting) > 0) {
mes "[Hansenne]";
mes "Hmmm? What brings you here?";
next;
@@ -6496,7 +6496,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
next;
mes "[Hansenne]";
mes "You should take a rest, while I'm reading this. Oh, have some Poring Candy from Rune-Midgarts. It's terribly sour and sometimes salty. Funny taste, huh?";
- delitem 6036,1; //Invite_To_Meeting
+ delitem Invite_To_Meeting,1;
ep13_1_rhea = 7;
close;
}
@@ -6583,7 +6583,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "Haha, you should tell him that.";
mes "Haha, hahaha, hahahahahahahahaha.";
ep13_1_rhea = 8;
- getitem 6036,1; //Invite_To_Meeting
+ getitem Invite_To_Meeting,1;
close;
}
else if (.@shu_agree00 == 4) {
@@ -6680,7 +6680,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
close;
}
else if (ep13_1_rhea == 14) {
- if (countitem(6037) > 0) {
+ if (countitem(Rough_File) > 0) {
mes "[Hansenne]";
mes "Cool, you found it!";
next;
@@ -6800,7 +6800,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "Thank you for doing me a favor.";
mes "Haha, hahaha, hahahahahahahahaha.";
ep13_1_rhea = 24;
- getitem 12321,1; //Spicy_Sandwich
+ getitem Spicy_Sandwich,1;
changequest 8207,8208;
close;
}
@@ -6834,7 +6834,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "Haha, hahaha, hahahahahahahahaha.";
close;
case 2:
- if (countitem(12321) > 4) {
+ if (countitem(Spicy_Sandwich) > 4) {
mes "[Hansenne]";
mes "... Huh?";
next;
@@ -6851,7 +6851,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "[Hansenne]";
mes "Ah!!! You have it?";
next;
- if (countitem(6021) > 4) {
+ if (countitem(Peaked_Hat) > 4) {
mes "[Hansenne]";
mes "Oh, you really have those!";
next;
@@ -6872,8 +6872,8 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "Ehhmmm, thank you!";
mes "Geeeee, thank you!";
mes "Haha, hahaha, hahahahahahahahaha.";
- delitem 6021,5; //Peaked_Hat
- getitem 12321,1; //Spicy_Sandwich
+ delitem Peaked_Hat,5;
+ getitem Spicy_Sandwich,1;
close;
}
else {
@@ -7208,7 +7208,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
}
}
else if (ep13_alba == 1) {
- if (countitem(579) > 49) {
+ if (countitem(Delicious_Fish) > 49) {
mes "[Taab]";
mes "Oh, thanks!";
mes "You brought them their food!";
@@ -7223,7 +7223,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "material to give you.";
mes "How about a spiritual reward?";
next;
- delitem 579,50; //Delicious_Fish
+ delitem Delicious_Fish,50;
ep13_alba = 6;
if (RENEWAL_EXP) {
getexp 8000,3000;
@@ -7246,7 +7246,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
}
}
else if (ep13_alba == 2) {
- if ((countitem(7198) > 29) && (countitem(7188) > 29)) {
+ if ((countitem(Great_Leaf) > 29) && (countitem(Browny_Root) > 29)) {
mes "[Taab]";
mes "Oh, thanks!";
mes "You brought them their food!";
@@ -7261,8 +7261,8 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "material to give you.";
mes "How about a spiritual reward?";
next;
- delitem 7198,30; //Great_Leaf
- delitem 7188,30; //Browny_Root
+ delitem Great_Leaf,30;
+ delitem Browny_Root,30;
ep13_alba = 6;
if (RENEWAL_EXP) {
getexp 9000,4000;
@@ -7289,7 +7289,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
}
}
else if (ep13_alba == 3) {
- if ((countitem(528) > 19) && (countitem(537) > 29)) {
+ if ((countitem(Monster's_Feed) > 19) && (countitem(Pet_Food) > 29)) {
mes "[Taab]";
mes "Oh, thanks!";
mes "You brought them their";
@@ -7305,8 +7305,8 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "material to give you.";
mes "How about a spiritual reward?";
next;
- delitem 528,20; //Monster's_Feed
- delitem 537,30; //Pet_Food
+ delitem Monster's_Feed,20;
+ delitem Pet_Food,30;
ep13_alba = 6;
if (RENEWAL_EXP) {
getexp 8000,3000;
@@ -7331,7 +7331,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
}
}
else if (ep13_alba == 4) {
- if ((countitem(517) > 49) && (countitem(537) > 29)) {
+ if ((countitem(Meat) > 49) && (countitem(Pet_Food) > 29)) {
mes "Oh, thanks!";
mes "You brought them their";
mes "food! Just in time too,";
@@ -7346,8 +7346,8 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "material to give you.";
mes "How about a spiritual reward?";
next;
- delitem 517,50; //Meat
- delitem 537,30; //Pet_Food
+ delitem Meat,50;
+ delitem Pet_Food,30;
ep13_alba = 6;
if (RENEWAL_EXP) {
getexp 8000,3000;
@@ -7372,7 +7372,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
}
}
else if (ep13_alba == 5) {
- if (countitem(6020) > 29) {
+ if (countitem(Fur) > 29) {
mes "[Taab]";
mes "Oh, thanks!";
mes "You brought me the Furs!";
@@ -7385,7 +7385,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "material to give you.";
mes "How about a spiritual reward?";
next;
- delitem 6020,30; //Fur
+ delitem Fur,30;
ep13_alba = 6;
if (RENEWAL_EXP) {
getexp 8000,3000;
@@ -8138,11 +8138,11 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
close;
}
else if (ep13_yong1 == 5) {
- if (countitem(6039) > 9) {
+ if (countitem(Piece_Of_Fish) > 9) {
mes "[Ferocious Gorurug]";
mes "You've brough Pieces of Fish!";
mes "GOOD JOB!";
- delitem 6039,10; //Piece_Of_Fish
+ delitem Piece_Of_Fish,10;
getexp RENEWAL_EXP?20000:30000,0;
ep13_yong1 = 10;
setquest 12060;
@@ -8158,11 +8158,11 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
}
}
else if ((ep13_yong1 > 5) && (ep13_yong1 < 20)) {
- if (countitem(6039) > 9) {
+ if (countitem(Piece_Of_Fish) > 9) {
mes "[Ferocious Gorurug]";
mes "You've brough Pieces of Fish!";
mes "GOOD JOB!";
- delitem 6039,10; //Piece_Of_Fish
+ delitem Piece_Of_Fish,10;
getexp 15000,0;
setquest 12060;
++ep13_yong1;
@@ -8179,11 +8179,11 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
}
}
else if ((ep13_yong1 > 19) && (ep13_yong1 < 40)) {
- if (countitem(6039) > 9) {
+ if (countitem(Piece_Of_Fish) > 9) {
mes "[Ferocious Gorurug]";
mes "You've brough Pieces of Fish!";
mes "GOOD JOB!";
- delitem 6039,10; //Piece_Of_Fish
+ delitem Piece_Of_Fish,10;
getexp 15000,0;
setquest 12060;
++ep13_yong1;
@@ -8199,11 +8199,11 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
}
}
else if ((ep13_yong1 > 39) && (ep13_yong1 < 60)) {
- if (countitem(6039) > 9) {
+ if (countitem(Piece_Of_Fish) > 9) {
mes "[Ferocious Gorurug]";
mes "You've brough Pieces of Fish!";
mes "GOOD JOB!";
- delitem 6039,10; //Piece_Of_Fish
+ delitem Piece_Of_Fish,10;
getexp 15000,0;
setquest 12060;
++ep13_yong1;
@@ -8221,11 +8221,11 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
}
else if (ep13_yong1 > 59) {
npcskill "AL_HEAL",8,50,50;
- if (countitem(6039) > 9) {
+ if (countitem(Piece_Of_Fish) > 9) {
mes "[Ferocious Gorurug]";
mes "You've brough Pieces of Fish!";
mes "GOOD JOB!";
- delitem 6039,10; //Piece_Of_Fish
+ delitem Piece_Of_Fish,10;
getexp 15000,0;
setquest 12060;
++ep13_yong1;
@@ -8266,7 +8266,7 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
}
spl_fild02,314,165,0 script School of Fish#1::Fishinghole CLEAR_NPC,{
- if (!questprogress(12060,PLAYTIME) && countitem(6039) < 20) {
+ if (!questprogress(12060,PLAYTIME) && countitem(Piece_Of_Fish) < 20) {
specialeffect2 EF_BUBBLE;
specialeffect2 EF_INVENOM;
.@fcast = 15;
@@ -8285,38 +8285,38 @@ spl_fild02,314,165,0 script School of Fish#1::Fishinghole CLEAR_NPC,{
progressbar "ffff00",.@fcast;
if (ep13_1_rhea == 13) {
if (rand(1,20) == 2) {
- getitem 6037,1; //Rough_File
+ getitem Rough_File,1;
ep13_1_rhea = 14;
specialeffect EF_BUBBLE;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught a Messy File!!",bc_map,"0xff77ff";
}
}
.@rhea_ran = rand(1,70);
- if (.@rhea_ran < 20) getitem 6039,1; //Piece_Of_Fish
- else if (.@rhea_ran == 20) getitem 908,1; //Spawn
- else if (.@rhea_ran == 21) getitem 909,1; //Jellopy
- else if (.@rhea_ran == 22) getitem 963,1; //Sharp_Scale
- else if (.@rhea_ran == 23) getitem 956,1; //Gill
- else if (.@rhea_ran == 24) getitem 6049,1; //Marlin
- else if (.@rhea_ran == 25) getitem 918,1; //Sticky_Webfoot
- else if (.@rhea_ran == 26) getitem 960,1; //Nipper
- else if (.@rhea_ran == 27) getitem 910,1; //Garlet
- else if (.@rhea_ran == 28) getitem 938,1; //Sticky_Mucus
- else if ((.@rhea_ran > 28) && (.@rhea_ran < 40)) getitem 7049,1; //Stone
+ if (.@rhea_ran < 20) getitem Piece_Of_Fish,1;
+ else if (.@rhea_ran == 20) getitem Spawn,1;
+ else if (.@rhea_ran == 21) getitem Jellopy,1;
+ else if (.@rhea_ran == 22) getitem Sharp_Scale,1;
+ else if (.@rhea_ran == 23) getitem Gill,1;
+ else if (.@rhea_ran == 24) getitem Marlin,1;
+ else if (.@rhea_ran == 25) getitem Sticky_Webfoot,1;
+ else if (.@rhea_ran == 26) getitem Nipper,1;
+ else if (.@rhea_ran == 27) getitem Garlet,1;
+ else if (.@rhea_ran == 28) getitem Sticky_Mucus,1;
+ else if ((.@rhea_ran > 28) && (.@rhea_ran < 40)) getitem Stone,1;
else {
mes "Nothing was caught.";
close;
}
if (rand(1,200) == 3) {
- getitem 644,1; //Gift_Box
+ getitem Gift_Box,1;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught a Gift Box!!",bc_map,"0x00ffff";
}
if (rand(1,500) == 3) {
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught an Old Blue Box!!",bc_map,"0x00ffff";
}
if (rand(1,3000) == 3) {
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught an Old Purple Box!!",bc_map,"0x44ff44";
}
end;
@@ -8332,7 +8332,7 @@ spl_fild02,326,171,0 duplicate(Fishinghole) School of Fish#3 CLEAR_NPC
mid_camp,75,135,0 duplicate(Fishinghole) School of Fish#4 CLEAR_NPC
mid_camp,66,122,7 script Henry Clifford 4_M_05,{
- if (countitem(6049) > 0) {
+ if (countitem(Marlin) > 0) {
mes "[Henry Clifford]";
mes "Congratulations, you've caught a precious Marlin.";
mes "I'll give you 2 Cat Trading Points in exchange for your Marlin.";
@@ -8344,7 +8344,7 @@ mid_camp,66,122,7 script Henry Clifford 4_M_05,{
next;
switch(select("Yes.:No, thanks.")) {
case 1:
- delitem 6049,1; //Marlin
+ delitem Marlin,1;
ep13_yong1 += 2;
mes "[Henry Clifford]";
mes "Thank you for the Marlin.";
@@ -8383,12 +8383,12 @@ mid_camp,66,122,7 script Henry Clifford 4_M_05,{
mid_camp,88,100,7 script Cat Hand Mining Agent 4_CAT,{
if (!questprogress(12062,PLAYTIME)) {
- if ((countitem(6048) > 2) && (ep13_yong1 > 9)) {
+ if ((countitem(Unidentified_Mineral) > 2) && (ep13_yong1 > 9)) {
mes "[Cat Hand Mining Agent]";
mes "Oh, wow~";
mes "Thank you for collecting minerals for me.";
next;
- delitem 6048,3; //Unidentified_Mineral
+ delitem Unidentified_Mineral,3;
getexp RENEWAL_EXP?20000:30000,0;
setquest 12062;
++ep13_yong1;
@@ -8433,16 +8433,16 @@ mid_camp,88,100,7 script Cat Hand Mining Agent 4_CAT,{
}
- script Mysterious Rock#0::manukrock -1,{
- if (countitem(6048) < 3 && !questprogress(12062,PLAYTIME)) {
+ if (countitem(Unidentified_Mineral) < 3 && !questprogress(12062,PLAYTIME)) {
specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",10;
.@rhea_ran = rand(1,20);
- if (.@rhea_ran < 13) getitem 7049,1; //Stone
- else if (.@rhea_ran == 13) getitem 990,1; //Boody_Red
- else if (.@rhea_ran == 14) getitem 991,1; //Crystal_Blue
- else if (.@rhea_ran == 15) getitem 992,1; //Wind_Of_Verdure
- else if (.@rhea_ran == 16) getitem 993,1; //Yellow_Live
- else getitem 6048,1; //Unidentified_Mineral
+ if (.@rhea_ran < 13) getitem Stone,1;
+ else if (.@rhea_ran == 13) getitem Boody_Red,1;
+ else if (.@rhea_ran == 14) getitem Crystal_Blue,1;
+ else if (.@rhea_ran == 15) getitem Wind_Of_Verdure,1;
+ else if (.@rhea_ran == 16) getitem Yellow_Live,1;
+ else getitem Unidentified_Mineral,1;
initnpctimer;
disablenpc strnpcinfo(0);
end;
@@ -8594,7 +8594,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
mes "[Hibba Agip]";
mes "Hmm... Anyways, this is not a difficult mission. All you have to do is deliver this expedition report to officials of three countries of Rune Midgard. Simple right?";
next;
- getitem 11012,1; //Expedition_Report
+ getitem Expedition_Report,1;
ep13_1_edq = 3;
changequest 3086,3087;
mes "[Hibba Agip]";
@@ -8813,7 +8813,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
mes "[Hibba Agip]";
mes "This was finished more quickly than I thought. Let me see...";
next;
- delitem 11012,1; //Expedition_Report
+ delitem Expedition_Report,1;
ep13_1_edq = 9;
changequest 3092,3093;
mes "[Hibba Agip]";
@@ -8822,7 +8822,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
mes "[Hibba Agip]";
mes "Now, let's go back to your original mission. I'd like you to deliver this to the national leaders of the three countries of Rune Midgard.";
next;
- getitem 11012,3; //Expedition_Report
+ getitem Expedition_Report,3;
mes "[Hibba Agip]";
mes "Dont worry too much, my friend.";
mes "I've arranged troops in the time-space gap to protect the report.";
@@ -8838,7 +8838,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
cutin "ep13_captin_edq",255;
close;
}
- else if ((ep13_1_edq == 9) && (countitem(11012) == 3)) {
+ else if ((ep13_1_edq == 9) && (countitem(Expedition_Report) == 3)) {
mes "[Hibba Agip]";
mes "Let me remind you again. The officials are these three people: ^0000FFMinister Laur^000000 of the Rune Midgarts Kingdom, ^0000FFPriest Nuria^000000 of Arunafeltz and ^0000FFGerhart^000000 of the Schwaltzvalt Republic.";
next;
@@ -8847,12 +8847,12 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
cutin "ep13_captin_edq",255;
close;
}
- else if ((ep13_1_edq == 9) && (countitem(11012) != 3)) {
+ else if ((ep13_1_edq == 9) && (countitem(Expedition_Report) != 3)) {
mes "[Hibba Agip]";
mes "Is something wrong? Alright, we'll write another report for you.";
next;
- delitem 11012,countitem(11012); //Expedition_Report
- getitem 11012,3; //Expedition_Report
+ delitem Expedition_Report,countitem(Expedition_Report);
+ getitem Expedition_Report,3;
mes "[Hibba Agip]";
mes "Let me remind you again. The officials are these three people: ^0000FFMinister Laur^000000 of the Rune Midgarts Kingdom, ^0000FFPriest Nuria^000000 of Arunafeltz and ^0000FFGerhart^000000 of the Schwaltzvalt Republic.";
next;
@@ -8903,7 +8903,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
getexp 300000,0;
else
getexp 2500000,0;
- getitem 12110,3; //First_Aid_Kit
+ getitem First_Aid_Kit,3;
ep13_1_edq = 14;
completequest 3094;
mes "[Hibba Agip]";
@@ -9418,7 +9418,7 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
next;
switch(select("Submit found pages.:Check the report's resoration status.:Quit.")) {
case 1:
- if ((countitem(11013) > 0) && (countitem(11014) > 0) && (countitem(11015) > 0) && (countitem(11016) > 0)) {
+ if ((countitem(Expedition_Report_Vol1) > 0) && (countitem(Expedition_Report_Vol2) > 0) && (countitem(Expedition_Report_Vol3) > 0) && (countitem(Expedition_Report_Vol4) > 0)) {
mes "[Staff Officer Abidal]";
mes "Oh, you've collected enough pages...";
next;
@@ -9430,7 +9430,7 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "[Staff Officer Abidal]";
mes "Have you brought me pages of the lost report? Please bring them to me in increments of 10.";
next;
- if (countitem(6040) > 9) {
+ if (countitem(Some_Of_Report) > 9) {
mes "[Staff Officer Abidal]";
mes "Thank you. Let me try to put them in order.";
next;
@@ -9439,12 +9439,12 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Umm... This page should go here and..";
next;
.@ep13_edq_wrong = rand(1,7);
- if ((countitem(11013) == 0) && (.@ep13_edq_wrong == 1)) {
+ if ((countitem(Expedition_Report_Vol1) == 0) && (.@ep13_edq_wrong == 1)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
- delitem 6040,10; //Some_Of_Report
- getitem 11013,1; //Expedition_Report_Vol1
+ delitem Some_Of_Report,10;
+ getitem Expedition_Report_Vol1,1;
mes "[Staff Officer Abidal]";
mes "This is the first volume of the report. I'm glad that we've restored atleast the first part.";
next;
@@ -9452,21 +9452,21 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Keep up the good work on finding the rest of the volumes.";
close;
}
- else if ((countitem(11013) == 1) && (.@ep13_edq_wrong == 1)) {
+ else if ((countitem(Expedition_Report_Vol1) == 1) && (.@ep13_edq_wrong == 1)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
mes "[Staff Officer Abidal]";
mes "Unfortunately, this is the first volume of the report which we've restored already. I'm sorry, but we need to find pages for the rest of the volumes.";
- delitem 6040,10; //Some_Of_Report
+ delitem Some_Of_Report,10;
close;
}
- else if ((countitem(11014) == 0) && ((.@ep13_edq_wrong == 3) || (.@ep13_edq_wrong == 2))) {
+ else if ((countitem(Expedition_Report_Vol2) == 0) && ((.@ep13_edq_wrong == 3) || (.@ep13_edq_wrong == 2))) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
- delitem 6040,10; //Some_Of_Report
- getitem 11014,1; //Expedition_Report_Vol2
+ delitem Some_Of_Report,10;
+ getitem Expedition_Report_Vol2,1;
mes "[Staff Officer Abidal]";
mes "This is the second volume of the report. I'm glad that we've restored atleast the second part.";
next;
@@ -9474,21 +9474,21 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Keep up the good work on finding the rest of the volumes.";
close;
}
- else if ((countitem(11014) == 1) && ((.@ep13_edq_wrong == 3) || (.@ep13_edq_wrong == 2))) {
+ else if ((countitem(Expedition_Report_Vol2) == 1) && ((.@ep13_edq_wrong == 3) || (.@ep13_edq_wrong == 2))) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
mes "[Staff Officer Abidal]";
mes "Unfortunately, this is the second volume of the report which we've restored already. I'm sorry, but we need to find pages for the rest of the volumes.";
- delitem 6040,10; //Some_Of_Report
+ delitem Some_Of_Report,10;
close;
}
- else if ((countitem(11015) == 0) && ((.@ep13_edq_wrong == 5) || (.@ep13_edq_wrong == 6))) {
+ else if ((countitem(Expedition_Report_Vol3) == 0) && ((.@ep13_edq_wrong == 5) || (.@ep13_edq_wrong == 6))) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
- delitem 6040,10; //Some_Of_Report
- getitem 11015,1; //Expedition_Report_Vol3
+ delitem Some_Of_Report,10;
+ getitem Expedition_Report_Vol3,1;
mes "[Staff Officer Abidal]";
mes "This is the third volume of the report. I'm glad that we've restored atleast the third part.";
next;
@@ -9496,21 +9496,21 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Keep up the good work on finding the rest of the volumes.";
close;
}
- else if ((countitem(11015) == 1) && ((.@ep13_edq_wrong == 5) || (.@ep13_edq_wrong == 6))) {
+ else if ((countitem(Expedition_Report_Vol3) == 1) && ((.@ep13_edq_wrong == 5) || (.@ep13_edq_wrong == 6))) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
mes "[Staff Officer Abidal]";
mes "Unfortunately, this is the third volume of the report which we've restored already. I'm sorry, but we need to find pages for the rest of the volumes.";
- delitem 6040,10; //Some_Of_Report
+ delitem Some_Of_Report,10;
close;
}
- else if ((countitem(11016) == 0) && (.@ep13_edq_wrong == 7)) {
+ else if ((countitem(Expedition_Report_Vol4) == 0) && (.@ep13_edq_wrong == 7)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
- delitem 6040,10; //Some_Of_Report
- getitem 11016,1; //Expedition_Report_Vol4
+ delitem Some_Of_Report,10;
+ getitem Expedition_Report_Vol4,1;
mes "[Staff Officer Abidal]";
mes "This is the fourth volume of the report. I'm glad that we've restored atleast the fourth part.";
next;
@@ -9518,8 +9518,8 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Keep up the good work on finding the rest of the volumes.";
close;
}
- else if ((countitem(11016) == 1) && (.@ep13_edq_wrong == 7)) {
- delitem 6040,10; //Some_Of_Report
+ else if ((countitem(Expedition_Report_Vol4) == 1) && (.@ep13_edq_wrong == 7)) {
+ delitem Some_Of_Report,10;
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
@@ -9529,7 +9529,7 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
}
else {
mes "[Staff Officer Abidal]";
- delitem 6040,10; //Some_Of_Report
+ delitem Some_Of_Report,10;
mes "I'm sorry, but you've brought pages from different volumes of the report, I was unable to put them in order.";
next;
mes "[Staff Officer Abidal]";
@@ -9542,12 +9542,12 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Umm... This page should go here and..";
next;
.@ep13_edq_wrong = rand(1,5);
- if ((countitem(11013) == 0) && (.@ep13_edq_wrong == 1)) {
+ if ((countitem(Expedition_Report_Vol1) == 0) && (.@ep13_edq_wrong == 1)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
- delitem 6040,10; //Some_Of_Report
- getitem 11013,1; //Expedition_Report_Vol1
+ delitem Some_Of_Report,10;
+ getitem Expedition_Report_Vol1,1;
mes "[Staff Officer Abidal]";
mes "This is the first volume of the report. I'm glad that we've restored atleast the first part.";
next;
@@ -9555,21 +9555,21 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Keep up the good work on finding the rest of the volumes.";
close;
}
- else if ((countitem(11013) == 1) && (.@ep13_edq_wrong == 1)) {
+ else if ((countitem(Expedition_Report_Vol1) == 1) && (.@ep13_edq_wrong == 1)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
mes "[Staff Officer Abidal]";
mes "Unfortunately, this is the first volume of the report which we've restored already. I'm sorry, but we need to find pages for the rest of the volumes.";
- delitem 6040,10; //Some_Of_Report
+ delitem Some_Of_Report,10;
close;
}
- else if ((countitem(11014) == 0) && (.@ep13_edq_wrong == 2)) {
+ else if ((countitem(Expedition_Report_Vol2) == 0) && (.@ep13_edq_wrong == 2)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
- delitem 6040,10; //Some_Of_Report
- getitem 11014,1; //Expedition_Report_Vol2
+ delitem Some_Of_Report,10;
+ getitem Expedition_Report_Vol2,1;
mes "[Staff Officer Abidal]";
mes "This is the second volume of the report. I'm glad that we've restored atleast the second part.";
next;
@@ -9577,21 +9577,21 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Keep up the good work on finding the rest of the volumes.";
close;
}
- else if ((countitem(11014) == 1) && (.@ep13_edq_wrong == 2)) {
+ else if ((countitem(Expedition_Report_Vol2) == 1) && (.@ep13_edq_wrong == 2)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
mes "[Staff Officer Abidal]";
mes "Unfortunately, this is the second volume of the report which we've restored already. I'm sorry, but we need to find pages for the rest of the volumes.";
- delitem 6040,10; //Some_Of_Report
+ delitem Some_Of_Report,10;
close;
}
- else if ((countitem(11015) == 0) && ((.@ep13_edq_wrong == 3) || (.@ep13_edq_wrong == 4))) {
+ else if ((countitem(Expedition_Report_Vol3) == 0) && ((.@ep13_edq_wrong == 3) || (.@ep13_edq_wrong == 4))) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
- delitem 6040,10; //Some_Of_Report
- getitem 11015,1; //Expedition_Report_Vol3
+ delitem Some_Of_Report,10;
+ getitem Expedition_Report_Vol3,1;
mes "[Staff Officer Abidal]";
mes "This is the third volume of the report. I'm glad that we've restored atleast the third part.";
next;
@@ -9599,21 +9599,21 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Keep up the good work on finding the rest of the volumes.";
close;
}
- else if ((countitem(11015) == 1) && ((.@ep13_edq_wrong == 3) || (.@ep13_edq_wrong == 4))) {
+ else if ((countitem(Expedition_Report_Vol3) == 1) && ((.@ep13_edq_wrong == 3) || (.@ep13_edq_wrong == 4))) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
mes "[Staff Officer Abidal]";
mes "Unfortunately, this is the third volume of the report which we've restored already. I'm sorry, but we need to find pages for the rest of the volumes.";
- delitem 6040,10; //Some_Of_Report
+ delitem Some_Of_Report,10;
close;
}
- else if ((countitem(11016) == 0) && (.@ep13_edq_wrong == 5)) {
+ else if ((countitem(Expedition_Report_Vol4) == 0) && (.@ep13_edq_wrong == 5)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
- delitem 6040,10; //Some_Of_Report
- getitem 11016,1; //Expedition_Report_Vol4
+ delitem Some_Of_Report,10;
+ getitem Expedition_Report_Vol4,1;
mes "[Staff Officer Abidal]";
mes "This is the fourth volume of the report. I'm glad that we've restored atleast the fourth part.";
next;
@@ -9621,20 +9621,20 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "Keep up the good work on finding the rest of the volumes.";
close;
}
- else if ((countitem(11016) == 1) && (.@ep13_edq_wrong == 5)) {
+ else if ((countitem(Expedition_Report_Vol4) == 1) && (.@ep13_edq_wrong == 5)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
next;
mes "[Staff Officer Abidal]";
mes "Unfortunately, this is the fourth volume of the report which we've restored already. I'm sorry, but we need to find pages for the rest of the volumes.";
- delitem 6040,10; //Some_Of_Report
+ delitem Some_Of_Report,10;
close;
}
else {
mes "[Staff Officer Abidal]";
mes "I'm sorry, but you've brought pages from different volumes of the report, I was unable to put them in order.";
next;
- delitem 6040,10; //Some_Of_Report
+ delitem Some_Of_Report,10;
mes "[Staff Officer Abidal]";
mes "I'm sorry, but please go try to find pages that can be bound into one volume.";
close;
@@ -9650,16 +9650,16 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
case 2:
mes "[Staff Officer Abidal]";
mes "Let's see how far we've progressed on the report's restoration.";
- if ((countitem(11013) == 1) && (countitem(11014) == 1) && (countitem(11015) == 1) && (countitem(11016) == 1)) {
+ if ((countitem(Expedition_Report_Vol1) == 1) && (countitem(Expedition_Report_Vol2) == 1) && (countitem(Expedition_Report_Vol3) == 1) && (countitem(Expedition_Report_Vol4) == 1)) {
next;
mes "[Staff Officer Abidal]";
mes "Oh, great! Every volume of the report has been restored. I'll bind them into one book for you.";
next;
- delitem 11013,1; //Expedition_Report_Vol1
- delitem 11014,1; //Expedition_Report_Vol2
- delitem 11015,1; //Expedition_Report_Vol3
- delitem 11016,1; //Expedition_Report_Vol4
- getitem 11012,1; //Expedition_Report
+ delitem Expedition_Report_Vol1,1;
+ delitem Expedition_Report_Vol2,1;
+ delitem Expedition_Report_Vol3,1;
+ delitem Expedition_Report_Vol4,1;
+ getitem Expedition_Report,1;
ep13_1_edq = 8;
erasequest 3090;
erasequest 3091;
@@ -9668,67 +9668,67 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "I'm glad that we were able to make this again. Please bring this report to the commander.";
close;
}
- else if ((countitem(11013) == 0) && (countitem(11014) == 0) && (countitem(11015) == 0) && (countitem(11016) == 0)) {
+ else if ((countitem(Expedition_Report_Vol1) == 0) && (countitem(Expedition_Report_Vol2) == 0) && (countitem(Expedition_Report_Vol3) == 0) && (countitem(Expedition_Report_Vol4) == 0)) {
mes "[Staff Officer Abidal]";
mes "Well, you haven't restored any volumes of the report yet. Please try harder.";
close;
}
- else if ((countitem(11013) == 1) && (countitem(11014) == 0) && (countitem(11015) == 0) && (countitem(11016) == 0)) {
+ else if ((countitem(Expedition_Report_Vol1) == 1) && (countitem(Expedition_Report_Vol2) == 0) && (countitem(Expedition_Report_Vol3) == 0) && (countitem(Expedition_Report_Vol4) == 0)) {
mes "[Staff Officer Abidal]";
mes "You have restored the first volume of the report. There are 3 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 0) && (countitem(11014) == 1) && (countitem(11015) == 0) && (countitem(11016) == 0)) {
+ else if ((countitem(Expedition_Report_Vol1) == 0) && (countitem(Expedition_Report_Vol2) == 1) && (countitem(Expedition_Report_Vol3) == 0) && (countitem(Expedition_Report_Vol4) == 0)) {
mes "[Staff Officer Abidal]";
mes "You have restored the second volume of the report. There are 3 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 0) && (countitem(11014) == 0) && (countitem(11015) == 1) && (countitem(11016) == 0)) {
+ else if ((countitem(Expedition_Report_Vol1) == 0) && (countitem(Expedition_Report_Vol2) == 0) && (countitem(Expedition_Report_Vol3) == 1) && (countitem(Expedition_Report_Vol4) == 0)) {
mes "[Staff Officer Abidal]";
mes "You have restored the third volume of the report. There are 3 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 0) && (countitem(11014) == 0) && (countitem(11015) == 0) && (countitem(11016) == 1)) {
+ else if ((countitem(Expedition_Report_Vol1) == 0) && (countitem(Expedition_Report_Vol2) == 0) && (countitem(Expedition_Report_Vol3) == 0) && (countitem(Expedition_Report_Vol4) == 1)) {
mes "[Staff Officer Abidal]";
mes "You have restored the fourth volume of the report. There are 3 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 1) && (countitem(11014) == 1) && (countitem(11015) == 0) && (countitem(11016) == 0)) {
+ else if ((countitem(Expedition_Report_Vol1) == 1) && (countitem(Expedition_Report_Vol2) == 1) && (countitem(Expedition_Report_Vol3) == 0) && (countitem(Expedition_Report_Vol4) == 0)) {
mes "[Staff Officer Abidal]";
mes "You have restored the first and second volume of the report. There are 2 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 1) && (countitem(11014) == 0) && (countitem(11015) == 1) && (countitem(11016) == 0)) {
+ else if ((countitem(Expedition_Report_Vol1) == 1) && (countitem(Expedition_Report_Vol2) == 0) && (countitem(Expedition_Report_Vol3) == 1) && (countitem(Expedition_Report_Vol4) == 0)) {
mes "[Staff Officer Abidal]";
mes "You have restored the first and third volume of the report. There are 2 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 1) && (countitem(11014) == 0) && (countitem(11015) == 0) && (countitem(11016) == 1)) {
+ else if ((countitem(Expedition_Report_Vol1) == 1) && (countitem(Expedition_Report_Vol2) == 0) && (countitem(Expedition_Report_Vol3) == 0) && (countitem(Expedition_Report_Vol4) == 1)) {
mes "[Staff Officer Abidal]";
mes "You have restored the first and fourth volume of the report. There are 2 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 0) && (countitem(11014) == 1) && (countitem(11015) == 1) && (countitem(11016) == 0)) {
+ else if ((countitem(Expedition_Report_Vol1) == 0) && (countitem(Expedition_Report_Vol2) == 1) && (countitem(Expedition_Report_Vol3) == 1) && (countitem(Expedition_Report_Vol4) == 0)) {
mes "[Staff Officer Abidal]";
mes "You have restored the second and third volume of the report. There are 2 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 0) && (countitem(11014) == 1) && (countitem(11015) == 0) && (countitem(11016) == 1)) {
+ else if ((countitem(Expedition_Report_Vol1) == 0) && (countitem(Expedition_Report_Vol2) == 1) && (countitem(Expedition_Report_Vol3) == 0) && (countitem(Expedition_Report_Vol4) == 1)) {
mes "[Staff Officer Abidal]";
mes "You have restored the second and fourth volume of the report. There are 2 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 0) && (countitem(11014) == 0) && (countitem(11015) == 1) && (countitem(11016) == 1)) {
+ else if ((countitem(Expedition_Report_Vol1) == 0) && (countitem(Expedition_Report_Vol2) == 0) && (countitem(Expedition_Report_Vol3) == 1) && (countitem(Expedition_Report_Vol4) == 1)) {
mes "[Staff Officer Abidal]";
mes "You have restored the third and fourth volume of the report. There are 2 volumes left to restore.";
close;
}
- else if ((countitem(11013) == 1) && (countitem(11014) == 1) && (countitem(11015) == 1) && (countitem(11016) == 0)) {
+ else if ((countitem(Expedition_Report_Vol1) == 1) && (countitem(Expedition_Report_Vol2) == 1) && (countitem(Expedition_Report_Vol3) == 1) && (countitem(Expedition_Report_Vol4) == 0)) {
mes "[Staff Officer Abidal]";
mes "You have restored the first, second and third volume of the report. There is 1 volume left to restore.";
close;
}
- else if ((countitem(11013) == 0) && (countitem(11014) == 1) && (countitem(11015) == 1) && (countitem(11016) == 1)) {
+ else if ((countitem(Expedition_Report_Vol1) == 0) && (countitem(Expedition_Report_Vol2) == 1) && (countitem(Expedition_Report_Vol3) == 1) && (countitem(Expedition_Report_Vol4) == 1)) {
mes "[Staff Officer Abidal]";
mes "You have restored the second, third and fourth volume of the report. There is 1 volume left to restore.";
close;
@@ -9817,7 +9817,7 @@ mid_campin,85,118,7 script Instructor Igrid 4_M_CRU,{
}
mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
- if ((ep13_1_edq == 3) && (countitem(11012) > 0)) {
+ if ((ep13_1_edq == 3) && (countitem(Expedition_Report) > 0)) {
mes "[Expedition Messenger]";
mes "Welcome, I've been waiting for you.";
mes "You must be " + strcharinfo(0) + ". Nice to meet you.";
@@ -9890,7 +9890,7 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "[Expedition Messenger]";
mes "Argh... " + strcharinfo(0) + ", are you alright? The report... The report...";
next;
- delitem 11012,1; //Expedition_Report
+ delitem Expedition_Report,1;
ep13_1_edq = 4;
changequest 3087,3088;
mes "[Expedition Agent]";
@@ -9946,7 +9946,7 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "[Expedition Agent]";
mes "We lost the report. The pages are blowing away!";
next;
- delitem 11012,1; //Expedition_Report
+ delitem Expedition_Report,1;
ep13_1_edq = 5;
changequest 3087,3088;
mes "[???]";
@@ -9973,7 +9973,7 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
close;
}
}
- else if ((ep13_1_edq == 3) && (countitem(11012) == 0)) {
+ else if ((ep13_1_edq == 3) && (countitem(Expedition_Report) == 0)) {
mes "[Expedition Messenger]";
mes "Were you assigned to deliver the expedition report?";
next;
@@ -10108,7 +10108,7 @@ man_fild01,315,95,3 script Expedition Scout#1 4_M_MOC_SOLDIER,{
if (.@i) {
mes "Good news! I've found "+.@i+" pieces of paper that appear to be part of the report.";
next;
- getitem 6040,.@i; //Some_Of_Report
+ getitem Some_Of_Report,.@i;
} else {
mes "I'm doing my best, but I haven't found any pages yet.";
next;
@@ -10159,7 +10159,7 @@ prt_castle,88,165,3 script Laur 1_M_LIBRARYMASTER,{
mes "[Laur]";
mes "I knew it was the wrong idea to out a mercenary in the commander position. See, nothing is done on time. Gosh!";
next;
- delitem 11012,1; //Expedition_Report
+ delitem Expedition_Report,1;
if (ep13_1_edq == 9) ep13_1_edq = 101;
else if (ep13_1_edq == 111) ep13_1_edq = 112;
else if (ep13_1_edq == 121) ep13_1_edq = 122;
@@ -10213,7 +10213,7 @@ ra_temple,122,174,3 script Nuria 4_F_RACHOLD,{
mes "[Nuria]";
mes "I regret admitting that you've brought it much later than I expected, but... I'm glad it is here safely. Please give it to me.";
next;
- delitem 11012,1; //Expedition_Report
+ delitem Expedition_Report,1;
if (ep13_1_edq == 9) ep13_1_edq = 111;
else if (ep13_1_edq == 101) ep13_1_edq = 102;
else if (ep13_1_edq == 121) ep13_1_edq = 123;
@@ -10259,7 +10259,7 @@ lhz_in01,110,174,5 script Gerhart 4_M_KHKYEL,{
mes "[Gerhart]";
mes "Do you know how long I waited for this report? *Sigh* ...Fine, just give it to me.";
next;
- delitem 11012,1; //Expedition_Report
+ delitem Expedition_Report,1;
if (ep13_1_edq == 9) ep13_1_edq = 121;
else if (ep13_1_edq == 101) ep13_1_edq = 103;
else if (ep13_1_edq == 111) ep13_1_edq = 113;
@@ -10327,7 +10327,7 @@ OnTimer600000:
OnMyMobDead:
if (mobcount("spl_fild02","ep13_spl_fild02_mon_edq::OnMyMobDead") < 10 && (ep13_1_edq == 71 || ep13_1_edq == 72))
- getitem 6040,1; //Some_Of_Report
+ getitem Some_Of_Report,1;
end;
}
@@ -10359,7 +10359,7 @@ OnTimer600000:
OnMyMobDead:
.@spl_fild03_mob_dead = mobcount("spl_fild03","ep13_spl_fild03_mon_edq::OnMyMobDead");
if (mobcount("spl_fild03","ep13_spl_fild03_mon_edq::OnMyMobDead") < 10 && (ep13_1_edq == 71 || ep13_1_edq == 72))
- getitem 6040,1; //Some_Of_Report
+ getitem Some_Of_Report,1;
end;
}
@@ -10389,7 +10389,7 @@ OnTimer600000:
OnMyMobDead:
if (mobcount("man_fild01","ep13_man_fild01_mon_edq::OnMyMobDead") < 10 && (ep13_1_edq == 71 || ep13_1_edq == 72))
- getitem 6040,1; //Some_Of_Report
+ getitem Some_Of_Report,1;
end;
}
@@ -10419,13 +10419,13 @@ OnTimer600000:
OnMyMobDead:
if (mobcount("man_fild03","ep13_man_fild03_mon_edq::OnMyMobDead") < 10 && (ep13_1_edq == 71 || ep13_1_edq == 72))
- getitem 6040,1; //Some_Of_Report
+ getitem Some_Of_Report,1;
end;
}
//== Persuing Rayan Moore :: ep13_moc2 =====================
mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
- if (checkweight(714,3) == 0) {
+ if (checkweight(Emperium,3) == 0) {
mes "- You cannot proceed with the quest when you're carrying too many items with you. -";
close;
}
@@ -10603,8 +10603,8 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
mes "[Echinacea]";
mes "We'll analyze this pattern number and detect the wavelength.";
mes "It'll take some time before we get the results.";
- if (countitem(6029) > 0)
- delitem 6029,countitem(6029); //Morocc_Tracing_Log
+ if (countitem(Morocc_Tracing_Log) > 0)
+ delitem Morocc_Tracing_Log,countitem(Morocc_Tracing_Log);
mao_morocc2 = 29;
changequest 7031+(.@quest-23),7034;
close;
@@ -10687,7 +10687,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
getexp 120000,20000;
else
getexp 1200000,200000;
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
completequest 7036;
close;
}
@@ -10756,7 +10756,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
close;
}
else if (mao_morocc2 == 106) {
- if (countitem(549) > 1) {
+ if (countitem(Nice_Sweet_Potato) > 1) {
mes "[Echinacea]";
mes "What is it? I thought you've been discharged from my service.";
mes "..What are these sweet potatoes?";
@@ -10793,7 +10793,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
mes "We won't do anything that you'd morally oppose.";
mes "You believe in peace, don't you?";
mes "Tell him that I'm grateful for these sweet potatoes, anyway..";
- delitem 549,2; //Nice_Sweet_Potato
+ delitem Nice_Sweet_Potato,2;
mao_morocc2 = 107;
changequest 7040,7041;
close;
@@ -10888,7 +10888,7 @@ mid_camp,191,206,3 script Manager#moc2_finder 4_M_EIN_SOLDIER,{
}
mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
- if (checkweight(714,1) == 0) {
+ if (checkweight(Emperium,1) == 0) {
mes "- You cannot proceed with the quest when you're carrying too many items with you. -";
close;
}
@@ -11004,7 +11004,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
close2;
}
else if (mao_morocc2 == 9) {
- if ((countitem(6029) == 1) && (countitem(6027) == 1)) {
+ if ((countitem(Morocc_Tracing_Log) == 1) && (countitem(Crystal_Of_Feardoom) == 1)) {
cutin "mocseal_kid01",2;
mes "[Mr. Kidd]";
mes "I heard Rin is wounded and bedridden...";
@@ -11060,8 +11060,8 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
mes "[Mr. Kidd]";
mes "Hm, thanks for all your help.";
mes "Now, would you leave me alone for a while? I need to write a report based on the findings in this journal.";
- delitem 6029,1; //Morocc_Tracing_Log
- delitem 6027,1; //Crystal_Of_Feardoom
+ delitem Morocc_Tracing_Log,1;
+ delitem Crystal_Of_Feardoom,1;
mao_morocc2 = 10;
if (RENEWAL_EXP)
getexp 20000,1000;
@@ -11207,7 +11207,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
close2;
}
else if (mao_morocc2 == 17) {
- if (countitem(14595) > 0) {
+ if (countitem(Unsealed_Magic_Spell) > 0) {
cutin "mocseal_kid01",2;
mes "[Mr. Kidd]";
mes "This must be the spell scroll, huh?";
@@ -11357,8 +11357,8 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
mes "Oh, and please bring ^4d4dffthis journal to Rin^000000.";
mes "This will be your last assignment from me.";
mao_morocc2 = 21;
- getitem 6027,1; //Crystal_Of_Feardoom
- getitem 6029,1; //Morocc_Tracing_Log
+ getitem Crystal_Of_Feardoom,1;
+ getitem Morocc_Tracing_Log,1;
changequest 7029,7030;
next;
mes "[Mr. Kidd]";
@@ -11448,7 +11448,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
close2;
}
else if (mao_morocc2 == 104) {
- if (countitem(549) > 1) {
+ if (countitem(Nice_Sweet_Potato) > 1) {
cutin "mocseal_kid01",2;
mes "[Mr. Kidd]";
mes "What's up?";
@@ -11459,7 +11459,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
mes "[Mr. Kidd]";
mes "..I guess he's finally made a fire, huh?";
mes "Tell him thanks for these sweet potatoes.";
- delitem 549,2; //Nice_Sweet_Potato
+ delitem Nice_Sweet_Potato,2;
mao_morocc2 = 105;
next;
switch(select("Ask about Dandelion.:Ask about Arunafeltz.")) {
@@ -11540,7 +11540,7 @@ OnTouch:
}
mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
- if (checkweight(714,1) == 0) {
+ if (checkweight(Emperium,1) == 0) {
mes "- You cannot proceed with the quest when you're carrying too many items with you. -";
close;
}
@@ -11628,15 +11628,15 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
}
}
else if (mao_morocc2 == 15) {
- if ((countitem(523) > 29) && (countitem(7511) > 29) && (countitem(7563) > 29) && (countitem(6028) > 0)) {
+ if ((countitem(Holy_Water) > 29) && (countitem(Rune_Of_Darkness) > 29) && (countitem(Bloody_Rune) > 29) && (countitem(Seal_Scroll) > 0)) {
mes "[Defaria]";
mes "Oh, you've brought everything!";
mes "Good, it wasn't hard, was it?";
mes "Okay, can you come back in a little bit?";
- delitem 523,30; //Holy_Water
- delitem 7511,30; //Rune_Of_Darkness
- delitem 7563,30; //Bloody_Rune
- delitem 6028,1; //Seal_Scroll
+ delitem Holy_Water,30;
+ delitem Rune_Of_Darkness,30;
+ delitem Bloody_Rune,30;
+ delitem Seal_Scroll,1;
mao_morocc2 = 16;
changequest 7024,7025;
close;
@@ -11685,7 +11685,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "Um, do you mind? Would you stop talking to yourself and just leave already?";
mes "I'm sorry, but this old man needs some rest, alright?";
mao_morocc2 = 17;
- getitem 14595,1; //Unsealed_Magic_Spell
+ getitem Unsealed_Magic_Spell,1;
changequest 7025,7026;
close;
}
@@ -11793,7 +11793,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
}
}
else if (mao_morocc2 == 102) {
- if ((countitem(516) > 19) && (countitem(7201) > 29)) {
+ if ((countitem(Sweet_Potato) > 19) && (countitem(Log) > 29)) {
mes "[Defaria]";
mes "Oh, you've really brought what I wanted!";
mes "Please give them to me..";
@@ -11813,8 +11813,8 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "[Defaria]";
mes "Oh, this is as great as I'd hoped!";
mes "I guess my magic hasn't gotten that rusty after all..";
- delitem 516,20; //Sweet_Potato
- delitem 7201,30; //Log
+ delitem Sweet_Potato,20;
+ delitem Log,30;
mao_morocc2 = 103;
close;
}
@@ -11850,7 +11850,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
next;
mes "- Defaria has given you 2 Nice Sweet Potatoes. -";
mao_morocc2 = 104;
- getitem 549,2; //Nice_Sweet_Potato
+ getitem Nice_Sweet_Potato,2;
changequest 7038,7039;
close;
}
@@ -11897,7 +11897,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
next;
mes "- You have received 2 steaming hot Nice Sweet Potatoes. -";
mao_morocc2 = 106;
- getitem 549,2; //Nice_Sweet_Potato
+ getitem Nice_Sweet_Potato,2;
changequest 7039,7040;
close;
}
@@ -11932,7 +11932,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "Here, enjoy them.";
mes "Thank you for trying so hard to please this whimsical old man.";
mao_morocc2 = 108;
- getitem 633,5; //Baked_Yam
+ getitem Baked_Yam,5;
completequest 7041;
close;
}
@@ -12011,7 +12011,7 @@ que_job01,17,48,0 warp que_job01#02 2,2,que_job01,68,92
que_job01,68,96,0 warp que_job01#03 2,2,que_job01,17,53
que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -12039,7 +12039,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{
next;
switch(select("Tropical Sograt:Vermilion on the Beach:How about a free drink?")) {
case 1:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Karred]";
mes "Are you sure you can even hold a glass of alcohol?";
mes "You're carrying too many things on you already.";
@@ -12061,7 +12061,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{
mes "This drink is mainly made of fruit juice,";
mes "but you still shouldn't drink too much.";
Zeny -= 800;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
}
close;
}
@@ -12079,7 +12079,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{
mes "This drink is mainly made of fruit juice,";
mes "but you still shouldn't drink too much.";
Zeny -= 1000;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
close;
}
}
@@ -12105,7 +12105,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{
mes "I'll give you a special discount.";
mes "Here, enjoy.";
Zeny -= 800;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
}
close;
}
@@ -12122,7 +12122,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{
mes "There you go.";
mes "Don't drink too much, alright?";
Zeny -= 1000;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
close;
}
}
@@ -12542,24 +12542,24 @@ que_job01,16,21,5 script Valdes#moc_master_1 1_M_JOBTESTER,{
mes "[Valdes]";
mes "I'll ask you for a help some other time.";
mes "You look pretty passionate after all.";
- if (countitem(6029) > 0)
- delitem 6029,countitem(6029); //Morocc_Tracing_Log
- if (countitem(7418) > 0)
- delitem 7418,countitem(7418); //Mission_ScrollB
- if (countitem(7416) > 0)
- delitem 7416,countitem(7416); //Letter_Of_Recommend
+ if (countitem(Morocc_Tracing_Log) > 0)
+ delitem Morocc_Tracing_Log,countitem(Morocc_Tracing_Log);
+ if (countitem(Mission_ScrollB) > 0)
+ delitem Mission_ScrollB,countitem(Mission_ScrollB);
+ if (countitem(Letter_Of_Recommend) > 0)
+ delitem Letter_Of_Recommend,countitem(Letter_Of_Recommend);
close;
}
else {
mes "...Sorry, but could you please leave?";
mes "I'm really stressed out right now.";
mes "If you're here for the request that we made earlier, you can just forget about it.";
- if (countitem(6029) > 0)
- delitem 6029,countitem(6029); //Morocc_Tracing_Log
- if (countitem(7418) > 0)
- delitem 7418,countitem(7418); //Mission_ScrollB
- if (countitem(7416) > 0)
- delitem 7416,countitem(7416); //Letter_Of_Recommend
+ if (countitem(Morocc_Tracing_Log) > 0)
+ delitem Morocc_Tracing_Log,countitem(Morocc_Tracing_Log);
+ if (countitem(Mission_ScrollB) > 0)
+ delitem Mission_ScrollB,countitem(Mission_ScrollB);
+ if (countitem(Letter_Of_Recommend) > 0)
+ delitem Letter_Of_Recommend,countitem(Letter_Of_Recommend);
close;
}
@@ -12739,7 +12739,7 @@ OnTouch:
}
que_job01,84,17,3 script Rin#moc_room2_1 4_F_ACROSS,{
- if (checkweight(714,1) == 0) {
+ if (checkweight(Emperium,1) == 0) {
mes "- You cannot proceed with the quest when you're carrying too many items with you. -";
close;
}
@@ -12930,7 +12930,7 @@ que_job01,84,17,3 script Rin#moc_room2_1 4_F_ACROSS,{
mes "- You told her you couldn't find anything regarding their whereabouts,";
mes "but you found the ''Bloody Crystal of Darkness'' in the bushes.";
next;
- if (countitem(6027) > 0) {
+ if (countitem(Crystal_Of_Feardoom) > 0) {
cutin "moc2_rin01",2;
mes "[Rin]";
mes "..This is...it.";
@@ -12971,7 +12971,7 @@ que_job01,84,17,3 script Rin#moc_room2_1 4_F_ACROSS,{
mes "- You received the journal from Rin.";
mes "Instead of a journal, it's more like a bunch of documents being exchanged. -";
mao_morocc2 = 9;
- getitem 6029,1; //Morocc_Tracing_Log
+ getitem Morocc_Tracing_Log,1;
changequest 7017,7018;
close2;
}
@@ -13010,12 +13010,12 @@ que_job01,84,17,3 script Rin#moc_room2_1 4_F_ACROSS,{
}
que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{
- if (checkweight(714,1) == 0) {
+ if (checkweight(Emperium,1) == 0) {
mes "- You cannot proceed with the quest when you're carrying too many items with you. -";
close;
}
if (mao_morocc2 == 21) {
- if ((countitem(6029) > 0) && (countitem(6027) > 0)) {
+ if ((countitem(Morocc_Tracing_Log) > 0) && (countitem(Crystal_Of_Feardoom) > 0)) {
cutin "moc2_rin03",2;
mes "[Rin]";
mes "Hey, you've come back at just the right time.";
@@ -13175,8 +13175,8 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{
mes "[" + strcharinfo(0) + "]";
mes "...I don't know...";
mes "...I think he's gone...?";
- delitem 6029,1; //Morocc_Tracing_Log
- delitem 6027,1; //Crystal_Of_Feardoom
+ delitem Morocc_Tracing_Log,1;
+ delitem Crystal_Of_Feardoom,1;
mao_morocc2 = 22;
close2;
}
@@ -13249,7 +13249,7 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{
mes "^4d4dff["+.@pattern$+"]^000000";
mes "Don't leave out even one character. Okay?";
mao_morocc2 = 22+.@rotto;
- getitem 6029,1; //Morocc_Tracing_Log
+ getitem Morocc_Tracing_Log,1;
changequest 7030,7030+.@rotto;
next;
mes "[Rin]";
@@ -13344,7 +13344,7 @@ OnEnable:
}
hu_fild04,235,103,0 script Heap of Earth#mao2_01 CLEAR_NPC,4,4,{
- if (checkweight(714,1) == 0) {
+ if (checkweight(Emperium,1) == 0) {
mes "- You cannot proceed with the quest when you're carrying too many items with you. -";
close;
}
@@ -13379,7 +13379,7 @@ hu_fild04,235,103,0 script Heap of Earth#mao2_01 CLEAR_NPC,4,4,{
mes "I should go back now.";
mes "I hope Rin will understand.";
mao_morocc2 = 8;
- getitem 6027,1; //Crystal_Of_Feardoom
+ getitem Crystal_Of_Feardoom,1;
changequest 7016,7017;
close;
}
@@ -13602,7 +13602,7 @@ OnTouch:
}
que_dan01,49,36,5 script Corpse#moc2_dead01 4_M_DSTMANDEAD,{
- if (checkweight(714,1) == 0) {
+ if (checkweight(Emperium,1) == 0) {
mes "- You cannot proceed with the quest when you're carrying too many items with you. -";
close;
}
@@ -13629,7 +13629,7 @@ que_dan01,49,36,5 script Corpse#moc2_dead01 4_M_DSTMANDEAD,{
mes "^4d4dffYou have obtained a Sealed Magic Scroll.";
mes "Let's bring this to Kidd.^000000";
mao_morocc2 = 11;
- getitem 6028,1; //Seal_Scroll
+ getitem Seal_Scroll,1;
donpcevent "#moc2_event_on::OnStop";
initnpctimer;
changequest 7020,7021;
diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt
index e5fbeab80..077ae7651 100644
--- a/npc/quests/quests_13_2.txt
+++ b/npc/quests/quests_13_2.txt
@@ -414,17 +414,17 @@ function Catwarp {
man_fild02,132,47,4 duplicate(Cat Hand Agent#spl) Cat Hand Agent#man 4_M_BOSSCAT
- script Mysterious Rock#30::manukrock2 -1,{
- if (countitem(6048) < 3 && !questprogress(12062,PLAYTIME)) {
+ if (countitem(Unidentified_Mineral) < 3 && !questprogress(12062,PLAYTIME)) {
specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",10;
.@rhea_ran = rand(1,20);
- if (.@rhea_ran < 13) getitem 7049,1; //Stone
- else if (.@rhea_ran == 13) getitem 990,1; //Boody_Red
- else if (.@rhea_ran == 14) getitem 991,1; //Crystal_Blue
- else if (.@rhea_ran == 15) getitem 992,1; //Wind_Of_Verdure
- else if (.@rhea_ran == 16) getitem 993,1; //Yellow_Live
- else if (.@rhea_ran == 17) getitem 6080,1; //Manuk_Coin
- else getitem 6048,1; //Unidentified_Mineral
+ if (.@rhea_ran < 13) getitem Stone,1;
+ else if (.@rhea_ran == 13) getitem Boody_Red,1;
+ else if (.@rhea_ran == 14) getitem Crystal_Blue,1;
+ else if (.@rhea_ran == 15) getitem Wind_Of_Verdure,1;
+ else if (.@rhea_ran == 16) getitem Yellow_Live,1;
+ else if (.@rhea_ran == 17) getitem Manuk_Coin,1;
+ else getitem Unidentified_Mineral,1;
initnpctimer;
disablenpc strnpcinfo(0);
end;
@@ -454,7 +454,7 @@ man_fild02,358,174,0 duplicate(manukrock2) Mysterious Rock#39 CLEAR_NPC
man_fild02,241,227,0 duplicate(manukrock2) Mysterious Rock#40 CLEAR_NPC
spl_fild03,226,151,0 script School of Fish#5::FishingHole_spl3 CLEAR_NPC,{
- if (!questprogress(12060,PLAYTIME) && countitem(6039) < 20) {
+ if (!questprogress(12060,PLAYTIME) && countitem(Piece_Of_Fish) < 20) {
specialeffect2 EF_BUBBLE;
specialeffect2 EF_INVENOM;
.@fcast = 15;
@@ -473,41 +473,41 @@ spl_fild03,226,151,0 script School of Fish#5::FishingHole_spl3 CLEAR_NPC,{
progressbar "ffff00",.@fcast;
if (ep13_1_rhea == 13) {
if (rand(1,20) == 2) {
- getitem 6037,1; //Rough_File
+ getitem Rough_File,1;
ep13_1_rhea = 14;
specialeffect2 EF_BUBBLE;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught a Loose File.",bc_map,"0xff77ff";
}
}
.@rhea_ran = rand(1,70);
- if (.@rhea_ran < 20) getitem 6039,1; //Piece_Of_Fish
- else if (.@rhea_ran == 20) getitem 908,1; //Spawn
- else if (.@rhea_ran == 21) getitem 909,1; //Jellopy
- else if (.@rhea_ran == 22) getitem 963,1; //Sharp_Scale
- else if (.@rhea_ran == 23) getitem 956,1; //Gill
- else if (.@rhea_ran == 24) getitem 6049,1; //Marlin
- else if (.@rhea_ran == 25) getitem 918,1; //Sticky_Webfoot
- else if (.@rhea_ran == 26) getitem 960,1; //Nipper
- else if (.@rhea_ran == 27) getitem 910,1; //Garlet
- else if (.@rhea_ran == 28) getitem 6081,1; //Splendide_Coin
- else if ((.@rhea_ran > 28) && (.@rhea_ran < 40)) getitem 7049,1; //Stone
+ if (.@rhea_ran < 20) getitem Piece_Of_Fish,1;
+ else if (.@rhea_ran == 20) getitem Spawn,1;
+ else if (.@rhea_ran == 21) getitem Jellopy,1;
+ else if (.@rhea_ran == 22) getitem Sharp_Scale,1;
+ else if (.@rhea_ran == 23) getitem Gill,1;
+ else if (.@rhea_ran == 24) getitem Marlin,1;
+ else if (.@rhea_ran == 25) getitem Sticky_Webfoot,1;
+ else if (.@rhea_ran == 26) getitem Nipper,1;
+ else if (.@rhea_ran == 27) getitem Garlet,1;
+ else if (.@rhea_ran == 28) getitem Splendide_Coin,1;
+ else if ((.@rhea_ran > 28) && (.@rhea_ran < 40)) getitem Stone,1;
else {
mes "Nothing was caught.";
close;
}
.@rhea_ran5 = rand(1,200);
if (.@rhea_ran5 == 3) {
- getitem 644,1; //Gift_Box
+ getitem Gift_Box,1;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught a Gift Box.",bc_map,"0x00ffff";
}
.@rhea_ran3 = rand(1,500);
if (.@rhea_ran3 == 3) {
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught an Old Blue Box.",bc_map,"0x00ffff";
}
.@rhea_ran4 = rand(1,3000);
if (.@rhea_ran4 == 3) {
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught an Old Purple Box.",bc_map,"0x44ff44";
}
}
@@ -529,7 +529,7 @@ spl_fild01,170,74,0 duplicate(FishingHole_spl3) School of Fish#14 CLEAR_NPC
//== Two Tribes :: ep13_2_msg ==============================
spl_in01,32,306,3 script Splendide Guard#ep13md01 4_M_FAIRYSOLDIER,2,2,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -839,7 +839,7 @@ spl_in01,32,306,3 script Splendide Guard#ep13md01 4_M_FAIRYSOLDIER,2,2,{
mes "Sometimes you can find Yggdrasilberries around there.";
mes "Go find few more and bring them with you. Hurry!";
ep13_mdrama = 14;
- getitem 607,3; //Yggdrasilberry
+ getitem Yggdrasilberry,3;
changequest 7062,7063;
close;
}
@@ -1095,7 +1095,7 @@ OnTouch:
}
nyd_dun01,58,223,0 script Petrified Sapha#ep13md03 CLEAR_NPC,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -1203,8 +1203,8 @@ nyd_dun01,58,223,0 script Petrified Sapha#ep13md03 CLEAR_NPC,{
mes "You pick up a fragment of Bradium scattered on the ground.";
mes "This should be enough.";
ep13_mdrama = 22;
- getitem 6085,1; //Shaggy_Muffler
- getitem 6084,1; //Bradium_Fragments
+ getitem Shaggy_Muffler,1;
+ getitem Bradium_Fragments,1;
changequest 7066,7067;
close;
}
@@ -1225,8 +1225,8 @@ nyd_dun01,58,223,0 script Petrified Sapha#ep13md03 CLEAR_NPC,{
mes "We will see if this muffler belongs to Ogen or not...";
mes "This should be enough.";
ep13_mdrama = 22;
- getitem 6085,1; //Shaggy_Muffler
- getitem 6084,1; //Bradium_Fragments
+ getitem Shaggy_Muffler,1;
+ getitem Bradium_Fragments,1;
changequest 7066,7067;
close;
case 3:
@@ -1347,7 +1347,7 @@ OnTouch:
}
}
manuk,278,177,5 script Villager#ep13_11 4_MAN_PIOM,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -1445,7 +1445,7 @@ manuk,278,177,5 script Villager#ep13_11 4_MAN_PIOM,{
}
manuk,281,177,3 script Villager#ep13_12 4_MAN_BENKUNI,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -1547,7 +1547,7 @@ manuk,281,177,3 script Villager#ep13_12 4_MAN_BENKUNI,{
}
man_in01,175,59,5 script Snorren#ep13_13 4_MAN_PIOM,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -1747,7 +1747,7 @@ man_in01,175,59,5 script Snorren#ep13_13 4_MAN_PIOM,{
close;
}
else if (ep13_mdrama == 17) {
- if (countitem(607) > 5) {
+ if (countitem(Yggdrasilberry) > 5) {
mes "[Snorren]";
mes "Did you find a cure?";
mes "This.. is one strange looking fruit.";
@@ -1755,8 +1755,8 @@ man_in01,175,59,5 script Snorren#ep13_13 4_MAN_PIOM,{
next;
mes "[Snorren]";
mes "I will take everything you've brought with you!";
- .@temp_ig = countitem(607);
- delitem 607,.@temp_ig; //Yggdrasilberry
+ .@temp_ig = countitem(Yggdrasilberry);
+ delitem Yggdrasilberry,.@temp_ig;
ep13_mdrama = 18;
next;
mes "[Snorren]";
@@ -1831,7 +1831,7 @@ man_in01,175,59,5 script Snorren#ep13_13 4_MAN_PIOM,{
mes "Come back anytime...";
mes "Ok?";
ep13_mdrama = 25;
- getitem 6080,15; //Manuk_Coin
+ getitem Manuk_Coin,15;
changequest 7069,7070;
close;
}
@@ -1879,7 +1879,7 @@ man_in01,10,125,0 warp to_out1#ep13mdwarp02 1,1,man_in01,179,58
man_in01,65,125,0 warp to_out2#ep13mdwarp03 1,1,man_in01,179,58
man_in01,22,126,3 script Captured Laphine#ep13md 4_F_FAIRYKID6,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2054,7 +2054,7 @@ man_in01,22,126,3 script Captured Laphine#ep13md 4_F_FAIRYKID6,{
}
man_in01,17,128,5 script Snorren#ep13md_15 4_MAN_PIOM,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2108,7 +2108,7 @@ man_in01,17,128,5 script Snorren#ep13md_15 4_MAN_PIOM,{
close;
}
else if (ep13_mdrama == 22) {
- if ((countitem(6085) > 0) && (countitem(6084) > 0)) {
+ if ((countitem(Shaggy_Muffler) > 0) && (countitem(Bradium_Fragments) > 0)) {
mes "[Luik]";
mes "...This Bradium has not been refined properly...";
mes "This would be no help...";
@@ -2142,8 +2142,8 @@ man_in01,17,128,5 script Snorren#ep13md_15 4_MAN_PIOM,{
mes "[Luik]";
mes "I will talk to my superiors to try and settle this matter...";
mes "Please save Ogen.";
- delitem 6085,1; //Shaggy_Muffler
- delitem 6084,1; //Bradium_Fragments
+ delitem Shaggy_Muffler,1;
+ delitem Bradium_Fragments,1;
ep13_mdrama = 23;
changequest 7067,7068;
close;
@@ -2184,7 +2184,7 @@ man_in01,17,128,5 script Snorren#ep13md_15 4_MAN_PIOM,{
}
man_in01,19,126,3 script Luik#ep13md16 4_MAN_GALTUN,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2278,7 +2278,7 @@ man_in01,19,126,3 script Luik#ep13md16 4_MAN_GALTUN,{
close;
}
else if (ep13_mdrama == 22) {
- if ((countitem(6085) > 0) && (countitem(6084) > 0)) {
+ if ((countitem(Shaggy_Muffler) > 0) && (countitem(Bradium_Fragments) > 0)) {
mes "[Luik]";
mes "...This Bradium has not been refined properly...";
mes "This would be no help...";
@@ -2312,8 +2312,8 @@ man_in01,19,126,3 script Luik#ep13md16 4_MAN_GALTUN,{
mes "[Luik]";
mes "I will talk to my superiors to try and settle this matter...";
mes "Please save Ogen.";
- delitem 6085,1; //Shaggy_Muffler
- delitem 6084,1; //Bradium_Fragments
+ delitem Shaggy_Muffler,1;
+ delitem Bradium_Fragments,1;
ep13_mdrama = 23;
changequest 7067,7068;
close;
@@ -2361,7 +2361,7 @@ OnTouch:
}
spl_in02,236,92,5 script Arc#ep13md_l02 4_M_FAIRYSOLDIER,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2454,7 +2454,7 @@ spl_in02,236,92,5 script Arc#ep13md_l02 4_M_FAIRYSOLDIER,{
mes "[Arc]";
mes "I'm sorry this is all I can give you for now.";
ep13_mdrama = 27;
- getitem 6081,25; //Splendide_Coin
+ getitem Splendide_Coin,25;
if (RENEWAL_EXP)
getexp 120000,10000;
else
@@ -2546,7 +2546,7 @@ OnTouch:
spl_in02,236,86,0 warp terrashome_out 1,1,splendide,285,139
spl_fild01,357,44,0 script ???#ep13mdf01 CLEAR_NPC,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2559,8 +2559,8 @@ spl_fild01,357,44,0 script ???#ep13mdf01 CLEAR_NPC,{
mes "I see a small berry inside of a big outer shell...";
mes "It is a Yggdrasil!";
ep13_mdrama = 15;
- getitem 607,1; //Yggdrasilberry
- getitem 522,1; //Fruit_Of_Mastela
+ getitem Yggdrasilberry,1;
+ getitem Fruit_Of_Mastela,1;
close;
}
else if (ep13_mdrama == 15) {
@@ -2575,7 +2575,7 @@ spl_fild01,357,44,0 script ???#ep13mdf01 CLEAR_NPC,{
}
else if (.@apple == 50) {
mes "I found an apple.";
- getitem 512,1; //Apple
+ getitem Apple,1;
close;
}
else {
@@ -2595,7 +2595,7 @@ spl_fild01,357,44,0 script ???#ep13mdf01 CLEAR_NPC,{
}
spl_fild01,312,79,0 script ???#ep13mdf02 CLEAR_NPC,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2608,8 +2608,8 @@ spl_fild01,312,79,0 script ???#ep13mdf02 CLEAR_NPC,{
mes "I see a small berry inside of a big outer shell...";
mes "It is a Yggdrasil!";
ep13_mdrama = 16;
- getitem 607,1; //Yggdrasilberry
- getitem 522,1; //Fruit_Of_Mastela
+ getitem Yggdrasilberry,1;
+ getitem Fruit_Of_Mastela,1;
close;
}
else if (ep13_mdrama == 16) {
@@ -2624,7 +2624,7 @@ spl_fild01,312,79,0 script ???#ep13mdf02 CLEAR_NPC,{
}
else if (.@apple == 50) {
mes "I found an apple.";
- getitem 512,1; //Apple
+ getitem Apple,1;
close;
}
else {
@@ -2644,7 +2644,7 @@ spl_fild01,312,79,0 script ???#ep13mdf02 CLEAR_NPC,{
}
spl_fild01,329,29,0 script ???#ep13mdf03 CLEAR_NPC,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2657,8 +2657,8 @@ spl_fild01,329,29,0 script ???#ep13mdf03 CLEAR_NPC,{
mes "I see a small berry inside of a big outer shell...";
mes "It is a Yggdrasil!";
ep13_mdrama = 17;
- getitem 607,1; //Yggdrasilberry
- getitem 522,1; //Fruit_Of_Mastela
+ getitem Yggdrasilberry,1;
+ getitem Fruit_Of_Mastela,1;
changequest 7063,7064;
next;
mes "[" + strcharinfo(0) + "]";
@@ -2679,7 +2679,7 @@ spl_fild01,329,29,0 script ???#ep13mdf03 CLEAR_NPC,{
}
else if (.@apple == 50) {
mes "I found an apple.";
- getitem 512,1; //Apple
+ getitem Apple,1;
close;
}
else {
@@ -2700,7 +2700,7 @@ spl_fild01,329,29,0 script ???#ep13mdf03 CLEAR_NPC,{
//== Monster Suppression :: ep13_2_dayquest ================
manuk,252,116,3 script Manuk Galtun#ep13_2day 4_MAN_GALTUN,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2778,7 +2778,7 @@ manuk,252,116,3 script Manuk Galtun#ep13_2day 4_MAN_GALTUN,{
getexp 50000,30000;
else
getexp 500000,300000;
- getitem 6080,10; //Manuk_Coin
+ getitem Manuk_Coin,10;
close;
}
else {
@@ -2813,7 +2813,7 @@ manuk,252,116,3 script Manuk Galtun#ep13_2day 4_MAN_GALTUN,{
// - Laphine Craftsman
// - Draco Egg Collection (NPC includes 'Wanted' quest)
man_in01,378,276,3 script Manuk Engineer#ep13_2 4_MAN_NITT,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2839,16 +2839,16 @@ man_in01,378,276,3 script Manuk Engineer#ep13_2 4_MAN_NITT,{
}
else {
if (questprogress(7079) == 1) {
- if (countitem(6090) > 19) {
+ if (countitem(Purified_Bradium) > 19) {
mes "[Manuk Engineer]";
mes "Oh, that will do very well.";
mes "On behalf of the Sapha, I extend our thanks to you.";
mes "I hope you can help us again.";
- delitem 6090,20; //Purified_Bradium
+ delitem Purified_Bradium,20;
erasequest 7079;
setquest 7080;
getexp 40000,40000;
- getitem 6080,3; //Manuk_Coin
+ getitem Manuk_Coin,3;
close;
}
else {
@@ -2917,7 +2917,7 @@ man_in01,378,276,3 script Manuk Engineer#ep13_2 4_MAN_NITT,{
}
spl_in01,97,313,3 script Laphine Craftsman#ep13 4_M_FAIRYKID5,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -2941,17 +2941,17 @@ spl_in01,97,313,3 script Laphine Craftsman#ep13 4_M_FAIRYKID5,{
close;
}
if (questprogress(7081) == 1) {
- if ((countitem(7326) > 14) && (countitem(6075) > 14)) {
+ if ((countitem(Fluorescent_Liquid) > 14) && (countitem(Crystalized_Teardrop) > 14)) {
mes "[Laphine craftsman]";
mes "Oh, fantastic.";
mes "These are enough materials for today.";
mes "I'll let you know if I need more.";
- delitem 7326,15; //Fluorescent_Liquid
- delitem 6075,15; //Crystalized_Teardrop
+ delitem Fluorescent_Liquid,15;
+ delitem Crystalized_Teardrop,15;
erasequest 7081;
setquest 7082;
getexp 30000,30000;
- getitem 6081,3; //Splendide_Coin
+ getitem Splendide_Coin,3;
close;
}
else {
@@ -3033,7 +3033,7 @@ spl_in01,97,313,3 script Laphine Craftsman#ep13 4_M_FAIRYKID5,{
}
mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -3100,7 +3100,7 @@ mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
mes "This is enough payment, right?";
completequest 7076;
ep13_2_wanted = 2;
- getitem 7444,1; //Treasure_Box
+ getitem Treasure_Box,1;
close;
}
mes "[Pinedel]";
@@ -3125,7 +3125,7 @@ mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
close;
}
if (ep13_2_dayegg == 1) {
- if (countitem(6093) > 9) {
+ if (countitem(Egg_Of_Draco) > 9) {
mes "[Pinedel]";
mes "Oh! Nice!";
mes "I can go through this study deeper with your assistance.";
@@ -3134,13 +3134,13 @@ mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
mes "I will try to make these Dragon eggs into cute pets.";
mes "Don't expect much!";
mes "Come back after a day to check on the progress.";
- delitem 6093,10; //Egg_Of_Draco
+ delitem Egg_Of_Draco,10;
erasequest 7077;
setquest 7078;
ep13_2_dayegg = 2;
getexp 40000,40000;
- getitem 6081,1; //Splendide_Coin
- getitem 6080,1; //Manuk_Coin
+ getitem Splendide_Coin,1;
+ getitem Manuk_Coin,1;
close;
}
mes "[Pinedel]";
@@ -3263,13 +3263,13 @@ mid_camp,192,239,4 script Wanted Sign#ep13_2ect01 4_BOARD3,{
}
- script Dragon Egg#ep13_degg_0 -1,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "- You're carrying too many items. -";
close;
}
- if ((ep13_2_dayegg == 1) && (countitem(6093) < 10)) {
+ if ((ep13_2_dayegg == 1) && (countitem(Egg_Of_Draco) < 10)) {
mes "We just got fresh eggs from the dragon nest.";
- getitem 6093,1; //Egg_Of_Draco
+ getitem Egg_Of_Draco,1;
disablenpc strnpcinfo(0);
initnpctimer;
close;
@@ -3298,13 +3298,13 @@ nyd_dun01,244,157,0 duplicate(Dragon Egg#ep13_degg_0) Dragon Egg#ep13_degg05 4_D
nyd_dun01,59,185,0 duplicate(Dragon Egg#ep13_degg_0) Dragon Egg#ep13_degg06 4_DRAGON_EGG
nyd_dun02,68,256,0 script Dragon Egg#ep13_degg_1 4_DRAGON_EGG,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "- You're carrying too many items. -";
close;
}
- if ((ep13_2_dayegg == 1) && (countitem(6093) < 10)) {
+ if ((ep13_2_dayegg == 1) && (countitem(Egg_Of_Draco) < 10)) {
mes "We just got fresh eggs from the dragon nest.";
- getitem 6093,1; //Egg_Of_Draco
+ getitem Egg_Of_Draco,1;
disablenpc strnpcinfo(0);
initnpctimer;
close;
@@ -3329,13 +3329,13 @@ nyd_dun02,202,166,0 duplicate(Dragon Egg#ep13_degg_1) Dragon Egg#ep13_degg12 4_D
nyd_dun02,200,165,0 duplicate(Dragon Egg#ep13_degg_1) Dragon Egg#ep13_degg13 4_DRAGON_EGG
nyd_dun02,201,166,0 script Dragon Egg#ep13_degg_2 4_DRAGON_EGG,{
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "- You're carrying too many items. -";
close;
}
- if ((ep13_2_dayegg == 1) && (countitem(6093) < 10)) {
+ if ((ep13_2_dayegg == 1) && (countitem(Egg_Of_Draco) < 10)) {
mes "We just got fresh eggs from the dragon nest.";
- getitem 6093,1; //Egg_Of_Draco
+ getitem Egg_Of_Draco,1;
disablenpc strnpcinfo(0);
initnpctimer;
close;
@@ -3693,7 +3693,7 @@ mid_camp,197,237,3 script Schwartzvalt Mechanic#1 4_M_LGTMAN,{
getexp 200000,5000;
else
getexp 1000000,300000;
- getitem 2782,1; //Ring_Of_Wise_King
+ getitem Ring_Of_Wise_King,1;
close;
}
else {
@@ -4238,7 +4238,7 @@ mid_camp,147,256,3 script Rune Midgarts Magician#1 4_M_JOB_WIZARD,{
}
else if (ep13_2_rhea == 5) {
if (questprogress(8241) && questprogress(8242)) {
- if (countitem(7575) > 0) && (countitem(7576) > 0) {
+ if (countitem(Red_Jewel_) > 0) && (countitem(Blue_Jewel_) > 0) {
mes "[Magician Whisper]";
mes "Wow, You are back already!";
mes "Well then, let me see them!";
@@ -4262,8 +4262,8 @@ mid_camp,147,256,3 script Rune Midgarts Magician#1 4_M_JOB_WIZARD,{
completequest 8242;
completequest 8246;
setquest 8247;
- delitem 7575,1; //Red_Jewel_
- delitem 7576,1; //Blue_Jewel_
+ delitem Red_Jewel_,1;
+ delitem Blue_Jewel_,1;
ep13_2_rhea = 6;
close;
}
@@ -4331,7 +4331,7 @@ mid_camp,147,256,3 script Rune Midgarts Magician#1 4_M_JOB_WIZARD,{
close;
}
else if (ep13_2_rhea == 9) {
- if (countitem(6048) > 0) {
+ if (countitem(Unidentified_Mineral) > 0) {
mes "[Magician Whisper]";
mes "Oh! Is this that ore?";
next;
@@ -4363,7 +4363,7 @@ mid_camp,147,256,3 script Rune Midgarts Magician#1 4_M_JOB_WIZARD,{
mes "Take some rest while I craft this ore into a gem and put the magical data into it. You look exhausted...";
completequest 8250;
setquest 8251;
- delitem 6048,1; //Unidentified_Mineral
+ delitem Unidentified_Mineral,1;
ep13_2_rhea = 10;
close;
}
@@ -4689,7 +4689,7 @@ man_in01,372,221,5 script Scientist#lifeguard 4_MAN_BENKUNI,{
close;
}
else if ((ep13_2_tre == 1) || (ep13_2_tre == 100)) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "It looks like you're carrying too many things.";
mes "Why not put some of your items in storage and come back?";
close;
@@ -4744,12 +4744,12 @@ man_in01,372,221,5 script Scientist#lifeguard 4_MAN_BENKUNI,{
mes "the minerals I need.";
ep13_2_tre = atoi(.@rand_dayq$[2]);
setquest 2179+(atoi(.@rand_dayq$[2])-2);
- getitem 6076,1; //Portable_Toolbox
+ getitem Portable_Toolbox,1;
close;
}
}
else if (ep13_2_tre == 2 || ep13_2_tre == 3 || ep13_2_tre == 4) {
- if ((ep13_2_tre == 2 && countitem(6077) > 9) || (ep13_2_tre != 2 && countitem(6077) > 4)) {
+ if ((ep13_2_tre == 2 && countitem(Rough_Mineral) > 9) || (ep13_2_tre != 2 && countitem(Rough_Mineral) > 4)) {
mes "Oh! Yes, that's it!";
mes "This much will be enough!";
next;
@@ -4763,12 +4763,12 @@ man_in01,372,221,5 script Scientist#lifeguard 4_MAN_BENKUNI,{
mes "[Dr. Lifeguard]";
mes "If you want to help my study for the sake of the Sapha, come to me at any time.";
mes "I will be very happy for any help you can give.";
- .@stone_chk = countitem(6077);
- .@stoneelse_chk = countitem(6078);
- delitem 6077,.@stone_chk; //Rough_Mineral
- delitem 6078,.@stoneelse_chk; //Stone_Fragments
- delitem 6076,1; //Portable_Toolbox
- getitem 6080,3; //Manuk_Coin
+ .@stone_chk = countitem(Rough_Mineral);
+ .@stoneelse_chk = countitem(Stone_Fragments);
+ delitem Rough_Mineral,.@stone_chk;
+ delitem Stone_Fragments,.@stoneelse_chk;
+ delitem Portable_Toolbox,1;
+ getitem Manuk_Coin,3;
getexp 0,RENEWAL_EXP?50000:700000; //unconfirmed (RE)
changequest 2179+(ep13_2_tre-2),2182;
ep13_2_tre = 100;
@@ -4802,7 +4802,7 @@ function script find_13_2 {
case 1: setarray .@check[0],3,5; .@str$ = "Abyss Lake"; break;
case 2: setarray .@check[0],4,5; .@str$ = "Thor Volcano"; break;
}
- if (ep13_2_tre != .@check[0] || countitem(6076) != 1 || countitem(6077) >= .@check[1]) end;
+ if (ep13_2_tre != .@check[0] || countitem(Portable_Toolbox) != 1 || countitem(Rough_Mineral) >= .@check[1]) end;
mes "- Just arrived at "+.@str$+". I think I can find the mineral by using the Mineral Detector in the Portable Toolbox. -";
next;
switch(select("Check current location.:Do nothing.")) {
@@ -4854,8 +4854,8 @@ mjolnir_12,44,25,0 duplicate(mjo_no_find) #mj12_find_2 -1,5,5
mjolnir_12,220,37,0 duplicate(mjo_no_find) #mj12_find_3 -1,5,5
- script mjo_find -1,{
- if ((ep13_2_tre == 2) && (countitem(6076) == 1)) {
- if (countitem(6077) < 10) {
+ if ((ep13_2_tre == 2) && (countitem(Portable_Toolbox) == 1)) {
+ if (countitem(Rough_Mineral) < 10) {
mes "- I can see some different colored minerals where the detector pointed to. This must be the mineral that Mr. Lifeguard told me about. -";
next;
switch(select("Mine minerals.:Do nothing.")) {
@@ -4865,16 +4865,16 @@ mjolnir_12,220,37,0 duplicate(mjo_no_find) #mj12_find_3 -1,5,5
progressbar "ffff00",4;
if (rand(1,6) < 4) {
mes "- You failed to mine minerals. -";
- getitem 6078,1; //Stone_Fragments
+ getitem Stone_Fragments,1;
close;
}
else {
mes "- You succeeded to mine minerals. -";
emotion e_ic,1;
.@stst = rand(1,5);
- if (.@stst == 5) getitem 6077,5; //Rough_Mineral
- else if (.@stst == 1) getitem 6077,1; //Rough_Mineral
- else getitem 6077,2; //Rough_Mineral
+ if (.@stst == 5) getitem Rough_Mineral,5;
+ else if (.@stst == 1) getitem Rough_Mineral,1;
+ else getitem Rough_Mineral,2;
close2;
donpcevent strnpcinfo(0)+"_t::OnEnable";
disablenpc strnpcinfo(0);
@@ -4897,7 +4897,7 @@ OnInit:
end;
OnTouch:
- if (ep13_2_tre == 2 && countitem(6076) == 1 && countitem(6077) < 10)
+ if (ep13_2_tre == 2 && countitem(Portable_Toolbox) == 1 && countitem(Rough_Mineral) < 10)
specialeffect EF_COUPLECASTING;
end;
}
@@ -5205,8 +5205,8 @@ OnTouch:
}
- script hu_find -1,{
- if ((ep13_2_tre == 3) && (countitem(6076) == 1)) {
- if (countitem(6077) < 5) {
+ if ((ep13_2_tre == 3) && (countitem(Portable_Toolbox) == 1)) {
+ if (countitem(Rough_Mineral) < 5) {
mes "- I can see some different colored minerals where the detector pointed to. This must be the mineral that Mr. Lifeguard told me about. -";
next;
switch(select("Mine minerals.:Do nothing.")) {
@@ -5216,16 +5216,16 @@ OnTouch:
progressbar "ffff00",4;
if (rand(1,6) < 4) {
mes "- You failed to mine minerals. -";
- getitem 6078,1; //Stone_Fragments
+ getitem Stone_Fragments,1;
close;
}
else {
mes "- You succeeded to mine minerals. -";
emotion e_ic,1;
.@stst = rand(1,5);
- if (.@stst == 5) getitem 6077,5; //Rough_Mineral
- else if (.@stst == 1) getitem 6077,2; //Rough_Mineral
- else getitem 6077,1; //Rough_Mineral
+ if (.@stst == 5) getitem Rough_Mineral,5;
+ else if (.@stst == 1) getitem Rough_Mineral,2;
+ else getitem Rough_Mineral,1;
donpcevent strnpcinfo(0)+"_t::OnEnable";
disablenpc strnpcinfo(0);
close;
@@ -5247,7 +5247,7 @@ OnInit:
end;
OnTouch:
- if (ep13_2_tre == 3 && countitem(6076) == 1 && countitem(6077) < 5)
+ if (ep13_2_tre == 3 && countitem(Portable_Toolbox) == 1 && countitem(Rough_Mineral) < 5)
specialeffect EF_COUPLECASTING;
end;
}
@@ -5338,8 +5338,8 @@ OnTouch:
}
- script ve_find -1,{
- if ((ep13_2_tre == 4) && (countitem(6076) == 1)) {
- if (countitem(6077) < 5) {
+ if ((ep13_2_tre == 4) && (countitem(Portable_Toolbox) == 1)) {
+ if (countitem(Rough_Mineral) < 5) {
mes "- I can see some different colored minerals where the detector pointed to. This must be the mineral that Mr. Lifeguard told me about. -";
next;
switch(select("Mine minerals.:Do nothing.")) {
@@ -5349,16 +5349,16 @@ OnTouch:
progressbar "ffff00",4;
if (rand(1,6) < 4) {
mes "- You failed to mine minerals. -";
- getitem 6078,1; //Stone_Fragments
+ getitem Stone_Fragments,1;
close;
}
else {
mes "- You succeeded to mine minerals. -";
emotion e_ic,1;
.@stst = rand(1,5);
- if (.@stst == 5) getitem 6077,5; //Rough_Mineral
- else if (.@stst == 1) getitem 6077,2; //Rough_Mineral
- else getitem 6077,1; //Rough_Mineral
+ if (.@stst == 5) getitem Rough_Mineral,5;
+ else if (.@stst == 1) getitem Rough_Mineral,2;
+ else getitem Rough_Mineral,1;
donpcevent strnpcinfo(0)+"_t::OnEnable";
disablenpc strnpcinfo(0);
close;
@@ -5380,7 +5380,7 @@ OnInit:
end;
OnTouch:
- if (ep13_2_tre == 4 && countitem(6076) == 1 && countitem(6077) < 5)
+ if (ep13_2_tre == 4 && countitem(Portable_Toolbox) == 1 && countitem(Rough_Mineral) < 5)
specialeffect EF_COUPLECASTING;
end;
}
@@ -5436,7 +5436,7 @@ OnTimer40000:
spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Grenouille]";
mes "It looks like you're carrying too many things.";
mes "Why not put some of your items in storage and come back?";
@@ -5536,7 +5536,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
close;
}
else if (ep13_2_tre1 == 3) {
- if (countitem(6079) == 1) {
+ if (countitem(Flower_Of_Alfheim) == 1) {
emotion e_swt;
emotion e_swt,1;
mes "[Grenouille]";
@@ -5557,7 +5557,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
mes "Would you please wait a while?";
changequest 2183,2184;
ep13_2_tre1 = 4;
- delitem 6079,1; //Flower_Of_Alfheim
+ delitem Flower_Of_Alfheim,1;
close;
}
else {
@@ -5610,13 +5610,13 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
mes "help the exhausted soldiers and";
mes "let me know the result, please!";
ep13_2_tre1 = 5;
- getitem 6082,5; //Spirit_Of_Alfheim
+ getitem Spirit_Of_Alfheim,5;
changequest 2184,2185;
close;
}
}
else if (ep13_2_tre1 == 5) {
- if (countitem(6082) < 1) {
+ if (countitem(Spirit_Of_Alfheim) < 1) {
mes "[Grenouille]";
mes "Oh! How's the reaction of the soldiers?";
next;
@@ -5635,7 +5635,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
mes "If you have something to talk to me about, come to me whenever. Nice to meet you, human from Rune Midgard.";
ep13_2_tre1 = 6;
changequest 2185,2186;
- getitem 6081,3; //Splendide_Coin
+ getitem Splendide_Coin,3;
getexp 0,RENEWAL_EXP?50000:700000; //unconfirmed (RE)
close;
}
@@ -5669,7 +5669,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
spl_in02,139,65,3 script Middle-Ranked Laphine#la 4_F_FAIRYKID3,{
if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Flowery]";
mes "It looks like you're carrying too many things.";
mes "Why not put some of your items in storage and come back?";
@@ -5720,7 +5720,7 @@ spl_in02,139,65,3 script Middle-Ranked Laphine#la 4_F_FAIRYKID3,{
mes "any other seed of flower..";
mes "So, just bring this, here you are~";
ep13_2_tre1 = 2;
- getitem 7193,1; //Germinating_Sprout
+ getitem Germinating_Sprout,1;
close;
}
else if (ep13_2_tre1 == 2) {
@@ -5746,7 +5746,7 @@ spl_in02,139,65,3 script Middle-Ranked Laphine#la 4_F_FAIRYKID3,{
- script Purifier -1,{
if (ep13_2_tre1 == 2) {
- if (countitem(7193) > 0) {
+ if (countitem(Germinating_Sprout) > 0) {
mes "- You put the seed in the";
mes "device and watched it";
mes "as Grenouille told you. -";
@@ -5757,9 +5757,9 @@ spl_in02,139,65,3 script Middle-Ranked Laphine#la 4_F_FAIRYKID3,{
mes "- When the lights gone,";
mes "a big flower of Alfheim was lied";
mes "in your hand, instead of the seed. -";
- delitem 7193,1; //Germinating_Sprout
+ delitem Germinating_Sprout,1;
ep13_2_tre1 = 3;
- getitem 6079,1; //Flower_Of_Alfheim
+ getitem Flower_Of_Alfheim,1;
close;
}
else {
@@ -5781,7 +5781,7 @@ splendide,134,280,3 duplicate(Purifier) Purifier#6 CLEAR_NPC
splendide,205,139,5 script Exhausted Soldier#1 4_M_FAIRYSOLDIER,{
if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) {
if (ep13_2_tre1 == 5) {
- if (countitem(6082) > 0) {
+ if (countitem(Spirit_Of_Alfheim) > 0) {
mes "[Exhausted Soldier]";
mes "Oh my hometown...";
next;
@@ -5798,7 +5798,7 @@ splendide,205,139,5 script Exhausted Soldier#1 4_M_FAIRYSOLDIER,{
mes "[Exhausted Soldier]";
mes "Ahh! Feeling much better!";
emotion e_heh;
- delitem 6082,1; //Spirit_Of_Alfheim
+ delitem Spirit_Of_Alfheim,1;
close2;
donpcevent "#tukare_1::OnEnable";
disablenpc "Exhausted Soldier#1";
@@ -5841,7 +5841,7 @@ OnTimer60000:
splendide,181,135,5 script Exhausted Soldier#2 4_M_FAIRYSOLDIER,{
if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) {
if (ep13_2_tre1 == 5) {
- if (countitem(6082) > 0) {
+ if (countitem(Spirit_Of_Alfheim) > 0) {
mes "[Exhausted Soldier]";
mes "Want to take a rest...";
next;
@@ -5855,7 +5855,7 @@ splendide,181,135,5 script Exhausted Soldier#2 4_M_FAIRYSOLDIER,{
mes "Feel better suddenly! I'm so happy now!";
mes "Let's go to work!";
emotion e_heh;
- delitem 6082,1; //Spirit_Of_Alfheim
+ delitem Spirit_Of_Alfheim,1;
close2;
donpcevent "#tukare_2::OnEnable";
disablenpc "Exhausted Soldier#2";
@@ -5898,7 +5898,7 @@ OnTimer60000:
splendide,139,178,5 script Exhausted Soldier#3 4_M_FAIRYSOLDIER,{
if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) {
if (ep13_2_tre1 == 5) {
- if (countitem(6082) > 0) {
+ if (countitem(Spirit_Of_Alfheim) > 0) {
mes "[Exhausted Soldier]";
mes "My hometown Alfheim...";
next;
@@ -5915,7 +5915,7 @@ splendide,139,178,5 script Exhausted Soldier#3 4_M_FAIRYSOLDIER,{
mes "[Exhausted Soldier]";
mes "Let's beat Sapha and go back home!";
emotion e_heh;
- delitem 6082,1; //Spirit_Of_Alfheim
+ delitem Spirit_Of_Alfheim,1;
close2;
donpcevent "#tukare_3::OnEnable";
disablenpc "Exhausted Soldier#3";
@@ -5958,7 +5958,7 @@ OnTimer60000:
splendide,164,188,5 script Exhausted Soldier#4 4_M_FAIRYSOLDIER,{
if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) {
if (ep13_2_tre1 == 5) {
- if (countitem(6082) > 0) {
+ if (countitem(Spirit_Of_Alfheim) > 0) {
mes "[Exhausted Soldier]";
mes "Huu...";
next;
@@ -5975,7 +5975,7 @@ splendide,164,188,5 script Exhausted Soldier#4 4_M_FAIRYSOLDIER,{
mes "[Exhausted Soldier]";
mes "Ahh! Feels like at home!!";
emotion e_sob;
- delitem 6082,1; //Spirit_Of_Alfheim
+ delitem Spirit_Of_Alfheim,1;
close2;
donpcevent "#tukare_4::OnEnable";
disablenpc "Exhausted Soldier#4";
@@ -6018,7 +6018,7 @@ OnTimer60000:
splendide,177,257,5 script Exhausted Soldier#5 4_M_FAIRYSOLDIER,{
if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) {
if (ep13_2_tre1 == 5) {
- if (countitem(6082) > 0) {
+ if (countitem(Spirit_Of_Alfheim) > 0) {
mes "[Exhausted Soldier]";
mes "Oh my hometown...";
next;
@@ -6035,7 +6035,7 @@ splendide,177,257,5 script Exhausted Soldier#5 4_M_FAIRYSOLDIER,{
mes "[Exhausted Soldier]";
mes "Ahh! Feeling much better!";
emotion e_heh;
- delitem 6082,1; //Spirit_Of_Alfheim
+ delitem Spirit_Of_Alfheim,1;
close2;
donpcevent "#tukare_5::OnEnable";
disablenpc "Exhausted Soldier#5";
@@ -6078,7 +6078,7 @@ OnTimer60000:
splendide,124,212,5 script Exhausted Soldier#6 4_M_FAIRYSOLDIER,{
if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) {
if (ep13_2_tre1 == 5) {
- if (countitem(6082) > 0) {
+ if (countitem(Spirit_Of_Alfheim) > 0) {
mes "[Exhausted Soldier]";
mes "Huu...";
next;
@@ -6095,7 +6095,7 @@ splendide,124,212,5 script Exhausted Soldier#6 4_M_FAIRYSOLDIER,{
mes "Yes, Splendide also a part of Alfheim!";
mes "Go Laphines!";
emotion e_heh;
- delitem 6082,1; //Spirit_Of_Alfheim
+ delitem Spirit_Of_Alfheim,1;
close2;
donpcevent "#tukare_6::OnEnable";
disablenpc "Exhausted Soldier#6";
@@ -6138,7 +6138,7 @@ OnTimer60000:
splendide,196,153,5 script Exhausted Soldier#7 4_M_FAIRYSOLDIER,{
if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) {
if (ep13_2_tre1 == 5) {
- if (countitem(6082) > 0) {
+ if (countitem(Spirit_Of_Alfheim) > 0) {
mes "[Exhausted Soldier]";
mes "Oh my hometown...";
next;
@@ -6155,7 +6155,7 @@ splendide,196,153,5 script Exhausted Soldier#7 4_M_FAIRYSOLDIER,{
mes "[Exhausted Soldier]";
mes "Ahh! Feeling much better!";
emotion e_heh;
- delitem 6082,1; //Spirit_Of_Alfheim
+ delitem Spirit_Of_Alfheim,1;
close2;
donpcevent "#tukare_7::OnEnable";
disablenpc "Exhausted Soldier#7";
@@ -6197,7 +6197,7 @@ OnTimer60000:
//== Secret note of Bazett :: ep13_2_dailybs ===============
mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Hold on!! -";
mes " - You are carrying too many different items - ";
mes " - You cannot receive the reward - ";
@@ -6495,7 +6495,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
ep13_2_bs2 = 1;
ep13_2_bs3 = 1;
ep13_2_bs4 = 1;
- getitem 6074,1; //Bazett's_Order
+ getitem Bazett's_Order,1;
changequest 11101,11102;
close;
}
@@ -6503,7 +6503,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
mes "[Bazett]";
mes "How's the search going?";
next;
- if (countitem(6074) < 1) {
+ if (countitem(Bazett's_Order) < 1) {
mes "[Bazett]";
mes "!!!!!!!";
mes "You lost the notes!!?";
@@ -6512,7 +6512,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
mes "[Bazett]";
mes "What's done has been done.";
mes "I'll give you a new one.";
- getitem 6074,1; //Bazett's_Order
+ getitem Bazett's_Order,1;
close;
}
else {
@@ -6527,7 +6527,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
next;
switch(select("Yes.:Not yet...")) {
case 1:
- if (countitem(6074) < 1) {
+ if (countitem(Bazett's_Order) < 1) {
mes "[Bazett]";
mes "!!!!!!!";
mes "You lost the notes!!?";
@@ -6570,12 +6570,12 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
mes "[Bazett]";
mes "Ah... this isn't much, but it's a coin that the giants use.";
mes "Maybe you can buy something from them with this.";
- delitem 6074,1; //Bazett's_Order
+ delitem Bazett's_Order,1;
ep13_2_busut = 7;
- if (ep13_2_bs1 == 3) getitem 6080,1; //Manuk_Coin
- if (ep13_2_bs2 == 3) getitem 6080,1; //Manuk_Coin
- if (ep13_2_bs3 == 3) getitem 6080,1; //Manuk_Coin
- if (ep13_2_bs4 == 3) getitem 6080,1; //Manuk_Coin
+ if (ep13_2_bs1 == 3) getitem Manuk_Coin,1;
+ if (ep13_2_bs2 == 3) getitem Manuk_Coin,1;
+ if (ep13_2_bs3 == 3) getitem Manuk_Coin,1;
+ if (ep13_2_bs4 == 3) getitem Manuk_Coin,1;
erasequest 11102;
setquest 11104;
close;
@@ -6683,7 +6683,7 @@ manuk,193,135,0 script Worker#ep13bs 4_MAN_PIOM,{
close;
}
else if (ep13_2_bs1 == 2) {
- if (countitem(6032) > 29) {
+ if (countitem(Horn_Of_Hilsrion) > 29) {
mes "[Gill]";
mes "You helped me collect all of the Horns of Hillslion?";
mes "Thank you so much.";
@@ -6691,7 +6691,7 @@ manuk,193,135,0 script Worker#ep13bs 4_MAN_PIOM,{
mes "[Gill]";
mes "It's all because of you, we are able to prevent anything disastrous.";
mes "^0000FFEven though you're also an alien race, but compared to the vile fairies^000000, I'm glad to have met someone like "+strcharinfo(0)+".";
- delitem 6032,30; //Horn_Of_Hilsrion
+ delitem Horn_Of_Hilsrion,30;
ep13_2_bs1 = 3;
ep13_2_busut = 4;
completequest 11105;
@@ -6805,7 +6805,7 @@ manuk,193,135,0 script Worker#ep13bs 4_MAN_PIOM,{
close;
}
else if (ep13_2_bs1 == 2) {
- if (countitem(6032) > 29) {
+ if (countitem(Horn_Of_Hilsrion) > 29) {
mes "[Gill]";
mes "You helped me collect all of the Horns of Hillslion?";
mes "Thank you so much.";
@@ -6813,7 +6813,7 @@ manuk,193,135,0 script Worker#ep13bs 4_MAN_PIOM,{
mes "[Gill]";
mes "It's all because of you, we are able to prevent anything disastrous.";
mes "^0000FFEven though you're also an alien race, but compared to the vile fairies^000000, I'm glad to have met someone like "+strcharinfo(0)+".";
- delitem 6032,30; //Horn_Of_Hilsrion
+ delitem Horn_Of_Hilsrion,30;
ep13_2_bs1 = 3;
completequest 11105;
close;
diff --git a/npc/quests/quests_airship.txt b/npc/quests/quests_airship.txt
index c402950ee..58051f9cb 100644
--- a/npc/quests/quests_airship.txt
+++ b/npc/quests/quests_airship.txt
@@ -408,7 +408,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
mes "^3355FFYou better fulfill Kain's request to find his wife's journal in Einbech before you speak to him again.^000000";
close;
} else if (kain_ticket == 14) {
- if (countitem(7276)==1) {
+ if (countitem(Picture_Letter)==1) {
mes "^3355FFYou gave Kain his wife's journal and told him that Tarsha really is is daughter, and currently has a job in Einbech.^000000";
next;
mes "^3355FFKain's eyes welled with tears as he trembled with joy.^000000";
@@ -534,7 +534,7 @@ OnTouch:
close;
} else if (kain_ticket == 13) {
next;
- if (checkweight(7276,1) == 0) {
+ if (checkweight(Picture_Letter,1) == 0) {
mes "[Elle Cherno]";
mes "Hey! I have something to give you, but you have too much stuff already. Will you come back later?";
close;
@@ -553,7 +553,7 @@ OnTouch:
mes "in your hand.^000000";
changequest 2084,2085;
kain_ticket = 14;
- getitem 7276, 1; //Picture_Letter
+ getitem Picture_Letter, 1;
close;
}
}
@@ -2250,7 +2250,7 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{
cutin "",255;
end;
} else if (lght_air == 3) {
- if (countitem(7340) >= 2 && countitem(576) >= 2) {
+ if (countitem(Will_Of_Darkness) >= 2 && countitem(Prickly_Fruit) >= 2) {
delitem 7340, 2;
delitem 576, 2;
changequest 8033,8034;
@@ -2504,7 +2504,7 @@ airplane,236,63,4 script Hallen 4_M_KID1,{
mes "I do. You and me, we're";
mes "on the same wavelength~";
next;
- if (checkweight(501,1) != 1) {
+ if (checkweight(Red_Potion,1) != 1) {
mes "[Hallen]";
mes "Oh... Hey, I was";
mes "going to give you";
@@ -2693,7 +2693,7 @@ airplane,236,63,4 script Hallen 4_M_KID1,{
mes "the trouble of learning that";
mes "secret information for me...";
next;
- if (checkweight(501,1) != 1) {
+ if (checkweight(Red_Potion,1) != 1) {
mes "[Hallen]";
mes "Aw, nuts...";
mes "You don't have";
diff --git a/npc/quests/quests_alberta.txt b/npc/quests/quests_alberta.txt
index 1feff6397..40a450cc2 100644
--- a/npc/quests/quests_alberta.txt
+++ b/npc/quests/quests_alberta.txt
@@ -46,7 +46,7 @@
//== Doll Quest ============================================
alberta,117,135,0 script Elin 4W_KID,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Elin]";
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
@@ -95,8 +95,8 @@ alberta,117,135,0 script Elin 4W_KID,{
next;
switch(select("Poring Doll:Chonchon Doll:Puppet:Rocker Doll:Spore Doll:Osiris Doll:Baphomet Doll:Raccoon Doll:Yoyo Doll:I'm as adorable as a doll.")) {
case 1:
- if (countitem(741) >= 1) {
- delitem 741,1; //Poring_Doll
+ if (countitem(Poring_Doll) >= 1) {
+ delitem Poring_Doll,1;
mes "[Elin]";
mes "Aww...";
mes "I have a lot";
@@ -112,7 +112,7 @@ alberta,117,135,0 script Elin 4W_KID,{
mes "[Elin]";
mes "Ooh, let me give you something as a little thank you. You see, I hid some candy so I can eat it without telling mommy.";
next;
- getitem 529,1; //Candy
+ getitem Candy,1;
mes "[Elin]";
if (Sex == 1) {
mes "I don't know if you're too old to like candy, but I guess it's okay.";
@@ -140,8 +140,8 @@ alberta,117,135,0 script Elin 4W_KID,{
close;
}
case 2:
- if (countitem(742) >= 1) {
- delitem 742,1; //Chonchon_Doll
+ if (countitem(Chonchon_Doll) >= 1) {
+ delitem Chonchon_Doll,1;
mes "[Elin]";
mes "Agh--!";
mes "A Ch-Ch, Chonchon doll?!";
@@ -158,7 +158,7 @@ alberta,117,135,0 script Elin 4W_KID,{
mes "Let me give you";
mes "something in return...";
next;
- getitem 530,1; //Candy_Striper
+ getitem Candy_Striper,1;
mes "[Elin]";
mes "If you eat too much, your teeth will start to rot... at least, that's what Mommy says.";
next;
@@ -177,8 +177,8 @@ alberta,117,135,0 script Elin 4W_KID,{
close;
}
case 3:
- if (countitem(740) >= 1) {
- delitem 740,1; //Stuffed_Doll
+ if (countitem(Stuffed_Doll) >= 1) {
+ delitem Stuffed_Doll,1;
mes "[Elin]";
mes "Wow...!";
mes "It looks like a bunny!";
@@ -193,7 +193,7 @@ alberta,117,135,0 script Elin 4W_KID,{
mes "Um, where";
mes "did it... Ah!";
next;
- getitem 530,1; //Candy_Striper
+ getitem Candy_Striper,1;
mes "[Elin]";
mes "Here it is! It's some of the candy Santa gave me. Go ahead and try some! Oh, and thank you so much for the doll!";
close;
@@ -209,8 +209,8 @@ alberta,117,135,0 script Elin 4W_KID,{
close;
}
case 4:
- if (countitem(752) >= 1) {
- delitem 752,1; //Grasshopper_Doll
+ if (countitem(Grasshopper_Doll) >= 1) {
+ delitem Grasshopper_Doll,1;
mes "[Elin]";
mes "Ooh! Rocker Doll!";
mes "It's the Rocker that likes singing and dancing! I don't like grasshoppers, but I like this because it's cute~";
@@ -218,7 +218,7 @@ alberta,117,135,0 script Elin 4W_KID,{
mes "[Elin]";
mes "Hmmm, I should give you something too, huh? Let's see, I have what my grandpa gave me...";
next;
- getitem 532,7; //Banana_Juice
+ getitem Banana_Juice,7;
mes "[Elin]";
mes "Here you go! We have a lot of this at home, so I'll give it to you, okay? Oh, and thank you so much for the doll~ I love cute dolls!";
close;
@@ -233,8 +233,8 @@ alberta,117,135,0 script Elin 4W_KID,{
close;
}
case 5:
- if (countitem(743) >= 1) {
- delitem 743,1; //Spore_Doll
+ if (countitem(Spore_Doll) >= 1) {
+ delitem Spore_Doll,1;
mes "[Elin]";
mes "It's a mushroom?";
mes "Ewwwwwwwww, yucky!";
@@ -244,7 +244,7 @@ alberta,117,135,0 script Elin 4W_KID,{
mes "[Elin]";
mes "But this doll is cute, so I'll take it. But I'm still not gonna eat mushrooms! Heh heh~";
next;
- getitem 538,5; //Well_Baked_Cookie
+ getitem Well_Baked_Cookie,5;
mes "[Elin]";
mes "Hehe~ My mommy made this! It's really yummy. I love cookies, too. So try it, you'll like it! Hee hee!";
next;
@@ -267,8 +267,8 @@ alberta,117,135,0 script Elin 4W_KID,{
close;
}
case 6:
- if (countitem(751) >= 1) {
- delitem 751,1; //Osiris_Doll
+ if (countitem(Osiris_Doll) >= 1) {
+ delitem Osiris_Doll,1;
mes "[Elin]";
mes "Ahhhhh!";
mes "What is this";
@@ -280,7 +280,7 @@ alberta,117,135,0 script Elin 4W_KID,{
mes "[Elin]";
mes "Here, since you gave me such a nicely made doll, I better give you something good too.";
next;
- getitem 522,2; //Fruit_Of_Mastela
+ getitem Fruit_Of_Mastela,2;
mes "[Elin]";
mes "I found it when I secretly went to the forest. I took it because it has pretty colors!";
if (Sex == 1) {
@@ -297,8 +297,8 @@ alberta,117,135,0 script Elin 4W_KID,{
close;
}
case 7:
- if (countitem(750) >= 1) {
- delitem 750,1; //Baphomet_Doll
+ if (countitem(Baphomet_Doll) >= 1) {
+ delitem Baphomet_Doll,1;
mes "[Elin]";
mes "Huh?";
mes "It's a little goat...";
@@ -306,7 +306,7 @@ alberta,117,135,0 script Elin 4W_KID,{
mes "[Elin]";
mes "It's so weird. It's cute but it's also scary at the same time. Well, since you gave me a pretty doll, I wanna give you something, too.";
next;
- getitem 525,5; //Panacea
+ getitem Panacea,5;
mes "[Elin]";
mes "My daddy gave me this when I was really sick. I'm not sick anymore so you can use it when you need to. Hehehe~";
next;
@@ -321,8 +321,8 @@ alberta,117,135,0 script Elin 4W_KID,{
close;
}
case 8:
- if (countitem(754) >= 1) {
- delitem 754,1; //Raccoondog_Doll
+ if (countitem(Raccoondog_Doll) >= 1) {
+ delitem Raccoondog_Doll,1;
mes "[Elin]";
mes "Hehe, it's a";
mes "raccoon doll.";
@@ -333,7 +333,7 @@ alberta,117,135,0 script Elin 4W_KID,{
mes "Smokies in real life,";
mes "but this doll is nice!";
next;
- getitem 539,3; //Piece_Of_Cake
+ getitem Piece_Of_Cake,3;
mes "[Elin]";
mes "Here, let me give you some cake my grandma made. It's really yummy. I don't know if you like sweets or not, but it's really good! Please try some!";
next;
@@ -349,8 +349,8 @@ alberta,117,135,0 script Elin 4W_KID,{
close;
}
case 9:
- if (countitem(753) >= 1) {
- delitem 753,1; //Monkey_Doll
+ if (countitem(Monkey_Doll) >= 1) {
+ delitem Monkey_Doll,1;
mes "[Elin]";
mes "Woooooooow~!";
next;
@@ -363,7 +363,7 @@ alberta,117,135,0 script Elin 4W_KID,{
mes "I wanna give you";
mes "something, too!";
next;
- getitem 608,1; //Seed_Of_Yggdrasil
+ getitem Seed_Of_Yggdrasil,1;
mes "[Elin]";
mes "My daddy picked it up on his way to another town. It looks like some kind of seed. I tried planting it in front of our house but it won't grow. Do you want to try?";
next;
@@ -406,7 +406,7 @@ alberta_in,28,145,4 script Grampa 2_M_PHARMACIST,{
mes "[Grampa]";
mes "But my soul still burns with youthful vigor! It's just... This old body can't keep up anymore... *Hack! Wheeeeze~*";
next;
- if (countitem(1030) > 9) {
+ if (countitem(Tiger_Footskin) > 9) {
switch(select("Show him Tiger's Footskin.:Exchange it with Boys Cap.:Cancel")) {
case 1:
mes "[Grampa]";
@@ -423,8 +423,8 @@ alberta_in,28,145,4 script Grampa 2_M_PHARMACIST,{
mes "Will revive my virility!!!! The Tiger's Footskin~!! Ohhhh! Ohh My God !! Please!!! Please give me that... Please...";
close;
case 2:
- delitem 1030,10; //Tiger_Footskin
- getitem 5016,1; //Boy's_Cap
+ delitem Tiger_Footskin,10;
+ getitem Boy's_Cap,1;
mes "[Grampa]";
mes "T... Thank you !!";
mes "With this I can revive my youthful splendor!! I must eat this thing right away !";
@@ -492,12 +492,12 @@ alberta_in,122,53,4 script Cherokee 1_M_01,{
next;
switch(select("Okay, let's deal.:Shut up, Dumbo.")) {
case 1:
- if (countitem(923) > 19) {
- delitem 923,20; //Evil_Horn
+ if (countitem(Evil_Horn) > 19) {
+ delitem Evil_Horn,20;
mes "[Cherokee]";
mes "Whoah~! This is the first time I've ever seen a real ^FF3355Evil Horn^000000!!";
mes "Thank you! Here, this is my Antler for you!";
- getitem 2284,1; // Antler
+ getitem Antler,1; // Antler
next;
mes "[Cherokee]";
mes "With your great help, I can make my wish come true this time. Finally, I'll be recognized as a serious horn collector. I appreciate this~!";
@@ -518,7 +518,7 @@ alberta_in,122,53,4 script Cherokee 1_M_01,{
//== 'Bao Bao', 'Crescent Hairpin', 'Fashionable Glasses', 'Heart Hairpin' Quest =
alberta,120,53,1 script Stylish Merchant#new30 1_M_BARD,{
- if ((countitem(10007) > 0) && (countitem(968) > 49)) {
+ if ((countitem(Silk_Ribbon) > 0) && (countitem(Voucher_Of_Orcish_Hero) > 49)) {
mes "[Zic]";
mes "I know I know, you just want to get a Bao Bao of your own. But I can't concentrate on my work if you keep rushing me like this.";
next;
@@ -526,16 +526,16 @@ alberta,120,53,1 script Stylish Merchant#new30 1_M_BARD,{
mes "*Ah! Kek! Smash!*";
mes "*Boom Boom!*^000000";
next;
- delitem 10007,1; //Silk_Ribbon
- delitem 968,50; //Voucher_Of_Orcish_Hero
+ delitem Silk_Ribbon,1;
+ delitem Voucher_Of_Orcish_Hero,50;
mes "[Zic]";
mes "Phew!";
mes "There you go~!";
mes "Now make good use of it!!";
- getitem 5042,1; // Hair_Protector
+ getitem Hair_Protector,1; // Hair_Protector
close;
}
- else if((countitem(5041) > 0) && (countitem(999) > 9)) {
+ else if((countitem(Heart_Hair_Pin) > 0) && (countitem(Steel) > 9)) {
mes "[Zic]";
mes "Alright alright! Gosh, your Crescent Hairpin will be ready in a bit, but I can't concentrate my work if you keep rushing me like this!";
next;
@@ -543,18 +543,18 @@ alberta,120,53,1 script Stylish Merchant#new30 1_M_BARD,{
mes "*Ah! Kek! Smash!*";
mes "*Boom Boom!*^000000";
next;
- delitem 5041,1; //Heart_Hair_Pin
- delitem 999,10; //Steel
+ delitem Heart_Hair_Pin,1;
+ delitem Steel,10;
mes "[Zic]";
mes "Phew!";
mes "It's done~!";
mes "Now wear it and";
mes "look pretty or";
mes "something, yeah?";
- getitem 5048,1; // First_Moon_Hair_Pin
+ getitem First_Moon_Hair_Pin,1; // First_Moon_Hair_Pin
close;
}
- else if((countitem(2271) > 0) && (countitem(975) > 0)) {
+ else if((countitem(Jack_A_Dandy) > 0) && (countitem(Scarlet_Dyestuffs) > 0)) {
mes "[Zic]";
mes "Yeah yeah, you came for your Fashionable Glasses. Just don't rush me, or I won't be able to concentrate on my work, alright?";
next;
@@ -562,15 +562,15 @@ alberta,120,53,1 script Stylish Merchant#new30 1_M_BARD,{
mes "*Ah! Kek! Smash!*";
mes "*Boom Boom!*^000000";
next;
- delitem 2271,1; //Jack_A_Dandy
- delitem 975,1; //Scarlet_Dyestuffs
+ delitem Jack_A_Dandy,1;
+ delitem Scarlet_Dyestuffs,1;
mes "[Zic]";
mes "Phew, it's done!";
mes "Now go wear these and look, well, as fashionable as these glasses, I guess.";
- getitem 5047,1; // Fashion_Sunglass
+ getitem Fashion_Sunglass,1; // Fashion_Sunglass
close;
}
- else if(countitem(7013) > 1199){
+ else if(countitem(Coral_Reef) > 1199){
mes "[Zic]";
mes "Okay okay, you want your Heart hairpin, I'm working on it. Yeesh, I can't concentrate at all if you try to rush me, you know?";
next;
@@ -578,13 +578,13 @@ alberta,120,53,1 script Stylish Merchant#new30 1_M_BARD,{
mes "*Ah! Kek! Smash!*";
mes "*Boom Boom!*^000000";
next;
- delitem 7013,1200; //Coral_Reef
+ delitem Coral_Reef,1200;
mes "[Zic]";
mes "Phew~!";
mes "Finally, it's done!";
mes "Make me happy and";
mes "wear it with pride~";
- getitem 5041,1; // Heart_Hair_Pin
+ getitem Heart_Hair_Pin,1; // Heart_Hair_Pin
close;
}
else {
@@ -661,12 +661,12 @@ alberta,136,79,1 script Hat store girl#new30 1_F_LIBRARYGIRL,{
next;
switch(select("Let me treat you to a Yellow Potion.:What, you expect me to give you one?!")) {
case 1:
- if (countitem(503) > 0){
+ if (countitem(Yellow_Potion) > 0){
mes "[Tempestra]";
mes "Ah, thank you so much. I'm so glad to have met a friendly person like yourself.";
next;
mes "^3355FF*Gulp, gulp*^000000";
- delitem 503,1; //Yellow_Potion
+ delitem Yellow_Potion,1;
next;
mes "[Tempestra]";
mes "Hyaaaaaa~~!!!";
@@ -701,7 +701,7 @@ alberta,136,79,1 script Hat store girl#new30 1_F_LIBRARYGIRL,{
mes "^0000FF1 Slotted Cap^000000";
mes "^0000FF600 Soft feather^000000";
next;
- if ((countitem(1059) > 249) && (countitem(2221) > 0) && (countitem(2227) > 0) && (countitem(7063) > 599)) {
+ if ((countitem(Transparent_Cloth) > 249) && (countitem(Hat_) > 0) && (countitem(Cap_) > 0) && (countitem(Soft_Feather) > 599)) {
mes "[Tempestra]";
mes "What?!? ";
mes "You have all the items already? If there are forged items or slotted items with monster cards, then put them into your storage.";
@@ -719,14 +719,14 @@ alberta,136,79,1 script Hat store girl#new30 1_F_LIBRARYGIRL,{
next;
mes "^3355FF*Beeeeeeeh~~~*^000000";
next;
- delitem 1059,250; //Transparent_Cloth
- delitem 2221,1; //Hat_
- delitem 2227,1; //Cap_
- delitem 7063,600; //Soft_Feather
+ delitem Transparent_Cloth,250;
+ delitem Hat_,1;
+ delitem Cap_,1;
+ delitem Soft_Feather,600;
mes "[Tempestra]";
mes "Here it is, tee hee~";
mes "How about that? Do you like it?";
- getitem 5032,1; //Picnic_Hat
+ getitem Picnic_Hat,1;
next;
mes "[Tempestra]";
mes "Once again, thank you for your favour. I'll see you later~";
@@ -765,7 +765,7 @@ alberta,136,79,1 script Hat store girl#new30 1_F_LIBRARYGIRL,{
mes "^0000FF50 Mould Powder^000000";
mes "^0000FF1 Elder Wilow Card^000000";
next;
- if ((countitem(2252) > 0) && (countitem(1036) > 399) && (countitem(4052) > 0) && (countitem(7001) > 49)) {
+ if ((countitem(Star_Sparkling) > 0) && (countitem(Dragon_Scale) > 399) && (countitem(Elder_Wilow_Card) > 0) && (countitem(Mould_Powder) > 49)) {
mes "[Tempestra]";
mes "What?!? ";
mes "You have all the items already? If there are forged items or slotted items with monster cards, then put them into your storage.";
@@ -783,15 +783,15 @@ alberta,136,79,1 script Hat store girl#new30 1_F_LIBRARYGIRL,{
next;
mes "^3355FF*Beeeeeeeh~~~*^000000";
next;
- delitem 2252,1; //Star_Sparkling
- delitem 1036,400; //Dragon_Scale
- delitem 4052,1; //Elder_Wilow_Card
- delitem 7001,50; //Mould_Powder
+ delitem Star_Sparkling,1;
+ delitem Dragon_Scale,400;
+ delitem Elder_Wilow_Card,1;
+ delitem Mould_Powder,50;
mes "[Tempestra]";
mes "Here it is, tee hee~";
mes "How about that?";
mes "Do you like it?";
- getitem 5027,1; //Wizardry_Hat
+ getitem Wizardry_Hat,1;
next;
mes "[Tempestra]";
mes "Once again, thank you for your favour. I'll see you later~";
@@ -829,7 +829,7 @@ alberta,136,79,1 script Hat store girl#new30 1_F_LIBRARYGIRL,{
mes "^0000FF450 Ancient Lips^000000";
mes "^0000FF1200 Solid Shell^000000";
next;
- if ((countitem(2252) > 0) && (countitem(1054) > 449) && (countitem(943) > 1199)) {
+ if ((countitem(Star_Sparkling) > 0) && (countitem(Lip_Of_Ancient_Fish) > 449) && (countitem(Solid_Shell) > 1199)) {
mes "[Tempestra]";
mes "What?!? ";
mes "You have all the items already?";
@@ -848,14 +848,14 @@ alberta,136,79,1 script Hat store girl#new30 1_F_LIBRARYGIRL,{
next;
mes "^3355FF*Beeeeeeeh~~~*^000000";
next;
- delitem 2252,1; //Star_Sparkling
- delitem 1054,450; //Lip_Of_Ancient_Fish
- delitem 943,1200; //Solid_Shell
+ delitem Star_Sparkling,1;
+ delitem Lip_Of_Ancient_Fish,450;
+ delitem Solid_Shell,1200;
mes "[Tempestra]";
mes "Here it is, tee hee~";
mes "How about that?";
mes "Do you like it?";
- getitem 5045,1; //Magician_Hat
+ getitem Magician_Hat,1;
next;
mes "[Tempestra]";
mes "Once again, thank you for your favour. I'll see you later~";
@@ -889,7 +889,7 @@ alberta,136,79,1 script Hat store girl#new30 1_F_LIBRARYGIRL,{
mes "[Tempestra]";
mes "I want to make something special for you because you showed me such kindness, but I don't have anything like that right now.";
next;
- if ((countitem(7086) > 0) && (countitem(969) > 9) && (countitem(999) > 39) && (countitem(1003) > 49) && (countitem(984) > 1)) {
+ if ((countitem(Symbol_Of_Sun) > 0) && (countitem(Gold) > 9) && (countitem(Steel) > 39) && (countitem(Coal) > 49) && (countitem(Oridecon) > 1)) {
mes "[Tempestra]";
mes "Hmm...";
mes "I think I can make a special item from the items you already have.";
@@ -901,18 +901,18 @@ alberta,136,79,1 script Hat store girl#new30 1_F_LIBRARYGIRL,{
mes "Heh heh...";
mes "I think I'll make you a Hat of the Sun God~";
next;
- delitem 7086,1; //Symbol_Of_Sun
- delitem 969,10; //Gold
- delitem 999,40; //Steel
- delitem 1003,50; //Coal
- delitem 984,2; //Oridecon
+ delitem Symbol_Of_Sun,1;
+ delitem Gold,10;
+ delitem Steel,40;
+ delitem Coal,50;
+ delitem Oridecon,2;
mes "[Tempestra]";
mes "See! Here it is!!";
mes "Haha, I made this quicker than the speed of light!";
next;
mes "[Tempestra]";
mes "...Or maybe I just gave you the one I already had, and took your items. Hee hee!";
- getitem 5022,1; // Helm_Of_Sun
+ getitem Helm_Of_Sun,1; // Helm_Of_Sun
next;
mes "[Tempestra]";
mes "Anyway, I justed want to give something really nice to you...";
@@ -1546,18 +1546,18 @@ tur_dun01,160,81,4 script Skull Stone#tur HIDDEN_NPC,{
TURTLE = 0;
switch(rand(1,3)) {
case 1:
- getitem 532,5; //Banana_Juice
+ getitem Banana_Juice,5;
mes "^3355FFYou've gained^000000";
mes "^3355FF5 Banana Juice^000000";
close;
case 2:
- getitem 513,5; //Banana
+ getitem Banana,5;
mes "^3355FFYou've gained^000000";
mes "^3355FF5 Banana^000000";
close;
case 3:
- getitem 513,5; //Banana
- getitem 532,5; //Banana_Juice
+ getitem Banana,5;
+ getitem Banana_Juice,5;
mes "^3355FFYou've gained^000000";
mes "^3355FF5 Banana and^000000";
mes "^3355FF5 Banana Juice^000000";
@@ -1726,52 +1726,52 @@ tur_dun02,49,158,4 script Turtle Pillar#tur HIDDEN_NPC,{
TURTLE = 0;
switch(rand(1,10)) {
case 1:
- getitem 702,1; //Animal_Blood
+ getitem Animal_Blood,1;
mes "^3355FFYou've gained ^000000";
mes "^3355FFAnimal Gore.^000000";
close;
case 2:
- getitem 716,1; //Red_Gemstone
+ getitem Red_Gemstone,1;
mes "^3355FFYou've gained^000000";
mes "^3355FFa Red Gemstone.^000000";
close;
case 3:
- getitem 734,1; //Red_Frame
+ getitem Red_Frame,1;
mes "^3355FFYou've gained^000000";
mes "^3355FFa Red Frame^000000";
close;
case 4:
- getitem 10019,1; //Red_Muffler
+ getitem Red_Muffler,1;
mes "^3355FFYou've gained^000000";
mes "^3355FFRed Scarf.^000000";
close;
case 5:
- getitem 725,1; //Red_Jewel
+ getitem Red_Jewel,1;
mes "^3355FFYou've gained^000000";
mes "^3355FFa Sardonyx.^000000";
close;
case 6:
- getitem 716,1; //Red_Gemstone
+ getitem Red_Gemstone,1;
mes "^3355FFYou've gained^000000";
mes "^3355FFa Red Gemstone.^000000";
close;
case 7:
- getitem 716,1; //Red_Gemstone
+ getitem Red_Gemstone,1;
mes "^3355FFYou've gained^000000";
mes "^3355FFa Red Gemstone.^000000";
close;
case 8:
- getitem 716,1; //Red_Gemstone
+ getitem Red_Gemstone,1;
mes "^3355FFYou've gained^000000";
mes "^3355FFa Red Gemstone.^000000";
close;
case 9:
- getitem 716,1; //Red_Gemstone
+ getitem Red_Gemstone,1;
mes "^3355FFYou've gained^000000";
mes "^3355FFa Red Gemstone.^000000";
close;
case 10:
- getitem 725,1; //Red_Jewel
+ getitem Red_Jewel,1;
mes "^3355FFYou've gained^000000";
mes "^3355FFa Sardonyx.^000000";
close;
@@ -1955,32 +1955,32 @@ tur_dun04,113,178,4 script Turtle Statue#tur HIDDEN_NPC,{
if (rand(1,20) == 7) {
switch(rand(1,4)) {
case 1:
- getitem 644,1; //Gift_Box
+ getitem Gift_Box,1;
mes "^3355FFInside the drawer,";
mes "is a Gift Box. This";
mes "Gift Box is now yours.^000000";
close;
case 2:
- getitem 616,1; //Old_Card_Album
+ getitem Old_Card_Album,1;
mes "^3355FFInside the drawer,";
mes "is an Old Card Album.";
mes "It is now yours to keep.^000000";
close;
case 3:
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
mes "^3355FFInside the drawer,";
mes "is an Old Purple Box.";
mes "It is now yours to keep.^000000";
close;
case 4:
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
mes "^3355FFInside the drawer,";
mes "is an Old Purple Box.";
mes "It is now yours to keep.^000000";
close;
}
}
- getitem 604,1; //Branch_Of_Dead_Tree
+ getitem Branch_Of_Dead_Tree,1;
mes "^3355FFInside the drawer,";
mes "is a Dead Branch.";
mes "It is now yours to keep.^000000";
@@ -2650,7 +2650,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
mes "I should stay at home.";
close;
}
- if ((ep13_2_hiki == 6) && (countitem(528) > 0) && (countitem(501) > 0)) {
+ if ((ep13_2_hiki == 6) && (countitem(Monster's_Feed) > 0) && (countitem(Red_Potion) > 0)) {
mes "[Iromo]";
mes "...Huh? This smell...";
mes "This is the one I like the most.";
@@ -2687,8 +2687,8 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
mes "I like cats so I approached him.";
mes "Then suddenly he scratched and bit me.";
next;
- delitem 528,1; //Monster's_Feed
- delitem 501,1; //Red_Potion
+ delitem Monster's_Feed,1;
+ delitem Red_Potion,1;
ep13_2_hiki = 7;
changequest 10083,10084;
getexp RENEWAL_EXP?3750:37500,0;
@@ -2899,7 +2899,7 @@ alberta,45,106,5 script Little Boy#ep3_2 4_M_KID1,{
mes "I love Bananas~~!";
close;
}
- if ((ep13_2_hiki == 4) && (countitem(513) > 0)) {
+ if ((ep13_2_hiki == 4) && (countitem(Banana) > 0)) {
mes "[Little Boy]";
mes "Huh? What a delicious smell!";
mes "You brought me Bananas!";
@@ -2914,7 +2914,7 @@ alberta,45,106,5 script Little Boy#ep3_2 4_M_KID1,{
mes "[Little Boy]";
mes "Yum Yum...";
next;
- delitem 513,1; //Banana
+ delitem Banana,1;
ep13_2_hiki = 5;
changequest 10081,10082;
mes "[Little Boy]";
diff --git a/npc/quests/quests_aldebaran.txt b/npc/quests/quests_aldebaran.txt
index 876f1b4db..ae088e720 100644
--- a/npc/quests/quests_aldebaran.txt
+++ b/npc/quests/quests_aldebaran.txt
@@ -58,17 +58,17 @@ aldeba_in,152,166,4 script Trader#01 4_M_04,{
next;
switch(select(" Doctor Band : Feather Bonnet : Phantom of Opera : Sakkat ")) {
case 1:
- if ((countitem(2275) > 0) && (countitem(998) > 49) && (countitem(733) > 0) && (Zeny > 3499)) {
- delitem 2275,1; //Red_Bandana
- delitem 998,50; //Iron
- delitem 733,1; //Crystal_Jewel___
+ if ((countitem(Red_Bandana) > 0) && (countitem(Iron) > 49) && (countitem(Crystal_Jewel___) > 0) && (Zeny > 3499)) {
+ delitem Red_Bandana,1;
+ delitem Iron,50;
+ delitem Crystal_Jewel___,1;
Zeny -= 3500;
mes "[Trader]";
mes "Hm! You don't have a medical license, do you? It's alright, I've heard about a rogue, unlicensed physician who performed medical miracles! But... That might have been a comic book.";
next;
mes "[Trader]";
mes "Oh whatever. Just don't get caught.";
- getitem 2273,1; //Doctor_Cap
+ getitem Doctor_Cap,1;
close;
}
else {
@@ -79,13 +79,13 @@ aldeba_in,152,166,4 script Trader#01 4_M_04,{
close;
}
case 2:
- if ((countitem(2247) > 0) && (countitem(916) > 299) && (Zeny > 499)) {
- delitem 2247,1; //Oldman's_Romance
- delitem 916,300; //Feather_Of_Birds
+ if ((countitem(Oldman's_Romance) > 0) && (countitem(Feather_Of_Birds) > 299) && (Zeny > 499)) {
+ delitem Oldman's_Romance,1;
+ delitem Feather_Of_Birds,300;
Zeny -= 500;
mes "[Trader]";
mes "Ooh~! You have good fashion sense. I know you've had a hard time collecting this stuff, but this hat is worth it. Take it. All you need now is a fur coat and a cane!";
- getitem 5018,1; //Feather_Bonnet
+ getitem Feather_Bonnet,1;
close;
}
else {
@@ -95,13 +95,13 @@ aldeba_in,152,166,4 script Trader#01 4_M_04,{
close;
}
case 3:
- if ((countitem(998) > 19) && (countitem(707) > 0) && (Zeny > 4999)){ //Iron Singing_Plant
- delitem 998,20; //Iron
- delitem 707,1; //Singing_Plant
+ if ((countitem(Iron) > 19) && (countitem(Singing_Plant) > 0) && (Zeny > 4999)){ //Iron Singing_Plant
+ delitem Iron,20;
+ delitem Singing_Plant,1;
Zeny -= 5000;
mes "[Trader]";
mes "This one? It's a little bit scary, though it has some sort of romantic quality. What do you think? You like it? Alright, take it, it's yours!";
- getitem 2281,1; //Phantom_Of_Opera
+ getitem Phantom_Of_Opera,1;
close;
}
else {
@@ -110,15 +110,15 @@ aldeba_in,152,166,4 script Trader#01 4_M_04,{
close;
}
case 4:
- if ((countitem(1019) > 119) && (Zeny > 9999)){ //Wooden_Block
- delitem 1019,120; //Wooden_Block
+ if ((countitem(Wooden_Block) > 119) && (Zeny > 9999)){ //Wooden_Block
+ delitem Wooden_Block,120;
Zeny -= 10000;
mes "[Trader]";
mes "If you have a chance to visit the Uplander Village, Payon, please go and meet the Sakkat Craftsman.";
next;
mes "[Trader]";
mes "He's never sold Sakkat to Traders other than me, since only I can recognize its quality. Due to its rarity, Sakkat has become a very unique and exceptional product. Okay! Take it, it's yours!";
- getitem 2280,1; //Sahkkat
+ getitem Sahkkat,1;
close;
}
else {
diff --git a/npc/quests/quests_amatsu.txt b/npc/quests/quests_amatsu.txt
index 07155f835..599d419eb 100644
--- a/npc/quests/quests_amatsu.txt
+++ b/npc/quests/quests_amatsu.txt
@@ -43,7 +43,7 @@
//== Momotaro Event :: japan_momo_q ========================
amatsu,223,236,3 script Publisher#ama 4_M_JPN,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a moment!! -";
mes "- Currently you are carrying -";
mes "- too many items with you. -";
@@ -167,67 +167,67 @@ amatsu,223,236,3 script Publisher#ama 4_M_JPN,{
if (.@event_momo == 3) {
.@gift_1 = rand(1,10);
if (.@gift_1 == 1) {
- getitem 659,1; //Heart_Of_Her
+ getitem Heart_Of_Her,1;
}
if (.@gift_1 == 2) {
- getitem 633,1; //Baked_Yam
+ getitem Baked_Yam,1;
}
if (.@gift_1 == 3) {
- getitem 634,1; //Tropical_Banana
+ getitem Tropical_Banana,1;
}
if (.@gift_1 == 4) {
- getitem 639,1; //Armlet_Of_Obedience
+ getitem Armlet_Of_Obedience,1;
}
if (.@gift_1 == 5) {
- getitem 636,1; //No_Recipient
+ getitem No_Recipient,1;
}
if (.@gift_1 == 6) {
- getitem 628,1; //Well_Dried_Bone
+ getitem Well_Dried_Bone,1;
}
if (.@gift_1 == 7) {
- getitem 637,1; //Old_Broom
+ getitem Old_Broom,1;
}
if (.@gift_1 == 8) {
- getitem 635,1; //Horror_Of_Tribe
+ getitem Horror_Of_Tribe,1;
}
if (.@gift_1 == 9) {
- getitem 626,1; //Monster_Juice
+ getitem Monster_Juice,1;
}
if (.@gift_1 == 10) {
- getitem 641,1; //Contracts_In_Shadow
+ getitem Contracts_In_Shadow,1;
}
}
else {
.@gift_2 = rand(1,10);
if (.@gift_2 == 1) {
- getitem 622,1; //Rainbow_Carrot
+ getitem Rainbow_Carrot,1;
}
if (.@gift_2 == 2) {
- getitem 627,1; //Sweet_Milk
+ getitem Sweet_Milk,1;
}
if (.@gift_2 == 3) {
- getitem 629,1; //Singing_Flower
+ getitem Singing_Flower,1;
}
if (.@gift_2 == 4) {
- getitem 632,1; //Fatty_Chubby_Earthworm
+ getitem Fatty_Chubby_Earthworm,1;
}
if (.@gift_2 == 5) {
- getitem 623,1; //Earthworm_The_Dude
+ getitem Earthworm_The_Dude,1;
}
if (.@gift_2 == 6) {
- getitem 619,1; //Unripe_Apple
+ getitem Unripe_Apple,1;
}
if (.@gift_2 == 7) {
- getitem 621,1; //Bitter_Herb
+ getitem Bitter_Herb,1;
}
if (.@gift_2 == 8) {
- getitem 620,1; //Orange_Juice
+ getitem Orange_Juice,1;
}
if (.@gift_2 == 9) {
- getitem 625,1; //Lusty_Iron
+ getitem Lusty_Iron,1;
}
if (.@gift_2 == 10) {
- getitem 624,1; //Rotten_Fish
+ getitem Rotten_Fish,1;
}
}
close;
@@ -477,7 +477,7 @@ OnTouch:
mes "So...Do me this favor, kid~";
close2;
event_momo = 1;
- if (countitem(9010) > 0 || countitem(9005) > 0 || countitem(9016) > 0) {
+ if (countitem(Baby_Desert_Wolf_Egg) > 0 || countitem(Picky_Egg) > 0 || countitem(Yoyo_Egg) > 0) {
disablenpc "Grandpa#ama";
disablenpc "Grandma#ama1";
donpcevent "Dokebi#ez::OnEnable";
@@ -835,7 +835,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
else if (fish_r == 1) {
- if (countitem(529) > 9) {
+ if (countitem(Candy) > 9) {
mes "[Magumagu]";
mes "Oh! I really appreciate it.";
mes "Right on time!";
@@ -847,8 +847,8 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
next;
fish_r = 0;
erasequest 10036;
- delitem 529,10; //Candy
- getitem 544,15; //Fish_Slice
+ delitem Candy,10;
+ getitem Fish_Slice,15;
mes "[Magumagu]";
mes "Here's 15 fish slices.";
mes "Please enjoy this food with your friends.";
@@ -867,7 +867,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
else if (fish_r == 2) {
- if (countitem(964) > 9) {
+ if (countitem(Crap_Shell) > 9) {
mes "[Magumagu]";
mes "Oh! I really appreciate it.";
mes "Right on time!";
@@ -879,8 +879,8 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
next;
fish_r = 0;
erasequest 10037;
- delitem 964,10; //Crap_Shell
- getitem 551,20; //Shusi
+ delitem Crap_Shell,10;
+ getitem Shusi,20;
mes "[Magumagu]";
mes "Share it with your friends";
mes "and family members.";
@@ -899,7 +899,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
else if (fish_r == 3) {
- if (countitem(961) > 9) {
+ if (countitem(Conch) > 9) {
mes "[Magumagu]";
mes "Oh! I really appreciate it.";
mes "Right on time!";
@@ -911,8 +911,8 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
next;
fish_r = 0;
erasequest 10038;
- delitem 961,10; //Conch
- getitem 551,30; //Shusi
+ delitem Conch,10;
+ getitem Shusi,30;
mes "[Magumagu]";
mes "These are for three people,";
mes "so share them with your friends.";
@@ -931,7 +931,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
else if (fish_r == 4) {
- if (countitem(1023) > 9) {
+ if (countitem(Fish_Tail) > 9) {
mes "[Magumagu]";
mes "Oh! I really appreciate it.";
mes "Right on time!";
@@ -943,9 +943,9 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
next;
fish_r = 0;
erasequest 10039;
- delitem 1023,10; //Fish_Tail
- getitem 544,20; //Fish_Slice
- getitem 551,30; //Shusi
+ delitem Fish_Tail,10;
+ getitem Fish_Slice,20;
+ getitem Shusi,30;
mes "[Magumagu]";
mes "You can feed your guild";
mes "with this food.";
@@ -964,7 +964,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
else if (fish_r == 5) {
- if (countitem(736) > 0) {
+ if (countitem(White_Platter) > 0) {
mes "[Magumagu]";
mes "Oh! I really appreciate it.";
mes "Right on time!";
@@ -974,10 +974,10 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Thanks. It is nothing but";
mes "I will give you two sets of Sushi in return.";
next;
- delitem 736,1; //White_Platter
+ delitem White_Platter,1;
fish_r = 0;
erasequest 10040;
- getitem 551,20; //Shusi
+ getitem Shusi,20;
mes "[Magumagu]";
mes "Share it with your friends";
mes "and family members.";
@@ -997,7 +997,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
else if (fish_r == 6) {
- if (countitem(950) > 99) {
+ if (countitem(Heart_Of_Mermaid) > 99) {
if (ama_sushi == 2) {
mes "[Magumagu]";
mes "..............................";
@@ -1033,10 +1033,10 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "I'm old now. No one knows how long I can hold this knife. You have been chosen to inherit my culinary art...";
mes " ";
next;
- delitem 950,100; //Heart_Of_Mermaid
+ delitem Heart_Of_Mermaid,100;
ama_sushi = 4;
completequest 10041;
- getitem 1144,1; //Sasimi
+ getitem Sasimi,1;
mes "[Magumagu]";
mes "Here, take my knife.";
mes "From now on, make fine cuisine with that knife.";
@@ -1065,33 +1065,33 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Give me a moment...";
mes "I shall show you my ^0000FFtrue culinary skill^000000.";
next;
- delitem 950,20; //Heart_Of_Mermaid
- getitem 551,20; //Shusi
+ delitem Heart_Of_Mermaid,20;
+ getitem Shusi,20;
mes "[Magumagu]";
mes "Try these first.";
mes "Made from the freshest ingredients.";
next;
- delitem 950,20; //Heart_Of_Mermaid
- getitem 544,20; //Fish_Slice
+ delitem Heart_Of_Mermaid,20;
+ getitem Fish_Slice,20;
mes "[Magumagu]";
mes "Try these too.";
mes "My shop's fish slices are the best of the best!";
next;
- delitem 950,20; //Heart_Of_Mermaid
- getitem 551,20; //Shusi
+ delitem Heart_Of_Mermaid,20;
+ getitem Shusi,20;
mes "[Magumagu]";
mes "Have some more. Don't say no...!";
mes "Isn't it good? Huh? Isn't it good?";
next;
- delitem 950,20; //Heart_Of_Mermaid
- getitem 544,20; //Fish_Slice
+ delitem Heart_Of_Mermaid,20;
+ getitem Fish_Slice,20;
mes "[Magumagu]";
mes "Haha~! Not done yet!";
mes "It's okay, have some more!";
next;
- delitem 950,20; //Heart_Of_Mermaid
- getitem 544,10; //Fish_Slice
- getitem 551,10; //Shusi
+ delitem Heart_Of_Mermaid,20;
+ getitem Fish_Slice,10;
+ getitem Shusi,10;
mes "[Magumagu]";
mes "Take the leftovers.";
mes "You look stuffed...";
@@ -1151,7 +1151,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
Zeny -= 700;
- getitem 551,10; //Shusi
+ getitem Shusi,10;
mes "[Magumagu]";
mes "There you go. If you like the taste, please order some more.";
close;
@@ -1164,7 +1164,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
Zeny -= 74;
- getitem 551,1; //Shusi
+ getitem Shusi,1;
mes "[Magumagu]";
mes "There you go. If you like the taste, please order some more.";
close;
@@ -1192,7 +1192,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
Zeny -= 350;
- getitem 544,10; //Fish_Slice
+ getitem Fish_Slice,10;
mes "[Magumagu]";
mes "There you go. If you like the taste, please order some more.";
close;
@@ -1205,7 +1205,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
close;
}
Zeny -= 37;
- getitem 544,1; //Fish_Slice
+ getitem Fish_Slice,1;
mes "[Magumagu]";
mes "There you go. If you like the taste, please order some more.";
close;
@@ -1484,7 +1484,7 @@ ama_in02,170,62,4 script Soldier#ama2 8_M_JPNSOLDIER,{
switch(select("Issue me a Transit Permit:I want to live in Amatsu:Nothing")) {
case 1:
if (event_amatsu == 6) {
- if (countitem(7160) > 0) {
+ if (countitem(Lord's_Passable_Ticket) > 0) {
mes "[Jiro]";
mes "You already have one...";
mes "You don't need to have two of them.";
@@ -1497,7 +1497,7 @@ ama_in02,170,62,4 script Soldier#ama2 8_M_JPNSOLDIER,{
next;
if (select("Issue one:Talk to you later") == 1) {
Zeny -= 10000;
- getitem 7160,1; //Lord's_Passable_Ticket
+ getitem Lord's_Passable_Ticket,1;
mes "[Jiro]";
mes "There you go.";
mes "Don't lose it this time.";
@@ -1678,7 +1678,7 @@ ama_in02,115,177,7 script Soldier#ama10 8_M_JPNSOLDIER,{
close;
}
if (event_amatsu == 6) {
- if (countitem(7160) > 0) {
+ if (countitem(Lord's_Passable_Ticket) > 0) {
mes "[Jyuro]";
mes "You have the ticket...";
mes "Do you want me to send you now, or do you need a little instruction?";
@@ -1734,7 +1734,7 @@ ama_in02,115,177,7 script Soldier#ama10 8_M_JPNSOLDIER,{
mes "A gate? On the top floor of the building??? Surely, you must been be mistaken.";
emotion e_swt;
next;
- if (countitem(7160) > 0) {
+ if (countitem(Lord's_Passable_Ticket) > 0) {
if (select("Show him the ticket:Cancel") == 1) {
mes "[Jyuro]";
mes "What? That pass is...?";
@@ -1742,7 +1742,7 @@ ama_in02,115,177,7 script Soldier#ama10 8_M_JPNSOLDIER,{
mes "the lord but I guess it has";
mes "been issued to the wrong person.";
next;
- delitem 7160,1; //Lord's_Passable_Ticket
+ delitem Lord's_Passable_Ticket,1;
mes "[Jyuro]";
mes "I will keep this ticket because";
mes "it was issued without permission.";
@@ -1852,7 +1852,7 @@ ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
}
}
else if (event_amatsu == 5) {
- if (countitem(1022) > 0) {
+ if (countitem(Fox_Tail) > 0) {
mes "[Ishida Yoshinaga]";
mes "I've hear the great news!";
mes "My mother seems to have gotten better. What was her disease?";
@@ -1884,8 +1884,8 @@ ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
next;
event_amatsu = 6;
completequest 8135;
- delitem 1022,1; //Fox_Tail
- getitem 7160,1; //Lord's_Passable_Ticket
+ delitem Fox_Tail,1;
+ getitem Lord's_Passable_Ticket,1;
mes "[Ishida Yoshinaga]";
mes "This isn't a big reward but";
mes "someday it will be useful for you.";
@@ -1943,7 +1943,7 @@ ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
mes "it won't harm me!! Yelp!^000000";
next;
select("Taaaah!!");
- if ((BaseJob == Job_Priest || BaseJob != Job_Acolyte && BaseJob != Job_Monk) || (countitem(523) < 1 || countitem(948) < 1 || countitem(1029) < 1)) {
+ if ((BaseJob == Job_Priest || BaseJob != Job_Acolyte && BaseJob != Job_Monk) || (countitem(Holy_Water) < 1 || countitem(Bear's_Foot) < 1 || countitem(Tiger's_Skin) < 1)) {
if (rand(1,4) == 1)
.@fox_kill = 0;
else
@@ -1970,7 +1970,7 @@ ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
killmonsterall "ama_in01";
event_amatsu = 5;
changequest 8134,8135;
- getitem 1022,1; //Fox_Tail
+ getitem Fox_Tail,1;
mes "[....]";
mes "^FF6060Everything that";
mes "Yoshinaga does will cause you";
diff --git a/npc/quests/quests_ayothaya.txt b/npc/quests/quests_ayothaya.txt
index 9339f774a..e357aae3f 100644
--- a/npc/quests/quests_ayothaya.txt
+++ b/npc/quests/quests_ayothaya.txt
@@ -81,7 +81,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 4_F_THAIAYO,2,2,{
mes "time for me! Oho ho ho ho ho!";
close;
} else if (thai_find == 2) {
- if (countitem(7288)) {
+ if (countitem(Thai_Ring)) {
mes "[Shuda]";
mes "Ah... Is it...?!!";
mes "Yes, that's it!";
@@ -149,7 +149,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 4_F_THAIAYO,2,2,{
mes "I got my ring back so he can come back to me now? I hope you'll remember that for me, adventurer.";
break;
}
- delitem 7288,1; //Thai_Ring
+ delitem Thai_Ring,1;
changequest 12030,12031;
thai_find = 3;
close;
@@ -598,12 +598,12 @@ ayo_dun02,91,264,3 script Haggard Man 4_M_THAIAYO,{
mes "[" +strcharinfo(0)+ "]";
mes "Anyway, I think you need to be treated. Let me check if I have some potions.";
next;
- if (countitem(504)) {
+ if (countitem(White_Potion)) {
mes "["+strcharinfo(0)+"]";
mes "Ah...";
mes "Here we are,";
mes "a White Potion.";
- delitem 504,1; //White_Potion
+ delitem White_Potion,1;
next;
mes "[Haggard Man]";
mes "You mean the White Potion,";
@@ -859,7 +859,7 @@ ayothaya,253,99,3 script Fisherman 4_M_THAIONGBAK,{
next;
switch(select("Yes.:No, thanks.")) {
case 1:
- if (countitem(528) && Zeny > 49) {
+ if (countitem(Monster's_Feed) && Zeny > 49) {
mes "^3355FFYou cast your";
mes "fishing line";
mes "into the water.^000000";
@@ -871,46 +871,46 @@ ayothaya,253,99,3 script Fisherman 4_M_THAIONGBAK,{
next;
mes "^3355FFYou've hooked a Phen!^000000";
next;
- delitem 528,1; //Monster's_Feed
+ delitem Monster's_Feed,1;
Zeny -= 50;
.@randfish = rand(1,100);
if (.@randfish > 0 && .@randfish < 40) {
mes "^3355FFWhile cooking the Phen, you";
mes "find that it's swallowed a Stone.^000000";
close2;
- getitem 7049,1; //Stone
+ getitem Stone,1;
end;
} else if (.@randfish > 39 && .@randfish < 60) {
mes "^3355FFInside of the Phen,";
mes "you find a Red Potion.^000000";
close2;
- getitem 501,1; //Red_Potion
+ getitem Red_Potion,1;
end;
} else if (.@randfish > 59 && .@randfish < 70) {
mes "^3355FFInside of the Phen,";
mes "you find a Yellow Potion.^000000";
close2;
- getitem 503,1; //Yellow_Potion
+ getitem Yellow_Potion,1;
end;
} else if (.@randfish > 69 && .@randfish < 80) {
mes "^3355FFThere's nothing inside...";
mes "But now you can eat Sushi!^000000";
close2;
- getitem 551,1; //Shusi
+ getitem Shusi,1;
end;
} else if (.@randfish > 79 && .@randfish < 90) {
mes "^3355FFYou find";
mes "a Flower Ring";
mes "inside the Phen.^000000";
close2;
- getitem 2612,1; //Flower_Ring
+ getitem Flower_Ring,1;
end;
} else if (.@randfish == 90) {
mes "^3355FFYou find";
mes "a Diamond Ring";
mes "inside the Phen.^000000";
close2;
- getitem 2613,1; //Diamond_Ring
+ getitem Diamond_Ring,1;
end;
} else if (.@randfish > 90 && .@randfish < 101) {
mes "^3355FFYou find a ring";
@@ -922,7 +922,7 @@ ayothaya,253,99,3 script Fisherman 4_M_THAIONGBAK,{
close2;
thai_find = 2;
changequest 12029,12030;
- getitem 7288,1; //Thai_Ring
+ getitem Thai_Ring,1;
end;
}
} else {
@@ -1078,7 +1078,7 @@ OnTouch:
mes "I better look";
mes "into this.";
thai_find = 10;
- getitem 504,10; //White_Potion
+ getitem White_Potion,10;
close;
} else if (.@randayo > 2 && .@randayo < 5) {
mes "["+strcharinfo(0)+"]";
@@ -1092,7 +1092,7 @@ OnTouch:
mes "I better look";
mes "into this.";
thai_find = 10;
- getitem 503,10; //Yellow potion
+ getitem Yellow_Potion,10; //Yellow potion
close;
} else {
mes "[Rat]";
@@ -1810,7 +1810,7 @@ ayo_in01,181,193,4 script Shaman#thai 4_F_THAISHAMAN,{
}
ayo_fild01,129,197,0 script Puraim#thai1 4_M_THAIOLD,{
- if ((ayodunquest > 2 && countitem(7285) > 0) || (ayodunquest > 2 && countitem(7287) > 0)) {
+ if ((ayodunquest > 2 && countitem(Thread_Skein) > 0) || (ayodunquest > 2 && countitem(Thread_Skein_) > 0)) {
mes "[Puraim]";
mes "Huh...?";
mes "I feel it!";
@@ -2058,7 +2058,7 @@ ayo_dun01,16,188,0 script #hun_thai_6 HIDDEN_NPC,{
ayo_dun01,24,283,0 script #2_dun_in HIDDEN_NPC,{
if (ayodunquest > 10) {
- if (countitem(7287) > 0) {
+ if (countitem(Thread_Skein_) > 0) {
mes "^3355FFThe holy threads";
mes "emanate a powerful sense";
mes "of safety and security.";
@@ -2081,7 +2081,7 @@ ayo_dun01,24,283,0 script #2_dun_in HIDDEN_NPC,{
}
ayo_dun02,268,108,0 script #reward_tiger HIDDEN_NPC,{
- if (ayodunquest == 11 && countitem(7287) > 0) {
+ if (ayodunquest == 11 && countitem(Thread_Skein_) > 0) {
mes "^3355FFYou find half of the skeletal remains of a person sticking out from the ground. It seems to be the remains of Boonthom's comrade.^000000";
next;
mes "^3355FFYou find a piece of paper beside the skeleton, as well as a box.^000000";
@@ -2096,7 +2096,7 @@ ayo_dun02,268,108,0 script #reward_tiger HIDDEN_NPC,{
mes "up the box.^000000";
ayodunquest = 12;
completequest 12039;
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
close;
}
}
@@ -2245,7 +2245,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
close;
}
} else if (tomyumgoong > 1 && tomyumgoong < 4) {
- if (tomyumgoong == 2 && countitem(567) > 19) {
+ if (tomyumgoong == 2 && countitem(Prawn) > 19) {
mes "[Mali the Spicy]";
mes "Errr...";
mes "What's wrong with these Shrimp?";
@@ -2264,7 +2264,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
mes "Tom Yum Goong?";
close;
} else if (tomyumgoong == 3) {
- if (countitem(567) > 19) {
+ if (countitem(Prawn) > 19) {
mes "[Mali the Spicy]";
mes "Ah, you came back!";
mes "Now, let me see what";
@@ -2277,7 +2277,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
mes "I've been looking for! Well done~";
mes "With these big and fresh Shrimp,";
mes "I can cook the best Tom Yum Goong for you! Thank you so much!";
- delitem 567,20; //Prawn
+ delitem Prawn,20;
next;
mes "[Mali the Spicy]";
mes "It will be a perfect food with the natural sweetness of the Shrimp, the sourness of Lemons and a little bit of fish sauce!";
@@ -2329,7 +2329,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
mes "Now hurry~";
close;
} else if (tomyumgoong > 3 && tomyumgoong < 6) {
- if (tomyumgoong == 4 && countitem(568) > 9) {
+ if (tomyumgoong == 4 && countitem(Lemon) > 9) {
mes "[Mali the Spicy]";
mes "You think these are";
mes "the best quality Lemons?";
@@ -2343,7 +2343,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
mes "common Lemons!";
close;
} else if (tomyumgoong == 5) {
- if (countitem(568) > 9) {
+ if (countitem(Lemon) > 9) {
emotion e_gasp;
mes "[Mali the Spicy]";
mes "Welcome back!";
@@ -2369,7 +2369,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
mes "will know what you want.";
next;
if (select("Okay, I'll be right back.:Ah, I'm tired now. Let me take a rest first...") == 1) {
- delitem 568,10; //Lemon
+ delitem Lemon,10;
tomyumgoong = 6;
changequest 8125,8126;
mes "[Mali the Spicy]";
@@ -2404,7 +2404,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
mes "some Tom Yum Goong!";
close;
} else if (tomyumgoong == 6) {
- if (countitem(7286) > 29) {
+ if (countitem(Chilli) > 29) {
mes "[Mali the Spicy]";
mes "I don't understand...";
mes "Where did you get these";
@@ -2422,8 +2422,8 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
close;
} else if (tomyumgoong == 7) {
if (MaxWeight - Weight > 1499) {
- if (countitem(7286) > 29) {
- delitem 7286,30; //Chilli
+ if (countitem(Chilli) > 29) {
+ delitem Chilli,30;
emotion e_gasp;
mes "[Mali the Spicy]";
mes "Now...";
@@ -2470,7 +2470,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
next;
tomyumgoong = 8;
completequest 8126;
- getitem 566,10; //Tomyumkung
+ getitem Tomyumkung,10;
emotion e_no1;
mes "[Mali the Spicy]";
mes "Here's your";
@@ -2520,7 +2520,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
}
ayothaya,153,86,5 script Thongpool#ayo 4_M_THAIONGBAK,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -2561,7 +2561,7 @@ ayothaya,153,86,5 script Thongpool#ayo 4_M_THAIONGBAK,{
if (MaxWeight - Weight > 3999) {
Zeny -= 11000;
tomyumgoong = 3;
- getitem 567,20; //Prawn
+ getitem Prawn,20;
emotion e_no1;
mes "[Thongpool]";
mes "Good, now you have the";
@@ -2604,7 +2604,7 @@ ayothaya,153,86,5 script Thongpool#ayo 4_M_THAIONGBAK,{
if (Zeny > 10999) {
if (MaxWeight - Weight > 3999) {
Zeny -= 11000;
- getitem 567,20; //Prawn
+ getitem Prawn,20;
mes "[Thongpool]";
mes "There you go~";
mes "The freshest Shrimp you can ever get in this village, and maybe even the world!";
@@ -2633,7 +2633,7 @@ ayothaya,153,86,5 script Thongpool#ayo 4_M_THAIONGBAK,{
}
ayothaya,121,240,7 script Mr. Jun#ayo 4_M_THAIOLD,1,1,{
- if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -2681,7 +2681,7 @@ ayothaya,121,240,7 script Mr. Jun#ayo 4_M_THAIOLD,1,1,{
close;
OnTouch:
- if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -2889,7 +2889,7 @@ OnTouch:
mes "^3355FFYou have plucked";
mes "10 Lemons from the tree.^000000";
tomyumgoong = 5;
- getitem 568,10; //Lemon
+ getitem Lemon,10;
next;
emotion e_dots;
mes "[Mr. Jun]";
@@ -2956,7 +2956,7 @@ ayothaya,213,94,7 script Merchant#ayo 4_M_THAIAYO,{
if (MaxWeight - Weight > 1199) {
Zeny -= 2000;
tomyumgoong = 7;
- getitem 7286,30; //Chilli
+ getitem Chilli,30;
mes "[Merchant Thongdum]";
mes "Thank you.";
mes "I hope you will enjoy";
@@ -3011,7 +3011,7 @@ ayothaya,213,94,7 script Merchant#ayo 4_M_THAIAYO,{
if (Zeny > 1999) {
if (MaxWeight - Weight > 1199) {
Zeny -= 2000;
- getitem 7286,30; //Chilli
+ getitem Chilli,30;
mes "[Merchant Thongdum]";
mes "Thank you,";
mes "come again!";
diff --git a/npc/quests/quests_comodo.txt b/npc/quests/quests_comodo.txt
index 45db4cc3a..30ca0a57b 100644
--- a/npc/quests/quests_comodo.txt
+++ b/npc/quests/quests_comodo.txt
@@ -65,7 +65,7 @@ comodo,228,159,3 script Hair Ornament Girl 8_F_GIRL,{
next;
switch(select("Cross Hat:Bulb Band:Stripe Hairband:Blue Hairband")) {
case 1:
- if ((countitem(2608) > 0) && (countitem(7069) > 499)) {
+ if ((countitem(Rosary) > 0) && (countitem(Broken_Armor_Piece) > 499)) {
mes "[Hair Ornament Girl]";
mes "You've chosen the Cross Hat?";
mes "If you brought all the required items, I will make it for you~";
@@ -86,12 +86,12 @@ comodo,228,159,3 script Hair Ornament Girl 8_F_GIRL,{
case 2:
mes "^3355FFSwish swish snip snip^000000";
next;
- delitem 2608,1; //Rosary
- delitem 7069,500; //Broken_Armor_Piece
+ delitem Rosary,1;
+ delitem Broken_Armor_Piece,500;
mes "[Hair Ornament Girl]";
mes "Look at this! Well done~";
mes "Please come again~ hoooo!";
- getitem 5036,1; // Cross_Band
+ getitem Cross_Band,1; // Cross_Band
close;
}
}
@@ -111,7 +111,7 @@ comodo,228,159,3 script Hair Ornament Girl 8_F_GIRL,{
close;
}
case 2:
- if ((countitem(2233) > 0) && (countitem(746) > 19)) {
+ if ((countitem(Circlet_) > 0) && (countitem(Glass_Bead) > 19)) {
mes "[Hair Ornament Girl]";
mes "You've chosen Bulb band?";
mes "If you brought all the required items, I will make it for you~";
@@ -131,12 +131,12 @@ comodo,228,159,3 script Hair Ornament Girl 8_F_GIRL,{
case 2:
mes "^3355FFSwish swish snip snip^000000";
next;
- delitem 2233,1; //Circlet_
- delitem 746,20; //Glass_Bead
+ delitem Circlet_,1;
+ delitem Glass_Bead,20;
mes "[Hair Ornament Girl]";
mes "Look at this! Well done~";
mes "Please come again~ hoooo!";
- getitem 5034,1; // Light_Bulb_Band
+ getitem Light_Bulb_Band,1; // Light_Bulb_Band
close;
}
}
@@ -156,7 +156,7 @@ comodo,228,159,3 script Hair Ornament Girl 8_F_GIRL,{
close;
}
case 3:
- if (countitem(1099) > 1499) {
+ if (countitem(Worn_Out_Prison_Uniform) > 1499) {
mes "[Hair Ornament Girl]";
mes "You've chosen Stripe band?";
mes "If you brought all the required items, I will make it for you~";
@@ -172,11 +172,11 @@ comodo,228,159,3 script Hair Ornament Girl 8_F_GIRL,{
case 2:
mes "^3355FFSwish swish snip snip^000000";
next;
- delitem 1099,1500; //Worn_Out_Prison_Uniform
+ delitem Worn_Out_Prison_Uniform,1500;
mes "[Hair Ornament Girl]";
mes "Look at this! Well done~";
mes "Please come again~";
- getitem 5049,1; // Stripe_Band
+ getitem Stripe_Band,1; // Stripe_Band
close;
}
}
@@ -194,7 +194,7 @@ comodo,228,159,3 script Hair Ornament Girl 8_F_GIRL,{
close;
}
case 4:
- if ((countitem(2211) > 0) && (countitem(978) > 0) && (countitem(7003) > 299)) {
+ if ((countitem(Bandana) > 0) && (countitem(Cobaltblue_Dyestuffs) > 0) && (countitem(Anolian_Skin) > 299)) {
mes "[Hair Ornament Girl]";
mes "You've chosen Blue Hairband?";
mes "If you brought all the required items, I will make it for you~";
@@ -214,13 +214,13 @@ comodo,228,159,3 script Hair Ornament Girl 8_F_GIRL,{
case 2:
mes "^3355FFSwish swish snip snip^000000";
next;
- delitem 2211,1; //Bandana
- delitem 978,1; //Cobaltblue_Dyestuffs
- delitem 7003,300; //Anolian_Skin
+ delitem Bandana,1;
+ delitem Cobaltblue_Dyestuffs,1;
+ delitem Anolian_Skin,300;
mes "[Hair Ornament Girl]";
mes "Look, at this! Well done!";
mes "Please come again~ ";
- getitem 5052,1; // Blue_Hair_Band
+ getitem Blue_Hair_Band,1; // Blue_Hair_Band
close;
}
}
@@ -254,7 +254,7 @@ comodo,273,137,4 script Traveler#head 4_F_GON,{
next;
switch(select("Mine Helmet:Parcel Hat:Grief for Greed:Opera Phantom Mask")) {
case 1:
- if ((countitem(5009) > 0) && (countitem(5028) > 0) && (countitem(999) > 24) && (countitem(747) > 0)) {
+ if ((countitem(Safety_Helmet) > 0) && (countitem(Candle) > 0) && (countitem(Steel) > 24) && (countitem(Crystal_Mirror) > 0)) {
mes "[Isac Mari]";
mes "Mine Helmet was designed for the miners in the coal mines to have light in the dark. If you brought all the required items, I will go ahead and make it for you~";
next;
@@ -276,13 +276,13 @@ comodo,273,137,4 script Traveler#head 4_F_GON,{
mes "[Isac Mari]";
mes "Whew! This is pretty hard!";
next;
- delitem 5009,1; //Safety_Helmet
- delitem 5028,1; //Candle
- delitem 747,1; //Crystal_Mirror
- delitem 999,25; //Steel
+ delitem Safety_Helmet,1;
+ delitem Candle,1;
+ delitem Crystal_Mirror,1;
+ delitem Steel,25;
mes "[Isac Mari]";
mes "I'm not quite sure if this is the right one, but it looks about right. Ha ha~";
- getitem 5031,1; // Mine_Helm
+ getitem Mine_Helm,1; // Mine_Helm
close;
}
}
@@ -306,7 +306,7 @@ comodo,273,137,4 script Traveler#head 4_F_GON,{
close;
}
case 2:
- if ((countitem(1059) > 149) && (countitem(907) > 99) && (countitem(978) > 0)) {
+ if ((countitem(Transparent_Cloth) > 149) && (countitem(Resin) > 99) && (countitem(Cobaltblue_Dyestuffs) > 0)) {
mes "[Isac Mari]";
mes "Parcel Hat seems to be useful for business people to carry around their products. If you brought everything I need, I will make it for you.";
mes "If you brought all the required items, I will make it for you~";
@@ -331,13 +331,13 @@ comodo,273,137,4 script Traveler#head 4_F_GON,{
mes "I think I messed up!";
mes "No, wait, I think I can fix this...";
next;
- delitem 1059,150; //Transparent_Cloth
- delitem 907,100; //Resin
- delitem 978,1; //Cobaltblue_Dyestuffs
+ delitem Transparent_Cloth,150;
+ delitem Resin,100;
+ delitem Cobaltblue_Dyestuffs,1;
mes "[Isac Mari]";
mes "Well...";
mes "Um, it looks like a Parcel Hat. So that's good enough for me! Ha ha~";
- getitem 5023,1; // Hat_Of_Bundle
+ getitem Hat_Of_Bundle,1; // Hat_Of_Bundle
close;
}
}
@@ -363,7 +363,7 @@ comodo,273,137,4 script Traveler#head 4_F_GON,{
close;
}
case 3:
- if ((countitem(2233) > 0) && (countitem(969) > 0) && (countitem(949) > 79) && (countitem(999) > 19) && (countitem(938) > 799)) {
+ if ((countitem(Circlet_) > 0) && (countitem(Gold) > 0) && (countitem(Feather) > 79) && (countitem(Steel) > 19) && (countitem(Sticky_Mucus) > 799)) {
mes "[Isac Mari]";
mes "Grief for Greed...";
mes "If you brought all the required items, I'll go ahead and make it for you~";
@@ -386,14 +386,14 @@ comodo,273,137,4 script Traveler#head 4_F_GON,{
mes "[Isac Mari]";
mes "Whew! This is pretty hard!";
next;
- delitem 2233,1; //Circlet_
- delitem 969,1; //Gold
- delitem 949,80; //Feather
- delitem 999,20; //Steel
- delitem 938,800; //Sticky_Mucus
+ delitem Circlet_,1;
+ delitem Gold,1;
+ delitem Feather,80;
+ delitem Steel,20;
+ delitem Sticky_Mucus,800;
mes "[Isac Mari]";
mes "I might have made a few mistakes, but it looks good enough. Here you go, your own Grief for Greed hat!";
- getitem 5021,1; // Bankruptcy_Of_Heart
+ getitem Bankruptcy_Of_Heart,1; // Bankruptcy_Of_Heart
close;
}
}
@@ -424,7 +424,7 @@ comodo,273,137,4 script Traveler#head 4_F_GON,{
close;
}
case 4:
- if ((countitem(2281) > 0) && (countitem(1048) > 49)) {
+ if ((countitem(Phantom_Of_Opera) > 0) && (countitem(Slender_Snake) > 49)) {
mes "[Isac Mari]";
mes "Opera Phantom Mask...";
mes "Frightening, but also tragic and romantic. If you brought all the required items, I will make it for you~";
@@ -447,12 +447,12 @@ comodo,273,137,4 script Traveler#head 4_F_GON,{
mes "[Isac Mari]";
mes "Whew! This is pretty hard!";
next;
- delitem 2281,1; //Phantom_Of_Opera
- delitem 1048,50; //Slender_Snake
+ delitem Phantom_Of_Opera,1;
+ delitem Slender_Snake,50;
mes "[Isac Mari]";
mes "I'm not quite sure if this is the right one.";
mes "But it looks fine. Ha ha";
- getitem 5043,1; // Opera_Ghost_Mask
+ getitem Opera_Ghost_Mask,1; // Opera_Ghost_Mask
close;
}
}
@@ -2029,7 +2029,7 @@ aldebaran,44,53,4 script Meteurengut#cmd 1_M_WIZARD,{
dmdswrd_Q = 15;
break;
case 15:
- if (countitem(717) > 0 && countitem(726) > 0 && countitem(721) > 0 && countitem(640) > 0 && countitem(757) > 0) {
+ if (countitem(Blue_Gemstone) > 0 && countitem(Blue_Jewel) > 0 && countitem(Azure_Jewel) > 0 && countitem(Shining_Stone) > 0 && countitem(Elunium_Stone) > 0) {
mes "[Meteurengut]";
mes "You've already found";
mes "all of the items I require to";
@@ -2037,11 +2037,11 @@ aldebaran,44,53,4 script Meteurengut#cmd 1_M_WIZARD,{
mes "Fantastic. Now I can begin work";
mes "on this. However, there is one";
mes "more thing I must ask of you.";
- delitem 717,1; //Blue_Gemstone
- delitem 726,1; //Blue_Jewel
- delitem 721,1; //Azure_Jewel
- delitem 640,1; //Shining_Stone
- delitem 757,1; //Elunium_Stone
+ delitem Blue_Gemstone,1;
+ delitem Blue_Jewel,1;
+ delitem Azure_Jewel,1;
+ delitem Shining_Stone,1;
+ delitem Elunium_Stone,1;
dmdswrd_Q = 16;
next;
mes "[Meteurengut]";
@@ -2076,7 +2076,7 @@ aldebaran,44,53,4 script Meteurengut#cmd 1_M_WIZARD,{
mes "^3355FF1 Blue Gemstone^000000.";
break;
case 16:
- if (countitem(1025) > 0) {
+ if (countitem(Spiderweb) > 0) {
mes "[Meteurengut]";
mes "I see that you've brought";
mes "me a Cobweb. It's hard to";
@@ -2085,7 +2085,7 @@ aldebaran,44,53,4 script Meteurengut#cmd 1_M_WIZARD,{
mes "Now, if you'll wait a moment,";
mes "I shall complete the slate...";
next;
- delitem 1025,1; //Spiderweb
+ delitem Spiderweb,1;
mes "*^3355FFClang Clang Clang!*";
mes "*Zaaaaaaaaaaaaaap*";
mes "*Ching tink t-t-t-tap*^000000";
@@ -2220,8 +2220,8 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
dmdswrd_Q = 18;
break;
case 18:
- if (countitem(926) > 1) {
- delitem 926,2; //Scale_Of_Snakes
+ if (countitem(Scale_Of_Snakes) > 1) {
+ delitem Scale_Of_Snakes,2;
dmdswrd_Q = 19;
mes "[Zaka]";
mes "Ah, you've brought";
@@ -2249,7 +2249,7 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "alright? I'll be right here.";
break;
case 19:
- if (countitem(936) > 0) {
+ if (countitem(Scales_Shell) > 0) {
mes "[Zaka]";
mes "Oh, nice! You've brought";
mes "this Scale Shell for me,";
@@ -2264,7 +2264,7 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "and bring you to me before";
mes "I finish this part of the process, okay? Wait, actually, I think";
mes "you can take your time...";
- delitem 936,1; //Scales_Shell
+ delitem Scales_Shell,1;
dmdswrd_Q = 20;
close;
}
@@ -2277,7 +2277,7 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "finish this Book of the Lamb.";
break;
case 20:
- if (countitem(954) > 0) {
+ if (countitem(Shining_Scales) > 0) {
mes "[Zaka]";
mes "Ah, you're just in time!";
mes "Have you got the Shining";
@@ -2285,7 +2285,7 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "is just one more item that";
mes "I want to ask you to bring me:";
mes "^3355FF1 Stinky Scale^000000. Easy, right?";
- delitem 954,1; //Shining_Scales
+ delitem Shining_Scales,1;
dmdswrd_Q = 21;
next;
mes "[Zaka]";
@@ -2306,7 +2306,7 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "no way to work around it...";
break;
case 21:
- if (countitem(959) > 0) {
+ if (countitem(Rotten_Scale) > 0) {
mes "[Zaka]";
mes "What's that sme--?";
mes "Oh, right. I asked you to";
@@ -2318,7 +2318,7 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "^3355FFZaka completes";
mes "the creation of the";
mes "Book of the Lamb.^000000";
- delitem 959,1; //Rotten_Scale
+ delitem Rotten_Scale,1;
dmdswrd_Q = 22;
next;
mes "[Zaka]";
diff --git a/npc/quests/quests_ein.txt b/npc/quests/quests_ein.txt
index 167acdc2d..cb3a9d7e3 100644
--- a/npc/quests/quests_ein.txt
+++ b/npc/quests/quests_ein.txt
@@ -80,13 +80,13 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
next;
switch(select("Yes.:No, not yet.")) {
case 1:
- if ((countitem(1011) > 9) && (countitem(1003) > 2) && (countitem(912) > 9) && (countitem(7126) > 39)) {
+ if ((countitem(Emveretarcon) > 9) && (countitem(Coal) > 2) && (countitem(Zargon) > 9) && (countitem(Large_Jellopy) > 39)) {
mes "[Cavitar]";
mes "Let me check the items";
mes "that you brought before";
mes "I give you an Oridecon.";
next;
- if (checkweight(618,1)) {
+ if (checkweight(Worn_Out_Scroll,1)) {
mes "[Cavitar]";
mes "Good, you brought";
mes "everything! Now let me";
@@ -98,12 +98,12 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
mes "Alright then,";
mes "adventurer. I hope";
mes "you travel in safety.";
- delitem 1003,3; //Coal
- delitem 7126,40; //Large_Jellopy
- delitem 1011,10; //Emveretarcon
- delitem 912,10; //Zargon
+ delitem Coal,3;
+ delitem Large_Jellopy,40;
+ delitem Emveretarcon,10;
+ delitem Zargon,10;
ein_gear1 = 0;
- getitem 615,1; // Oridecon
+ getitem Oridecon_Hammer,1; // Oridecon
close;
}
else {
@@ -245,7 +245,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
next;
switch(select("Help Him.:Quit.")) {
case 1:
- if (checkweight(908,10) == 0) {
+ if (checkweight(Spawn,10) == 0) {
mes "[Cavitar]";
mes "Hmmm, it seems you're";
mes "carrying too many things";
@@ -280,25 +280,25 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
ein_gear1 = 2;
switch(rand(1,7)) {
case 1:
- getitem 7290,1; // Phlogopite
+ getitem Phlogopite,1; // Phlogopite
break;
case 2:
- getitem 7291,1; // Agate
+ getitem Agate,1; // Agate
break;
case 3:
- getitem 7293,1; // Rose_Quartz
+ getitem Rose_Quartz,1; // Rose_Quartz
break;
case 4:
- getitem 7294,1; // Turquoise
+ getitem Turquoise,1; // Turquoise
break;
case 5:
- getitem 7295,1; // Citrine
+ getitem Citrine,1; // Citrine
break;
case 6:
- getitem 7296,1; // Pyroxene
+ getitem Pyroxene,1; // Pyroxene
break;
case 7:
- getitem 7289,1; // Olivine
+ getitem Olivine,1; // Olivine
}
next;
mes "[Cavitar]";
@@ -358,7 +358,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
mes "as a token of";
mes "my gratitude.";
Zeny -= 1000;
- getitem 1010,1; // Phracon
+ getitem Phracon,1; // Phracon
close;
}
}
@@ -412,7 +412,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
mes "as a token of";
mes "my gratitude.";
Zeny -= 1000;
- getitem 1010,1; // Phracon
+ getitem Phracon,1; // Phracon
close;
}
}
@@ -505,7 +505,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
next;
break;
}
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -516,7 +516,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
close;
}
ein_cook = 219;
- getitem 612,10; //Portable_Furnace
+ getitem Portable_Furnace,10;
mes "[Uwe]";
mes "I had these lying";
mes "around, so why don't";
@@ -552,8 +552,8 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
next;
switch(select("There you go.:I want to quit.:Can I do it later?")) {
case 1:
- if (countitem(7126) > 5) {
- if (checkweight(908,199) == 0) {
+ if (countitem(Large_Jellopy) > 5) {
+ if (checkweight(Spawn,199) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -567,10 +567,10 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "Thank you ^EEA9B8so^000000 much!";
mes "Here's the Coal I promised~";
mes "Oh, and take these Mini Furnaces. They were just lying around, so you know, I thought, well, why don't you take them? *Tee hee hee~*";
- delitem 7126,6; //Large_Jellopy
+ delitem Large_Jellopy,6;
ein_cook = 219;
- getitem 1003,1; //Coal
- getitem 612,10; //Portable_Furnace
+ getitem Coal,1;
+ getitem Portable_Furnace,10;
next;
mes "[Uwe]";
mes "I hope you enjoy!";
@@ -581,7 +581,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "sweaty^000000. Ooh, how exciting~!";
close;
}
- else if (countitem(7126) > 0) {
+ else if (countitem(Large_Jellopy) > 0) {
mes "[Uwe]";
mes "Ooh, you're missing";
mes "some. I guess you can";
@@ -595,7 +595,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
}
switch(select("Give him all.:Cancel.")) {
case 1:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -609,7 +609,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "Just kidding~";
mes "Don't be so nervous, I don't really need those anymore. But since I know you're hard working, I'll throw in a little something extra...";
next;
- if (checkweight(908,220) == 0) {
+ if (checkweight(Spawn,220) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -627,13 +627,13 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "I usually give you cutie Blacksmiths 10 Mini Furnaces, but you can have ^EEA9B811^000000. There's the little something extra I was talking about.";
}
ein_cook = 219;
- getitem 612,11; //Portable_Furnace
+ getitem Portable_Furnace,11;
next;
mes "[Uwe]";
mes "I know it's not very extravagant, but these will come in handy next time you're smithing. So make the best use of them, 'kay?";
close;
case 2:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -661,7 +661,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
}
break;
}
- if (checkweight(908,100) == 0) {
+ if (checkweight(Spawn,100) == 0) {
next;
mes "Oh, I was going to give";
mes "you a little something,";
@@ -672,7 +672,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
close;
}
ein_cook = 219;
- getitem 612,5; //Portable_Furnace
+ getitem Portable_Furnace,5;
next;
mes "[Uwe]";
mes "I know it's not very extravagant, but these will come in handy next time you're smithing. So make the best use of them, 'kay?";
@@ -689,7 +689,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
close;
}
case 2:
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -715,7 +715,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "...You ^EEA9B8naughty girl^000000.";
}
ein_cook = 219;
- getitem 612,10; //Portable_Furnace
+ getitem Portable_Furnace,10;
next;
mes "[Uwe]";
mes "I know it's not very extravagant, but these will come in handy next time you're smithing. So make the best use of them, 'kay?";
@@ -726,7 +726,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
next;
switch(select("Here you go~:I want to quit.")) {
case 1:
- if (checkweight(908,199) == 0) {
+ if (checkweight(Spawn,199) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -736,18 +736,18 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "in your Kafra Storage?";
close;
}
- if (countitem(7126) > 5) {
+ if (countitem(Large_Jellopy) > 5) {
mes "[Uwe]";
mes "Thank you ^EEA9B8so^000000 much!";
mes "Here's the Coal I promised~";
mes "Oh, and take these Mini Furnaces. They were just lying around, so you know, I thought, well, why don't you take them? *Tee hee hee~*";
- delitem 7126,6; //Large_Jellopy
+ delitem Large_Jellopy,6;
ein_cook = 219;
- getitem 1003,1; //Coal
- getitem 612,10; //Portable_Furnace
+ getitem Coal,1;
+ getitem Portable_Furnace,10;
close;
}
- else if (countitem(7126) > 0) {
+ else if (countitem(Large_Jellopy) > 0) {
mes "[Uwe]";
mes "Ooh, you're missing";
mes "some. I guess you can";
@@ -761,7 +761,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
}
switch(select("Give them all.:Cancel.")) {
case 1:
- if (checkweight(908,220) == 0) {
+ if (checkweight(Spawn,220) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -783,13 +783,13 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "I usually give you cutie Blacksmiths 10 Mini Furnaces, but you can have ^EEA9B811^000000. There's the little something extra I was talking about.";
}
ein_cook = 219;
- getitem 612,11; //Portable_Furnace
+ getitem Portable_Furnace,11;
next;
mes "[Uwe]";
mes "I know it's not very extravagant, but these will come in handy next time you're smithing. So make the best use of them, 'kay?";
close;
case 2:
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -812,7 +812,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "...you ^EEA9B8naughty girl^000000.";
}
ein_cook = 219;
- getitem 612,10; //Portable_Furnace
+ getitem Portable_Furnace,10;
next;
mes "[Uwe]";
mes "This Portable Furnace is not expensive";
@@ -833,7 +833,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
close;
}
case 2:
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "[Uwe]";
mes "Oh, I was going to give";
mes "you a little something,";
@@ -861,7 +861,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
}
}
ein_cook = 219;
- getitem 612,10; //Portable_Furnace
+ getitem Portable_Furnace,10;
next;
mes "[Uwe]";
mes "I know it's not very extravagant, but these will come in handy next time you're smithing. So make the best use of them, 'kay?";
@@ -935,7 +935,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "so please have one, 'kay?";
mes "Welcome to Einbroch, cutie~";
ein_cook = 1;
- getitem 1011,1; //Emveretarcon
+ getitem Emveretarcon,1;
break;
case 2:
mes "[Uwe]";
@@ -959,7 +959,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "Steel. Why don't you have 2 of";
mes "them as my little way of saying, ''Welcome to Einbroch, cutie~!''";
ein_cook = 3;
- getitem 998,2; //Iron
+ getitem Iron,2;
break;
case 3:
mes "[Uwe]";
@@ -996,7 +996,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "so please have one, 'kay?";
mes "Welcome to Einbroch, cutie~";
ein_cook = 5;
- getitem 1011,1; //Emveretarcon
+ getitem Emveretarcon,1;
break;
case 4:
mes "[Uwe]";
@@ -1025,7 +1025,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "my way of saying ''Welcome";
mes "to Einbroch, sugar honey~''";
ein_cook = 7;
- getitem 613,1; //Iron_Hammer
+ getitem Iron_Hammer,1;
break;
}
next;
@@ -1156,7 +1156,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "new hammers today.";
mes "Would you like a couple?";
next;
- if (checkweight(908,50) == 0) {
+ if (checkweight(Spawn,50) == 0) {
mes "[Uwe]";
mes "Mmmm...?";
mes "You're holding too many";
@@ -1167,8 +1167,8 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
close;
}
ein_cook = 11;
- getitem 614,1; //Golden_Hammer
- getitem 613,1; //Iron_Hammer
+ getitem Golden_Hammer,1;
+ getitem Iron_Hammer,1;
mes "[Uwe]";
mes "Well, I hope";
mes "you like them~";
@@ -1269,7 +1269,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "new hammers today.";
mes "Would you like a couple?";
next;
- if (checkweight(908,50) == 0) {
+ if (checkweight(Spawn,50) == 0) {
mes "[Uwe]";
mes "Mmmm...?";
mes "You're holding too many";
@@ -1280,8 +1280,8 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
close;
}
ein_cook = 13;
- getitem 614,1; //Golden_Hammer
- getitem 613,1; //Iron_Hammer
+ getitem Golden_Hammer,1;
+ getitem Iron_Hammer,1;
mes "[Uwe]";
mes "Well, I hope";
mes "you like them~";
@@ -1385,7 +1385,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "new hammers today.";
mes "Would you like a couple?";
next;
- if (checkweight(908,50) == 0) {
+ if (checkweight(Spawn,50) == 0) {
mes "[Uwe]";
mes "Mmmm...?";
mes "You're holding too many";
@@ -1396,8 +1396,8 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
close;
}
ein_cook = 15;
- getitem 614,1; //Golden_Hammer
- getitem 613,1; //Iron_Hammer
+ getitem Golden_Hammer,1;
+ getitem Iron_Hammer,1;
next;
mes "[Uwe]";
mes "Well, I hope";
@@ -1650,7 +1650,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "new hammers today.";
mes "Would you like a couple?";
next;
- if (checkweight(908,50) == 0) {
+ if (checkweight(Spawn,50) == 0) {
mes "[Uwe]";
mes "Mmmm...?";
mes "You're holding too many";
@@ -1661,8 +1661,8 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
close;
}
ein_cook = 19;
- getitem 614,1; //Golden_Hammer
- getitem 613,1; //Iron_Hammer
+ getitem Golden_Hammer,1;
+ getitem Iron_Hammer,1;
next;
mes "[Uwe]";
mes "Well, I hope";
@@ -1997,10 +1997,10 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
next;
switch(select("Sure.:No, thanks.")) {
case 1:
- if ((countitem(7312) > 29) && (countitem(7126) > 3)) {
- delitem 7312,30; //Jubilee
- delitem 7126,4; //Large_Jellopy
- getitem 1003,1; //Coal
+ if ((countitem(Jubilee) > 29) && (countitem(Large_Jellopy) > 3)) {
+ delitem Jubilee,30;
+ delitem Large_Jellopy,4;
+ getitem Coal,1;
mes "[Uwe]";
mes "Hooray!";
mes "Thank you";
@@ -2057,7 +2057,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "cookies I just baked~";
next;
ein_cook = 9;
- getitem 538,5; //Well_Baked_Cookie
+ getitem Well_Baked_Cookie,5;
mes "[Uwe]";
mes "Okay, enjoy!";
mes "I hope you have";
@@ -2684,19 +2684,19 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "you a good weapon~";
close;
case 3:
- if (countitem(7126) > 5) {
+ if (countitem(Large_Jellopy) > 5) {
mes "[Uwe]";
mes "Thank you ^EEA9B8so^000000 much!";
mes "Here's the Coal I promised~";
- delitem 7126,6; //Large_Jellopy
+ delitem Large_Jellopy,6;
ein_cook += 100;
- getitem 1003,1; //Coal
+ getitem Coal,1;
next;
}
else {
mes "[Uwe]";
mes "Huh...?";
- if (countitem(7126) == 0) {
+ if (countitem(Large_Jellopy) == 0) {
mes "You brought";
mes "none at all...?";
}
@@ -3490,7 +3490,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "a little while longer.";
close;
}
- if ((EinFactory == 15) && (countitem(7325) > 19) && (countitem(7317) > 9) && (countitem(7319) > 9)) {
+ if ((EinFactory == 15) && (countitem(Tube) > 19) && (countitem(Screw) > 9) && (countitem(Old_Steel_Plate) > 9)) {
mes "[Zelmeto]";
mes "Ah, it's you again.";
mes "It's shameful letting";
@@ -3549,9 +3549,9 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "Go for broke!";
mes "Losers are quitters";
mes "and quitters are losers!";
- delitem 7325,20; //Tube
- delitem 7317,10; //Screw
- delitem 7319,10; //Old_Steel_Plate
+ delitem Tube,20;
+ delitem Screw,10;
+ delitem Old_Steel_Plate,10;
++$EinPolution;
completequest 8031;
EinFactory = 16;
@@ -5415,10 +5415,10 @@ airplane,31,77,5 script Drunken Man#ein 4_M_YURI,{
mes "Waaaaaahhhhhhhhh!";
mes "Apples! My apples!";
mes "Apples, I need more...!";
- if (countitem(512) < 11) {
+ if (countitem(Apple) < 11) {
close;
}
- else if ((countitem(512) > 10) && (countitem(512) < 100)) {
+ else if ((countitem(Apple) > 10) && (countitem(Apple) < 100)) {
next;
mes "["+strcharinfo(0)+"]";
mes "Do you want";
@@ -5433,7 +5433,7 @@ airplane,31,77,5 script Drunken Man#ein 4_M_YURI,{
close;
}
else {
- delitem 512,countitem(512); //Apple
+ delitem Apple,countitem(Apple);
next;
mes "["+strcharinfo(0)+"]";
mes "Do you want";
@@ -5825,7 +5825,7 @@ OnTouch:
//== Lovers Quest :: ein_ryu ===============================
ein_in01,31,138,3 script Calla#ein 4_F_01,{
- if (checkweight(908,70) == 0) {
+ if (checkweight(Spawn,70) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -5964,7 +5964,7 @@ ein_in01,31,138,3 script Calla#ein 4_F_01,{
completequest 8088;
close;
}
- if ((EIN_LOVERQ == 5) && (countitem(712) > 0)) {
+ if ((EIN_LOVERQ == 5) && (countitem(Flower) > 0)) {
mes "[Calla]";
mes "You've spoken";
mes "with Klitzer? How";
@@ -5999,7 +5999,7 @@ ein_in01,31,138,3 script Calla#ein 4_F_01,{
mes "Please tell him that";
mes "I really miss him a lot.";
mes "^333333*Sob Sob...*^000000";
- delitem 712,1; //Flower
+ delitem Flower,1;
EIN_LOVERQ = 6;
changequest 8079,808;
close;
@@ -6036,7 +6036,7 @@ ein_in01,31,138,3 script Calla#ein 4_F_01,{
mes "for your help~";
EIN_LOVERQ = 3;
changequest 8078,8077;
- getitem 1901,1; //Violin
+ getitem Violin,1;
close;
}
if ((EIN_LOVERQ == 3) || (EIN_LOVERQ == 5)) {
@@ -6079,7 +6079,7 @@ ein_in01,31,138,3 script Calla#ein 4_F_01,{
next;
EIN_LOVERQ = 3;
changequest 8076,8077;
- getitem 1901,1; //Violin
+ getitem Violin,1;
mes "[Calla]";
mes "I'm sorry to trouble you,";
mes "but please understand";
@@ -6129,7 +6129,7 @@ ein_in01,200,101,5 script Klitzer#ein 4_M_EINMAN2,{
mes "parents will approve me!";
close;
}
- if ((EIN_LOVERQ == 15) && (countitem(7170) > 0)) {
+ if ((EIN_LOVERQ == 15) && (countitem(Tuxedo) > 0)) {
mes "[Klitzer]";
mes "Waaaah!";
mes "What should I wear?!";
@@ -6167,30 +6167,30 @@ ein_in01,200,101,5 script Klitzer#ein 4_M_EINMAN2,{
mes "valuable it is, but I know";
mes "that it's pretty rare. It may";
mes "even be useful to you later~";
- delitem 7170,1; //Tuxedo
+ delitem Tuxedo,1;
EIN_LOVERQ = 16;
changequest 8087,8088;
switch(rand(1,7)) {
case 1:
- getitem 7289,1; //Olivine
+ getitem Olivine,1;
break;
case 2:
- getitem 7290,1; //Phlogopite
+ getitem Phlogopite,1;
break;
case 3:
- getitem 7291,1; //Agate
+ getitem Agate,1;
break;
case 4:
- getitem 7293,1; //Rose_Quartz
+ getitem Rose_Quartz,1;
break;
case 5:
- getitem 7294,1; //Turquoise
+ getitem Turquoise,1;
break;
case 6:
- getitem 7295,1; //Citrine
+ getitem Citrine,1;
break;
case 7:
- getitem 7296,1; //Pyroxene
+ getitem Pyroxene,1;
}
next;
mes "[Klitzer]";
@@ -6353,7 +6353,7 @@ ein_in01,200,101,5 script Klitzer#ein 4_M_EINMAN2,{
mes "should be just fine.";
close;
}
- if ((EIN_LOVERQ == 3) && (countitem(1901) == 1)) {
+ if ((EIN_LOVERQ == 3) && (countitem(Violin) == 1)) {
mes "[Klitzer]";
mes "What brings you here?";
mes "Aren't you tired of hearing";
@@ -6407,7 +6407,7 @@ ein_in01,200,101,5 script Klitzer#ein 4_M_EINMAN2,{
mes "Hell yeah!";
mes "That's the stuff!";
percentheal 100,0;
- delitem 1901,1; //Violin
+ delitem Violin,1;
EIN_LOVERQ = 5;
changequest 8077,8079;
if (RENEWAL_EXP) {
@@ -6527,7 +6527,7 @@ OnTouch:
warp "einbroch",112,245;
end;
}
- if ((EIN_LOVERQ == 3) && (countitem(1901) > 0)) {
+ if ((EIN_LOVERQ == 3) && (countitem(Violin) > 0)) {
mes "[Megass]";
mes "That's...";
mes "That's my";
@@ -6549,7 +6549,7 @@ OnTouch:
mes "else that might be inside!";
mes "Make sure that if this punk";
mes "wakes up, it won't be today!";
- delitem 1901,1; //Violin
+ delitem Violin,1;
EIN_LOVERQ = 4;
changequest 8077,8078;
percentheal -90,0;
@@ -6591,7 +6591,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "honor of speaking with me.";
close;
}
- if ((EIN_LOVERQ == 12) && (countitem(1003) > 9)) {
+ if ((EIN_LOVERQ == 12) && (countitem(Coal) > 9)) {
mes "[Satra]";
mes "Ho ho ho ho~";
mes "Welcome adventurer,";
@@ -6664,7 +6664,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "the girls say? Ah, but I did";
mes "marry that oafish Megass~";
next;
- delitem 1003,10; //Coal
+ delitem Coal,10;
EIN_LOVERQ = 13;
changequest 8084,8085;
mes "[Satra]";
@@ -6700,7 +6700,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "I'm willing to overlook.";
close;
}
- if ((EIN_LOVERQ == 11) && (countitem(1003) > 9)) {
+ if ((EIN_LOVERQ == 11) && (countitem(Coal) > 9)) {
mes "[Satra]";
mes "Why hello~";
mes "Your visits have";
@@ -6750,7 +6750,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "mean I will not give them a";
mes "chance to prove their worth.";
next;
- delitem 1003,10; //Coal
+ delitem Coal,10;
EIN_LOVERQ = 12;
mes "[Satra]";
mes "Why should I deprive";
@@ -6788,7 +6788,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "any ^FF0000Coal^000000. Ho ho ho ho~";
close;
}
- if ((EIN_LOVERQ == 10) && (countitem(1003) > 9)) {
+ if ((EIN_LOVERQ == 10) && (countitem(Coal) > 9)) {
mes "[Satra]";
mes "^333333*Titter~*^000000";
mes "Why, if it isn't my";
@@ -6832,7 +6832,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "is a higher standard of";
mes "living here than in Einbech.";
next;
- delitem 1003,10; //Coal
+ delitem Coal,10;
EIN_LOVERQ = 11;
mes "[Satra]";
mes "Goodness, I believe";
@@ -6867,7 +6867,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "Ho ho ho ho~";
close;
}
- if ((EIN_LOVERQ == 9) && (countitem(1003) > 9)) {
+ if ((EIN_LOVERQ == 9) && (countitem(Coal) > 9)) {
mes "[Satra]";
mes "My, you've already";
mes "brought the Coal?";
@@ -6890,7 +6890,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "country. It's quite quaint";
mes "and Jawaii is very lovely.";
next;
- delitem 1003,10; //Coal
+ delitem Coal,10;
EIN_LOVERQ = 10;
changequest 8083,8084;
mes "[Satra]";
diff --git a/npc/quests/quests_geffen.txt b/npc/quests/quests_geffen.txt
index 30ac0e3a6..1a9ce31e8 100644
--- a/npc/quests/quests_geffen.txt
+++ b/npc/quests/quests_geffen.txt
@@ -65,13 +65,13 @@ geffen_in,144,166,4 script Blacksmith 1_M_SMITH,{
next;
switch(select("Hm... Not bad. Alright.:How does it work again?")) {
case 1:
- if ((countitem(999) > 49) && (Zeny > 1999)){
+ if ((countitem(Steel) > 49) && (Zeny > 1999)){
mes "[Blacksmith]";
mes "Ah, I see that you appreciate a Blacksmith's work! Alright, I'll do it right away !!";
next;
- delitem 999,50; //Steel
+ delitem Steel,50;
Zeny -= 2000;
- getitem 2292,1; // Welding_Mask
+ getitem Welding_Mask,1; // Welding_Mask
mes "[Blacksmith]";
mes "Hahaha~! Make good use of that!";
close;
@@ -150,12 +150,12 @@ geffen_in,30,71,4 script Eric 4_M_01,{
mes "These are the things I need for Grandfather's masterpiece.";
close;
case 3:
- if ((countitem(999) > 39) && (countitem(984) > 0) && (countitem(970) > 0) && (countitem(1003) > 0)) {
- delitem 999,40; //Steel
- delitem 984,1; //Oridecon
- delitem 970,1; //Alchol
- delitem 1003,1; //Coal
- getitem 5001,1; //Headset
+ if ((countitem(Steel) > 39) && (countitem(Oridecon) > 0) && (countitem(Alchol) > 0) && (countitem(Coal) > 0)) {
+ delitem Steel,40;
+ delitem Oridecon,1;
+ delitem Alchol,1;
+ delitem Coal,1;
+ getitem Headset,1;
mes "*Tap! Tap! Tap!*";
next;
mes "[Eric]";
diff --git a/npc/quests/quests_gonryun.txt b/npc/quests/quests_gonryun.txt
index 6cd5e642f..ba4b1c299 100644
--- a/npc/quests/quests_gonryun.txt
+++ b/npc/quests/quests_gonryun.txt
@@ -210,7 +210,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "you're doing good work.";
mes "Take this old family medicine, it might be of use sometime soon.";
b_sword = 7;
- getitem 504,3; //White_Potion
+ getitem White_Potion,3;
close;
case 7:
mes "[Shi Yan Wen]";
@@ -268,7 +268,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "Please accept this as a";
mes "token of my gratitude...";
b_sword = 15;
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
next;
mes "[Shi Yan Wen]";
mes "If you find any information";
@@ -303,7 +303,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "but a trinket, but please";
mes "accept this gift from me.";
b_sword = 14;
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
close;
case 11:
mes "[Shi Yan Wen]";
@@ -323,7 +323,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "Here...take this.";
mes "Have a good time in Kunlun~";
b_sword = 13;
- getitem 504,1; //White_Potion
+ getitem White_Potion,1;
close;
case 13:
mes "[Shi Yan Wen]";
@@ -367,7 +367,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
close;
}
else if (b_sword == 32) {
- if (countitem(1123) < 1) {
+ if (countitem(Haedonggum) < 1) {
mes "[Shi Yan Wen]";
mes "Hm.....";
mes "Not finished yet, huh?";
@@ -386,9 +386,9 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "[Shi Yan Wen]";
mes "This is a small gift for you.";
mes "Please take it as thanks for a job well done!";
- delitem 1123,1; //Haedonggum
+ delitem Haedonggum,1;
b_sword = 33;
- getitem 2404,1; //Shoes_
+ getitem Shoes_,1;
next;
mes "[Shi Yan Wen]";
mes "Thank you for all of your efforts.";
@@ -542,7 +542,7 @@ gon_in,165,16,4 script Man in hangover#gon 4_M_ALCHE_A,{
else if (b_sword < 6) {
switch(b_sword) {
case 4:
- if (countitem(506) < 1) {
+ if (countitem(Green_Potion) < 1) {
mes "[Xue Bong]";
mes "*Urk!* I feel sick...";
mes "Can somebody bring me a potion?";
@@ -572,7 +572,7 @@ gon_in,165,16,4 script Man in hangover#gon 4_M_ALCHE_A,{
b_sword = 12;
close;
case 2:
- delitem 506,1; //Green_Potion
+ delitem Green_Potion,1;
b_sword = 5;
mes "[Xue Bong]";
mes "Oh man...thanks.";
@@ -616,7 +616,7 @@ gon_in,165,16,4 script Man in hangover#gon 4_M_ALCHE_A,{
close;
}
case 2:
- delitem 506,1; //Green_Potion
+ delitem Green_Potion,1;
b_sword = 5;
emotion e_thx;
mes "[Xue Bong]";
@@ -2945,18 +2945,18 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
close;
}
case 30:
- if (countitem(986) > 0 && countitem(756) > 1 && countitem(7110) > 4 && countitem(999) > 1 && countitem(1005) > 0 && countitem(1000) > 1 && countitem(7098) > 4) {
+ if (countitem(Anvil) > 0 && countitem(Oridecon_Stone) > 1 && countitem(Vroken_Sword) > 4 && countitem(Steel) > 1 && countitem(Hammer_Of_Blacksmith) > 0 && countitem(Star_Crumb) > 1 && countitem(Live_Coal) > 4) {
mes "[Aumgarl]";
mes "Oh, good! You got them all.";
mes "Alright, come back later,";
mes "and I'll have it repaired.";
- delitem 986,1; //Anvil
- delitem 756,2; //Oridecon_Stone
- delitem 7110,5; //Vroken_Sword
- delitem 999,2; //Steel
- delitem 1005,1; //Hammer_Of_Blacksmith
- delitem 1000,2; //Star_Crumb
- delitem 7098,5; //Live_Coal
+ delitem Anvil,1;
+ delitem Oridecon_Stone,2;
+ delitem Vroken_Sword,5;
+ delitem Steel,2;
+ delitem Hammer_Of_Blacksmith,1;
+ delitem Star_Crumb,2;
+ delitem Live_Coal,5;
b_sword = 31;
close;
}
@@ -2998,7 +2998,7 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
mes "'You received repaired";
mes "'^FF0000SaYumMoon's sword^000000'.";
b_sword = 32;
- getitem 1123,1; //Haedonggum
+ getitem Haedonggum,1;
close;
}
mes "[Aumgarl]";
@@ -3116,7 +3116,7 @@ geffen_in,106,106,7 script Girl#gnbs2 4_M_KID2,{
mes "received from Cylrnel.";
mes "After taking the medicine, Lyroo";
mes "fell asleep.^000000";
- delitem 606,1; //Aloebera
+ delitem Aloebera,1;
b_sword = 28;
close;
}
@@ -3549,7 +3549,7 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
mes "There isn't much time for Lyroo.";
close;
case 25:
- if (countitem(608) > 0 && countitem(704) > 0 && countitem(1061) > 2 && countitem(7066) > 2) {
+ if (countitem(Seed_Of_Yggdrasil) > 0 && countitem(Aloe) > 0 && countitem(Starsand_Of_Witch) > 2 && countitem(Ice_Piece) > 2) {
mes "[Cylrnel]";
mes "Hmm...";
mes "Good, you got them all.";
@@ -3569,11 +3569,11 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
mes "...";
mes "Hey you...";
mes "You gave me the wrong information!";
- delitem 608,1; //Seed_Of_Yggdrasil
- delitem 704,1; //Aloe
- delitem 1061,5; //Starsand_Of_Witch
- delitem 7097,3; //Burning_Heart
- delitem 7066,3; //Ice_Piece
+ delitem Seed_Of_Yggdrasil,1;
+ delitem Aloe,1;
+ delitem Starsand_Of_Witch,5;
+ delitem Burning_Heart,3;
+ delitem Ice_Piece,3;
b_sword = 24;
next;
mes "[Cylrnel]";
@@ -3606,7 +3606,7 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
warp "yuno",246,143;
end;
case 26:
- if (countitem(608) > 1 && countitem(704) > 2 && countitem(748) > 0 && countitem(1061) > 9 && countitem(7097) > 4 && countitem(7066) > 4) {
+ if (countitem(Seed_Of_Yggdrasil) > 1 && countitem(Aloe) > 2 && countitem(Witherless_Rose) > 0 && countitem(Starsand_Of_Witch) > 9 && countitem(Burning_Heart) > 4 && countitem(Ice_Piece) > 4) {
mes "[Cylrnel]";
mes "Hmm...";
mes "Good, you got them all.";
@@ -3630,14 +3630,14 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
mes "It wasn't easy to make this";
mes "medicine. Take care, bring";
mes "this to Lyroo and give her my regards...";
- delitem 608,2; //Seed_Of_Yggdrasil
- delitem 704,3; //Aloe
- delitem 748,1; //Witherless_Rose
- delitem 1061,10; //Starsand_Of_Witch
- delitem 7097,5; //Burning_Heart
- delitem 7066,5; //Ice_Piece
+ delitem Seed_Of_Yggdrasil,2;
+ delitem Aloe,3;
+ delitem Witherless_Rose,1;
+ delitem Starsand_Of_Witch,10;
+ delitem Burning_Heart,5;
+ delitem Ice_Piece,5;
b_sword = 27;
- getitem 606,1; //Aloebera
+ getitem Aloebera,1;
close;
}
mes "[Cylrnel]";
@@ -3746,7 +3746,7 @@ gonryun,237,226,3 script Han Ran Jiao#gon 4_M_TWMIDMAN,{
mes "I'm so scared... What should I do?!";
close;
}
- if (nakha == 2 && countitem(1201) > 0) {
+ if (nakha == 2 && countitem(Knife) > 0) {
mes "[Han Ran Jiao]";
mes "Ehhhh... what should I do...";
mes "Oh~! I didn't notice you there.";
@@ -3773,13 +3773,13 @@ gonryun,237,226,3 script Han Ran Jiao#gon 4_M_TWMIDMAN,{
next;
if (select("Return the knife.:Refuse.") == 1) {
nakha = 3;
- delitem 1201,1; //Knife
+ delitem Knife,1;
mes "[Han Ran Jiao]";
mes "Thank you! Thank you so much!";
mes "Please take these potions.";
mes "They may not be much, but they";
mes "are the best I can give you.";
- getitem 505,2; //Blue_Potion
+ getitem Blue_Potion,2;
next;
mes "[Han Ran Jiao]";
mes "You kept my family heirloom safe!";
@@ -3823,7 +3823,7 @@ OnTouch:
mes " ";
mes "- You have found an old knife -";
close2;
- getitem 1201,1; //Knife
+ getitem Knife,1;
}
end;
}
diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt
index aa44e3505..67c146f1e 100644
--- a/npc/quests/quests_hugel.txt
+++ b/npc/quests/quests_hugel.txt
@@ -144,7 +144,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
next;
switch(select("Give White Potion:Ignore")) {
case 1:
- if (!countitem(504)) {
+ if (!countitem(White_Potion)) {
mes "[Allen]";
mes "Oh... Oh no...! You";
mes "don't have any White";
@@ -154,7 +154,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "as soon as you can! ^333333*Cough!*^000000";
close;
} else {
- delitem 504,1; //White potion
+ delitem White_Potion,1; //White potion
mes "[Allen]";
mes "Oh, thank you!";
mes "I-It hurts so much...";
@@ -642,7 +642,7 @@ OnTouch:
close2;
specialeffect EF_CONE;
hg_herb = 13;
- getitem 603,1; //Old Blue Box
+ getitem Old_Blue_Box,1; //Old Blue Box
getexp RENEWAL_EXP?5000:50000,0;
completequest 8056;
} else {
@@ -1540,18 +1540,18 @@ lighthalzen,88,79,7 script Dono 4_M_03,{
mes "buy something, got it?";
close;
} else if (hg_bio == 3) {
- if (countitem(971) > 2 && countitem(1003) > 4 && countitem(619) && countitem(507) && countitem(508) && countitem(511) && countitem(509) && countitem(510) && countitem(7053) > 4 && countitem(7054) > 4 && countitem(935) > 19) {
- delitem 971,3; //Detrimindexta
- delitem 1003,5; //Coal
- delitem 619,1; //Unripe_Apple
- delitem 507,1; //Red_Herb
- delitem 508,1; //Yellow_Herb
- delitem 511,1; //White_Herb
- delitem 509,1; //Green_Herb
- delitem 510,1; //Blue_Herb
- delitem 7053,5; //Brigan
- delitem 7054,5; //Cyfar
- delitem 935,20; //Shell
+ if (countitem(Detrimindexta) > 2 && countitem(Coal) > 4 && countitem(Unripe_Apple) && countitem(Red_Herb) && countitem(Yellow_Herb) && countitem(Green_Herb) && countitem(White_Herb) && countitem(Blue_Herb) && countitem(Cyfar) > 4 && countitem(Brigan) > 4 && countitem(Shell) > 19) {
+ delitem Detrimindexta,3;
+ delitem Coal,5;
+ delitem Unripe_Apple,1;
+ delitem Red_Herb,1;
+ delitem Yellow_Herb,1;
+ delitem Green_Herb,1; //White_Herb
+ delitem White_Herb,1; //Green_Herb
+ delitem Blue_Herb,1;
+ delitem Cyfar,5; //Brigan
+ delitem Brigan,5; //Cyfar
+ delitem Shell,20;
hg_bio = 4;
changequest 11011,11012;
mes "[Dono]";
@@ -2138,7 +2138,7 @@ hugel,70,137,5 script Shede 4_F_CAPEGIRL,{
}
hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
- if (checkweight(7342,1) != 1) {
+ if (checkweight(File01,1) != 1) {
mes "[Herico]";
mes "Why don't you go take some load off your shoulder first, and come back?";
close;
@@ -2726,7 +2726,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "I know that this is a difficult task. But, please understand";
mes "that you are the only hope that I have.";
mes "Please stop them from performing experimental research on living bodies!";
- delitem 7342,1; //File Folder
+ delitem File01,1; //File Folder
hg_tre = 54;
close2;
cutin "",255;
@@ -2828,7 +2828,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
cutin "",255;
end;
} else {
- if (countitem(7342)) {
+ if (countitem(File01)) {
mes "[Herico]";
mes "Why are you still here?";
mes "That research data will aid a great help to Mr. President.";
@@ -2846,28 +2846,28 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "I am willing to exchange 1 of level 4 food with 100 Handcuffs.";
next;
if(select("Exchange:Cancel.") == 1) {
- if (countitem(7345) > 99) {
+ if (countitem(Armlet_Of_Prisoner) > 99) {
mes "[Herico]";
mes "There you go, thank you for your trouble.";
- delitem 7345,100; //Handcuffs
+ delitem Armlet_Of_Prisoner,100; //Handcuffs
switch(rand(1,6)) {
case 1:
- getitem 12044,1; //Herb Marinade Beef
+ getitem Str_Dish04,1; //Herb Marinade Beef
break;
case 2:
- getitem 12049,1; //Morroc Fruit Wine
+ getitem Int_Dish04,1; //Morroc Fruit Wine
break;
case 3:
- getitem 12059,1; //Lutie Cold Noodle
+ getitem Agi_Dish04,1; //Lutie Cold Noodle
break;
case 4:
- getitem 12064,1; //Cream Sandwich
+ getitem Dex_Dish04,1; //Cream Sandwich
break;
case 5:
- getitem 12069,1; //Steamed Ancient Lips
+ getitem Luk_Dish04,1; //Steamed Ancient Lips
break;
case 6:
- getitem 12054,1; //Seasoned Jellyfish
+ getitem Vit_Dish04,1; //Seasoned Jellyfish
break;
}
} else {
@@ -2995,7 +2995,7 @@ lhz_in03,39,44,3 script Enquro Carson 4W_M_01,{
close;
}
} else if (hg_tre == 46) {
- if (!countitem(12112) || !countitem(12113)) {
+ if (!countitem(Tropical_Sograt) || !countitem(Vermilion_The_Beach)) {
mes "[Enquro Carson]";
mes "I heard of a private pub in Morroc,";
mes "a city of Rune-Midgarts Kingdom";
@@ -3048,8 +3048,8 @@ lhz_in03,39,44,3 script Enquro Carson 4W_M_01,{
mes "and I know that I am not allowed to do that. Hehe.";
emotion e_gg;
hg_tre = 47;
- delitem 12112,1; //Tropical Sograt
- delitem 12113,1; //Vermilion on the Beach
+ delitem Tropical_Sograt,1; //Tropical Sograt
+ delitem Vermilion_The_Beach,1; //Vermilion on the Beach
close;
}
} else if (hg_tre == 47) {
@@ -3431,7 +3431,7 @@ hu_in01,317,312,0 script Book HIDDEN_NPC,{
einbech,208,124,3 script Bomb Maker 4_M_REPAIR,{
if (hg_tre == 54) {
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "[Boomer]";
mes "Hey, you look pretty heavy, huh?";
mes "Do you want me to help you?";
@@ -3467,7 +3467,7 @@ einbech,208,124,3 script Bomb Maker 4_M_REPAIR,{
mes "Just make sure that you are not going to";
mes "blow yourself away with this bomb, hahah!";
Zeny -= 3000;
- getitem 7138,1; //Marine Sphere Bottle
+ getitem Mini_Bottle,1; //Marine Sphere Bottle
close;
case 2:
mes "[Boomer]";
@@ -4102,7 +4102,7 @@ lhz_in01,214,129,0 script A Pile of Paper HIDDEN_NPC,{
mes "["+strcharinfo(0)+"]";
mes "Good, I must take this with me.";
hg_tre = 53;
- getitem 7342,1; //File folder
+ getitem File01,1; //File folder
donpcevent "HuMSpawner::OnMonster";
close;
}
@@ -4131,7 +4131,7 @@ OnMonsterDead:
lhz_dun02,244,226,0 script Unethical Machine HIDDEN_NPC,{
if (hg_tre == 54) {
- if (countitem(7138)) {
+ if (countitem(Mini_Bottle)) {
mes "["+strcharinfo(0)+"]";
mes "This must be it...whoa, it looks very spooky.";
mes "Today, I am going to destroy you";
@@ -4143,7 +4143,7 @@ lhz_dun02,244,226,0 script Unethical Machine HIDDEN_NPC,{
specialeffect2 EF_SUI_EXPLOSION;
enablenpc "HiddenExplosion";
mapannounce "lhz_dun02","Beep------------------ ",1,0x99CCFF;
- delitem 7138,1; //Marine sphere bottle
+ delitem Mini_Bottle,1; //Marine sphere bottle
hg_tre = 55;
close;
} else {
@@ -4862,7 +4862,7 @@ hugel,196,164,3 script El Schatt 1_M_04,{
hg_memory = 12;
getexp RENEWAL_EXP?8000:50000,0;
completequest 8063;
- getitem 603,1; //Old Blue Box
+ getitem Old_Blue_Box,1; //Old Blue Box
mes "[El Schatt]";
mes "Oh... Oh dear";
mes "sweet God... My...";
@@ -5156,7 +5156,7 @@ hu_fild06,190,367,3 script Torpy's Mom 4_F_GODEMOM,{
specialeffect2 (hg_ubu01 == 6)?EF_CONE:EF_MVP;
hg_ubu01 = 8;
completequest 12048;
- getitem 12065,3; //Green Salad
+ getitem Dex_Dish05,3; //Green Salad
getexp RENEWAL_EXP?5000:50000,0;
close;
} else if (hg_ubu01 == 8) {
@@ -5243,7 +5243,7 @@ hugel,100,176,3 script Suspicious Barrel HIDDEN_NPC,{
close;
}
} else if (hg_ubu01 == 4) {
- if (countitem(12051)) {
+ if (countitem(Vit_Dish01)) {
mes "[Strange Man]";
mes "Th-that... tantalizing...";
mes "scent... It's S-Steamed...";
@@ -5256,7 +5256,7 @@ hugel,100,176,3 script Suspicious Barrel HIDDEN_NPC,{
mes "Steamed Crab Nippers";
mes "into the barrel where";
mes "it was quickly devoured.^000000";
- delitem 12051,1; //Steamed crab nippers
+ delitem Vit_Dish01,1; //Steamed crab nippers
hg_ubu01 = 5;
next;
mes "[Strange Man]";
@@ -5291,7 +5291,7 @@ hugel,100,176,3 script Suspicious Barrel HIDDEN_NPC,{
close;
}
} else if (hg_ubu01 == 5) {
- if (countitem(12051)) {
+ if (countitem(Vit_Dish01)) {
mes "[Strange Man]";
mes "Th-that... tantalizing...";
mes "scent... It's S-Steamed...";
@@ -5304,7 +5304,7 @@ hugel,100,176,3 script Suspicious Barrel HIDDEN_NPC,{
mes "Steamed Crab Nippers";
mes "into the barrel where";
mes "it was quickly devoured.^000000";
- delitem 12051,1; //Steamed crab nippers
+ delitem Vit_Dish01,1; //Steamed crab nippers
hg_ubu01 = 5;
next;
mes "[Strange Man]";
@@ -5515,7 +5515,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "she's a good friend, but I'm sure that she loves the soup as well.";
hg_odeng = 1;
setquest 8064;
- getitem 584,1; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,1;
close;
case 2:
mes "[Cellette]";
@@ -5526,7 +5526,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "since I helped him start his business. Nice of him, isn't it?";
hg_odeng = 2;
setquest 8065;
- getitem 584,1; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,1;
close;
case 3:
mes "[Cellette]";
@@ -5538,7 +5538,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "Just try not to be late...";
hg_odeng = 3;
setquest 8066;
- getitem 584,1; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,1;
close;
case 4:
mes "[Cellette]";
@@ -5550,7 +5550,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "and such and order...";
hg_odeng = 4;
setquest 8067;
- getitem 584,1; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,1;
close;
}
case 2:
@@ -5570,7 +5570,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "I hope you come and ";
mes "visit me again, okay?";
Zeny -= 100;
- getitem 584,1; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,1;
close;
} else {
mes "[Cellette]";
@@ -5601,7 +5601,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
close;
}
} else if (hg_odeng == 1) {
- if (countitem(584)) {
+ if (countitem(Fish_Ball_Soup)) {
mes "[Cellette]";
mes "Haven't you left already?";
mes "My friend Neha is waiting";
@@ -5628,7 +5628,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "from you. That's fair, so";
mes "please don't lose it this time.";
Zeny -= 100;
- getitem 584,1; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,1;
close;
} else {
mes "[Cellette]";
@@ -5643,7 +5643,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
}
}
} else if (hg_odeng == 2) {
- if (countitem(584)) {
+ if (countitem(Fish_Ball_Soup)) {
mes "[Cellette]";
mes "Whoa, whoa, whoa!";
mes "You should have left";
@@ -5669,7 +5669,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "from you. That's fair, so";
mes "please don't lose it this time.";
Zeny -= 100;
- getitem 584,1; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,1;
close;
} else {
mes "[Cellette]";
@@ -5684,7 +5684,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
}
}
} else if (hg_odeng == 3) {
- if (countitem(584)) {
+ if (countitem(Fish_Ball_Soup)) {
mes "[Cellette]";
mes "I thought you left to";
mes "deliver that soup to";
@@ -5711,7 +5711,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "from you. That's fair, so";
mes "please don't lose it this time.";
Zeny -= 100;
- getitem 584,1; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,1;
close;
} else {
mes "[Cellette]";
@@ -5726,7 +5726,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
}
}
} else if (hg_odeng == 4) {
- if (countitem(584)) {
+ if (countitem(Fish_Ball_Soup)) {
mes "[Cellette]";
mes "Oh, dear, you better";
mes "leave now and deliver";
@@ -5752,7 +5752,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "from you. That's fair, so";
mes "please don't lose it this time.";
Zeny -= 100;
- getitem 584,1; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,1;
close;
} else {
mes "[Cellette]";
@@ -5787,7 +5787,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
if (questprogress(.@i))
erasequest .@i;
}
- getitem 584,3; //Fish_Ball_Soup
+ getitem Fish_Ball_Soup,3;
getexp RENEWAL_EXP?100:1000,0;
next;
mes "[Cellette]";
@@ -5810,7 +5810,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
hugel,76,134,3 script Neha 4W_F_01,{
if (hg_odeng == 1) {
- if (countitem(584)) {
+ if (countitem(Fish_Ball_Soup)) {
mes "[Neha]";
mes "Oh, you have a delivery";
mes "from Cellette, hm? Hmpf!";
@@ -5852,7 +5852,7 @@ hugel,76,134,3 script Neha 4W_F_01,{
close;
}
} else if (hg_odeng == 6) {
- if (countitem(1960) && countitem(584)) {
+ if (countitem(Whip) && countitem(Fish_Ball_Soup)) {
mes "[Neha]";
mes "Finally... My soup!";
mes "And you brought me my Whip!";
@@ -5879,8 +5879,8 @@ hugel,76,134,3 script Neha 4W_F_01,{
mes "ahead and tell Celette that";
mes "you did a good job... I hope";
mes "you come deliver my soup again~";
- delitem 1960,1; //Whip
- delitem 584,1; //Fish_Ball_Soup
+ delitem Whip,1;
+ delitem Fish_Ball_Soup,1;
hg_odeng = 10;
changequest 8068,8072;
close;
@@ -5907,7 +5907,7 @@ hugel,76,134,3 script Neha 4W_F_01,{
hugel,87,139,3 script Maewan 4_M_04,{
if (hg_odeng == 2) {
- if (countitem(584)) {
+ if (countitem(Fish_Ball_Soup)) {
mes "[Maewan]";
mes "Oh, finally, I've been";
mes "waiting for my order of";
@@ -5942,7 +5942,7 @@ hugel,87,139,3 script Maewan 4_M_04,{
close;
}
} else if (hg_odeng == 7 ) {
- if (countitem(584) && countitem(7015)) {
+ if (countitem(Fish_Ball_Soup) && countitem(Bookclip_In_Memory)) {
mes "[Maewan]";
mes "Great, you really brought";
mes "me a Bookclip in Memory!";
@@ -5950,8 +5950,8 @@ hugel,87,139,3 script Maewan 4_M_04,{
mes "addition to my collection~";
mes "Oh, and give me my soup.";
mes "Thanks again for delivering~";
- delitem 584,1; //Fish_Ball_Soup
- delitem 7015,1; //Bookclip in memory
+ delitem Fish_Ball_Soup,1;
+ delitem Bookclip_In_Memory,1; //Bookclip in memory
hg_odeng = 10;
changequest 8069,8073;
close;
@@ -5985,7 +5985,7 @@ hugel,87,139,3 script Maewan 4_M_04,{
hugel,84,125,3 script Layoma 8_F_GIRL,{
if (hg_odeng == 3) {
- if (countitem(584)) {
+ if (countitem(Fish_Ball_Soup)) {
mes "[Layoma]";
mes "You're here to deliver";
mes "my Fish Cake Soup?";
@@ -6013,7 +6013,7 @@ hugel,84,125,3 script Layoma 8_F_GIRL,{
close;
}
} else if (hg_odeng == 8) {
- if (countitem(584) && countitem(921)) {
+ if (countitem(Fish_Ball_Soup) && countitem(Mushroom_Spore)) {
mes "[Layoma]";
mes "Great! You brought me";
mes "1 Mushroom Spore! This";
@@ -6026,8 +6026,8 @@ hugel,84,125,3 script Layoma 8_F_GIRL,{
mes "for my roommate Cellette";
mes "a little while longer. Oh, and";
mes "please tell her to not to come home so late all the time, okay?";
- delitem 921,1; //Mushroom_Spore
- delitem 584,1; //Fish_Ball_Soup
+ delitem Mushroom_Spore,1;
+ delitem Fish_Ball_Soup,1;
hg_odeng = 10;
changequest 8070,8074;
close;
@@ -6053,7 +6053,7 @@ hugel,84,125,3 script Layoma 8_F_GIRL,{
hugel,102,161,3 script Erjan 4W_SAILOR,{
if (hg_odeng == 4) {
- if (countitem(584)) {
+ if (countitem(Fish_Ball_Soup)) {
mes "[Erjan]";
mes "Well, I thought you'd";
mes "never come to deliver";
@@ -6090,7 +6090,7 @@ hugel,102,161,3 script Erjan 4W_SAILOR,{
close;
}
} else if (hg_odeng == 9) {
- if (countitem(584) && countitem(736)) {
+ if (countitem(Fish_Ball_Soup) && countitem(White_Platter)) {
mes "[Erjan]";
mes "Ah, so you've delivered";
mes "my Fish Cake Soup with some";
@@ -6111,8 +6111,8 @@ hugel,102,161,3 script Erjan 4W_SAILOR,{
mes "Please take your leave,";
mes "and return to Cellette";
mes "with my noble thanks.";
- delitem 736,1; //White_Platter
- delitem 584,1; //Fish_Ball_Soup
+ delitem White_Platter,1;
+ delitem Fish_Ball_Soup,1;
hg_odeng = 10;
changequest 8071,8075;
close;
@@ -6779,7 +6779,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 4_M_TWBOY,{
changequest 8050,8051;
end;
} else if (hg_ma1 == 11) {
- if (countitem(7511) < 5) {
+ if (countitem(Rune_Of_Darkness) < 5) {
mes "[Thierry]";
mes "I understand that gathering";
mes "materials here in the Odin";
@@ -6827,7 +6827,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 4_M_TWBOY,{
mes "medicine that Thierry";
mes "has made to give to Euslan.^000000";
close2;
- delitem 7511,5; //Rune_Of_Darkness
+ delitem Rune_Of_Darkness,5;
hg_ma1 = 12;
changequest 8051,8052;
end;
@@ -6972,7 +6972,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "something to eat as my way";
mes "of saying, ''Thanks a lot~''";
next;
- if (checkweight(12063,3) != 1) {
+ if (checkweight(Dex_Dish03,3) != 1) {
mes "[Kurupe]";
mes "Wait a minute!";
mes "Currently you are carrying";
@@ -7076,7 +7076,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "fitting, after all. Besides,";
mes "it's really good for you!";
mes "Thanks again for your help~";
- if (checkweight(519,5) != 1) {
+ if (checkweight(Milk,5) != 1) {
next;
mes "[Kurupe]";
mes "Wait a minute!";
@@ -7088,7 +7088,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
}
hg_milk = 9;
erasequest 12043;
- getitem 519,5; //Milk
+ getitem Milk,5;
close;
} else if (.@milkreward > 4 && .@milkreward < 8) {
mes "[Kurupe]";
@@ -7097,7 +7097,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "right? Come on, you looove";
mes "Orange Potions! Here, you can";
mes "have a bunch as my way of saying thanks for milking Booboo the cow~";
- if (checkweight(502,5) != 1) {
+ if (checkweight(Orange_Potion,5) != 1) {
next;
mes "[Kurupe]";
mes "Wait a minute!";
@@ -7109,7 +7109,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
}
hg_milk = 9;
erasequest 12043;
- getitem 502,5; //Orange_Potion
+ getitem Orange_Potion,5;
close;
} else if (.@milkreward > 7 && .@milkreward < 10) {
mes "[Kurupe]";
@@ -7119,7 +7119,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "take these Yellow Potions";
mes "as a token of my gratitude";
mes "for milking old Booboo.";
- if (checkweight(503,5) != 1) {
+ if (checkweight(Yellow_Potion,5) != 1) {
next;
mes "[Kurupe]";
mes "Wait a minute!";
@@ -7131,7 +7131,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
}
hg_milk = 9;
erasequest 12043;
- getitem 503,5; //Yellow_Potion
+ getitem Yellow_Potion,5;
close;
} else {
.@milkreward = rand(1,10);
@@ -7143,7 +7143,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "it's everything you could";
mes "ever want! Thanks for";
mes "milking Booboo for me~";
- if (checkweight(518,3) != 1) {
+ if (checkweight(Honey,3) != 1) {
next;
mes "[Kurupe]";
mes "Wait a minute!";
@@ -7155,7 +7155,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
}
hg_milk = 9;
erasequest 12043;
- getitem 518,3; //Honey
+ getitem Honey,3;
close;
}
mes "[Kurupe]";
@@ -7165,7 +7165,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "remember what I packed in";
mes "here, but I'm sure it tastes";
mes "good, and it's good for you~";
- if (checkweight(12111,1) != 1) {
+ if (checkweight(Food_Package,1) != 1) {
next;
mes "[Kurupe]";
mes "Wait a minute!";
@@ -7177,7 +7177,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
}
hg_milk = 9;
erasequest 12043;
- getitem 12111,1; //Food_Package
+ getitem Food_Package,1;
close;
}
} else {
@@ -7273,7 +7273,7 @@ hu_fild06,217,270,3 script Burupu 4_M_HUBOY,3,3,{
close;
}
} else if (hg_milk == 5) {
- if (!countitem(1110)) {
+ if (!countitem(Lapier)) {
mes "[Burupu]";
mes "Hey, weren't you";
mes "supposed to bring me";
@@ -7290,7 +7290,7 @@ hu_fild06,217,270,3 script Burupu 4_M_HUBOY,3,3,{
mes "2 Slots and everything!";
mes "I'm gonna start training";
mes "with it right now!";
- delitem 1110,1; //Lapier
+ delitem Lapier,1;
hg_milk = 6;
changequest 12041,12042;
next;
@@ -7512,7 +7512,7 @@ hugel,68,99,3 script Booboo the Cow 4_BULL,{
next;
switch(select("Attempt to Milk Booboo:It's not the right time!")) {
case 1:
- if (countitem(645) > 2) {
+ if (countitem(Center_Potion) > 2) {
switch(rand(1,5)) {
case 1: callsub L_MilkCow,"cow_01.wav",3; break;
case 2: callsub L_MilkCow,"cow_02.wav",5; break;
@@ -7556,7 +7556,7 @@ L_MilkCow:
mes "into the comb, it begins";
mes "to chime, and Booboo the";
mes "cow beings to express her^FFFFFF ^3355FF feelings in the center of Hugel.^000000";
- delitem 645,3; //Center_Potion
+ delitem Center_Potion,3;
soundeffect ""+getarg(0)+"",0;
next;
soundeffect ""+getarg(0)+"",0;
@@ -7944,8 +7944,8 @@ hu_in01,19,161,0 script Alex 1_F_SIGNZISK,{
cutin "",255;
end;
case 2:
- if (countitem(7511) > 4) {
- delitem 7511,5; //Rune_Of_Darkness
+ if (countitem(Rune_Of_Darkness) > 4) {
+ delitem Rune_Of_Darkness,5;
hg_odin = 6; //Old_Blue_Box
changequest 11000,11002;
getitem 603,1;
@@ -8497,11 +8497,11 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
cutin "hu_laura03.bmp",255;
end;
case 2:
- if (countitem(7511) > 4) {
- delitem 7511,5; //Rune_Of_Darkness
+ if (countitem(Rune_Of_Darkness) > 4) {
+ delitem Rune_Of_Darkness,5;
hg_odin = 16;
changequest 11004,11005;
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
mes "[Laura]";
mes "Oooh, nice job. It's good";
mes "that we have more of these";
@@ -8575,7 +8575,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
close2;
cutin "hu_laura01.bmp",255;
end;
- } else if (!countitem(7511)) {
+ } else if (!countitem(Rune_Of_Darkness)) {
cutin "hu_laura02.bmp",2;
mes "[Laura]";
mes "..................";
@@ -8609,7 +8609,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
close2;
cutin "hu_laura02.bmp",255;
end;
- } else if (countitem(7511) == 1) {
+ } else if (countitem(Rune_Of_Darkness) == 1) {
cutin "hu_laura03.bmp",2;
mes "[Laura]";
mes "...Only one?";
@@ -8621,7 +8621,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
close2;
cutin "hu_laura03.bmp",255;
end;
- } else if (countitem(7511) == 2) {
+ } else if (countitem(Rune_Of_Darkness) == 2) {
cutin "hu_laura03.bmp",2;
mes "[Laura]";
mes "One, two...";
@@ -9045,7 +9045,7 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "the good work~";
close;
case 15:
- if (countitem(7511) > 4)
+ if (countitem(Rune_Of_Darkness) > 4)
{
mes "[Ashe]";
mes "Well, it looks like";
diff --git a/npc/quests/quests_juperos.txt b/npc/quests/quests_juperos.txt
index 083609186..9db11716c 100644
--- a/npc/quests/quests_juperos.txt
+++ b/npc/quests/quests_juperos.txt
@@ -175,7 +175,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
close;
}
case 2:
- if ((countitem(7352)) || (countitem(7353)) || (countitem(7354)) || (countitem(7355))) {
+ if ((countitem(Transparent_Plate01)) || (countitem(Transparent_Plate02)) || (countitem(Transparent_Plate03)) || (countitem(Transparent_Plate04))) {
mes "[Fayruz]";
mes "Ah, it's you! Listen,";
mes "I just found a record of";
@@ -303,7 +303,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "sometimes, you know?";
close;
case 2:
- if ((countitem(7352)) || (countitem(7353)) || (countitem(7354)) || (countitem(7355))) {
+ if ((countitem(Transparent_Plate01)) || (countitem(Transparent_Plate02)) || (countitem(Transparent_Plate03)) || (countitem(Transparent_Plate04))) {
mes "[Fayruz]";
mes "Oh, really?!";
mes "That's great news!";
@@ -325,10 +325,10 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
next;
switch(select("Please, be my guest.:No way, you can't have it.")) {
case 1:
- if (countitem(7352)) callfunc "Func_JupHist",7352,1;
- else if (countitem(7353)) callfunc "Func_JupHist",7353,2;
- else if (countitem(7354)) callfunc "Func_JupHist",7354,4;
- else if (countitem(7355)) callfunc "Func_JupHist",7352,8;
+ if (countitem(Transparent_Plate01)) callfunc "Func_JupHist",7352,1;
+ else if (countitem(Transparent_Plate02)) callfunc "Func_JupHist",7353,2;
+ else if (countitem(Transparent_Plate03)) callfunc "Func_JupHist",7354,4;
+ else if (countitem(Transparent_Plate04)) callfunc "Func_JupHist",7352,8;
case 2:
mes "[Fayruz]";
mes "Mm? Are you serious?";
@@ -519,7 +519,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
next;
switch(select("I found another Transparent Plate.:Just visiting, really.")) {
case 1:
- if ((countitem(7352)) || (countitem(7353)) || (countitem(7354)) || (countitem(7355))) {
+ if ((countitem(Transparent_Plate01)) || (countitem(Transparent_Plate02)) || (countitem(Transparent_Plate03)) || (countitem(Transparent_Plate04))) {
mes "[Fayruz]";
mes "Hmm, well, we've made as";
mes "much headway as we can";
@@ -535,9 +535,9 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "you take this as my way";
mes "saying ''Thanks?'' You've been";
mes "great, "+strcharinfo(0)+"...";
- if (countitem(7352)) delitem 7352,1;
- else if (countitem(7353)) delitem 7353,1;
- else if (countitem(7354)) delitem 7354,1;
+ if (countitem(Transparent_Plate01)) delitem 7352,1;
+ else if (countitem(Transparent_Plate02)) delitem 7353,1;
+ else if (countitem(Transparent_Plate03)) delitem 7354,1;
else delitem 7355,1;
getitem 644,1;
close;
@@ -1831,7 +1831,7 @@ jupe_area1,88,224,0 script #hole#1-1 CLEAR_NPC,{
cutin "1",255;
end;
}
- else if (countitem(7356) > 0 || countitem(7359) > 0 || countitem(7357) > 0 || countitem(7358) > 0) {
+ else if (countitem(Piece_Of_Crest1) > 0 || countitem(Piece_Of_Crest4) > 0 || countitem(Piece_Of_Crest2) > 0 || countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFThis seems like";
mes "some kind of device";
mes "that will allow you to";
@@ -1842,7 +1842,7 @@ jupe_area1,88,224,0 script #hole#1-1 CLEAR_NPC,{
next;
switch(select("Insert a Crest Piece.:Cancel.")) {
case 1:
- if (countitem(7356) > 0) {
+ if (countitem(Piece_Of_Crest1) > 0) {
mes "^3355FFYou take out your";
mes "Crest Piece and place";
mes "it into the slot where it";
@@ -2121,7 +2121,7 @@ jupe_area1,25,238,0 script #hole#1-2 CLEAR_NPC,{
cutin "2",255;
end;
}
- else if (countitem(7356) > 0 || countitem(7359) > 0 || countitem(7357) > 0 || countitem(7358) > 0) {
+ else if (countitem(Piece_Of_Crest1) > 0 || countitem(Piece_Of_Crest4) > 0 || countitem(Piece_Of_Crest2) > 0 || countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFThis seems like";
mes "some kind of device";
mes "that will allow you to";
@@ -2132,7 +2132,7 @@ jupe_area1,25,238,0 script #hole#1-2 CLEAR_NPC,{
next;
switch(select("Insert a Crest Piece.:Cancel.")) {
case 1:
- if (countitem(7357) > 0) {
+ if (countitem(Piece_Of_Crest2) > 0) {
mes "^3355FFYou take out your";
mes "Crest Piece and place";
mes "it into the slot where it";
@@ -2408,7 +2408,7 @@ jupe_area1,36,146,0 script #hole#1-3 CLEAR_NPC,{
cutin "3",255;
end;
}
- else if (countitem(7356) > 0 || countitem(7359) > 0 || countitem(7357) > 0 || countitem(7358) > 0) {
+ else if (countitem(Piece_Of_Crest1) > 0 || countitem(Piece_Of_Crest4) > 0 || countitem(Piece_Of_Crest2) > 0 || countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFThis seems like";
mes "some kind of device";
mes "that will allow you to";
@@ -2419,7 +2419,7 @@ jupe_area1,36,146,0 script #hole#1-3 CLEAR_NPC,{
next;
switch(select("Insert a Crest Piece.:Cancel.")) {
case 1:
- if (countitem(7358) > 0) {
+ if (countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFYou take out your";
mes "Crest Piece and place";
mes "it into the slot where it";
@@ -2694,7 +2694,7 @@ jupe_area1,50,49,0 script #hole#1-4 CLEAR_NPC,{
cutin "4",255;
end;
}
- else if (countitem(7356) > 0 || countitem(7359) > 0 || countitem(7357) > 0 || countitem(7358) > 0) {
+ else if (countitem(Piece_Of_Crest1) > 0 || countitem(Piece_Of_Crest4) > 0 || countitem(Piece_Of_Crest2) > 0 || countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFThis seems like";
mes "some kind of device";
mes "that will allow you to";
@@ -2705,7 +2705,7 @@ jupe_area1,50,49,0 script #hole#1-4 CLEAR_NPC,{
next;
switch(select("Insert a Crest Piece.:Cancel.")) {
case 1:
- if (countitem(7359) > 0) {
+ if (countitem(Piece_Of_Crest4) > 0) {
mes "^3355FFYou take out your";
mes "Crest Piece and place";
mes "it into the slot where it";
@@ -3030,7 +3030,7 @@ jupe_area2,74,224,0 script #hole#2-1 CLEAR_NPC,{
cutin "1",255;
end;
}
- else if (countitem(7356) > 0 || countitem(7359) > 0 || countitem(7357) > 0 || countitem(7358) > 0) {
+ else if (countitem(Piece_Of_Crest1) > 0 || countitem(Piece_Of_Crest4) > 0 || countitem(Piece_Of_Crest2) > 0 || countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFThis seems like";
mes "some kind of device";
mes "that will allow you to";
@@ -3041,7 +3041,7 @@ jupe_area2,74,224,0 script #hole#2-1 CLEAR_NPC,{
next;
switch(select("Insert a Crest Piece.:Cancel.")) {
case 1:
- if (countitem(7356) > 0) {
+ if (countitem(Piece_Of_Crest1) > 0) {
mes "^3355FFYou take out your";
mes "Crest Piece and place";
mes "it into the slot where it";
@@ -3320,7 +3320,7 @@ jupe_area2,138,238,0 script #hole#2-2 CLEAR_NPC,{
cutin "2",255;
end;
}
- else if (countitem(7356) > 0 || countitem(7359) > 0 || countitem(7357) > 0 || countitem(7358) > 0) {
+ else if (countitem(Piece_Of_Crest1) > 0 || countitem(Piece_Of_Crest4) > 0 || countitem(Piece_Of_Crest2) > 0 || countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFThis seems like";
mes "some kind of device";
mes "that will allow you to";
@@ -3331,7 +3331,7 @@ jupe_area2,138,238,0 script #hole#2-2 CLEAR_NPC,{
next;
switch(select("Insert a Crest Piece.:Cancel.")) {
case 1:
- if (countitem(7357) > 0) {
+ if (countitem(Piece_Of_Crest2) > 0) {
mes "^3355FFYou take out your";
mes "Crest Piece and place";
mes "it into the slot where it";
@@ -3607,7 +3607,7 @@ jupe_area2,127,146,0 script #hole#2-3 CLEAR_NPC,{
cutin "3",255;
end;
}
- else if (countitem(7356) > 0 || countitem(7359) > 0 || countitem(7357) > 0 || countitem(7358) > 0) {
+ else if (countitem(Piece_Of_Crest1) > 0 || countitem(Piece_Of_Crest4) > 0 || countitem(Piece_Of_Crest2) > 0 || countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFThis seems like";
mes "some kind of device";
mes "that will allow you to";
@@ -3618,7 +3618,7 @@ jupe_area2,127,146,0 script #hole#2-3 CLEAR_NPC,{
next;
switch(select("Insert a Crest Piece.:Cancel.")) {
case 1:
- if (countitem(7358) > 0) {
+ if (countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFYou take out your";
mes "Crest Piece and place";
mes "it into the slot where it";
@@ -3895,7 +3895,7 @@ jupe_area2,113,49,0 script #hole#2-4 CLEAR_NPC,{
cutin "4",255;
end;
}
- else if (countitem(7356) > 0 || countitem(7359) > 0 || countitem(7357) > 0 || countitem(7358) > 0) {
+ else if (countitem(Piece_Of_Crest1) > 0 || countitem(Piece_Of_Crest4) > 0 || countitem(Piece_Of_Crest2) > 0 || countitem(Piece_Of_Crest3) > 0) {
mes "^3355FFThis seems like";
mes "some kind of device";
mes "that will allow you to";
@@ -3906,7 +3906,7 @@ jupe_area2,113,49,0 script #hole#2-4 CLEAR_NPC,{
next;
switch(select("Insert a Crest Piece.:Cancel.")) {
case 1:
- if (countitem(7359) > 0) {
+ if (countitem(Piece_Of_Crest4) > 0) {
mes "^3355FFYou take out your";
mes "Crest Piece and place";
mes "it into the slot where it";
@@ -4244,7 +4244,7 @@ jupe_ele_r,51,98,0 script Switch#ufe CLEAR_NPC,{
mes "into the slots in order";
mes "for the lever to operate.^000000";
next;
- if (countitem(7356) > 0 && countitem(7359) > 0 && countitem(7357) > 0 && countitem(7358) > 0) {
+ if (countitem(Piece_Of_Crest1) > 0 && countitem(Piece_Of_Crest4) > 0 && countitem(Piece_Of_Crest2) > 0 && countitem(Piece_Of_Crest3) > 0) {
switch(select("Insert all of your Crest Pieces.")) {
case 1:
mes "^3300FF*Snap!*^000000";
@@ -4255,10 +4255,10 @@ jupe_ele_r,51,98,0 script Switch#ufe CLEAR_NPC,{
mes "emit a strange light.^000000";
cutin "5-1",2;
specialeffect EF_SPHERE;
- delitem 7356,1; //Piece_Of_Crest1
- delitem 7359,1; //Piece_Of_Crest4
- delitem 7357,1; //Piece_Of_Crest2
- delitem 7358,1; //Piece_Of_Crest3
+ delitem Piece_Of_Crest1,1;
+ delitem Piece_Of_Crest4,1;
+ delitem Piece_Of_Crest2,1;
+ delitem Piece_Of_Crest3,1;
next;
switch(select("Pull out the Crest Pieces.:Pull the lever.")) {
case 1:
@@ -4267,10 +4267,10 @@ jupe_ele_r,51,98,0 script Switch#ufe CLEAR_NPC,{
mes "the Crest Pieces";
mes "that you inserted";
mes "into the slots.^000000";
- getitem 7356,1; //Piece_Of_Crest1
- getitem 7359,1; //Piece_Of_Crest4
- getitem 7357,1; //Piece_Of_Crest2
- getitem 7358,1; //Piece_Of_Crest3
+ getitem Piece_Of_Crest1,1;
+ getitem Piece_Of_Crest4,1;
+ getitem Piece_Of_Crest2,1;
+ getitem Piece_Of_Crest3,1;
close2;
cutin "5",255;
end;
@@ -4304,7 +4304,7 @@ jupe_ele_r,51,98,0 script Switch#ufe CLEAR_NPC,{
}
}
}
- else if (countitem(7356) > 0 || countitem(7359) > 0 || countitem(7357) > 0 || countitem(7358) > 0) {
+ else if (countitem(Piece_Of_Crest1) > 0 || countitem(Piece_Of_Crest4) > 0 || countitem(Piece_Of_Crest2) > 0 || countitem(Piece_Of_Crest3) > 0) {
select("Insert Crest Pieces.");
mes "^3355FFRight now, you don't";
mes "have enough Crest Pieces";
diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt
index afd4b9cc8..4ab0e4cbb 100644
--- a/npc/quests/quests_lighthalzen.txt
+++ b/npc/quests/quests_lighthalzen.txt
@@ -66,7 +66,7 @@ OnMyMobDead:
}
lighthalzen,267,200,3 script Guard#lhz01 4_M_LGTGUARD,{
- if (countitem(7350) > 0) {
+ if (countitem(Pass) > 0) {
mes "[Guard]";
mes "Hold it right th--!";
mes "Oh. I'm sorry. I didn't";
@@ -133,7 +133,7 @@ lighthalzen,267,200,3 script Guard#lhz01 4_M_LGTGUARD,{
}
lighthalzen,294,223,7 script Guard#lhz02 4_M_LGTGUARD,{
- if (countitem(7350) > 0) {
+ if (countitem(Pass) > 0) {
mes "[Guard]";
mes "Hold it right th--!";
mes "Oh. I'm sorry. I didn't";
@@ -456,7 +456,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "It's 20 friggin' Jellopies!";
close;
case 2:
- if (countitem(909) > 19) {
+ if (countitem(Jellopy) > 19) {
mes "[Fishbone]";
mes "Ooh. Hey, good work.";
mes "Okay, I can see you're";
@@ -480,7 +480,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "get some stuff ready and";
mes "then I'll tell you what you";
mes "really need to know.";
- delitem 909,20; //Jellopy
+ delitem Jellopy,20;
lhz_sincube = 6;
close;
}
@@ -1526,7 +1526,7 @@ lhz_cube,224,197,0 script Experiment Tube#cube HIDDEN_NPC,{
next;
input .@input$;
if (.@input$ == "Laboratory Permit") {
- if (countitem(2657)) {
+ if (countitem(Lab_Passport)) {
mes "^3355FFYou insert the";
mes "Laboratory Permit";
mes "into the slot and the";
@@ -1683,7 +1683,7 @@ lhz_cube,248,193,0 script Box#cube1 HIDDEN_NPC,{
mes "Permit^3355FF, knowing that you";
mes "will be needing it later.";
lhz_sincube = 10;
- getitem 2657,1; //Lab_Passport
+ getitem Lab_Passport,1;
}
close;
}
@@ -2029,7 +2029,7 @@ OnTouch:
mes "into each other ever again!";
}
Zeny -= .@price;
- getitem 12016,.@number; //Speed_Up_Potion
+ getitem Speed_Up_Potion,.@number;
}
}
}
@@ -2135,7 +2135,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{
next;
friendship = 15;
changequest 12005,12006;
- getitem 1201,1; //Knife
+ getitem Knife,1;
close;
}
if (friendship == 13) {
@@ -2148,7 +2148,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{
mes "my fashionable street clothes?";
close;
}
- if ((friendship == 12 && countitem(7351) > 0)) {
+ if ((friendship == 12 && countitem(Friend's_Diary) > 0)) {
mes "[Digotz]";
mes "Even if Benkaistein";
mes "did come back, I don't";
@@ -2555,7 +2555,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{
cutin "lhz_macu05",255;
end;
}
- if (friendship == 13 && countitem(7351) > 0) {
+ if (friendship == 13 && countitem(Friend's_Diary) > 0) {
cutin "lhz_macu06",2;
mes "[Maku]";
mes "Hey, what is that? You want";
@@ -2703,7 +2703,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{
mes "that I'm grateful or anything.";
cutin "lhz_macu07",255;
next;
- delitem 7351,1; //Friend's_Diary
+ delitem Friend's_Diary,1;
friendship = 14;
if (RENEWAL_EXP) {
if (BaseLevel > 90) getexp 70000,0;
@@ -3122,7 +3122,7 @@ yuno_in04,107,14,5 script Student 4_M_SAGE_A,{
}
yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{
- if ((MaxWeight-Weight) < 300 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 300 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -3166,7 +3166,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{
else if (BaseLevel > 75) getexp 400000,0;
else getexp 200000,0;
}
- getitem 7350,1; //Pass
+ getitem Pass,1;
mes "[Benkaistein]";
mes "Anyway, I wish you";
mes "safety in your travels,";
@@ -3175,7 +3175,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{
mes "sure to let you know~";
close;
}
- if ((friendship == 11 && countitem(7351) > 0)) {
+ if ((friendship == 11 && countitem(Friend's_Diary) > 0)) {
mes "[Benkaistein]";
mes "Aw nuts, this is";
mes "taking much longer";
@@ -3351,7 +3351,7 @@ yuno_in04,168,117,3 script Book#lhz HIDDEN_NPC,{
}
if (friendship == 10) {
friendship = 11;
- getitem 7351,1; //Friend's_Diary
+ getitem Friend's_Diary,1;
mes "^3355FFThis book is labeled,";
mes "''Benkaistein's Journal";
mes "Vol. 6.'' This is probably";
@@ -3369,7 +3369,7 @@ yuno_in04,168,117,3 script Book#lhz HIDDEN_NPC,{
//== Cursed Spirit Quest ===================================
lhz_dun01,147,106,0 script #kiz01-1 -1,3,3,{
OnTouch_:
- if (countitem(7345) > 0 ) {
+ if (countitem(Armlet_Of_Prisoner) > 0 ) {
if (lhz_curse == 0) {
soundeffect "loli_ruri_stand.wav",0;
lhz_curse = 1;
@@ -3409,7 +3409,7 @@ lhz_dun01,225,198,0 duplicate(#kiz01-1) #kiz01-4 -1,3,3
lhz_dun02,244,229,0 script #kiz02-1 -1,3,3,{
OnTouch_:
- if (countitem(7345) > 0 ) {
+ if (countitem(Armlet_Of_Prisoner) > 0 ) {
if (lhz_curse == 0) {
soundeffect "tao_gunka_stand.wav",0;
lhz_curse = 1;
@@ -3449,7 +3449,7 @@ lhz_dun02,94,199,0 duplicate(#kiz02-1) #kiz02-4 -1,3,3
lhz_dun03,244,51,0 script #kiz03-1 -1,3,3,{
OnTouch_:
- if (countitem(7345) > 0 ) {
+ if (countitem(Armlet_Of_Prisoner) > 0 ) {
if (lhz_curse == 0) {
soundeffect "tao_gunka_stand.wav",0;
lhz_curse = 1;
@@ -3488,7 +3488,7 @@ lhz_dun03,74,140,0 duplicate(#kiz03-1) #kiz03-3 -1,3,3
lighthalzen,344,278,0 script #kiz03 -1,2,2,{
OnTouch_:
- if (countitem(7345) > 0 ) {
+ if (countitem(Armlet_Of_Prisoner) > 0 ) {
if (lhz_curse == 0) {
soundeffect "tao_gunka_stand.wav",0;
sc_start SC_CURSE,1000,0;
@@ -3539,7 +3539,7 @@ OnTouch_:
lhz_in03,178,22,0 script #kiz04 -1,2,2,{
OnTouch_:
- if (countitem(7345) > 0 ) {
+ if (countitem(Armlet_Of_Prisoner) > 0 ) {
if (lhz_curse == 0) {
sc_start SC_CURSE,1000,0;
soundeffect "tao_gunka_stand.wav",0;
@@ -3618,7 +3618,7 @@ OnTouch_:
lighthalzen,295,227,0 script #kiz05 -1,2,2,{
OnTouch_:
- if (countitem(7345) > 0 ) {
+ if (countitem(Armlet_Of_Prisoner) > 0 ) {
if (lhz_curse == 0) {
sc_start SC_CURSE,1000,0;
}
@@ -3664,7 +3664,7 @@ OnTouch_:
lighthalzen,364,315,0 script #kiz06 -1,3,3,{
OnTouch_:
- if (countitem(7345) > 0 ) {
+ if (countitem(Armlet_Of_Prisoner) > 0 ) {
if (lhz_curse == 0) {
sc_start SC_CURSE,1000,0;
}
@@ -3723,7 +3723,7 @@ OnTouch_:
lhz_in01,113,150,0 script #kiz07 -1,3,3,{
OnTouch_:
- if (countitem(7345) > 0 ) {
+ if (countitem(Armlet_Of_Prisoner) > 0 ) {
if (lhz_curse == 0) {
sc_start SC_CURSE,1000,0;
}
@@ -3777,7 +3777,7 @@ OnTouch_:
lhz_in01,272,227,0 script #kiz08 -1,2,2,{
OnTouch_:
- if (countitem(7345) > 0 ) {
+ if (countitem(Armlet_Of_Prisoner) > 0 ) {
if (lhz_curse == 0) {
sc_start SC_CURSE,1000,0;
}
@@ -3861,7 +3861,7 @@ OnTouch_:
lhz_in01,206,129,0 script #kiz09 -1,5,5,{
OnTouch_:
- if (countitem(7345) > 0) {
+ if (countitem(Armlet_Of_Prisoner) > 0) {
if (lhz_curse == 12) {
mes "............";
next;
@@ -3879,7 +3879,7 @@ OnTouch_:
}
lhz_que01,21,31,5 script #li_Varmunt 4_M_SAGE_C,{
- if (countitem(7345) > 0) {
+ if (countitem(Armlet_Of_Prisoner) > 0) {
if (lhz_curse == 12) {
mes "[??]";
mes "Doctor Varmunt,";
@@ -4015,7 +4015,7 @@ lhz_que01,21,31,5 script #li_Varmunt 4_M_SAGE_C,{
}
lhz_que01,29,24,3 script #li_researcher 4_M_SAGE_A,{
- if (countitem(7345) > 0) {
+ if (countitem(Armlet_Of_Prisoner) > 0) {
if (lhz_curse == 12) {
mes "Doctor Varmunt,";
mes "you've finally agreed";
@@ -4151,9 +4151,9 @@ lhz_que01,29,24,3 script #li_researcher 4_M_SAGE_A,{
lhz_in01,282,166,0 script #kiz10 -1,3,3,{
OnTouch_:
- if (countitem(7345) > 0) {
+ if (countitem(Armlet_Of_Prisoner) > 0) {
if (lhz_curse == 16) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFThere's something on";
mes "the floor, but you can't";
mes "really take a good look at";
@@ -4307,7 +4307,7 @@ lhz_que01,99,74,5 script #li_Man 1_M_02,{
mes "what this pendant contains.^000000";
lhz_curse = 17;
changequest 2090,2091;
- getitem 7341,1; //Worn_Out_Pendant
+ getitem Worn_Out_Pendant,1;
close2;
warp "lhz_in01",278,162;
}
@@ -4333,7 +4333,7 @@ OnTouch_:
}
lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
- if (countitem(7345) > 0) {
+ if (countitem(Armlet_Of_Prisoner) > 0) {
if ((lhz_curse == 1) && (lhz_spi01 == 1) && (lhz_spi02 == 1) && (lhz_spi03 == 1) && (lhz_spi04 == 1)) {
mes "[Elder]";
mes "No wonder you look";
@@ -4476,7 +4476,7 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
close;
}
else if (lhz_curse == 17) {
- if (countitem(7341) > 0) {
+ if (countitem(Worn_Out_Pendant) > 0) {
mes "[Elder]";
mes "Greetings, adventurer.";
mes "How goes your search for";
@@ -4533,7 +4533,7 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
}
}
else if (lhz_curse == 18) {
- if ((countitem(523) > 4) && (countitem(744) > 0) && (countitem(7341) > 0)) {
+ if ((countitem(Holy_Water) > 4) && (countitem(Bunch_Of_Flowers) > 0) && (countitem(Worn_Out_Pendant) > 0)) {
mes "[Elder]";
mes "Good, good.";
mes "All is in readiness.";
@@ -4573,8 +4573,8 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
mes "the picture, sitting uncomfortably^FFFFFF^3355FF in an old chair, looks familiar...^000000";
lhz_curse = 19;
changequest 2092,2093;
- delitem 523,5; //Holy_Water
- delitem 744,1; //Bunch_Of_Flowers
+ delitem Holy_Water,5;
+ delitem Bunch_Of_Flowers,1;
close;
}
else {
@@ -4802,7 +4802,7 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
if (lhz_curse == 23) {
- if (countitem(7341) > 0) {
+ if (countitem(Worn_Out_Pendant) > 0) {
mes "["+strcharinfo(0)+"]";
mes "Hey there, are";
mes "you feeling alright?";
@@ -4876,7 +4876,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
mes "["+strcharinfo(0)+"]";
mes "Well...";
mes "This is awkward.";
- delitem 7341,1; //Worn_Out_Pendant
+ delitem Worn_Out_Pendant,1;
lhz_curse = 24;
close;
}
@@ -4950,7 +4950,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
mes "any idea who might";
mes "have owned this pendant?";
next;
- if (countitem(7341) < 1) {
+ if (countitem(Worn_Out_Pendant) < 1) {
mes "[Crippled Girl]";
mes "What are you talking about?";
close;
@@ -5003,7 +5003,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
warp "lighthalzen",322,323;
end;
case 2:
- if (countitem(7341) > 0) {
+ if (countitem(Worn_Out_Pendant) > 0) {
mes "[Crippled Girl]";
mes "Did you meet my";
mes "big brother...?";
@@ -5090,7 +5090,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
next;
mes "["+strcharinfo(0)+"]";
mes "Yes, I'm sure of that.";
- delitem 7341,1; //Worn_Out_Pendant
+ delitem Worn_Out_Pendant,1;
lhz_curse = 25;
close;
case 2:
@@ -5127,7 +5127,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
next;
mes "[Setsu]";
mes "I'll try hard!";
- delitem 7341,1; //Worn_Out_Pendant
+ delitem Worn_Out_Pendant,1;
lhz_curse = 25;
close;
}
@@ -5655,8 +5655,8 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{
}
}
else if (lhz_curse == 15) {
- if (countitem(746) > 0) {
- delitem 746,1; //Glass_Bead
+ if (countitem(Glass_Bead) > 0) {
+ delitem Glass_Bead,1;
mes "[Wolfchev]";
mes "Yes...! Beads!";
mes "You brought them!";
@@ -5986,7 +5986,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
next;
switch(select("Show Evidence:Cancel")) {
case 1:
- if (countitem(7345) > 0) {
+ if (countitem(Armlet_Of_Prisoner) > 0) {
mes "^3355FFYou reveal the Handcuffs";
mes "you found in the laboratory,";
mes "and Secretary Slierre's face";
@@ -6094,7 +6094,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "have any evidence, then you";
mes "shouldn't be making rumors...";
next;
- if (countitem(7345) > 0) {
+ if (countitem(Armlet_Of_Prisoner) > 0) {
mes "^3355FFYou reveal the Handcuffs";
mes "you found in the laboratory,";
mes "and Secretary Slierre's face";
@@ -6186,7 +6186,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
else if (lhz_curse == 30) {
.@li_keka = rand(1,10);
if (.@li_keka > 7) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Sueii Slierre]";
mes "Oh, I'd like to have";
mes "a word with you. Would";
@@ -6228,8 +6228,8 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "our gratitude, adventurer.";
lhz_curse = 31;
changequest 2094,2095;
- getitem 603,1; //Old_Blue_Box
- getitem 12016,10; //Speed_Up_Potion
+ getitem Old_Blue_Box,1;
+ getitem Speed_Up_Potion,10;
next;
mes "[Sueii Slierre]";
mes "Let me promise you";
@@ -6879,7 +6879,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "An error occurred.";
close;
}
- if ((countitem(7346)) && (countitem(7347) > 9) && (countitem(7345) > 9))
+ if ((countitem(Pile_Of_Ymir_Heart)) && (countitem(Lab_Staff_Record) > 9) && (countitem(Armlet_Of_Prisoner) > 9))
{
mes "[Ghalstein]";
mes "Ah, this looks like a";
@@ -6904,15 +6904,15 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "next mission. Show this to";
mes "him to prove that you are";
mes "working with us. Don't forget.";
- delitem 7346,1; //Pile_Of_Ymir_Heart
- delitem 7347,10; //Lab_Staff_Record
- delitem 7345,10; //Armlet_Of_Prisoner
+ delitem Pile_Of_Ymir_Heart,1;
+ delitem Lab_Staff_Record,10;
+ delitem Armlet_Of_Prisoner,10;
lhz_boss = 8;
- getitem 7348,1; //Indication_Of_Member01
+ getitem Indication_Of_Member01,1;
changequest 12016,12017;
close;
}
- else if((!countitem(7346)) && (!countitem(7347)) && (!countitem(7345)))
+ else if((!countitem(Pile_Of_Ymir_Heart)) && (!countitem(Lab_Staff_Record)) && (!countitem(Armlet_Of_Prisoner)))
{
mes "[Ghalstein]";
mes "When you get inside the";
@@ -7008,7 +7008,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "we weren't able to accomplish";
mes "what we set out to do. Still...";
lhz_boss = 44;
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
getexp RENEWAL_EXP?180000:1800000,0;
completequest 12028;
next;
@@ -7169,7 +7169,7 @@ yuno_fild04,165,245,4 script Dismal Guy 4_M_ORIENT02,{
switch( select( "Oh, right!","What are you talking about?" ) )
{
case 1:
- if(!countitem(7348))
+ if(!countitem(Indication_Of_Member01))
{
mes "[Gushaar]";
mes "Hey... Umm...";
@@ -7377,7 +7377,7 @@ yuno_pre,69,20,4 script Secretary#1 4_F_LGTGIRL,{
switch( select( "Show Secret Wing Card.","I'm here to see the president.","Nothing." ) )
{
case 1:
- if(!countitem(7348))
+ if(!countitem(Indication_Of_Member01))
{
mes "^3355FFWait a second...";
mes "You don't seem to";
@@ -7462,7 +7462,7 @@ yuno_pre,69,20,4 script Secretary#1 4_F_LGTGIRL,{
}
else if(lhz_boss == 16)
{
- if(!countitem(7342))
+ if(!countitem(File01))
{
mes "[Hes O'Neil]";
mes "Hm? I thought the";
@@ -7693,7 +7693,7 @@ OnInit:
yuno_pre,69,79,4 script Mr. President 4_M_PRESIDENT,{
- if(checkweight(7342,1) != 1)
+ if(checkweight(File01,1) != 1)
{
mes "- Wait a moment! -";
mes "- Currently you're carrying -";
@@ -7887,7 +7887,7 @@ L_Mission:
mes "for me before you leave.";
mes "Thank you very much.";
lhz_boss = 16;
- getitem 7342,1; //File01
+ getitem File01,1;
changequest 12018,12019;
close2;
cutin "",255;
@@ -7908,7 +7908,7 @@ L_Mission:
}
else if(lhz_boss == 21)
{
- if(!countitem(7343))
+ if(!countitem(File02))
{
mes "[Karl]";
mes "Hm? I was expecting";
@@ -8243,7 +8243,7 @@ L_Mission:
}
else if(lhz_boss == 37)
{
- if(!countitem(7344))
+ if(!countitem(File03))
{
mes "[Karl]";
mes "Did you find any";
@@ -8308,7 +8308,7 @@ L_Mission:
}
else if(lhz_boss == 39)
{
- if(!countitem(7343))
+ if(!countitem(File02))
{
mes "[Karl]";
mes "You don't have the";
@@ -8504,7 +8504,7 @@ L_Mission:
}
else if(hg_tre == 56)
{
- if(!countitem(7342))
+ if(!countitem(File01))
{
mes "["+strcharinfo(0)+"]";
mes "Ah, where did I put the record?";
@@ -8577,7 +8577,7 @@ L_Mission:
mes "Thank you so much. ";
mes "You can count on me to right what was wrong.";
hg_tre = 57;
- delitem 7342,1; //File01
+ delitem File01,1;
getexp RENEWAL_EXP?200000:2000000,0;
getitem 617,1;
close2;
@@ -8730,7 +8730,7 @@ aldebaran,58,225,4 script Kafra Employee#l1 4_F_KAFRA2,{
aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{
- if(checkweight(7343,1) != 1)
+ if(checkweight(File02,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -8854,7 +8854,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{
close;
case 2:
- if(!countitem(7348))
+ if(!countitem(Indication_Of_Member01))
{
mes "^3355FFWait...";
mes "You can't show";
@@ -8935,7 +8935,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{
}
else if(lhz_boss == 19)
{
- if(!countitem(7343))
+ if(!countitem(File02))
{
mes "[Benith]";
mes "Please hurry!";
@@ -8988,7 +8988,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{
mes "The Secret Wing is counting";
mes "on you, brave adventurer.";
lhz_boss = 21;
- getitem 7343,1; //File02
+ getitem File02,1;
changequest 12021,12022;
next;
mes "[Benith]";
@@ -9013,7 +9013,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{
lhz_fild02,228,214,0 script Wounded Man 4_M_DIEMAN,{
- if(checkweight(7343,1) != 1)
+ if(checkweight(File02,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -9077,7 +9077,7 @@ lhz_fild02,228,214,0 script Wounded Man 4_M_DIEMAN,{
mes "I'd be a goner. H-here,";
mes "t-take this with you...";
lhz_boss = 19;
- getitem 7343,1; //File02
+ getitem File02,1;
changequest 12020,12021;
next;
mes "[Jargeah]";
@@ -9145,7 +9145,7 @@ lhz_fild01,66,219,4 script Mysterious Woman 4_F_AGENTKAFRA,{
if(lhz_boss == 26)
{
- if(checkweight(7343,1) != 1)
+ if(checkweight(File02,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -9388,7 +9388,7 @@ lhz_in01,93,45,4 script Researcher#1 4_LGTSCIENCE,{
mes "Heh, yeah, just like";
mes "in the movies. I like";
mes "the way you think~";
- if(!countitem(7348)) close;
+ if(!countitem(Indication_Of_Member01)) close;
next;
mes "^3355FFYou surrepticiously";
mes "check the researcher's";
@@ -9461,7 +9461,7 @@ lhz_in01,93,45,4 script Researcher#1 4_LGTSCIENCE,{
lhz_in01,285,169,3 script Researcher#2 4_LGTSCIENCE,{
- if(checkweight(7349,1) != 1)
+ if(checkweight(Indication_Of_Member02,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -9502,7 +9502,7 @@ lhz_in01,285,169,3 script Researcher#2 4_LGTSCIENCE,{
mes "stick around for 3 minutes";
mes "at a time. The Secret Archive is to the right of this laboratory.";
lhz_boss = 28;
- getitem 7349,1; //Indication_Of_Member02
+ getitem Indication_Of_Member02,1;
changequest 12025,12026;
next;
mes "[Lestin]";
@@ -9549,7 +9549,7 @@ lhz_in01,285,169,3 script Researcher#2 4_LGTSCIENCE,{
}
else if(lhz_boss == 35)
{
- if((!countitem(7349)) || (!countitem(7344)))
+ if((!countitem(Indication_Of_Member02)) || (!countitem(File03)))
{
mes "[Lestin]";
mes "My pass will get you inside,";
@@ -9594,7 +9594,7 @@ lhz_in01,285,169,3 script Researcher#2 4_LGTSCIENCE,{
mes "Lighthalzen where you";
mes "found her last time. She'll";
mes "know that you're coming.";
- delitem 7349,1; //Indication_Of_Member02
+ delitem Indication_Of_Member02,1;
lhz_boss = 36;
changequest 12026,12027;
close;
@@ -9668,7 +9668,7 @@ OnTouch:
switch( select( "Insert Card","Retreat" ) )
{
case 1:
- if(!countitem(7349))
+ if(!countitem(Indication_Of_Member02))
{
mes "^3355FFYou forgot to bring";
mes "the card pass that";
@@ -9964,7 +9964,7 @@ lhz_in01,177,31,0 script Door#sneak HIDDEN_NPC,{
lhz_in01,184,40,0 script Area 1-5 HIDDEN_NPC,{
- if(checkweight(7344,1) != 1)
+ if(checkweight(File03,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -10235,7 +10235,7 @@ lhz_in01,177,56,0 script Area 6-1 HIDDEN_NPC,{
lhz_dun02,282,278,0 script Broken Machine HIDDEN_NPC,{
- if(checkweight(7346,1) != 1)
+ if(checkweight(Pile_Of_Ymir_Heart,1) != 1)
{
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -11277,7 +11277,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{
mes "out for myself. Oh, hey...";
next;
lhz_rekenber = 20;
- getitem 504,1; //White_Potion
+ getitem White_Potion,1;
cutin "lhz_ryo12",2;
mes "[Lyozien]";
mes "Here's a little";
diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt
index be7a94e25..6fa9a4f30 100644
--- a/npc/quests/quests_louyang.txt
+++ b/npc/quests/quests_louyang.txt
@@ -1084,7 +1084,7 @@ louyang,174,150,5 script Jiu Chi Ling#lou 4_F_CHNDRESS1,{
//== Doctor Quest :: dr_china ==============================
lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a minute! Right now, you're over weight, so you cannot receive more items. Please store some of your things in Kafra Storage and try again.^000000";
close;
}
@@ -1232,7 +1232,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
close;
}
else if (ch_par == 9) {
- if (countitem(7252) < 1) {
+ if (countitem(Herb_Medicine) < 1) {
mes "[Hua Tuo]";
mes "Umm.....";
mes "Is that so...?";
@@ -1277,10 +1277,10 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
mes "[Hua Tuo]";
mes "This medicine is not that";
mes "great, but it's an old family secret. I hope it will be useful to you if you find yourself in great danger.";
- delitem 7252,1; //Herb_Medicine
+ delitem Herb_Medicine,1;
ch_par = 10;
completequest 11056;
- getitem 679,2; //Gold_Pill
+ getitem Gold_Pill,2;
getexp RENEWAL_EXP?1000:10000,0;
next;
mes "[Hua Tuo]";
@@ -1359,7 +1359,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
close;
}
else if (ch_par == 16) {
- if (countitem(7252) < 1) {
+ if (countitem(Herb_Medicine) < 1) {
mes "[Hua Tuo]";
mes "Umm.....";
mes "Is that so...?";
@@ -1396,10 +1396,10 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
mes "[Hua Tuo]";
mes "It's not much, but this medicine";
mes "is an old family secret. I hope that it will be of use to you in dangerous situations.";
- delitem 7252,1; //Herb_Medicine
+ delitem Herb_Medicine,1;
ch_par = 10;
completequest 11056;
- getitem 679,2; //Gold_Pill
+ getitem Gold_Pill,2;
getexp RENEWAL_EXP?1000:10000,0;
next;
mes "[Hua Tuo]";
@@ -1432,7 +1432,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
close;
}
else if (ch_par == 17) {
- if (countitem(7172) > 1 && countitem(7164) > 9 && countitem(7155) > 4 && countitem(7188) > 19 && countitem(7193) > 9 && countitem(7121) > 4) {
+ if (countitem(Leopard_Talon) > 1 && countitem(Hard_Peach) > 9 && countitem(Poison_Toad's_Skin) > 4 && countitem(Browny_Root) > 19 && countitem(Germinating_Sprout) > 9 && countitem(Honey_Jar) > 4) {
mes "[Hua Tuo]";
mes "Hm? Ah, you have returned.";
mes "Sorry, I was taking care of my other patients. Have you already gathered the medicines I'll need?";
@@ -1445,16 +1445,16 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
next;
mes "[Hua Tuo]";
mes "Please take this as a token of my appreciation. It's not much, but this medicine is an old family secret. I hope it will be helpful to you in dangerous situations.";
- delitem 7172,2; //Leopard_Talon
- delitem 7164,10; //Hard_Peach
- delitem 7155,5; //Poison_Toad's_Skin
- delitem 7188,20; //Browny_Root
- delitem 7193,10; //Germinating_Sprout
- delitem 7121,5; //Honey_Jar
- delitem 7252,1; //Herb_Medicine
+ delitem Leopard_Talon,2;
+ delitem Hard_Peach,10;
+ delitem Poison_Toad's_Skin,5;
+ delitem Browny_Root,20;
+ delitem Germinating_Sprout,10;
+ delitem Honey_Jar,5;
+ delitem Herb_Medicine,1;
ch_par = 18;
completequest 11057;
- getitem 679,5; //Gold_Pill
+ getitem Gold_Pill,5;
getexp RENEWAL_EXP?10000:30000,0;
next;
mes "[Hua Tuo]";
@@ -1585,7 +1585,7 @@ lou_in02,248,166,2 script Tool Shop Master#lou 4_M_CHNOLD,{
}
lou_in02,201,166,4 script Storage Keeper#lou 4_M_CHN8GUEK,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FF * Wait a moment!! *";
mes "Currently you're over weight, so you cannot receive more items into your inventory. Please store some of your items into Kafra Storage and try again.^000000";
close;
@@ -1808,7 +1808,7 @@ lou_in02,201,166,4 script Storage Keeper#lou 4_M_CHN8GUEK,{
mes "we gotta help each other, right? Alright then, I'll see ya around.";
ch_par = 16;
changequest 11055,11056;
- getitem 7252,1; //Herb_Medicine
+ getitem Herb_Medicine,1;
close;
}
mes "[Jiang Xiayou]";
@@ -2166,7 +2166,7 @@ lou_in02,204,169,0 script Supply Stack#1lou HIDDEN_NPC,{
mes "You found a medicine.^000000";
ch_par = 9;
changequest 11050,11056;
- getitem 7252,1; //Herb_Medicine
+ getitem Herb_Medicine,1;
next;
mes "[Jiang Xiayou]";
mes "What...!";
@@ -2216,7 +2216,7 @@ lou_in02,207,168,0 script Supply Stack#5lou HIDDEN_NPC,{
mes "You found a medicine.^000000";
ch_par = 9;
changequest 11050,11056;
- getitem 7252,1; //Herb_Medicine
+ getitem Herb_Medicine,1;
next;
mes "[Jiang Xiayou]";
mes "Err...";
@@ -2268,7 +2268,7 @@ lou_in02,206,163,0 script Supply Stack#4lou HIDDEN_NPC,{
mes "You found a medicine.^000000";
ch_par = 9;
changequest 11050,11056;
- getitem 7252,1; //Herb_Medicine
+ getitem Herb_Medicine,1;
next;
mes "[Jiang Xiayou]";
mes "Err...";
@@ -2320,7 +2320,7 @@ lou_in02,198,170,0 script Supply Stack#3lou HIDDEN_NPC,{
mes "You found a medicine.^000000";
ch_par = 9;
changequest 11050,11056;
- getitem 7252,1; //Herb_Medicine
+ getitem Herb_Medicine,1;
next;
mes "[Jiang Xiayou]";
mes "Err...";
@@ -2372,7 +2372,7 @@ lou_in02,192,170,0 script Supply Stack#2 HIDDEN_NPC,{
mes "You found a medicine.^000000";
ch_par = 9;
changequest 11050,11056;
- getitem 7252,1; //Herb_Medicine
+ getitem Herb_Medicine,1;
next;
mes "[Jiang Xiayou]";
mes "Err...";
@@ -2417,7 +2417,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
// Remove outdated variable.
QL_POISONKING = 0;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FF * Wait a minute! *";
mes "Right now, you are carrying too many items with you. Please place some of your items into Kafra Storage and try again.^000000";
close;
@@ -2451,7 +2451,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "I lower my head";
mes "feeling homesick.";
next;
- if ((countitem(506) > 0 || countitem(511) > 0 || countitem(716) > 0) && (ch_poison > 0 && rand(1,300) > 99)) {
+ if ((countitem(Green_Potion) > 0 || countitem(Green_Herb) > 0 || countitem(Red_Gemstone) > 0) && (ch_poison > 0 && rand(1,300) > 99)) {
switch(select("Ask about the poem.:Ask about his hometown.:Ask about use of Poison.:Ask about his situation.")) {
case 1:
mes "[Nagash Arses]";
@@ -3155,9 +3155,9 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "Did something happen to him?";
mes "I've been worried since he hasn't come to visit me since you last came to speak with me.";
next;
- if (countitem(678) > 1) {
+ if (countitem(Poison_Bottle) > 1) {
if (select("Give him Poison Bottle.:Cancel and go to 'Song Zhi Du.") == 1) {
- delitem 678,1; //Poison_Bottle
+ delitem Poison_Bottle,1;
mes "[Nagash Arses]";
mes "Huh!?";
mes "Isn't this...!?";
@@ -3401,7 +3401,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
}
lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FF * Wait a minute! *";
mes "You're carrying too many items with you right now. Please put some of your things into Kafra Storage and try again.^000000";
close;
@@ -3657,11 +3657,11 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "I asked of you?";
next;
if (select("Yes.:What do you need again?") == 1) {
- if (countitem(939) > 3 && countitem(937) > 9 && countitem(1093) > 9 && countitem(506) > 29) {
- delitem 939,4; //Bee_Sting
- delitem 937,10; //Posionous_Canine
- delitem 1093,10; //Empty_Potion
- delitem 506,30; //Green_Potion
+ if (countitem(Bee_Sting) > 3 && countitem(Posionous_Canine) > 9 && countitem(Empty_Potion) > 9 && countitem(Green_Potion) > 29) {
+ delitem Bee_Sting,4;
+ delitem Posionous_Canine,10;
+ delitem Empty_Potion,10;
+ delitem Green_Potion,30;
ch_poison = 8;
changequest 11072,11073;
mes "[Song Zhi Du]";
@@ -3722,8 +3722,8 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
close;
}
else if (ch_par > 9 && ch_poison == 9) {
- if (countitem(7126) > 0) {
- delitem 7126,countitem(7126); //Large_Jellopy
+ if (countitem(Large_Jellopy) > 0) {
+ delitem Large_Jellopy,countitem(Large_Jellopy);
mes "[Song Zhi Du]";
mes "Ah. Thank you,";
mes "I needed this. Now,";
@@ -3774,7 +3774,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
close;
}
else if (ch_par > 9 && ch_poison == 10) {
- if (countitem(939) > 3 && countitem(937) > 9 && countitem(1093) > 9 && countitem(506) > 29 && countitem(7126) > 0) {
+ if (countitem(Bee_Sting) > 3 && countitem(Posionous_Canine) > 9 && countitem(Empty_Potion) > 9 && countitem(Green_Potion) > 29 && countitem(Large_Jellopy) > 0) {
mes "[Song Zhi Du]";
mes "Oh! You brought";
mes "me everything I need!";
@@ -3785,11 +3785,11 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "who actually understands how";
mes "I feel. Thank you for gathering all of these ^FF0000materials^000000.";
next;
- delitem 939,countitem(939); //Bee_Sting
- delitem 937,countitem(937); //Posionous_Canine
- delitem 1093,countitem(1093); //Empty_Potion
- delitem 506,countitem(506); //Green_Potion
- delitem 7126,countitem(7126); //Large_Jellopy
+ delitem Bee_Sting,countitem(Bee_Sting);
+ delitem Posionous_Canine,countitem(Posionous_Canine);
+ delitem Empty_Potion,countitem(Empty_Potion);
+ delitem Green_Potion,countitem(Green_Potion);
+ delitem Large_Jellopy,countitem(Large_Jellopy);
mes "[Song Zhi Du]";
mes "Alright, now";
mes "to create the poison.";
@@ -3840,7 +3840,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "Now, revenge will be mine!";
next;
ch_poison = 11;
- getitem 678,2; //Poison_Bottle
+ getitem Poison_Bottle,2;
mes "[Song Zhi Du]";
mes "Hahaha! Now, please";
mes "take this bottle. But be careful. Even if you smell it just a little, it can cause your body to decompose, leading to death.";
@@ -3992,7 +3992,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "But before you go, let me give you some poison and a medicinal pill.";
mes "I made these with the leftover materials and medicine in the storage.";
ch_poison = 14;
- getitem 678,3; //Poison_Bottle
+ getitem Poison_Bottle,3;
next;
mes "[Song Zhi Du]";
mes "Please take the";
@@ -4070,7 +4070,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "need them any longer.";
ch_poison = 21;
completequest 11083;
- getitem 678,5; //Poison_Bottle
+ getitem Poison_Bottle,5;
next;
mes "[Song Zhi Du]";
mes "Thank you";
@@ -4091,7 +4091,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
}
lou_fild01,224,348,0 script Lady#delivery 4_F_CHNDRESS3,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FF * Wait a minute! *";
mes "Currently, you're carrying too many items. Please put some of your things into Kafra Storage and try again.^000000";
close;
@@ -4171,7 +4171,7 @@ lou_fild01,224,348,0 script Lady#delivery 4_F_CHNDRESS3,{
next;
if (Zeny > 999) {
Zeny -= 1000;
- getitem 7126,1; //Large_Jellopy
+ getitem Large_Jellopy,1;
mes "[Lady]";
mes "Thank you~";
mes "Now that the fee is paid,";
@@ -4340,7 +4340,7 @@ lou_in01,107,163,0 script #lou_drink1 HIDDEN_NPC,{
mes "^3355FFYou found a drink bottle that's possibly owned by Bai Long, lord of Louyang.^00000";
next;
mes "^3355FFYou put the deadly poison into the bottle.^000000";
- delitem 678,1; //Poison_Bottle
+ delitem Poison_Bottle,1;
ch_poison = 13;
changequest 11076,11077;
close;
@@ -4350,10 +4350,10 @@ lou_in01,107,163,0 script #lou_drink1 HIDDEN_NPC,{
close;
}
else if (ch_poison == 16) {
- if (countitem(938) > 0 && countitem(713) > 0) {
+ if (countitem(Sticky_Mucus) > 0 && countitem(Empty_Bottle) > 0) {
mes "^3355FFYou take the drink bottle and replace it with a bottle filled with Sticky Mucus. Hopefully Bai Long won't notice!^000000";
- delitem 938,1; //Sticky_Mucus
- delitem 713,1; //Empty_Bottle
+ delitem Sticky_Mucus,1;
+ delitem Empty_Bottle,1;
ch_poison = 17;
changequest 11079,11080;
close;
@@ -4384,7 +4384,7 @@ lou_in01,118,167,0 script #lou_drink2 HIDDEN_NPC,{
}
lou_in01,99,158,4 script Lord#bailong 4_M_CHNGENERL,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FF * Wait a minute! *";
mes "Right now you're carrying too many items. Please put some of your things into Kafra Storage and try again.^000000";
close;
@@ -4459,7 +4459,7 @@ lou_in01,99,158,4 script Lord#bailong 4_M_CHNGENERL,{
mes "Please, take this as a token of gratitute. And please deliver this letter to Nagash and Song Zhi Du for me.";
ch_poison = 19;
changequest 11081,11802;
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
next;
mes "^3355FFYou obtained ^0000FFBai Long's letter^000000.";
next;
@@ -4743,9 +4743,9 @@ lou_in02,77,37,7 script Hermit 4_M_CHNOLD,{
mes "Since flammable chemicals are not allowed inside government offices, you must keep them well hidden. If the chemicals are equally divided among the eight of you, we might succeed!";
next;
QL_REVOL = 8;
- getitem 7068,8; //Burn_Tree
- getitem 7096,8; //Cold_Magma
- getitem 7004,8; //Mud_Lump
+ getitem Burn_Tree,8;
+ getitem Cold_Magma,8;
+ getitem Mud_Lump,8;
mes "[Sun Mao]";
mes "There you go. Now, divide these materials equally among the eight of you. The eight of you must fully cooperate with each other, or our plan will fail. Understood?";
close;
@@ -4806,14 +4806,14 @@ lou_in02,77,37,7 script Hermit 4_M_CHNOLD,{
}
} else if (QL_REVOL == 8) {
if (@partymember == 8) {
- if (countitem(7204) > 7) {
+ if (countitem(Gunpowder) > 7) {
mes "[Sun Mao]";
mes "Welcome back! I see that the mission has been successfully accomplished! Great work, men!";
next;
mes "[Sun Mao]";
mes "Finally, we have a weapon to mete out severe retribution to our enemies, the corrupt government officials and the evil martial arts organizations! I appreciate your help, comrades.";
next;
- delitem 7204,countitem(7204);
+ delitem 7204,countitem(Gunpowder);
ch_make = 0;
QL_REVOL = 9;
getitem 668,8;
@@ -4880,7 +4880,7 @@ lou_in01,43,147,3 script Gunpowder Expert 4_M_ALCHE_C,{
mes "Mao's plans are flawless,";
mes "so I'm sticking to the scenario he's drawn up. You're either improvising needlessly, or you're not really my comrade...";
close;
- } else if (countitem(7068) && countitem(7096) && countitem(7004)) {
+ } else if (countitem(Burn_Tree) && countitem(Cold_Magma) && countitem(Mud_Lump)) {
mes "[Hao Chenryu]";
mes "Ah, I see that Mao";
mes "has sent you. I'm sorry";
@@ -4896,13 +4896,13 @@ lou_in01,43,147,3 script Gunpowder Expert 4_M_ALCHE_C,{
next;
switch(select("Make Gunpowder.:Cancel.")) {
case 1:
- delitem 7068,1; //Burn_Tree
- delitem 7096,1; //Cold_Magma
- delitem 7004,1; //Mud_Lump
+ delitem Burn_Tree,1;
+ delitem Cold_Magma,1;
+ delitem Mud_Lump,1;
mes "[Hao Chenryu]";
mes "I don't want you to be caught if the soldiers inspect your goods. It will be better if one of you carry a Cart and hide the gunpowder in there.";
ch_make = 1;
- getitem 7204,1; //Gunpowder
+ getitem Gunpowder,1;
close;
case 2:
mes "[Hao Chenryu]";
@@ -4930,7 +4930,7 @@ lou_in01,43,147,3 script Gunpowder Expert 4_M_ALCHE_C,{
mes "from your party leader.";
close;
}
- } else if (countitem(7204)) {
+ } else if (countitem(Gunpowder)) {
mes "[Hao Chenryu]";
mes "Be careful!";
mes "It's easy for";
@@ -4947,7 +4947,7 @@ lou_in01,43,147,3 script Gunpowder Expert 4_M_ALCHE_C,{
}
lou_in01,45,138,3 script Soldier#1 4_M_CHNSOLDIER,{
- if (countitem(7204)) {
+ if (countitem(Gunpowder)) {
mes "[Soldier]";
mes "Hold on there!";
next;
@@ -4965,7 +4965,7 @@ lou_in01,45,138,3 script Soldier#1 4_M_CHNSOLDIER,{
}
lou_in01,82,139,7 script Soldier#2 4_M_CHNSOLDIER,{
- if (countitem(7068) || countitem(7096) || countitem(7004)) {
+ if (countitem(Burn_Tree) || countitem(Cold_Magma) || countitem(Mud_Lump)) {
mes "[Soldier]";
mes "I am sorry, but it is prohibited to enter with some of the products";
mes "you are carrying. I cannot let you in.";
diff --git a/npc/quests/quests_lutie.txt b/npc/quests/quests_lutie.txt
index 380cb3101..dafc377f9 100644
--- a/npc/quests/quests_lutie.txt
+++ b/npc/quests/quests_lutie.txt
@@ -182,19 +182,19 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
mes "Thank you!";
close;
case 2:
- if ((countitem(2213) > 0) && (countitem(1036) > 19) && (countitem(7012) > 199) && (countitem(7065) > 299)) {
+ if ((countitem(Cat_Hairband) > 0) && (countitem(Dragon_Scale) > 19) && (countitem(Tough_Scalelike_Stem) > 199) && (countitem(Sea_Otter_Leather) > 299)) {
mes "^3355FFYou gingerly place the items into the snowman's mouth.^000000";
next;
- delitem 2213,1; //Cat_Hairband
- delitem 1036,20; //Dragon_Scale
- delitem 7012,200; //Tough_Scalelike_Stem
- delitem 7065,300; //Sea_Otter_Leather
+ delitem Cat_Hairband,1;
+ delitem Dragon_Scale,20;
+ delitem Tough_Scalelike_Stem,200;
+ delitem Sea_Otter_Leather,300;
emotion e_oh;
mes "^3355FF*Vroooooom~~*";
mes "*Bzzzzzt*";
mes "*choogachooga*";
mes "*Kapang!*^000000";
- getitem 5033,1; // Smokie_Hat
+ getitem Smokie_Hat,1; // Smokie_Hat
next;
mes "[Audi]";
mes "^555555Thank you for coming by.";
@@ -204,19 +204,19 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
}
break;
case 3:
- if ((countitem(7033) > 849) && (countitem(7068) > 299) && (countitem(1015) > 0)) {
+ if ((countitem(Poison_Spore) > 849) && (countitem(Burn_Tree) > 299) && (countitem(Thin_N'_Long_Tongue) > 0)) {
mes "^3355FFYou gingerly place the items into the snowman's mouth.^000000";
next;
- delitem 7033,850; //Poison_Spore
- delitem 7068,300; //Burn_Tree
- delitem 1015,1; //Thin_N'_Long_Tongue
+ delitem Poison_Spore,850;
+ delitem Burn_Tree,300;
+ delitem Thin_N'_Long_Tongue,1;
emotion e_oh;
mes "^3355FF*Vroooooom~~*";
mes "*Bzzzzzt*";
mes "*choogachooga*";
mes "*Kapang!*";
mes "*Wek Wek*^000000";
- getitem 5029,1; // Spore_Hat
+ getitem Spore_Hat,1; // Spore_Hat
next;
mes "^555555Thank you for coming by.";
mes "Please come again!";
@@ -225,11 +225,11 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
}
break;
case 4:
- if ((countitem(5037) > 0) && (countitem(7064) > 499)) {
+ if ((countitem(Fruit_Shell) > 0) && (countitem(Dragon_Fly_Wing) > 499)) {
mes "^3355FFYou gingerly place the items into the snowman's mouth.^000000";
next;
- delitem 5037,1; //Fruit_Shell
- delitem 7064,500; //Dragon_Fly_Wing
+ delitem Fruit_Shell,1;
+ delitem Dragon_Fly_Wing,500;
mes "^3355FF*Vroooooom~~*";
mes "*Bzzzzzt*";
mes "*choogachooga*";
@@ -237,7 +237,7 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
mes "*BeepBoopBeepBoop*";
mes "*Beeeeeeoop*^000000";
emotion e_oh;
- getitem 5050,1; // Mystery_Fruit_Shell
+ getitem Mystery_Fruit_Shell,1; // Mystery_Fruit_Shell
next;
mes "[Audi]";
mes "^555555Thank you for coming by.";
@@ -247,18 +247,18 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
}
break;
case 5:
- if ((countitem(5015) > 0) && (countitem(978) > 0) && (countitem(7030) > 49)){
+ if ((countitem(Egg_Shell) > 0) && (countitem(Cobaltblue_Dyestuffs) > 0) && (countitem(Claw_Of_Desert_Wolf) > 49)){
mes "^3355FFYou gingerly place the items into the snowman's mouth.^000000";
next;
- delitem 5015,1; //Egg_Shell
- delitem 978,1; //Cobaltblue_Dyestuffs
- delitem 7030,50; //Claw_Of_Desert_Wolf
+ delitem Egg_Shell,1;
+ delitem Cobaltblue_Dyestuffs,1;
+ delitem Claw_Of_Desert_Wolf,50;
emotion e_oh;
mes "^3355FF*Vroooooom~~*";
mes "*Bzzzzzt*";
mes "*choogachooga*";
mes "*OoooEeeeeeee~*^000000";
- getitem 5039,1; // Mottled_Egg_Shell
+ getitem Mottled_Egg_Shell,1; // Mottled_Egg_Shell
next;
mes "[Audi]";
mes "^555555Thank you for coming by.";
@@ -268,10 +268,10 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
}
break;
case 6:
- if (countitem(7047) > 99) {
+ if (countitem(Alice's_Apron) > 99) {
mes "^3355FFYou gingerly place all 100 Aprons into the snowman's mouth.^000000";
next;
- delitem 7047,100; //Alice's_Apron
+ delitem Alice's_Apron,100;
emotion e_oh;
mes "^3355FF*Vroooooom~~*";
mes "*Bzzzzzt*";
@@ -279,7 +279,7 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
mes "*Kapang!*";
mes "*ChoopChoop*";
mes "*Chaaawah!*^000000";
- getitem 5040,1; // Blush
+ getitem Blush,1; // Blush
mes "[Audi]";
mes "^555555Thank you for coming by.";
mes "Please come again!";
@@ -291,20 +291,20 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
}
break;
case 7:
- if ((countitem(539) > 119) && (countitem(982) > 0) && (countitem(949) > 329) && (countitem(1036) > 449)) {
+ if ((countitem(Piece_Of_Cake) > 119) && (countitem(White_Dyestuffs) > 0) && (countitem(Feather) > 329) && (countitem(Dragon_Scale) > 449)) {
mes "^3355FFYou gingerly place the items into the snowman's mouth.^000000";
next;
- delitem 539,120; //Piece_Of_Cake
- delitem 982,1; //White_Dyestuffs
- delitem 949,330; //Feather
- delitem 1036,450; //Dragon_Scale
+ delitem Piece_Of_Cake,120;
+ delitem White_Dyestuffs,1;
+ delitem Feather,330;
+ delitem Dragon_Scale,450;
emotion e_oh;
mes "^3355FF*Vroooooom~~*";
mes "*Bzzzzzt*";
mes "*choogachooga*";
mes "*Kapang!*";
mes "*Muuuuuuugeeee*^000000";
- getitem 5026,1; // Hat_Of_Cook
+ getitem Hat_Of_Cook,1; // Hat_Of_Cook
next;
mes "[Audi]";
mes "^555555Thank you for coming by.";
@@ -314,18 +314,18 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
}
break;
case 8:
- if ((countitem(2279) > 0) && (countitem(7035) > 49) && (countitem(526) > 99)) {
+ if ((countitem(Bomb_Wick) > 0) && (countitem(Matchstick) > 49) && (countitem(Royal_Jelly) > 99)) {
mes "^3355FFYou gingerly place the items into the snowman's mouth.^000000";
next;
- delitem 2279,1; //Bomb_Wick
- delitem 7035,50; //Matchstick
- delitem 526,100; //Royal_Jelly
+ delitem Bomb_Wick,1;
+ delitem Matchstick,50;
+ delitem Royal_Jelly,100;
emotion e_oh;
mes "^3355FF*Vroooooom~~*";
mes "*Bzzzzzt*";
mes "*choogachooga*";
mes "*Kapang!*^000000";
- getitem 5028,1; // Candle
+ getitem Candle,1; // Candle
next;
mes "[Audi]";
mes "^555555Thank you for coming by.";
@@ -335,20 +335,20 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{
}
break;
case 9:
- if ((countitem(529) > 9) && (countitem(530) > 4) && (countitem(538) > 14) && (countitem(539) > 19) && (countitem(999) > 9)) {
+ if ((countitem(Candy) > 9) && (countitem(Candy_Striper) > 4) && (countitem(Well_Baked_Cookie) > 14) && (countitem(Piece_Of_Cake) > 19) && (countitem(Steel) > 9)) {
mes "^3355FFYou gingerly place the items into the snowman's mouth.^000000";
next;
- delitem 529,10; //Candy
- delitem 530,5; //Candy_Striper
- delitem 538,15; //Well_Baked_Cookie
- delitem 539,20; //Piece_Of_Cake
- delitem 999,10; //Steel
+ delitem Candy,10;
+ delitem Candy_Striper,5;
+ delitem Well_Baked_Cookie,15;
+ delitem Piece_Of_Cake,20;
+ delitem Steel,10;
emotion e_oh;
mes "^3355FF*Vroooooom~~*";
mes "*Bzzzzzt*";
mes "*choogachooga*";
mes "*Kapang!*^000000";
- getitem 5024,1; // Hat_Of_Cake
+ getitem Hat_Of_Cake,1; // Hat_Of_Cake
next;
mes "[Audi]";
mes "^555555Thank you for coming by.";
diff --git a/npc/quests/quests_morocc.txt b/npc/quests/quests_morocc.txt
index 7783e2020..077072fdc 100644
--- a/npc/quests/quests_morocc.txt
+++ b/npc/quests/quests_morocc.txt
@@ -60,9 +60,9 @@ moc_ruins,113,181,4 script William 4_M_ORIENT02,{
mes "[William]";
mes "To produce a ^3355FFStop Post^000000, we need ^3355FF91100 Zeny^000000, ^3355FF50 Trunk^000000 and ^3355FF1 Black Dyestuffs^000000.";
next;
- if ((countitem(1019) > 49) && (countitem(983) > 0) && (Zeny > 91099)) {
- delitem 1019,50; //Wooden_Block
- delitem 983,1; //Black_Dyestuffs
+ if ((countitem(Wooden_Block) > 49) && (countitem(Black_Dyestuffs) > 0) && (Zeny > 91099)) {
+ delitem Wooden_Block,50;
+ delitem Black_Dyestuffs,1;
Zeny -= 91100;
mes "[William]";
mes "Here you are~!";
@@ -71,7 +71,7 @@ moc_ruins,113,181,4 script William 4_M_ORIENT02,{
mes "just for you!";
mes "Thank you for stopping by!";
mes "...Get the joke?";
- getitem 2272,1; // Stop_Post
+ getitem Stop_Post,1; // Stop_Post
close;
}
else {
@@ -121,19 +121,19 @@ moc_ruins,118,176,4 script Alchemist 1_M_WIZARD,{
mes "And ^3355FF50000 Zeny^000000!";
close;
case 2:
- if ((countitem(2243) > 0) && (countitem(999) > 99) && (Zeny > 49999)) {
+ if ((countitem(Spinning_Eyes) > 0) && (countitem(Steel) > 99) && (Zeny > 49999)) {
mes "[Marius]";
mes "Perfect, perfect !";
mes "Now my masterpiece will be complete!";
mes "Muhahahaha !";
next;
- delitem 2243,1; //Spinning_Eyes
- delitem 999,100; //Steel
+ delitem Spinning_Eyes,1;
+ delitem Steel,100;
Zeny -= 50000;
mes "[Marius]";
mes "Here you are!";
mes "Binoculars !";
- getitem 2296,1; // Binoculars
+ getitem Binoculars,1; // Binoculars
next;
mes "[Marius]";
mes "Just remember...";
@@ -169,7 +169,7 @@ morocc,43,108,5 script Sharp-Looking Kid#dan_07 4_KID01,{
close;
}
else {
- if (countitem(7416) > 0) {
+ if (countitem(Letter_Of_Recommend) > 0) {
mes "[Jack]";
mes "A letter of recommendation?";
mes "Oh, boy. Looks like you've brought me a very, very old relic from the past.";
@@ -329,7 +329,7 @@ que_job01,81,79,5 script Idle Knight#dan_08 4_M_JOB_KNIGHT1,{
}
que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -371,7 +371,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{
next;
switch(select("Tropical Sograt:Vermilion on the Beach:Do you offer any free drinks?")) {
case 1:
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "[Master]";
mes "Hey, why did you bring";
mes "so much stuff with you?";
@@ -401,7 +401,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{
mes "my friend, and drink it as";
mes "deeply as you would life.";
Zeny -= 800;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
}
close;
}
@@ -424,13 +424,13 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{
mes "already lucky to be here.";
mes "Hey, enjoy your drink~";
Zeny -= 1000;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
close;
}
}
}
case 2:
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "[Master]";
mes "Hey, why did you bring";
mes "so much stuff with you?";
@@ -460,7 +460,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{
mes "my friend, and drink it as";
mes "deeply as you would life.";
Zeny -= 800;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
}
close;
}
@@ -483,7 +483,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{
mes "already lucky to be here.";
mes "Hey, enjoy your drink~";
Zeny -= 1000;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
close;
}
}
@@ -513,7 +513,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{
mes "Huh?";
next;
select("Show him the Letter of Recommendation.");
- if (countitem(7416) > 0) {
+ if (countitem(Letter_Of_Recommend) > 0) {
mes "[Master]";
mes "Ah.. I think you're little too late.";
mes "I've got nothing to say if this's about the request sent to each guild.";
@@ -804,14 +804,14 @@ que_job01,16,21,5 script Valdes#moc_master_1 1_M_JOBTESTER,{
mes "I'm really stressed out right now.";
mes "If you're here for the request that we made earlier, you can just forget about it.";
}
- if (countitem(7417) > 0) {
- delitem 7417,countitem(7417); //Mission_ScrollA
+ if (countitem(Mission_ScrollA) > 0) {
+ delitem Mission_ScrollA,countitem(Mission_ScrollA);
}
- if (countitem(7418) > 0) {
- delitem 7418,countitem(7418); //Mission_ScrollB
+ if (countitem(Mission_ScrollB) > 0) {
+ delitem Mission_ScrollB,countitem(Mission_ScrollB);
}
- if (countitem(7416) > 0) {
- delitem 7416,countitem(7416); //Letter_Of_Recommend
+ if (countitem(Letter_Of_Recommend) > 0) {
+ delitem Letter_Of_Recommend,countitem(Letter_Of_Recommend);
}
close;
@@ -948,7 +948,7 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
}
--.@partymembercount;
}
- if ((.@onlinemembers > 1) && (countitem(7826) > 0)) {
+ if ((.@onlinemembers > 1) && (countitem(Continental_Guard_Paper) > 0)) {
mes "[Continental Guard]";
mes "......";
next;
@@ -961,7 +961,7 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
warp "moc_fild21",38,193;
end;
}
- else if ((.@onlinemembers < 2) && (countitem(7826) > 0)) {
+ else if ((.@onlinemembers < 2) && (countitem(Continental_Guard_Paper) > 0)) {
mes "[Continental Guard]";
mes "Welcome, members of the Continental Guards. I have a special order from Chief Balrog for you, so let me read it for you.";
next;
@@ -972,7 +972,7 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
mes "...You understand that, right? Please go back to the site, and come back in a party of at least 2 members. Thank you.";
close;
}
- else if (countitem(7826) < 1) {
+ else if (countitem(Continental_Guard_Paper) < 1) {
mes "[Continental Guard]";
mes "Only members of the Continental Guards with Continental Guard Certificates are allowed to proceed beyond this point.";
close;
@@ -1013,7 +1013,7 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
}
switch(select("Enter the First Field to Investigate:Enter the Second Field to Investigate:Return to Morroc's Accident Site:Cancel Conversation")) {
case 1:
- if ((.@onlinemembers > 1) && (countitem(7826) > 0)) {
+ if ((.@onlinemembers > 1) && (countitem(Continental_Guard_Paper) > 0)) {
mes "[Continental Guard]";
mes "......";
next;
@@ -1026,7 +1026,7 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
warp "moc_fild21",38,193;
end;
}
- else if ((.@onlinemembers < 2) && (countitem(7826) > 0)) {
+ else if ((.@onlinemembers < 2) && (countitem(Continental_Guard_Paper) > 0)) {
mes "[Continental Guard]";
mes "Welcome, members of the Continental Guards. I have a special order from Chief Balrog for you, so let me read it for you.";
next;
@@ -1037,7 +1037,7 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
mes "...You understand that, right? Please go back to the site, and come back in a party of at least 2 members. Thank you.";
close;
}
- else if (countitem(7826) < 1) {
+ else if (countitem(Continental_Guard_Paper) < 1) {
mes "[Continental Guard]";
mes "Only members of the Continental Guards with Continental Guard Certificates are allowed to proceed beyond this point.";
close;
@@ -1046,7 +1046,7 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
close;
}
case 2:
- if ((.@onlinemembers > 1) && (countitem(7826) > 0)) {
+ if ((.@onlinemembers > 1) && (countitem(Continental_Guard_Paper) > 0)) {
mes "[Continental Guard]";
mes "......";
next;
@@ -1059,7 +1059,7 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
warp "moc_fild22",38,193;
end;
}
- else if ((.@onlinemembers < 2) && (countitem(7826) > 0)) {
+ else if ((.@onlinemembers < 2) && (countitem(Continental_Guard_Paper) > 0)) {
mes "[Continental Guard]";
mes "Welcome, members of the Continental Guards. I have a special order from Chief Balrog for you, so let me read it for you.";
next;
@@ -1070,7 +1070,7 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
mes "...So please go back to the site, and come back in a party of at least 2 members. Thank you.";
close;
}
- else if (countitem(7826) < 1) {
+ else if (countitem(Continental_Guard_Paper) < 1) {
mes "[Continental Guard]";
mes "Only members of the Continental Guards with Continental Guard Certificates are allowed to proceed beyond this point.";
close;
@@ -1423,7 +1423,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "So, did you find ^0000FF30 Live Coals^000000? You didn't come empty-handed, did you?";
next;
- if (countitem(7098) > 29) {
+ if (countitem(Live_Coal) > 29) {
mes "[Chief Balrog]";
mes "Let's see... One, two, three... Thirty, you've brought them all. Well, this was a pretty simple task. All it takes is time and a little effort. Anyone could do it.";
next;
@@ -1471,7 +1471,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
next;
mes "[Chief Balrog]";
mes "Please bring me ^0000FF50 Glacial Hearts^000000. The faster you get them here, the better.";
- delitem 7098,30; //Live_Coal
+ delitem Live_Coal,30;
rebirth_moc_edq = 3;
changequest 3051,3052;
close;
@@ -1490,14 +1490,14 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "So, did you find 50 Glacial Hearts?";
next;
- if (countitem(7561) > 49) {
+ if (countitem(Ice_Heart) > 49) {
mes "[Chief Balrog]";
mes "Thank you. I'm sure that my soldiers will appreciate these... Those guys aren't used to the desert, and could use the relief.";
next;
mes "[Chief Balrog]";
mes "Well... It looks like you earned this.";
- delitem 7561,50; //Ice_Heart
- getitem 7826,1; //Continental_Guard_Paper
+ delitem Ice_Heart,50;
+ getitem Continental_Guard_Paper,1;
rebirth_moc_edq = 4;
changequest 3052,3053;
next;
@@ -1589,7 +1589,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "How? Do you have any proof of your victory?";
next;
- if (countitem(7820) > 0) {
+ if (countitem(Morroc_Skin) > 0) {
mes "[Chief Balrog]";
mes "Is... Isn't this?";
next;
@@ -1608,7 +1608,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "Once again, I thank you for your distinguished service on behalf of the Continental Guard and the Rune-Midgarts Kingdom. I'll report your great achievement to His Majesty right away.";
next;
- delitem 7820,1; //Morroc_Skin
+ delitem Morroc_Skin,1;
getexp RENEWAL_EXP?200000:2000000,0;
rebirth_moc_edq = 7;
changequest 3055,3056;
@@ -1631,7 +1631,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "Great, then I'll reward you with the Seal of Continental Guard. Congratulations.";
next;
- getitem 2730,1; //Morroc_Seal
+ getitem Morroc_Seal,1;
rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
@@ -1663,7 +1663,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "Great, then I'll reward you with a Morroc Charm Stone. Congratulations.";
next;
- getitem 2731,1; //Morroc_Charm_Stone
+ getitem Morroc_Charm_Stone,1;
rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
@@ -1695,7 +1695,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "Great, then I'll reward you with a Morroc Ring. Congratulations.";
next;
- getitem 2732,1; //Morroc_Ring
+ getitem Morroc_Ring,1;
rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
@@ -1743,7 +1743,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "Great, then I'll reward you with the Seal of Continental Guard. Congratulations.";
next;
- getitem 2730,1; //Morroc_Seal
+ getitem Morroc_Seal,1;
rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
@@ -1775,7 +1775,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "Great, then I'll reward you with a Morroc Charm Stone. Congratulations.";
next;
- getitem 2731,1; //Morroc_Charm_Stone
+ getitem Morroc_Charm_Stone,1;
rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
@@ -1807,7 +1807,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "Great, then I'll reward you with a Morroc Ring. Congratulations.";
next;
- getitem 2732,1; //Morroc_Ring
+ getitem Morroc_Ring,1;
rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
@@ -1936,7 +1936,7 @@ moc_fild21,177,239,0 script Time-Space Gap#edq CLEAR_NPC,1,1,{
mes "You can see the fragments floating in the gap, and the radiating lights are now slowing their movement.";
next;
mes "You stretch your hand and pick up a lusterless fragment.";
- getitem 7820,1; //Morroc_Skin
+ getitem Morroc_Skin,1;
rebirth_moc_edq = 6;
changequest 3053,3055;
close;
@@ -2097,7 +2097,7 @@ moc_fild21,5,5,5 duplicate(MorrocAdmin_sec) Morroc GlobalVar Admin::MorrocAdmin_
//== The Crow of the Fate ==================================
moc_ruins,137,70,3 script Book-Touching Man#garas 1_M_02,{
if (BaseLevel > 59) {
- if (checkweight(703,3) == 0) {
+ if (checkweight(Hinalle,3) == 0) {
mes "- You have too many items in your inventory to proceed with this quest. -";
close;
}
@@ -2330,7 +2330,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 1_M_02,{
mes "^660000Quickly blinking his eyes, he made you take Mammi's picture book in your arms";
mes "demanding that you must encase the book so it would not be damaged.^000000";
barmunt_crow = 11;
- getitem 7795,1; //Mami_Photo_Album
+ getitem Mami_Photo_Album,1;
next;
mes "[Benjamin]";
mes "Oh, right. If you're interested in this author, Oliver Hilpert, I suggest you read the prequel of <The Crow of the Fate>, ^3131FF<The Trace of the Fate>^000000 as well as the sequel.";
@@ -2360,7 +2360,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 1_M_02,{
close;
}
else if (barmunt_crow == 15) {
- if ((countitem(7797) == 1) && (countitem(7796) == 1)) {
+ if ((countitem(Author_Memo) == 1) && (countitem(Author_Autograph) == 1)) {
mes "["+ strcharinfo(0) +"]";
mes "Hey, Benjamin!";
mes "I've got the perfect thing to help you appeal to Mammi. Do you want to see?";
@@ -2385,8 +2385,8 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 1_M_02,{
mes "[Benjamin]";
mes "Maaaammmiii!";
mes "I'm going to see her tomorrow as soon as the morning comes! Mammi, I'm coming!";
- delitem 7797,1; //Author_Memo
- delitem 7796,1; //Author_Autograph
+ delitem Author_Memo,1;
+ delitem Author_Autograph,1;
barmunt_crow = 16;
if (RENEWAL_EXP)
getexp 90000,90000;
@@ -3113,7 +3113,7 @@ yuno_in04,117,102,3 script Old News Scrapbook CLEAR_NPC,{
}
yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{
- if (checkweight(617,3) == 0) {
+ if (checkweight(Old_Violet_Box,3) == 0) {
mes "- You have too many items in your inventory to proceed with this quest. -";
close;
}
@@ -3126,7 +3126,7 @@ yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{
}
else if (barmunt_crow == 13) {
cutin "oliver_pre",2;
- if (countitem(7795) < 1) {
+ if (countitem(Mami_Photo_Album) < 1) {
mes "[Oliver Hilpert]";
mes "Lady Mammi...";
close2;
@@ -3186,11 +3186,11 @@ yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{
mes "^3131FFThe stepmother = Lover from a past life?!^000000";
close2;
specialeffect2 EF_ENHANCE;
- delitem 7795,1; //Mami_Photo_Album
+ delitem Mami_Photo_Album,1;
barmunt_crow = 14;
- getitem 7796,1; //Author_Autograph
- getitem 7797,1; //Author_Memo
- getitem 617,1; //Old_Violet_Box
+ getitem Author_Autograph,1;
+ getitem Author_Memo,1;
+ getitem Old_Violet_Box,1;
warp "que_ba",270,270;
end;
}
@@ -3326,12 +3326,12 @@ yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{
}
yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{
- if (checkweight(617,3) == 0) {
+ if (checkweight(Old_Violet_Box,3) == 0) {
mes "- You have too many items in your inventory to proceed with this quest. -";
close;
}
if (barmunt_crow == 12) {
- if (countitem(7795) < 1) {
+ if (countitem(Mami_Photo_Album) < 1) {
mes "- You felt as if you have left something important behind. -";
close;
}
@@ -3556,11 +3556,11 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{
mes "^3131FFThe stepmother = Lover from a past life?!^000000";
close2;
specialeffect2 EF_ENHANCE;
- delitem 7795,1; //Mami_Photo_Album
+ delitem Mami_Photo_Album,1;
barmunt_crow = 14;
- getitem 7796,1; //Author_Autograph
- getitem 7797,1; //Author_Memo
- getitem 617,1; //Old_Violet_Box
+ getitem Author_Autograph,1;
+ getitem Author_Memo,1;
+ getitem Old_Violet_Box,1;
warp "que_ba",270,270;
cutin "",255;
end;
@@ -4833,14 +4833,14 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
mes "[Inspector]";
mes "Do you have the 2 reins I mentioned?";
next;
- if (countitem(1064) > 1) {
+ if (countitem(Reins) > 1) {
mes "[Inspector]";
mes "Ooh!";
mes "Frankly, I didn't expect you to bring them. You are great.";
next;
mes "[Inspector]";
mes "Alright, good. You proved your strength for yourself. Now you passed one exam. All but one.";
- delitem 1064,2; //Reins
+ delitem Reins,2;
nk_prince = 3;
changequest 10001,10002;
next;
@@ -5982,7 +5982,7 @@ prt_castle,364,375,4 script Prince#peter 4_M_3RDPRIN1,{
mes "[Peter]";
mes "Anyhow, thanks for your good work. I really feel sorry about bothering you with trifle things. This is my sense of gratitude. Don't feel so much burden and take this.";
completequest 10014;
- getitem 644,1; //Gift_Box
+ getitem Gift_Box,1;
close;
}
mes "[Peter]";
@@ -5998,7 +5998,7 @@ prt_castle,364,375,4 script Prince#peter 4_M_3RDPRIN1,{
mes "[Peter]";
mes "I really feel sorry about bothering you with trifle things. Please take this.";
completequest 10014;
- getitem 644,1; //Gift_Box
+ getitem Gift_Box,1;
close;
}
mes "[Peter]";
@@ -6032,7 +6032,7 @@ prt_castle,364,375,4 script Prince#peter 4_M_3RDPRIN1,{
mes "[Peter]";
mes "Anyhow, thanks for your good work. I really feel sorry about bothering you with trifle things. This is my sense of gratitude. Don't feel so much burden and take this.";
completequest 10014;
- getitem 644,1; //Gift_Box
+ getitem Gift_Box,1;
close;
}
else {
@@ -6113,7 +6113,7 @@ prt_castle,364,375,4 script Prince#peter 4_M_3RDPRIN1,{
mes "[Peter]";
mes "Yeah, thank you very much.";
mes "Please take care.";
- getitem 744,1; //Bunch_Of_Flowers
+ getitem Bunch_Of_Flowers,1;
setquest 10013;
if (questprogress(10005) == 2 && questprogress(10006) == 2 && questprogress(10007) == 2 && questprogress(10008) == 2
&& questprogress(10009) == 2 && questprogress(10010) == 2 && questprogress(10011) == 2) {
@@ -6140,7 +6140,7 @@ prt_castle,364,375,4 script Prince#peter 4_M_3RDPRIN1,{
aldebaran,132,184,3 script Girl#prince 4W_KID,{
if (questprogress(10013) == 1) {
- if (countitem(744) > 0) {
+ if (countitem(Bunch_Of_Flowers) > 0) {
mes "[Girl]";
mes "Wooah, Uncle Peter sent these flowers";
mes "for me?";
@@ -6157,7 +6157,7 @@ aldebaran,132,184,3 script Girl#prince 4W_KID,{
mes "I will go home early and";
mes "Put these flowers in a vase.";
mes "Lalala~";
- delitem 744,1; //Bunch_Of_Flowers
+ delitem Bunch_Of_Flowers,1;
changequest 10013,10014;
close;
}
diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt
index a0fa9d941..82b01b4e7 100644
--- a/npc/quests/quests_moscovia.txt
+++ b/npc/quests/quests_moscovia.txt
@@ -473,15 +473,15 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 4_M_RUSBALD,{
mes "If we have all the materials,";
mes "we can prepare for departure!";
next;
- if (countitem(7167) > 9 && countitem(7317) > 9 && countitem(7325) > 4 && countitem(7312) > 9) {
+ if (countitem(Mystery_Iron_Bit) > 9 && countitem(Screw) > 9 && countitem(Tube) > 4 && countitem(Jubilee) > 9) {
mes "[Mr. Ibanoff]";
mes "Oh! You got the all materials.";
mes "It's enough.";
next;
- delitem 7167,10; //Mystery_Iron_Bit
- delitem 7317,10; //Screw
- delitem 7325,5; //Tube
- delitem 7312,10; //Jubilee
+ delitem Mystery_Iron_Bit,10;
+ delitem Screw,10;
+ delitem Tube,5;
+ delitem Jubilee,10;
mos_whale_edq = 4;
mes "[Mr. Ibanoff]";
mes "Okay, we are at the ready.";
@@ -1438,16 +1438,16 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 4_M_GUSLIMAN,{
mes "Oh... Did you get all the";
mes "materials?";
next;
- if (countitem(7201) > 29 && countitem(7197) > 19 && countitem(7106) > 19 && countitem(7065) > 9) {
+ if (countitem(Log) > 29 && countitem(Tough_Vines) > 19 && countitem(Goat's_Horn) > 19 && countitem(Sea_Otter_Leather) > 9) {
mes "[Aged Stranger]";
mes "You found the right materials.";
mes "Okay, I will start to make the";
mes "instrument.";
next;
- delitem 7201,30; //Log
- delitem 7197,20; //Tough_Vines
- delitem 7106,20; //Goat's_Horn
- delitem 7065,10; //Sea_Otter_Leather
+ delitem Log,30;
+ delitem Tough_Vines,20;
+ delitem Goat's_Horn,20;
+ delitem Sea_Otter_Leather,10;
mos_whale_edq = 34;
mes "[Aged Stranger]";
mes "Wait for a moment until I make the";
@@ -1863,7 +1863,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "If you do, I will make";
mes "sure no one ever doubts you.";
next;
- if (countitem(7762) > 39) {
+ if (countitem(Yaga_Pestle) > 39) {
if(select("Show the Yaga's Pestles.:Do nothing.") == 1) {
mes "[" + strcharinfo(0) + "]";
mes "Yes, Here you are.";
@@ -1906,7 +1906,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "resolve your issue of doubt, traveler?";
next;
if(select("Yes, I did.:I am confused.") == 1) {
- if (countitem(7762) > 39) {
+ if (countitem(Yaga_Pestle) > 39) {
delitem 7762,40;
mes "[Csar Alexsay III]";
mes "Good,";
@@ -2194,7 +2194,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
next;
mes "[Prime Minister Dmitree]";
mes "Even though I regard as your effort for the time so, award you. Take it and go out.";
- getitem 12702,1; //Old_Bleu_Box
+ getitem Old_Bleu_Box,1;
getexp RENEWAL_EXP?50000:500000,0;
mos_whale_edq = 39;
close;
@@ -2222,7 +2222,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
next;
mes "[Prime Minister Dmitree]";
mes "Even though I regard as your effort for the time so, award you. Take it.";
- getitem 12702,1; //Old_Bleu_Box
+ getitem Old_Bleu_Box,1;
getexp RENEWAL_EXP?70000:700000,0;
mos_whale_edq = 40;
close;
@@ -2304,7 +2304,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "of our dear Csar and all the people";
mes "in his palace. I will reward your";
mes "efforts, in the name of the Csar.";
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
getexp RENEWAL_EXP?100000:1200000,0;
mos_whale_edq = 41;
close;
@@ -3642,7 +3642,7 @@ mosk_in,147,202,3 script Victor#mos 4_M_RUSMAN2,{
mes "Oh, you said you wanted an adhesive...";
mes "You're bothering me so much!";
next;
- if (countitem(7763) > 9 && countitem(7134)) {
+ if (countitem(Sticky_Herb) > 9 && countitem(Medicine_Bowl)) {
mes "[Victor]";
mes "Give me the stuff! I'll make it quickly. You're annoying me!";
next;
@@ -3791,7 +3791,7 @@ mosk_in,211,259,5 script Larissa#mos_01 4_F_RUSWOMAN2,{
mes "Would you like another pancake?";
next;
if(select("Yes:No") == 1) {
- if (countitem(7031) && countitem(519) > 1 && countitem(504) > 1 && countitem(548) && countitem(1019) && countitem(518)) {
+ if (countitem(Old_Frying_Pan) && countitem(Milk) > 1 && countitem(White_Potion) > 1 && countitem(Cheese) && countitem(Wooden_Block) && countitem(Honey)) {
mes "[Larissa]";
mes "Let me check if you have all the ingredients.";
mes "A frying pan, milk... potion that softens the dough, cheese..honey..and firewood.";
@@ -3961,7 +3961,7 @@ moscovia,208,182,7 script Acorn Dealer#mos 4_M_RUSMAN1,{
next;
}
}
- if (!checkweight(1026, .@input)) {
+ if (!checkweight(Acorn, .@input)) {
mes "[Acorn Dealer]";
mes "Hello, I think you can't get acorns";
mes "now. You're carrying too many";
@@ -4000,7 +4000,7 @@ OnTouch:
next;
mes "- When the animal comes across you, it starts to sniffle and purse up its lips. -";
next;
- if (countitem(1026) > 19) {
+ if (countitem(Acorn) > 19) {
switch(select("Give acorns to it.:Ignore it.:Ask about the squirrel.")) {
case 1:
mes "- You take one of acorns out and hold it out to the squirrel. -";
@@ -4106,7 +4106,7 @@ mosk_in,215,46,5 script #babayaga -1,7,7,{
end;
OnTouch:
if (!mos_nowinter) {
- if (countitem(7762) > 39 && BaseLevel > 59) {
+ if (countitem(Yaga_Pestle) > 39 && BaseLevel > 59) {
mos_nowinter = 2;
mes "[Baba Yaga, the Horrible]";
mes "Who the hell are you?";
@@ -4122,7 +4122,7 @@ OnTouch:
mes "[Baba Yaga, the Horrible]";
mes "Who, who are you?";
close;
- } else if (countitem(7762) > 39 && BaseLevel < 60) {
+ } else if (countitem(Yaga_Pestle) > 39 && BaseLevel < 60) {
mes "[Baba Yaga, the Horrible]";
mes "Hohoho~";
mes "You cannot beat my friends!";
@@ -4144,7 +4144,7 @@ OnTouch:
warp "mosk_dun02",53,217;
end;
} else if (mos_nowinter == 1) {
- if (countitem(7762) > 39 && BaseLevel > 59) {
+ if (countitem(Yaga_Pestle) > 39 && BaseLevel > 59) {
mos_nowinter = 2;
mes "[Baba Yaga, the Horrible]";
mes "Who the hell are you.";
@@ -4160,7 +4160,7 @@ OnTouch:
mes "[Baba Yaga, the Horrible]";
mes "Who, who are you?";
close;
- } else if (countitem(7762) > 39 && BaseLevel < 60) {
+ } else if (countitem(Yaga_Pestle) > 39 && BaseLevel < 60) {
mes "[Baba Yaga, the Horrible]";
mes "You, chicken,";
mes "I need to kick your ass more.";
@@ -4498,12 +4498,12 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
break;
}
}
- if (!.@f && (countitem(730) || countitem(731) || countitem(732))) {
+ if (!.@f && (countitem(Crystal_Jewel) || countitem(Crystal_Jewel_) || countitem(Crystal_Jewel__))) {
for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
delitem .@n[.@i],.@n[.@i+1];
- if (countitem(730)) delitem 730,1;
- else if (countitem(731)) delitem 731,1;
- else if (countitem(732)) delitem 732,1;
+ if (countitem(Crystal_Jewel)) delitem 730,1;
+ else if (countitem(Crystal_Jewel_)) delitem 731,1;
+ else if (countitem(Crystal_Jewel__)) delitem 732,1;
mos_nowinter = 8;
mes "[Baba Yaga, the Horrible]";
mes "Right, you got them all.";
@@ -4593,12 +4593,12 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
break;
}
}
- if (!.@f && (countitem(730) || countitem(731) || countitem(732))) {
+ if (!.@f && (countitem(Crystal_Jewel) || countitem(Crystal_Jewel_) || countitem(Crystal_Jewel__))) {
for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
delitem .@n[.@i],.@n[.@i+1];
- if (countitem(730)) delitem 730,1;
- else if (countitem(731)) delitem 731,1;
- else if (countitem(732)) delitem 732,1;
+ if (countitem(Crystal_Jewel)) delitem 730,1;
+ else if (countitem(Crystal_Jewel_)) delitem 731,1;
+ else if (countitem(Crystal_Jewel__)) delitem 732,1;
mos_nowinter = 8;
mes "[Baba Yaga, the Horrible]";
mes "Right, you got them all.";
@@ -4683,7 +4683,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "the magic gourd bottle, cough!";
close;
} else if (mos_nowinter == 9) {
- if (countitem(7761)) {
+ if (countitem(Magic_Gourd_Bottle)) {
mes "[Baba Yaga, the Horrible]";
mes "Akkkk?";
mes "Did you really bring it";
@@ -4786,7 +4786,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "what I told";
mes "you to do?";
next;
- if (!countitem(7761)) {
+ if (!countitem(Magic_Gourd_Bottle)) {
mes "[Baba Yaga, the Horrible]";
mes "Where is the Gourd Bottle?";
mes "I can't do anything without it.";
@@ -5453,7 +5453,7 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
//- Center of Town -
moscovia,224,190,0 script #nowinterplz CLEAR_NPC,{
if (mos_nowinter != 19) end;
- if (countitem(7765)) {
+ if (countitem(Yaga_Secret_Medicine)) {
mes "["+strcharinfo(0)+"]";
mes "This place must be";
mes "the center of town...";
@@ -6394,7 +6394,7 @@ mosk_in,131,92,3 script #Csar -1,7,7,{
mes "If you do, I will make";
mes "sure no one ever doubts you.";
next;
- if (countitem(7762) > 39) {
+ if (countitem(Yaga_Pestle) > 39) {
if(select("Show the Yaga's Pestles.:Do nothing.") == 1) {
mes "[" + strcharinfo(0) + "]";
mes "Yes, Here you are.";
@@ -6443,7 +6443,7 @@ mosk_in,131,92,3 script #Csar -1,7,7,{
//== Shafka Hat :: mos_whale_edq ===========================
moscovia,211,93,3 script Irina#edq 4_F_RUSCHILD,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "Wait a moment!!";
mes "You have too many items.";
mes "You can't receive this.";
@@ -6509,17 +6509,17 @@ moscovia,211,93,3 script Irina#edq 4_F_RUSCHILD,{
mes "we can make one immediately!";
mes "The materials are: ^0000FFNine Tails 20, Yarn 10, Soft Silk 10, Sea-otter Fur 20, Spool 1^000000.";
next;
- if (countitem(1022) > 19 && countitem(7038) > 9 && countitem(7166) > 9 && countitem(7065) > 19 && countitem(7217)) {
+ if (countitem(Fox_Tail) > 19 && countitem(Yarn) > 9 && countitem(Soft_Silk_Cloth) > 9 && countitem(Sea_Otter_Leather) > 19 && countitem(Spool)) {
mes "[Irina]";
mes "You did well.";
mes "Give me the materials. I will make the Shafka.";
next;
- delitem 1022,20; //Fox_Tail
- delitem 7038,10; //Yarn
- delitem 7166,10; //Soft_Silk_Cloth
- delitem 7065,20; //Sea_Otter_Leather
- delitem 7217,1; //Spool
- getitem 5243,1; //Chullos
+ delitem Fox_Tail,20;
+ delitem Yarn,10;
+ delitem Soft_Silk_Cloth,10;
+ delitem Sea_Otter_Leather,20;
+ delitem Spool,1;
+ getitem Chullos,1;
mes "[Irina]";
mes "Good, I made it. So, how about it?";
mes "Do you like it?";
@@ -6579,7 +6579,7 @@ mosk_fild02,198,252,3 script Sage#rus01 4_M_SAGE_C,{
mes "["+ strcharinfo(0) +"]";
mes "This is a card of one of the monsters that inhabit the Rune Midgard continent.";
next;
- if (!countitem(4001)) {
+ if (!countitem(Poring_Card)) {
mes "[Sage]";
mes "...?!";
mes "What are you talking about?";
@@ -6984,7 +6984,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
mes "If you gather all the things necessary, go to Moscovia and find the keymaker. Do me this favor, please.";
close;
} else if (rhea_rus_main == 47) {
- if (countitem(7876)) {
+ if (countitem(Gold_Key)) {
if ($@rus_req02 == 1) {
mes "[Girl's Voice]";
mes "I can feel Koshei's energy.. It is not a time to use the key...";
@@ -7272,7 +7272,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
else if (BaseLevel < 86) getexp 45000,2000;
else if (BaseLevel < 91) getexp 75000,3000;
else if (BaseLevel < 160) getexp 200000,4000;
- else getitem 617,1; //Old_Violet_Box
+ else getitem Old_Violet_Box,1;
} else {
if (BaseLevel < 56) getexp 13000,3500;
else if (BaseLevel < 61) getexp 24600,6150;
@@ -7283,7 +7283,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
else if (BaseLevel < 86) getexp 340408,85102;
else if (BaseLevel < 91) getexp 418460,104615;
else if (BaseLevel < 99) getexp 888140,222035;
- else getitem 617,1; //Old_Violet_Box
+ else getitem Old_Violet_Box,1;
}
donpcevent "Gray Wolf#rus05::OnDisable";
donpcevent "Maria Morebna#rus46::OnDisable";
@@ -7472,7 +7472,7 @@ moscovia,178,127,0 script The Blacksmith#rus06 1_M_SMITH,{
rhea_rus_main = 7;
close;
} else if (rhea_rus_main == 7) {
- if (countitem(999) > 24) {
+ if (countitem(Steel) > 24) {
mes "[The Blacksmith]";
mes "Ohhh, that was faster than I expected!";
next;
@@ -7528,7 +7528,7 @@ moscovia,178,127,0 script The Blacksmith#rus06 1_M_SMITH,{
mes "The faster you get me the materials, The faster you can help Maria Morebna.";
close;
} else if (rhea_rus_main == 8) {
- if (countitem(724) > 1 && countitem(969) > 2 && countitem(7877) && countitem(7878) > 1 && countitem(7879) > 9) {
+ if (countitem(Cardinal_Jewel_) > 1 && countitem(Gold) > 2 && countitem(Red_Ring) && countitem(Lusalka_Hair) > 1 && countitem(Golden_Thread) > 9) {
if (rhea_rus_ring > 8 && rhea_rus_hair > 8 && rhea_rus_quiz > 29) {
if (getequipid(EQI_SHOES) != 2429) {
if (getequipid(EQI_SHOES) != 2430) {
@@ -7574,11 +7574,11 @@ moscovia,178,127,0 script The Blacksmith#rus06 1_M_SMITH,{
mes "[The Blacksmith]";
mes "This spell protects you from any curse the keymaker might try to use. Remember the words of the spell. It won't last very long because I am just a blacksmith.";
next;
- if (countitem(2429) || countitem(2430)) {
+ if (countitem(Iron_Boots01) || countitem(Iron_Boots02)) {
mes "[The Blacksmith]";
mes "The forest is dangerous. Be very careful in there!";
mes "Ah and you shouldn't be needing those Steel Boots anymore. Good luck!";
- if (countitem(2429)) delitem 2429,1; else delitem 2430,1;
+ if (countitem(Iron_Boots01)) delitem 2429,1; else delitem 2430,1;
rhea_rus_main = 9;
close;
}
@@ -7770,7 +7770,7 @@ moscovia,206,81,0 script Vassili Grandpapa#rus07 4_M_05,{
mes "["+ strcharinfo(0) +"]";
mes "...Listen to... this.";
next;
- if (countitem(7883)) {
+ if (countitem(Pointed_Wooden_Flute)) {
mes "- You play the flute -";
next;
mes "^ff0000Red ring that my father gave me^000000";
@@ -7872,9 +7872,9 @@ moscovia,206,81,0 script Vassili Grandpapa#rus07 4_M_05,{
next;
mes "[Vassili Grandpapa]";
mes "...It is my fault that this tragedy between my daughters happened. I will spend the rest of my life trying to make up for it...";
- delitem 7883,1; //Pointed_Wooden_Flute
+ delitem Pointed_Wooden_Flute,1;
rhea_rus_ring = 10;
- getitem 7877,1; //Red_Ring
+ getitem Red_Ring,1;
if (RENEWAL_EXP) {
if (BaseLevel < 56) getexp 470,0;
else if (BaseLevel > 55 && BaseLevel < 61) getexp 615,0;
@@ -7886,7 +7886,7 @@ moscovia,206,81,0 script Vassili Grandpapa#rus07 4_M_05,{
else if (BaseLevel > 85 && BaseLevel < 91) getexp 8500,0;
else if (BaseLevel > 90 && BaseLevel < 99) getexp 30000,0;
else {
- getitem 607,1; //Yggdrasilberry
+ getitem Yggdrasilberry,1;
getexp 30000,0;
}
} else {
@@ -7899,7 +7899,7 @@ moscovia,206,81,0 script Vassili Grandpapa#rus07 4_M_05,{
else if (BaseLevel > 80 && BaseLevel < 86) getexp 85102,0;
else if (BaseLevel > 85 && BaseLevel < 91) getexp 104615,0;
else if (BaseLevel > 90 && BaseLevel < 99) getexp 222035,0;
- else getitem 607,1; //Yggdrasilberry
+ else getitem Yggdrasilberry,1;
}
close;
}
@@ -8004,17 +8004,17 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
warp "moscovia",220,210;
end;
} else if (rhea_rus_ring == 3) {
- if (countitem(748) > 0 || countitem(749) > 0) {
+ if (countitem(Witherless_Rose) > 0 || countitem(Frozen_Rose) > 0) {
mes "[Ryubaba]";
mes "What? Why are you here? You get of my...";
next;
mes "[Ryubaba]";
mes "...Is that for me?";
next;
- if (countitem(748) || countitem(749)) {
+ if (countitem(Witherless_Rose) || countitem(Frozen_Rose)) {
mes "[Ryubaba]";
mes "Ok. Well, I forgive you.";
- if (countitem(748)) delitem 748,1; else delitem 749,1;
+ if (countitem(Witherless_Rose)) delitem 748,1; else delitem 749,1;
rhea_rus_ring = 4;
close;
}
@@ -8094,7 +8094,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
mes "["+ strcharinfo(0) +"]";
mes "... Listen to this song.";
next;
- if (countitem(7883) > 0) {
+ if (countitem(Pointed_Wooden_Flute) > 0) {
mes "- You play the flute -";
next;
mes "^ff0000Red ring that my father gave me^000000";
@@ -8188,9 +8188,9 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
next;
mes "[Ryubaba]";
mes "I have to repent for my sins and atone for them for the rest of my life.";
- delitem 7883,1; //Pointed_Wooden_Flute
+ delitem Pointed_Wooden_Flute,1;
rhea_rus_ring = 9;
- getitem 7877,1; //Red_Ring
+ getitem Red_Ring,1;
if (RENEWAL_EXP) {
if (BaseLevel < 56) getexp 470,0;
else if (BaseLevel > 55 && BaseLevel < 61) getexp 615,0;
@@ -8202,7 +8202,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
else if (BaseLevel > 85 && BaseLevel < 91) getexp 8500,0;
else if (BaseLevel > 90 && BaseLevel < 99) getexp 30000,0;
else {
- getitem 607,1; //Yggdrasilberry
+ getitem Yggdrasilberry,1;
getexp 30000,0;
}
} else {
@@ -8215,7 +8215,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
else if (BaseLevel > 80 && BaseLevel < 86) getexp 85102,0;
else if (BaseLevel > 85 && BaseLevel < 91) getexp 104615,0;
else if (BaseLevel > 90 && BaseLevel < 99) getexp 222035,0;
- else getitem 607,1; //Yggdrasilberry
+ else getitem Yggdrasilberry,1;
}
close;
}
@@ -8272,7 +8272,7 @@ moscovia,223,210,3 script Little Boy#rus09 4_M_RUSCHILD,{
mes "[Little Boy]";
mes "I don't like her cause she doesn't give me candies or cookies. Although she is beautiful, her temper is so bad...";
next;
- if (countitem(529) || countitem(538)) {
+ if (countitem(Candy) || countitem(Well_Baked_Cookie)) {
mes "[Little Boy]";
mes "Ah, do you have candies or cookies?";
next;
@@ -8289,10 +8289,10 @@ moscovia,223,210,3 script Little Boy#rus09 4_M_RUSCHILD,{
mes "[Little Boy]";
mes "Ah, I will inform you of something!";
next;
- if (countitem(529)) {
+ if (countitem(Candy)) {
mes "[Little Boy]";
mes "Sister Ryubaba likes presents! Especially flowers such as roses. She believes that they resemble her.";
- if (countitem(529)) delitem 529,1; else delitem 538,1;
+ if (countitem(Candy)) delitem 529,1; else delitem 538,1;
rhea_rus_ring = 3;
close;
}
@@ -8364,7 +8364,7 @@ mosk_fild02,157,233,0 script Shepherdess#rus10 1_F_04,{
rhea_rus_ring = 6;
close;
} else if (rhea_rus_ring == 6) {
- if (countitem(7882) > 24) {
+ if (countitem(Pointed_Branch) > 24) {
if (getequipid(EQI_SHOES) != 2429) {
if (getequipid(EQI_SHOES) != 2430) {
mes "["+ strcharinfo(0) +"]";
@@ -8446,7 +8446,7 @@ mosk_fild02,157,233,0 script Shepherdess#rus10 1_F_04,{
//- Pointed Trees (Wooden Flute) -
- script PTree#rusmain -1,{
if (rhea_rus_ring == 6) {
- if (countitem(7882) < 50) {
+ if (countitem(Pointed_Branch) < 50) {
if (rand(1,3) == 2) {
mes "- I avoid the thorns and -";
mes "- cut off a branch!! -";
@@ -8610,7 +8610,7 @@ OnTouch:
if (gettime(GETTIME_HOUR) >= 23 || gettime(GETTIME_HOUR) <= 5) {
mes "- Splash !! -";
next;
- if (countitem(523) > 0) {
+ if (countitem(Holy_Water) > 0) {
mes "- You hear a splashing sound -";
mes "- and see something gleaming -";
donpcevent "Lusalka#rus23::OnEnable";
@@ -8635,7 +8635,7 @@ OnTouch:
if (gettime(GETTIME_HOUR) >= 23 || gettime(GETTIME_HOUR) <= 5) {
mes "- Splash !! -";
next;
- if (countitem(523) > 0) {
+ if (countitem(Holy_Water) > 0) {
mes "-You hear splashing sound and see something gleaming-";
donpcevent "Lusalka#rus23::OnEnable";
close;
@@ -8681,7 +8681,7 @@ OnTouch:
//- Lusalka (Lusalka's Hair) -
mosk_fild02,124,202,3 script Lusalka#rus23 4_F_RUSGREEN,{
- if (countitem(523)) {
+ if (countitem(Holy_Water)) {
if (rhea_rus_main < 8) {
mes "[Lusalka]";
mes "...Your alive...";
@@ -9642,7 +9642,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
mes "[Baba Yaga]";
mes "Ok, the materials for the key are...";
next;
- if (countitem(724) > 1 && countitem(969) > 2 && countitem(7877) && countitem(7878) > 1 && countitem(7879) > 9) {
+ if (countitem(Cardinal_Jewel_) > 1 && countitem(Gold) > 2 && countitem(Red_Ring) && countitem(Lusalka_Hair) > 1 && countitem(Golden_Thread) > 9) {
mes "[Baba Yaga]";
mes "You have already gatered all the materials?";
next;
@@ -9750,7 +9750,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
mes "Ok! Move, move! You better be quick or I will find a way to punish you. Ehehehehehe.";
close;
} else if (rhea_rus_main == 27) {
- if (countitem(7881) > 0) {
+ if (countitem(Book_Of_Magic) > 0) {
mes "[Baba Yaga]";
mes "Ho, did you buy the magic book? Give it to me. I will try it out.";
next;
@@ -9865,7 +9865,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
getitem 7876,1;
close;
} else if (rhea_rus_main == 43) {
- if (countitem(7880)) {
+ if (countitem(Babayaga_Silver_Spoon)) {
mes "["+ strcharinfo(0) +"]";
mes "I have done your favor! I found and got the silver spoons!";
next;
@@ -9974,7 +9974,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
rhea_rus_main = 50;
close;
} else if (rhea_rus_main == 50) {
- if (countitem(523) && countitem(12020) && countitem(610) > 1 && countitem(520) > 9) {
+ if (countitem(Holy_Water) && countitem(Water_Of_Darkness) && countitem(Leaf_Of_Yggdrasil) > 1 && countitem(Leaflet_Of_Hinal) > 9) {
mes "[Baba Yaga]";
mes "Kehe, you are very quick.";
next;
@@ -10083,12 +10083,12 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
switch(select("Condensed Red Potion:Condensed Yellow Potion:Cancel")) {
case 1:
- if (countitem(501) > 0 && countitem(1092) > 0 && countitem(7134) > 0 && countitem(512) > 4) {
+ if (countitem(Red_Potion) > 0 && countitem(Empty_Cylinder) > 0 && countitem(Medicine_Bowl) > 0 && countitem(Apple) > 4) {
if (Zeny > 19) {
- .@red_potion01 = countitem(501);
- .@red_tube01 = countitem(1092);
- .@red_cup01 = countitem(7134);
- .@red_apple01 = countitem(512);
+ .@red_potion01 = countitem(Red_Potion);
+ .@red_tube01 = countitem(Empty_Cylinder);
+ .@red_cup01 = countitem(Medicine_Bowl);
+ .@red_apple01 = countitem(Apple);
.@red_zeny01 = Zeny;
while(1) {
if (!.@red_potion01 || !.@red_tube01 || !.@red_cup01 || .@red_apple01 < 5 || .@red_zeny01 < 20) break;
@@ -10136,7 +10136,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
.@redapple_send = .@input * 5;
.@redzeny_send = .@input * 20;
.@total_red01 = .@input;
- if (countitem(501) < .@redpotion_send || countitem(1092) < .@redtube_send || countitem(7134) < .@redcup_send || countitem(512) < .@redapple_send || Zeny < .@redzeny_send) {
+ if (countitem(Red_Potion) < .@redpotion_send || countitem(Empty_Cylinder) < .@redtube_send || countitem(Medicine_Bowl) < .@redcup_send || countitem(Apple) < .@redapple_send || Zeny < .@redzeny_send) {
mes "[Baba Yaga]";
mes "Where are the materials?";
mes "They are not enough! Check them and come back again! Kehehehehe.";
@@ -10170,12 +10170,12 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
mes "To make Condensed Red Potions, I need ^0000ff1 Red Potion, 1 Empty Test Tube, 1 Medicine Bowl, 5 Apples and 20 Zeny^000000.";
close;
case 2:
- if (countitem(503) && countitem(1092) && countitem(7134) && countitem(513) > 9) {
+ if (countitem(Yellow_Potion) && countitem(Empty_Cylinder) && countitem(Medicine_Bowl) && countitem(Banana) > 9) {
if (Zeny > 49) {
- .@yell_potion01 = countitem(503);
- .@yell_tube01 = countitem(1092);
- .@yell_cup01 = countitem(7134);
- .@yell_banana01 = countitem(513);
+ .@yell_potion01 = countitem(Yellow_Potion);
+ .@yell_tube01 = countitem(Empty_Cylinder);
+ .@yell_cup01 = countitem(Medicine_Bowl);
+ .@yell_banana01 = countitem(Banana);
.@yell_zeny01 = Zeny;
while(1) {
if (!.@yell_potion01 || !.@yell_tube01 || !.@yell_cup01 || .@yell_banana01 < 10 || .@yell_zeny01 < 50) break;
@@ -10223,7 +10223,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
.@yellbanana_send = .@input*10;
.@yellzeny_send = .@input*50;
.@total_yell01 = .@input;
- if (countitem(503) < .@yellpotion_send || countitem(1092) < .@yelltube_send || countitem(7134) < .@yellcup_send || countitem(513) < .@yellbanana_send || Zeny < .@yellzeny_send) {
+ if (countitem(Yellow_Potion) < .@yellpotion_send || countitem(Empty_Cylinder) < .@yelltube_send || countitem(Medicine_Bowl) < .@yellcup_send || countitem(Banana) < .@yellbanana_send || Zeny < .@yellzeny_send) {
mes "[Baba Yaga]";
mes "Where are the materials?";
mes "They are not enough! Check them and come back again! Kehehehehe.";
@@ -10669,7 +10669,7 @@ mosk_dun02,65,232,0 script Noisy Coffin#rus36 4_NFCOFFIN,{
}
break;
case 3:
- if (countitem(523)) {
+ if (countitem(Holy_Water)) {
if (rhea_rus_main == 16) {
mes "["+ strcharinfo(0) +"]";
mes "If you don't shut up, I will pour Holy Water on you!";
@@ -10808,7 +10808,7 @@ treasure01,165,58,0 script Old Treasure Box#rus37 HIDDEN_NPC,{
mes "- As soon as you insert the key into the lock, the eyes of the woman moves and she looks at you -";
next;
mes "- Her eyes are made from jewels !! -";
- if (countitem(747)) {
+ if (countitem(Crystal_Mirror)) {
next;
mes "["+ strcharinfo(0) +"]";
mes "Arrrrrk? What is this!!";
@@ -11352,7 +11352,7 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "["+ strcharinfo(0) +"]";
mes "Oh and by the way, I have a present for you!";
next;
- if (countitem(519)) {
+ if (countitem(Milk)) {
mes "["+ strcharinfo(0) +"]";
mes "You said you like milk. Here, take this.";
next;
diff --git a/npc/quests/quests_nameless.txt b/npc/quests/quests_nameless.txt
index 893476e87..9ff387238 100644
--- a/npc/quests/quests_nameless.txt
+++ b/npc/quests/quests_nameless.txt
@@ -289,7 +289,7 @@ ra_in01,301,43,0 script MealConversation Trigger -1,3,3,{
end;
OnTouch:
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -435,7 +435,7 @@ OnTouch:
changequest 17003,17004;
if (Zeny > 3000) {
Zeny -= 3000;
- getitem 12052,4; //Vit_Dish02
+ getitem Vit_Dish02,4;
}
close;
}
@@ -1245,7 +1245,7 @@ nameless_i,259,218,3 script Larjes#Aru 4W_M_01,{
nameless_n,259,218,3 script Larjes#Boat1 4W_M_01,{
if (aru_monas == 24) {
- if (countitem(7726) < 1) {
+ if (countitem(Token_Of_King) < 1) {
mes "[Larjes]";
mes "Good, you're back.";
mes "I know that there's still";
@@ -1288,7 +1288,7 @@ nameless_n,259,218,3 script Larjes#Boat1 4W_M_01,{
mes "[Larjes]";
mes "Anyway, we better get";
mes "going... This is huge!";
- delitem 7726,1; //Token_Of_King
+ delitem Token_Of_King,1;
aru_monas = 25;
changequest 17016,17017;
getexp RENEWAL_EXP?100000:1000000,0;
@@ -1316,7 +1316,7 @@ nameless_n,259,218,3 script Larjes#Boat1 4W_M_01,{
}
abbey02,224,70,0 script Books#Mona1 HIDDEN_NPC,{
- if (checkweight(7766,1) == 0) {
+ if (checkweight(Bok_Choy,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -1338,7 +1338,7 @@ abbey02,224,70,0 script Books#Mona1 HIDDEN_NPC,{
if(select("Examine Book:Ignore")==1) {
aru_monas = 22;
changequest 17014,17015;
- getitem 7755,1; // Reasearch_Note
+ getitem Research_Note,1; // Reasearch_Note
readbook 7755,1;
close;
}
@@ -1414,7 +1414,7 @@ OnTimer300000:
}
abbey03,232,232,4 script Dead Man#King 4_M_TRISTAN,{
- if (checkweight(7766,1) == 0) {
+ if (checkweight(Bok_Choy,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -1435,7 +1435,7 @@ abbey03,232,232,4 script Dead Man#King 4_M_TRISTAN,{
mes "This means that";
mes "this man is...!";
aru_monas = 24;
- getitem 7726,1; //Token_of_King
+ getitem Token_Of_King,1; //Token_of_King
changequest 17015,17016;
hideonnpc "Dead Man#King";
hideoffnpc "Man#King";
@@ -1515,7 +1515,7 @@ sec_in02,15,15,4 script boss::boss_aru_monas 1_M_SIGNMONK,{
//== Rachel Addition :: aruna_nir ==========================
ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -1671,7 +1671,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
close2;
}
else if (aru_monas == 25) {
- if (countitem(7755) < 1) {
+ if (countitem(Research_Note) < 1) {
mes "[Niren]";
mes "Still investigating the";
mes "monastery? Perhaps if";
@@ -1702,7 +1702,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "top priority. We won't be able";
mes "to handle it if another threat";
mes "comes from that place.";
- delitem 7755,1; //Research_Note
+ delitem Research_Note,1;
aru_monas = 26;
completequest 17017;
getexp RENEWAL_EXP?50000:500000,0;
@@ -2057,7 +2057,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "village in North Rachel.";
mes "I hope she'll help us...";
aru_em = 17;
- getitem 7343,1; //File02
+ getitem File02,1;
changequest 2136,2137;
close2;
}
@@ -2071,7 +2071,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
close2;
}
else if (aru_em == 19) {
- if (countitem(7343) > 0) {
+ if (countitem(File02) > 0) {
mes "[High Priestess Niren]";
mes "Have you met with Ishmael?";
next;
@@ -2125,7 +2125,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "do this before High";
mes "Priest Vildt realizes";
mes "what we are doing.";
- delitem 7343,1; //File02
+ delitem File02,1;
aru_em = 20;
changequest 2139,2140;
close2;
@@ -2660,7 +2660,7 @@ ra_temin,103,151,7 script Female Follower#em 4_F_MASK,{
}
ra_fild03,139,355,5 script Ishmael#em 4_F_CHILD,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -2690,7 +2690,7 @@ ra_fild03,139,355,5 script Ishmael#em 4_F_CHILD,{
next;
switch(select("Give Her Niren's File:Leave Her Alone")) {
case 1:
- if (countitem(7343) > 0) {
+ if (countitem(File02) > 0) {
mes "["+ strcharinfo(0) +"]";
mes "You know High Priestess";
mes "Niren, right? This is from her.";
@@ -2737,7 +2737,7 @@ ra_fild03,139,355,5 script Ishmael#em 4_F_CHILD,{
mes "I can't let her down after";
mes "she's been so good to us...";
aru_em = 18;
- delitem 7343,1; //File02
+ delitem File02,1;
changequest 2137,2138;
close;
}
@@ -2755,7 +2755,7 @@ ra_fild03,139,355,5 script Ishmael#em 4_F_CHILD,{
}
}
else if (aru_em == 18) {
- if (countitem(725) > 0) {
+ if (countitem(Red_Jewel) > 0) {
mes "["+ strcharinfo(0) +"]";
mes "Would you be able to forge";
mes "a copy of High Priestess";
@@ -2823,9 +2823,9 @@ ra_fild03,139,355,5 script Ishmael#em 4_F_CHILD,{
mes "containing a forged";
mes "written approval for";
mes "vacation from Ishmael.^000000";
- delitem 725,1; //Red_Jewel
+ delitem Red_Jewel,1;
aru_em = 19;
- getitem 7343,1; //File02
+ getitem File02,1;
changequest 2138,2139;
close;
}
@@ -3206,7 +3206,7 @@ que_temsky,99,7,0 warp quetemskyout 1,1,ra_temin,276,231
//== Muff's Loan :: zdan_total_edq =========================
comodo,224,187,3 script Muff 4_M_04,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Muff]";
mes "You're carrying way too";
mes "much stuff right now.";
@@ -3527,14 +3527,14 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "my bond of debt?";
close;
}
- if ((diamond_edq == 13) && (countitem(7722) > 0)) {
+ if ((diamond_edq == 13) && (countitem(Debt_Note) > 0)) {
mes "[Muff]";
mes "You're back! So how";
mes "did it go? I was getting";
mes "pretty anxious... So did";
mes "Dorian's Magic Dryer work?";
next;
- delitem 7722,1; //Debt_Note
+ delitem Debt_Note,1;
mes "[Muff]";
mes "Oh! It worked much better";
mes "than I expected! Belder";
@@ -3544,8 +3544,8 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "a meager reward for your help.";
completequest 3109;
diamond_edq = 14;
- getitem 603,1; //Old_Blue_Box
- getitem 608,4; //Seed_Of_Yggdrasil
+ getitem Old_Blue_Box,1;
+ getitem Seed_Of_Yggdrasil,4;
next;
mes "[Muff]";
mes "Now that I have my bond";
@@ -3555,7 +3555,7 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "to keep my treasure now!";
close;
}
- else if ((diamond_edq == 13) && (countitem(7722) < 1)) {
+ else if ((diamond_edq == 13) && (countitem(Debt_Note) < 1)) {
mes "[Muff]";
mes "H-hey! Where's my";
mes "bond of debt?! Don't";
@@ -3769,7 +3769,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
}
- script ::Dorian_izlude -1,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Dorian]";
mes "Ugh, just like a member";
mes "of the working class:";
@@ -4056,18 +4056,18 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
mes "de Elegance? Let me take";
mes "a glance at what you brought...";
next;
- if ((countitem(7317) > 19) && (countitem(1002) > 9) && (countitem(999) > 4) && (countitem(723) > 1) && (countitem(716) > 4)) {
+ if ((countitem(Screw) > 19) && (countitem(Iron_Ore) > 9) && (countitem(Steel) > 4) && (countitem(Cardinal_Jewel) > 1) && (countitem(Red_Gemstone) > 4)) {
mes "[Dorian]";
mes "Ah, well done. Now";
mes "that the materials are";
mes "ready, I can instruct you on";
mes "how to repair the machine.";
next;
- delitem 7317,20; //Screw
- delitem 1002,10; //Iron_Ore
- delitem 999,5; //Steel
- delitem 723,2; //Cardinal_Jewel
- delitem 716,5; //Red_Gemstone
+ delitem Screw,20;
+ delitem Iron_Ore,10;
+ delitem Steel,5;
+ delitem Cardinal_Jewel,2;
+ delitem Red_Gemstone,5;
changequest 3104,3105;
diamond_edq = 10;
mes "[Dorian]";
@@ -4274,7 +4274,7 @@ OnTouch:
}
izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Dorian]";
mes "Ugh, just like a member";
mes "of the working class:";
@@ -4611,7 +4611,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "how you can use it?";
close;
}
- if ((diamond_edq == 13) && (countitem(7722) < 1)) {
+ if ((diamond_edq == 13) && (countitem(Debt_Note) < 1)) {
mes "^3355FFYou lift the main";
mes "operational switch,";
mes "turning on a light and";
@@ -4630,10 +4630,10 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "bond of debt that Muff";
mes "lost? It looks... Perfect!";
changequest 3108,3109;
- getitem 7722,1; //Debt_Note
+ getitem Debt_Note,1;
close;
}
- else if ((diamond_edq == 13) && (countitem(7722) > 0)) {
+ else if ((diamond_edq == 13) && (countitem(Debt_Note) > 0)) {
mes "You already used this";
mes "machine to restore the";
mes "bond of debt. There's no";
@@ -4651,7 +4651,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
//== Broken Diamond ========================================
moc_ruins,152,147,5 script Ibrahim 4_M_JOB_HUNTER,3,3,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Ibrahim]";
mes "You're carrying too much";
mes "stuff with you. Dump it";
@@ -4945,7 +4945,7 @@ moc_ruins,152,147,5 script Ibrahim 4_M_JOB_HUNTER,3,3,{
mes "much about you, you still";
mes "exceeded my expectations!";
next;
- delitem 7723,1; //Diamond_Of_Ruin
+ delitem Diamond_Of_Ruin,1;
mes "[Ibrahim]";
mes "Thank God, I finally";
mes "have this back! Ah, and";
@@ -4955,8 +4955,8 @@ moc_ruins,152,147,5 script Ibrahim 4_M_JOB_HUNTER,3,3,{
mes "did, but I hope you like it.";
completequest 3118;
diamond_edq = 26;
- getitem 732,2; //Crystal_Jewel__
- getitem 603,1; //Old_Blue_Box
+ getitem Crystal_Jewel__,2;
+ getitem Old_Blue_Box,1;
next;
mes "[Ibrahim]";
mes "Now that I have the";
@@ -4992,7 +4992,7 @@ moc_ruins,152,147,5 script Ibrahim 4_M_JOB_HUNTER,3,3,{
mes "Ah, I appreciate it!";
mes "Now, let's see here...";
next;
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
mes "[Ibrahim]";
mes "Yes, judging from its";
mes "characteristic shape, this";
@@ -5266,7 +5266,7 @@ alberta,102,80,3 script Jhonnita 4_M_04,{
close;
}
case 2:
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
mes "[Jhonnita]";
mes "Rare emerald, eh?";
mes "It better not be something";
@@ -5377,7 +5377,7 @@ payon,69,65,5 script Kimeunbang 4_M_ORIENT02,{
mes "a little gift. Not all of us";
mes "jewelers are as greedy";
mes "as you think we are. Heh.";
- getitem 722,1; //Scarlet_Jewel
+ getitem Scarlet_Jewel,1;
diamond_edq = 16;
close;
case 2:
@@ -5410,7 +5410,7 @@ payon,69,65,5 script Kimeunbang 4_M_ORIENT02,{
mes "give me a minute to";
mes "appraise your gem.";
next;
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
mes "[Kimeunbang]";
mes "...........";
mes "...........";
@@ -5626,7 +5626,7 @@ geffen,128,153,3 script Leblo 4_M_ALCHE_D,{
mes "I'm curious now. You";
mes "mind if I take a look?";
next;
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
mes "[Leblo]";
mes "Now, what do we ha--";
mes "Oh. I'm sorry, but I just";
@@ -5683,7 +5683,7 @@ geffen,128,153,3 script Leblo 4_M_ALCHE_D,{
}
payon_in03,167,149,3 script Wola 1_F_ORIENT_01,2,2,{
- if (checkweight(907,1) == 0) {
+ if (checkweight(Resin,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -5795,7 +5795,7 @@ payon_in03,167,149,3 script Wola 1_F_ORIENT_01,2,2,{
mes "I need to glue my pot";
mes "back together again?";
next;
- if ((countitem(7043) > 19) && (countitem(7054) > 9) && (countitem(7194) > 9) && (countitem(713) > 4)) {
+ if ((countitem(Fine_Sand) > 19) && (countitem(Brigan) > 9) && (countitem(Soft_Leaf) > 9) && (countitem(Empty_Bottle) > 4)) {
mes "[Wola]";
mes "Great. Give them here.";
mes "I should grind this, mix";
@@ -5803,10 +5803,10 @@ payon_in03,167,149,3 script Wola 1_F_ORIENT_01,2,2,{
mes "What were these for again?";
mes "Argh, I'm acting stupid again!";
mes "You mind not watching me?";
- delitem 7043,20; //Fine_Sand
- delitem 7054,10; //Brigan
- delitem 7194,10; //Soft_Leaf
- delitem 713,5; //Empty_Bottle
+ delitem Fine_Sand,20;
+ delitem Brigan,10;
+ delitem Soft_Leaf,10;
+ delitem Empty_Bottle,5;
next;
mes "[Wola]";
mes "Just... Just sit in";
@@ -6291,7 +6291,7 @@ cmd_in02,69,188,1 script Small Safe CLEAR_NPC,{
mes "Ibrahim's Diamond";
mes "of Destruction?";
next;
- getitem 7723,1; //Diamond_Of_Ruin
+ getitem Diamond_Of_Ruin,1;
mes "[Investigator]";
mes "Zzz... Zzz...";
next;
@@ -6468,7 +6468,7 @@ OnDisable:
}
prontera,148,326,3 script Chief Officer#edq 4_M_JOB_KNIGHT2,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Chief Officer]";
mes "You're carrying far too";
mes "much right now. Please";
@@ -6659,7 +6659,7 @@ prontera,148,326,3 script Chief Officer#edq 4_M_JOB_KNIGHT2,{
mes "captured them, and retrieved";
mes "the forbidden book?";
next;
- delitem 7724,1; //Forbidden_Secret_Art
+ delitem Forbidden_Secret_Art,1;
mes "[Chief Officer]";
mes "Splendid! Just splendid!";
mes "On behalf of the king,";
@@ -6689,7 +6689,7 @@ prontera,148,326,3 script Chief Officer#edq 4_M_JOB_KNIGHT2,{
}
prt_in,168,18,1 script Valdes 1_M_YOUNGKNIGHT,2,2,{
- if (checkweight(907,100) == 0) {
+ if (checkweight(Resin,100) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -6763,8 +6763,8 @@ prt_in,168,18,1 script Valdes 1_M_YOUNGKNIGHT,2,2,{
mes "Heeeey yoooou~";
mes "You bring me wine?";
next;
- if (countitem(12049) > 4) {
- delitem 12049,5; //Int_Dish04
+ if (countitem(Int_Dish04) > 4) {
+ delitem Int_Dish04,5;
mes "[Valdes]";
mes "^666666*Sniff*^000000 Yeeesh, that";
mes "smeells good. This must";
@@ -7892,7 +7892,7 @@ payon,192,176,3 script Gooho Ahn 4_M_KHKYEL,{
mes "I need to reveal the rest";
mes "of this secret Z Gang letter?";
next;
- if ((countitem(7098) > 19) && (countitem(970) > 1) && (countitem(7035) > 0) && (countitem(7097) > 9)) {
+ if ((countitem(Live_Coal) > 19) && (countitem(Alchol) > 1) && (countitem(Matchstick) > 0) && (countitem(Burning_Heart) > 9)) {
mes "[Gooho Ahn]";
mes "Oh, good. Thanks a lot.";
mes "Now I should do my part,";
@@ -7901,10 +7901,10 @@ payon,192,176,3 script Gooho Ahn 4_M_KHKYEL,{
mes "give me a second to";
mes "make some adjustments...";
next;
- delitem 7098,20; //Live_Coal
- delitem 970,2; //Alchol
- delitem 7035,1; //Matchstick
- delitem 7097,10; //Burning_Heart
+ delitem Live_Coal,20;
+ delitem Alchol,2;
+ delitem Matchstick,1;
+ delitem Burning_Heart,10;
emotion e_ic;
mes "[Gooho Ahn]";
mes "Oh, what? This language...";
@@ -8920,7 +8920,7 @@ OnTimer300000:
}
z_agit,97,101,3 script Louis 4_M_RACHMAN1,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Louis]";
mes "You mess with the";
mes "Z Gang, you--wait.";
@@ -9008,7 +9008,7 @@ z_agit,97,101,3 script Louis 4_M_RACHMAN1,{
mes "I understand.";
mes "But how did we lose?!";
close2;
- getitem 7724,1; //Forbidden_Secret_Art
+ getitem Forbidden_Secret_Art,1;
changequest 3133,3134;
zdan_edq = 18;
mapwarp "z_agit","moc_fild17",209,235;
@@ -9040,7 +9040,7 @@ OnInit:
}
z_agit,99,101,3 script Martha 4W_F_01,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Martha]";
mes "Hey, you're carrying";
mes "too much stuff. You'd";
@@ -9131,7 +9131,7 @@ z_agit,99,101,3 script Martha 4W_F_01,{
mes "I understand.";
mes "But how did we lose?!";
close2;
- getitem 7724,1; //Forbidden_Secret_Art
+ getitem Forbidden_Secret_Art,1;
changequest 3133,3134;
zdan_edq = 18;
mapwarp "z_agit","moc_fild17",209,235;
@@ -9164,7 +9164,7 @@ OnInit:
}
z_agit,95,101,3 script Catfoii 4_CAT,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Catfoii]";
mes "You're carrying too";
mes "many items: get rid of";
@@ -9251,7 +9251,7 @@ z_agit,95,101,3 script Catfoii 4_CAT,{
mes "I understand.";
mes "But how did we lose?!";
close2;
- getitem 7724,1; //Forbidden_Secret_Art
+ getitem Forbidden_Secret_Art,1;
changequest 3133,3134;
zdan_edq = 18;
mapwarp "z_agit","moc_fild17",209,235;
@@ -9705,15 +9705,15 @@ morocc,102,298,3 script Man#zgang 4W_M_02,{
mes "So did you bring";
mes "the stuff I asked?";
next;
- if ((countitem(722) > 1) && (countitem(912) > 1) && (countitem(934) > 19)) {
+ if ((countitem(Scarlet_Jewel) > 1) && (countitem(Zargon) > 1) && (countitem(Mementos) > 19)) {
mes "[Man]";
mes "Nice. You did your part.";
mes "And now it's time that";
mes "I fulfilled my part of";
mes "this bargain. Listen up.";
- delitem 722,2; //Scarlet_Jewel
- delitem 912,2; //Zargon
- delitem 934,20; //Mementos
+ delitem Scarlet_Jewel,2;
+ delitem Zargon,2;
+ delitem Mementos,20;
treasure_nd = 5;
next;
mes "[Man]";
@@ -10125,7 +10125,7 @@ comodo,339,224,3 script Man in Hiding#nd 4_M_SITDOWN,{
}
moc_fild18,108,116,0 script #treasure CLEAR_NPC,{
- if (checkweight(907,300) == 0) {
+ if (checkweight(Resin,300) == 0) {
mes "^3355FFYou're carrying too many";
mes "items: there's no way you";
mes "can carry the Treasure";
@@ -10194,9 +10194,9 @@ moc_fild18,108,116,0 script #treasure CLEAR_NPC,{
else {
treasure_nd = 12;
}
- getitem 7725,1; //Unlucky_Emerald
- getitem 604,1; //Branch_Of_Dead_Tree
- getitem 1157,1; //Two_Hand_Sword
+ getitem Unlucky_Emerald,1;
+ getitem Branch_Of_Dead_Tree,1;
+ getitem Two_Hand_Sword,1;
sc_start SC_CURSE,10000,0,10000;
next;
mes "[" + strcharinfo(0) + "]";
@@ -10439,7 +10439,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "My mistake! Say, do you";
mes "mind if I take a look at it?";
next;
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
emotion e_dots;
mes "[Shaman]";
mes "So this bauble's the";
@@ -10613,7 +10613,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "my hands! We can't afford";
mes "to waste any more time!";
next;
- if (countitem(990) > 0) && (countitem(991) > 0) && (countitem(992) > 0) && (countitem(748) > 0) && (countitem(523) > 0) {
+ if (countitem(Boody_Red) > 0) && (countitem(Crystal_Blue) > 0) && (countitem(Wind_Of_Verdure) > 0) && (countitem(Witherless_Rose) > 0) && (countitem(Holy_Water) > 0) {
mes "[Shaman]";
mes "Thank goodness.";
mes "Now... Let me begin...";
@@ -10621,11 +10621,11 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "I... I see someone...";
mes "Covered in blood? Yes...";
mes "He's staring at something.";
- delitem 990,1; //Boody_Red
- delitem 991,1; //Crystal_Blue
- delitem 992,1; //Wind_Of_Verdure
- delitem 748,1; //Witherless_Rose
- delitem 523,1; //Holy_Water
+ delitem Boody_Red,1;
+ delitem Crystal_Blue,1;
+ delitem Wind_Of_Verdure,1;
+ delitem Witherless_Rose,1;
+ delitem Holy_Water,1;
next;
mes "[Shaman]";
mes "There's a sword behind it.";
@@ -10724,7 +10724,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
close;
}
else if (jewel_nd == 20) {
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
mes "[Shaman]";
mes "Alright. By my pride";
mes "as a shaman, I'll provide";
@@ -10833,7 +10833,7 @@ yuno_in04,38,48,3 script Archeologist 1_M_JOBTESTER,{
mes "Emerald, right? Would";
mes "you mind if I take a look?";
next;
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
mes "[Archeologist]";
mes "Ah, it's no wonder so";
mes "many people want it.";
@@ -11014,7 +11014,7 @@ yuno_in04,38,48,3 script Archeologist 1_M_JOBTESTER,{
}
prontera,140,304,5 script Old Soldier 4_M_HUOLDARMY,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Retired Soldier]";
mes "Why are you carrying";
mes "so much stuff with you?";
@@ -11167,7 +11167,7 @@ prontera,140,304,5 script Old Soldier 4_M_HUOLDARMY,{
mes "He wasn't cut out to fight.";
jewel_nd = 30;
next;
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
mes "[Retired Soldier]";
mes "You know what?";
mes "If you're so worried";
@@ -11183,27 +11183,27 @@ prontera,140,304,5 script Old Soldier 4_M_HUOLDARMY,{
mes "I know my will's tough enough";
mes "to resist its curse, you know,";
mes "if it actually exists.";
- delitem 7725,1; //Unlucky_Emerald
+ delitem Unlucky_Emerald,1;
jewel_nd = 31;
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
if (RENEWAL_EXP) {
- if (BaseLevel < 66) getitem 607,1; //Yggdrasilberry
+ if (BaseLevel < 66) getitem Yggdrasilberry,1;
else if ((BaseLevel > 65) && (BaseLevel < 75)) getexp 5000,0;
else if ((BaseLevel > 74) && (BaseLevel < 81)) getexp 18000,0;
else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 36000,0;
else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 50000,0;
else if ((BaseLevel > 90) && (BaseLevel < 96)) getexp 80000,0;
else if ((BaseLevel > 95) && (BaseLevel < 160)) getexp 100000,0;
- else getitem 617,1; //Old_Violet_Box
+ else getitem Old_Violet_Box,1;
} else {
- if (BaseLevel < 66) getitem 607,1; //Yggdrasilberry
+ if (BaseLevel < 66) getitem Yggdrasilberry,1;
else if ((BaseLevel > 65) && (BaseLevel < 75)) getexp 50000,0;
else if ((BaseLevel > 74) && (BaseLevel < 81)) getexp 180000,0;
else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 360000,0;
else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 500000,0;
else if ((BaseLevel > 90) && (BaseLevel < 96)) getexp 800000,0;
else if ((BaseLevel > 95) && (BaseLevel < 99)) getexp 1000000,0;
- else getitem 617,1; //Old_Violet_Box
+ else getitem Old_Violet_Box,1;
}
next;
mes "[Retired Soldier]";
@@ -11237,28 +11237,28 @@ prontera,140,304,5 script Old Soldier 4_M_HUOLDARMY,{
}
}
else if (jewel_nd == 30) {
- if (countitem(7725) > 0) {
- delitem 7725,1; //Unlucky_Emerald
+ if (countitem(Unlucky_Emerald) > 0) {
+ delitem Unlucky_Emerald,1;
jewel_nd = 31;
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
if (RENEWAL_EXP) {
- if (BaseLevel < 66) getitem 607,1; //Yggdrasilberry
+ if (BaseLevel < 66) getitem Yggdrasilberry,1;
else if ((BaseLevel > 65) && (BaseLevel < 75)) getexp 5000,0;
else if ((BaseLevel > 74) && (BaseLevel < 81)) getexp 8000,0;
else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 15000,0;
else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 20000,0;
else if ((BaseLevel > 90) && (BaseLevel < 96)) getexp 40000,0;
else if ((BaseLevel > 95) && (BaseLevel < 160)) getexp 50000,0;
- else getitem 617,1; //Old_Violet_Box
+ else getitem Old_Violet_Box,1;
} else {
- if (BaseLevel < 66) getitem 607,1; //Yggdrasilberry
+ if (BaseLevel < 66) getitem Yggdrasilberry,1;
else if ((BaseLevel > 65) && (BaseLevel < 75)) getexp 50000,0;
else if ((BaseLevel > 74) && (BaseLevel < 81)) getexp 80000,0;
else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 150000,0;
else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 200000,0;
else if ((BaseLevel > 90) && (BaseLevel < 96)) getexp 400000,0;
else if ((BaseLevel > 95) && (BaseLevel < 99)) getexp 500000,0;
- else getitem 617,1; //Old_Violet_Box
+ else getitem Old_Violet_Box,1;
}
next;
mes "[Retired Soldier]";
@@ -11320,7 +11320,7 @@ gef_fild08,182,185,0 script The Wanderer 8_DOPPEL,{
close;
}
else if (jewel_nd == 21) {
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
mes "[The Wanderer]";
mes "That... That looks";
mes "just like the emerald";
@@ -11650,7 +11650,7 @@ gef_fild08,182,182,0 script #CallGhost -1,2,2,{
//OnTouch2:
OnTouch:
if (jewel_nd == 21) {
- if (countitem(7725) > 0) {
+ if (countitem(Unlucky_Emerald) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "This must be the place";
mes "that shaman was talking";
@@ -11741,7 +11741,7 @@ prontera,163,204,3 script Man from Morroc 4W_M_03,{
}
in_rogue,355,28,5 script Rogue Agent 2_M_THIEFMASTER,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Guildsman]";
mes "You're carrying too";
mes "much stuff on you.";
@@ -11906,7 +11906,7 @@ in_rogue,355,28,5 script Rogue Agent 2_M_THIEFMASTER,{
mes "like it. If not, don't";
mes "lemme know. Got it?";
rumour_nd = 22;
- getitem 644,1; //Gift_Box
+ getitem Gift_Box,1;
close;
}
else {
@@ -11918,7 +11918,7 @@ in_rogue,355,28,5 script Rogue Agent 2_M_THIEFMASTER,{
mes "like it. If not, don't";
mes "lemme know. Got it?";
rumour_nd = 22;
- getitem 644,1; //Gift_Box
+ getitem Gift_Box,1;
close;
}
}
@@ -12155,12 +12155,12 @@ geffen,91,36,5 script Rogue Guild Agent#nd1 4_M_ROGUE,{
next;
switch(select("Give Items:I forgot what you need.")) {
case 1:
- if ((countitem(1062) > 0) && (countitem(944) > 0) && (countitem(1038) > 0) && (countitem(1060) > 0) && (countitem(1059) > 0)) {
- delitem 1062,1; //Pumpkin_Head
- delitem 944,1; //Horseshoe
- delitem 1038,1; //Petite_DiablOfs_Horn
- delitem 1060,1; //Golden_Hair
- delitem 1059,1; //Transparent_Cloth
+ if ((countitem(Pumpkin_Head) > 0) && (countitem(Horseshoe) > 0) && (countitem(Petite_DiablOfs_Horn) > 0) && (countitem(Golden_Hair) > 0) && (countitem(Transparent_Cloth) > 0)) {
+ delitem Pumpkin_Head,1;
+ delitem Horseshoe,1;
+ delitem Petite_DiablOfs_Horn,1;
+ delitem Golden_Hair,1;
+ delitem Transparent_Cloth,1;
rumour_nd = 6;
mes "[Agent]";
mes "Thanks. This stuff";
@@ -12314,12 +12314,12 @@ geffen,91,36,5 script Rogue Guild Agent#nd1 4_M_ROGUE,{
next;
switch(select("Give Items:I forgot what you need.")) {
case 1:
- if ((countitem(1062) > 1) && (countitem(944) > 2) && (countitem(1038) > 1) && (countitem(1060) > 2) && (countitem(1059) > 0)) {
- delitem 1062,2; //Pumpkin_Head
- delitem 944,3; //Horseshoe
- delitem 1038,2; //Petite_DiablOfs_Horn
- delitem 1060,3; //Golden_Hair
- delitem 1059,1; //Transparent_Cloth
+ if ((countitem(Pumpkin_Head) > 1) && (countitem(Horseshoe) > 2) && (countitem(Petite_DiablOfs_Horn) > 1) && (countitem(Golden_Hair) > 2) && (countitem(Transparent_Cloth) > 0)) {
+ delitem Pumpkin_Head,2;
+ delitem Horseshoe,3;
+ delitem Petite_DiablOfs_Horn,2;
+ delitem Golden_Hair,3;
+ delitem Transparent_Cloth,1;
rumour_nd = 6;
mes "[Agent]";
mes "Thanks. This stuff";
@@ -12375,12 +12375,12 @@ geffen,91,36,5 script Rogue Guild Agent#nd1 4_M_ROGUE,{
next;
switch(select("Give Items:I forgot what you need.")) {
case 1:
- if ((countitem(1062) > 1) && (countitem(944) > 2) && (countitem(1038) > 1) && (countitem(1060) > 2) && (countitem(1059) > 0)) {
- delitem 1062,2; //Pumpkin_Head
- delitem 944,3; //Horseshoe
- delitem 1038,2; //Petite_DiablOfs_Horn
- delitem 1060,3; //Golden_Hair
- delitem 1059,1; //Transparent_Cloth
+ if ((countitem(Pumpkin_Head) > 1) && (countitem(Horseshoe) > 2) && (countitem(Petite_DiablOfs_Horn) > 1) && (countitem(Golden_Hair) > 2) && (countitem(Transparent_Cloth) > 0)) {
+ delitem Pumpkin_Head,2;
+ delitem Horseshoe,3;
+ delitem Petite_DiablOfs_Horn,2;
+ delitem Golden_Hair,3;
+ delitem Transparent_Cloth,1;
rumour_nd = 6;
mes "[Agent]";
mes "Thanks. This stuff";
@@ -12644,8 +12644,8 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "You're much quicker";
mes "that I thought you'd be~";
next;
- if (countitem(511) > 0) {
- delitem 511,1; //Green_Herb
+ if (countitem(Green_Herb) > 0) {
+ delitem Green_Herb,1;
rumour_nd = 11;
mes "[Agent]";
mes "Alright, it's gonna take";
@@ -12670,8 +12670,8 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "You're much quicker";
mes "that I thought you'd be~";
next;
- if (countitem(507) > 0) {
- if (countitem(511) > 0) {
+ if (countitem(Red_Herb) > 0) {
+ if (countitem(Green_Herb) > 0) {
mes "[Agent]";
mes "Ah, a Green Herb!";
mes "Is that what I told";
@@ -12686,7 +12686,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "we did it. Hey, gimmie";
mes "some time to draw a report,";
mes "and then come back later, 'kay?";
- delitem 511,1; //Green_Herb
+ delitem Green_Herb,1;
rumour_nd = 11;
close;
}
@@ -12707,7 +12707,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
}
}
else {
- if (countitem(511) > 0) {
+ if (countitem(Green_Herb) > 0) {
mes "[Agent]";
mes "Alright, it's gonna take";
mes "a while to neutralize all";
@@ -12715,7 +12715,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "we did it. Hey, gimmie";
mes "some time to draw a report,";
mes "and then come back later, 'kay?";
- delitem 511,1; //Green_Herb
+ delitem Green_Herb,1;
rumour_nd = 11;
close;
}
@@ -12789,12 +12789,12 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "except for the Alcohol.";
mes "Did you bring it?";
next;
- if (countitem(970) > 0) {
+ if (countitem(Alchol) > 0) {
mes "[Agent]";
mes "Great, now all we";
mes "have to do is wait.";
mes "Nice work, partner.";
- delitem 970,1; //Alchol
+ delitem Alchol,1;
rumour_nd = 15;
close;
}
@@ -12812,12 +12812,12 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "except for the Alcohol.";
mes "Did you bring it?";
next;
- if (countitem(970) > 0) {
+ if (countitem(Alchol) > 0) {
mes "[Agent]";
mes "Great, now all we";
mes "have to do is wait.";
mes "Nice work, partner.";
- delitem 970,1; //Alchol
+ delitem Alchol,1;
rumour_nd = 14;
close;
}
@@ -12935,7 +12935,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
}
comodo,233,199,5 script Rogue Guild Agent#nd3 1_M_SIGNROGUE,{
- if (checkweight(907,200) == 0) {
+ if (checkweight(Resin,200) == 0) {
mes "[Agent]";
mes "You've got too many";
mes "things on you. Why";
@@ -13054,11 +13054,11 @@ comodo,233,199,5 script Rogue Guild Agent#nd3 1_M_SIGNROGUE,{
mes "[Agent]";
mes "Okay, let me check.";
next;
- if ((countitem(2278) > 0) || (countitem(2281) > 0) || (countitem(5043) > 0) || (countitem(2288) > 0) ||
- (countitem(2292) > 0) || (countitem(2297) > 0) || (countitem(5005) > 0) || (countitem(5086) > 0) ||
- (countitem(5087) > 0) || (countitem(5088) > 0) || (countitem(5089) > 0) || (countitem(5090) > 0) ||
- (countitem(5176) > 0) || (countitem(5203) > 0) || (countitem(5098) > 0) || (countitem(5121) > 0) ||
- (countitem(5130) > 0) || (countitem(5177) > 0) || (countitem(5169) > 0) || (countitem(5143) > 0)) {
+ if ((countitem(Mr_Smile) > 0) || (countitem(Phantom_Of_Opera) > 0) || (countitem(Opera_Ghost_Mask) > 0) || (countitem(Mr_Scream) > 0) ||
+ (countitem(Welding_Mask) > 0) || (countitem(Goblini_Mask) > 0) || (countitem(Gas_Mask) > 0) || (countitem(Alarm_Mask) > 0) ||
+ (countitem(Goblin_Mask_01) > 0) || (countitem(Goblin_Mask_02) > 0) || (countitem(Goblin_Mask_03) > 0) || (countitem(Goblin_Mask_04) > 0) ||
+ (countitem(Hahoe_Mask) > 0) || (countitem(Tongue_Mask) > 0) || (countitem(Tiger_Mask) > 0) || (countitem(Zherlthsh_Mask) > 0) ||
+ (countitem(Lion_Mask) > 0) || (countitem(Guardian_Lion_Mask) > 0) || (countitem(Bride_Mask) > 0) || (countitem(Kabuki_Mask) > 0)) {
mes "[Agent]";
mes "Excellent!";
next;
@@ -13131,22 +13131,22 @@ comodo,233,199,5 script Rogue Guild Agent#nd3 1_M_SIGNROGUE,{
mes "with my apologies, 'kay?";
.@sorry_item = rand(1,6);
if (.@sorry_item == 1) {
- getitem 12044,1; //Str_Dish04
+ getitem Str_Dish04,1;
}
else if (.@sorry_item == 2) {
- getitem 12059,1; //Agi_Dish04
+ getitem Agi_Dish04,1;
}
else if (.@sorry_item == 3) {
- getitem 12064,1; //Dex_Dish04
+ getitem Dex_Dish04,1;
}
else if (.@sorry_item == 4) {
- getitem 12049,1; //Int_Dish04
+ getitem Int_Dish04,1;
}
else if (.@sorry_item == 5) {
- getitem 12054,1; //Vit_Dish04
+ getitem Vit_Dish04,1;
}
else if (.@sorry_item == 6) {
- getitem 12069,1; //Luk_Dish04
+ getitem Luk_Dish04,1;
}
else {
mes "[Agent]";
diff --git a/npc/quests/quests_niflheim.txt b/npc/quests/quests_niflheim.txt
index 05f9e6079..89ce0ac2d 100644
--- a/npc/quests/quests_niflheim.txt
+++ b/npc/quests/quests_niflheim.txt
@@ -66,7 +66,7 @@ niflheim,224,243,3 script Alreg#nif 4_M_NFDEADMAN,{
mes "for payback. Present!";
mes "*Burrrp*";
nif_esc = rand(1,2);
- getitem 7184,1; //Piano_Keyboard
+ getitem Piano_Keyboard,1;
close;
}
percentheal -30,0;
@@ -128,7 +128,7 @@ nif_in,105,81,3 script Crayu#nif 4_M_NFDEADMAN2,{
next;
if (nif_esc == 1) nif_esc = 3;
else nif_esc = 6;
- getitem 7184,1; //Piano_Keyboard
+ getitem Piano_Keyboard,1;
mes "[Crayu]";
mes "Lastly, I hope you will show your";
mes "respect to other Bards, just as";
@@ -168,7 +168,7 @@ nif_in,31,20,3 script Kuzkahina#nif 4_M_NFDEADMAN2,{
mes "Hey you! Make yourself useful";
mes "and throw this away when you leave.";
nif_esc += 2;
- getitem 7184,1; //Piano_Keyboard
+ getitem Piano_Keyboard,1;
next;
mes "[Kuzkahina]";
mes "Gosh, what's with this store?";
@@ -202,7 +202,7 @@ OnTouch:
nif_esc += 2;
else if (nif_esc == 10)
nif_esc = 11;
- getitem 7184,1; //Piano_Keyboard
+ getitem Piano_Keyboard,1;
}
close;
}
@@ -221,7 +221,7 @@ OnTouch:
mes "^3355FFWould you like to pick it up?^000000";
if (select("Yes:No") == 1) {
nif_esc += 2;
- getitem 7184,1; //Piano_Keyboard
+ getitem Piano_Keyboard,1;
}
close;
}
@@ -245,9 +245,9 @@ OnTouch:
mes "you could play music...^000000";
close;
}
- if (nif_esc == 11 && countitem(7184) > 5) {
+ if (nif_esc == 11 && countitem(Piano_Keyboard) > 5) {
nif_esc = 12;
- delitem 7184,6; //Piano_Keyboard
+ delitem Piano_Keyboard,6;
mes "^3355FFYou took the keys you've found";
mes "and inserted them into";
mes "each empty space.^000000";
@@ -409,13 +409,13 @@ prt_in,161,20,3 script Erious#nif 4_F_03,{
mes "Were you able to meet my Elly?";
next;
if (select("Yes.:Sorry, I couldn't.") == 1) {
- if (nif_revive == 6 && countitem(934) > 0) {
+ if (nif_revive == 6 && countitem(Mementos) > 0) {
mes "[Erious]";
mes "Are you serious? What did she say?";
mes "Did she say she will forgive me?";
next;
select("Yes. And she gave me...this.");
- delitem 934,1; //Mementos
+ delitem Mementos,1;
mes "[Erious]";
mes "Ah...In this box were the gifts";
mes "I gave her when we started";
@@ -444,13 +444,13 @@ prt_in,161,20,3 script Erious#nif 4_F_03,{
mes "I hope you will take this medicine";
mes "as a token of my gratitute.";
next;
- if (checkweight(610,26)) {
+ if (checkweight(Leaf_Of_Yggdrasil,26)) {
MISC_QUEST |= 16384;
nif_revive = 0;
completequest 11043;
- getitem 607,2; //Yggdrasilberry
- getitem 608,2; //Seed_Of_Yggdrasil
- getitem 610,10; //Leaf_Of_Yggdrasil
+ getitem Yggdrasilberry,2;
+ getitem Seed_Of_Yggdrasil,2;
+ getitem Leaf_Of_Yggdrasil,10;
mes "[Erious]";
mes "Thank you for everything.";
mes "I wish you luck and safety";
@@ -465,7 +465,7 @@ prt_in,161,20,3 script Erious#nif 4_F_03,{
mes "store your items somewhere?";
close;
}
- else if (nif_revive == 6 && countitem(934) < 1) {
+ else if (nif_revive == 6 && countitem(Mementos) < 1) {
mes "[Erious]";
mes "Hmm...this is odd. I'm sure she would give you something as a token of meeting her. By any chance, is there anything that you've forgetten to bring me?";
close;
@@ -489,11 +489,11 @@ prt_in,161,20,3 script Erious#nif 4_F_03,{
mes "something as a token of my";
mes "gratitute.";
next;
- if (checkweight(610,10)) {
+ if (checkweight(Leaf_Of_Yggdrasil,10)) {
MISC_QUEST |= 16384;
nif_revive = 0;
completequest 11042;
- getitem 610,10; //Leaf_Of_Yggdrasil
+ getitem Leaf_Of_Yggdrasil,10;
mes "[Erious]";
mes "Thank you for everything.";
mes "I wish you luck and safety";
@@ -651,7 +651,7 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
close;
}
else if (nif_revive == 4) {
- if (countitem(748) > 0) {
+ if (countitem(Witherless_Rose) > 0) {
mes "[Feylin]";
mes "Huh, Billik must have sent you.";
mes "Since I'm indebted to him, I";
@@ -677,7 +677,7 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
mes "spell. Do you wish to continue?";
next;
if (select("Yes:No") == 1) {
- if (countitem(610) > 9) {
+ if (countitem(Leaf_Of_Yggdrasil) > 9) {
mes "[Feylin]";
mes "I see. Then we shall begin.";
mes "Woombahsokasabahah!";
@@ -692,8 +692,8 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
mes "who you wish to see. I am";
mes "really sorry for this result.";
emotion e_omg;
- delitem 748,1; //Witherless_Rose
- delitem 610,10; //Leaf_Of_Yggdrasil
+ delitem Witherless_Rose,1;
+ delitem Leaf_Of_Yggdrasil,10;
nif_revive = 5;
changequest 11041,11042;
percentheal -99,0;
@@ -706,8 +706,8 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
close;
}
else if (.@nif_revive1 > 87) && (.@nif_revive1 < 101) {
- delitem 748,1; //Witherless_Rose
- delitem 610,10; //Leaf_Of_Yggdrasil
+ delitem Witherless_Rose,1;
+ delitem Leaf_Of_Yggdrasil,10;
percentheal -50,0;
mes "[Feylin]";
mes "..........";
@@ -740,7 +740,7 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
mes "him know that I forgive him.";
nif_revive = 6;
changequest 11040,11043;
- getitem 934,1; //Mementos
+ getitem Mementos,1;
next;
mes "[Elly]";
mes "I am glad to hear from my";
diff --git a/npc/quests/quests_payon.txt b/npc/quests/quests_payon.txt
index c289633cb..7b43cb152 100644
--- a/npc/quests/quests_payon.txt
+++ b/npc/quests/quests_payon.txt
@@ -38,11 +38,11 @@
//== 'Pretend Murdered' Quest ==============================
payon_in01,99,72,4 script Granny 8_F_GRANDMOTHER,{
- if (checkweight(908,1) == 0) {
+ if (checkweight(Spawn,1) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
- if (countitem(1049) > 3) {
+ if (countitem(Skirt_Of_Virgin) > 3) {
mes "[Granny]";
mes "I wish I could make some clothing for my grandchildren for the festival season...";
next;
@@ -51,7 +51,7 @@ payon_in01,99,72,4 script Granny 8_F_GRANDMOTHER,{
next;
switch(select("Alright.:No way!")) {
case 1:
- delitem 1049,4; //Skirt_Of_Virgin
+ delitem Skirt_Of_Virgin,4;
mes "[Granny]";
mes "Oh! Thank you so much~ Now I can make some clothes for Kitty Cutty~";
next;
@@ -62,7 +62,7 @@ payon_in01,99,72,4 script Granny 8_F_GRANDMOTHER,{
mes "If it's okay...";
mes "I'd like to give you this.";
next;
- getitem 2293,1; //Pretend_Murdered
+ getitem Pretend_Murdered,1;
mes "[Granny]";
mes "Goodbye, adventurer~!";
mes "Thank you for making an old woman so happy...";
@@ -102,14 +102,14 @@ payon_in01,18,10,4 script Mystic Lady 1_F_ORIENT_02,{
next;
switch(select("Oh Yeah? That sounds good.:No thank you, Ma'am.")) {
case 1:
- if ((countitem(724) > 0) && (countitem(949) > 199) && (countitem(5001) > 0) && (Zeny > 4999)) {
+ if ((countitem(Cardinal_Jewel_) > 0) && (countitem(Feather) > 199) && (countitem(Headset) > 0) && (Zeny > 4999)) {
mes "[Mystic Lady]";
- delitem 724,1; //Cardinal_Jewel_
- delitem 949,200; //Feather
- delitem 5001,1; //Headset
+ delitem Cardinal_Jewel_,1;
+ delitem Feather,200;
+ delitem Headset,1;
Zeny -= 5000;
mes "Here, I will give you this pre-made one.";
- getitem 2283,1; //Ear_Mufs
+ getitem Ear_Mufs,1;
next;
mes "[Mystic Lady]";
mes "Thank you for buying our product. You won't regret purchasing our Ear Muffs: Satisfaction guaranteed~";
@@ -136,7 +136,7 @@ payon_in01,18,10,4 script Mystic Lady 1_F_ORIENT_02,{
//== 'Oxygen Mask' Quest ===================================
payon_in02,25,71,4 script Boy 4_M_04,{
- if (countitem(701) > 4) {
+ if (countitem(Ora_Ora) > 4) {
mes "[Young Man]";
mes "ArrrGggghh!";
mes "Ah, No I can't...";
@@ -158,8 +158,8 @@ payon_in02,25,71,4 script Boy 4_M_04,{
mes "I'll make it short! Give it to me, and I will give you my treasure! So how's my idea? Wanna deal?";
close;
case 2:
- if (countitem(701) > 4) {
- delitem 701,5; //Ora_Ora
+ if (countitem(Ora_Ora) > 4) {
+ delitem Ora_Ora,5;
}
mes "[Young Man]";
mes "Muhahahahah!!!";
@@ -173,7 +173,7 @@ payon_in02,25,71,4 script Boy 4_M_04,{
mes "Huk...Huk...";
mes "Sorry, I was out of control with pleasure for a while. Now, I will give my treasure as promised.";
next;
- getitem 5004,1; //Oxygen_Mask
+ getitem Oxygen_Mask,1;
mes "[Young Man]";
mes "When you wear this over your mouth and start to breathe, it filters junk out before getting to your lungs.";
next;
@@ -257,15 +257,15 @@ payon_in01,56,12,7 script Young man#12 4_M_ORIENT02,{
next;
switch(select("Give him the items.:Don't give him the items.")) {
case 1:
- if ((countitem(2229) > 0) && (countitem(2254) > 0) && (countitem(7036) > 4)) {
+ if ((countitem(Helm_) > 0) && (countitem(Angelic_Chain) > 0) && (countitem(Fang_Of_Garm) > 4)) {
mes "[Young man]";
mes ".....Hm.";
mes "Fine, here's your Helm of Angel. Take it.";
- delitem 2229,1; //Helm_
- delitem 2254,1; //Angelic_Chain
- delitem 7036,5; //Fang_Of_Garm
+ delitem Helm_,1;
+ delitem Angelic_Chain,1;
+ delitem Fang_Of_Garm,5;
close2;
- getitem 5025,1; //Helm_Of_Angel
+ getitem Helm_Of_Angel,1;
end;
}
else {
@@ -295,13 +295,13 @@ payon_in01,56,12,7 script Young man#12 4_M_ORIENT02,{
next;
switch(select("Give him the items.:Don't give him the items.")) {
case 1:
- if ((countitem(1038) > 599) && (countitem(7048) > 39)) {
+ if ((countitem(Petite_DiablOfs_Horn) > 599) && (countitem(Talon_Of_Griffin) > 39)) {
mes "[Young man]";
mes ".....Hm. Here's your Deviruchi Hat. Please take it.";
- delitem 1038,600; //Petite_DiablOfs_Horn
- delitem 7048,40; //Talon_Of_Griffin
+ delitem Petite_DiablOfs_Horn,600;
+ delitem Talon_Of_Griffin,40;
close2;
- getitem 5038,1; //Deviruchi_Cap
+ getitem Deviruchi_Cap,1;
end;
}
else {
diff --git a/npc/quests/quests_prontera.txt b/npc/quests/quests_prontera.txt
index d804aa47c..a535fd212 100644
--- a/npc/quests/quests_prontera.txt
+++ b/npc/quests/quests_prontera.txt
@@ -135,9 +135,9 @@ S_Volunteer:
mes "3 Red Potions, 1 Milk,";
mes "and 1 Orange Potion";
mes "...to give you hope.";
- getitem 501,3; //Red_Potion
- getitem 519,1; //Milk
- getitem 502,1; //Orange_Potion
+ getitem Red_Potion,3;
+ getitem Milk,1;
+ getitem Orange_Potion,1;
next;
return;
}
@@ -165,7 +165,7 @@ prt_fild05,270,212,5 script Culvert Guardian 8W_SOLDIER,{
//== Ph.D Hat Quest :: npc_6cript ==========================
prt_in,38,108,4 script Teacher 1_M_INNKEEPER,{
- if ((countitem(710) > 0) && (countitem(703) > 0) && (countitem(704) > 0) && (countitem(708) > 0)) {
+ if ((countitem(Illusion_Flower) > 0) && (countitem(Hinalle) > 0) && (countitem(Aloe) > 0) && (countitem(Ment) > 0)) {
mes "[Teacher]";
mes "Oh...";
mes "Those Flowers in your hand are...";
@@ -181,11 +181,11 @@ prt_in,38,108,4 script Teacher 1_M_INNKEEPER,{
mes "I'll give you my precious item.";
close;
case 2:
- if ((countitem(710) > 0) && (countitem(703) > 0) && (countitem(704) > 0) && (countitem(708) > 0)) {
- delitem 710,1; //Illusion_Flower
- delitem 703,1; //Hinalle
- delitem 704,1; //Aloe
- delitem 708,1; //Ment
+ if ((countitem(Illusion_Flower) > 0) && (countitem(Hinalle) > 0) && (countitem(Aloe) > 0) && (countitem(Ment) > 0)) {
+ delitem Illusion_Flower,1;
+ delitem Hinalle,1;
+ delitem Aloe,1;
+ delitem Ment,1;
getitem 5012,1; //Ph.D_Hat
mes "[Teacher]";
mes "I really really appreciate you what you've done for me. I'm truly grateful. I will give my precious item to you as promised.";
@@ -560,13 +560,13 @@ S_GetBooks:
mes "thanks for doing this for me.";
mes "I was really at my wit's end...";
prt_curse = 3;
- getitem 7431,1; //Books
+ getitem Several_Books,1; //Books
close;
}
return;
S_CheckWeight:
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -579,7 +579,7 @@ S_CheckWeight:
}
yuno,311,195,3 script Historian#prt01 4_M_SAGE_A,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -638,7 +638,7 @@ yuno,311,195,3 script Historian#prt01 4_M_SAGE_A,{
mes "I cannot proceed without more";
mes "new material to study.";
next;
- if (countitem(7431) > 0) {
+ if (countitem(Several_Books) > 0) {
select("Excuse me, but what's your name?");
mes "[Historian]";
mes "Hm? I'm Karlomoff, the";
@@ -711,7 +711,7 @@ yuno,311,195,3 script Historian#prt01 4_M_SAGE_A,{
mes "Just give me a minute to get";
mes "a cool drink of water first~";
prt_curse = 4;
- delitem 7431,1; //Books
+ delitem Several_Books,1; //Books
close;
}
else if (prt_curse == 4) {
@@ -858,7 +858,7 @@ yuno,311,195,3 script Historian#prt01 4_M_SAGE_A,{
mes "I'm certain you can find her";
mes "somewhere in that desert town.";
prt_curse = 6;
- getitem 7342,1; //File01
+ getitem File01,1;
close;
}
else if (prt_curse == 6) {
@@ -930,7 +930,7 @@ yuno,311,195,3 script Historian#prt01 4_M_SAGE_A,{
}
morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -940,7 +940,7 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
close;
}
if (prt_curse == 6) {
- if (countitem(7342) < 0) {
+ if (countitem(File01) < 0) {
mes "^3355FFYou seem to have lost";
mes "Karlomoff's Report. You";
mes "needed to deliver here to";
@@ -1060,7 +1060,7 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
mes "That doesn't sound";
mes "right at all. Are you sure";
mes "that's the lyric you heard?";
- delitem 7342,1; //File01
+ delitem File01,1;
prt_curse = 7;
close;
}
@@ -1124,7 +1124,7 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
mes "That doesn't sound right";
mes "at all. Are you sure those";
mes "are the lyrics you heard?";
- delitem 7342,1; //File01
+ delitem File01,1;
prt_curse = 7;
close;
}
@@ -1357,14 +1357,14 @@ S_GiveName:
mes "a silly errand, but I actually";
mes "need to know this song's lyrics";
mes "for the sake of my research...";
- if (getarg(0) == 1) delitem 7342,1; //File01
+ if (getarg(0) == 1) delitem File01,1;
prt_curse = 8;
changequest 18031,18032;
close;
}
mjolnir_01,135,168,3 script Historian#prt03 4_M_SAGE_A,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -1755,7 +1755,7 @@ mjolnir_01,313,269,5 script Dazed Boy#prt 4_M_KID1,{
}
mjolnir_01,316,268,3 script Exhausted-Looking Woman 4_F_CAPEGIRL,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -1939,7 +1939,7 @@ mjolnir_01,316,268,3 script Exhausted-Looking Woman 4_F_CAPEGIRL,{
mes "I should deliver these";
mes "herbs to Prontera Church";
mes "before I talk to Rodafrian.)^000000";
- getitem 7432,1; //Leather_Pouch
+ getitem Leather_Pouch,1;
prt_curse = 13;
changequest 18033,18034;
close;
@@ -2182,7 +2182,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "these hallowed halls.";
next;
select("Give him the herb pouch.");
- if (countitem(7432) < 1) {
+ if (countitem(Leather_Pouch) < 1) {
mes "["+strcharinfo(0)+"]";
mes "Ack!";
mes "Now, where did I put";
@@ -2269,7 +2269,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "me the opportunity to tell you";
mes "something very important. But, you must not tell anyone else...";
prt_curse = 14;
- delitem 7432,1; //Leather_Pouch
+ delitem Leather_Pouch,1;
close;
}
else if (prt_curse == 14) {
@@ -3316,7 +3316,7 @@ prt_church,24,111,5 script #prince3 4_M_LIEMAN,{
close;
}
else if (prt_curse == 32 || prt_curse == 41 || prt_curse == 51) {
- if (countitem(506) > 0 && countitem(715) > 0) {
+ if (countitem(Green_Potion) > 0 && countitem(Yellow_Gemstone) > 0) {
mes "^3355FFYou open a bottle of";
mes "Green Potion and insert a";
mes "Yellow Gemstone. The gem";
@@ -3334,8 +3334,8 @@ prt_church,24,111,5 script #prince3 4_M_LIEMAN,{
mes "and the serpent scale marks";
mes "on the prince's body slowly";
mes "fade until they disappear.^000000";
- delitem 506,1; //Green_Potion
- delitem 715,1; //Yellow_Gemstone
+ delitem Green_Potion,1;
+ delitem Yellow_Gemstone,1;
if (prt_curse == 32) prt_curse = 33;
else if (prt_curse == 41) prt_curse = 42;
else prt_curse = 52;
@@ -3602,7 +3602,7 @@ OnTouch:
}
prt_in,162,99,4 script Librarian#curse 1_F_02,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -3612,7 +3612,7 @@ prt_in,162,99,4 script Librarian#curse 1_F_02,{
close;
}
if (prt_curse == 3) {
- if (countitem(7431) < 1) {
+ if (countitem(Several_Books) < 1) {
mes "[Librarian]";
mes "Please make sure to return";
mes "library books to the correct";
@@ -3637,7 +3637,7 @@ prt_in,162,99,4 script Librarian#curse 1_F_02,{
mes "and try not to lose";
mes "them again. Thank you.";
Zeny -= 700;
- getitem 7431,1; //Books
+ getitem Several_Books,1; //Books
close;
}
mes "[Librarian]";
diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt
index d767284d8..db6fd02a7 100644
--- a/npc/quests/quests_rachel.txt
+++ b/npc/quests/quests_rachel.txt
@@ -421,7 +421,7 @@ ra_in01,384,246,3 script Vincent#ra_in01 1_M_01,{
mes "quite valuable nowadays...";
lost_boy = 12;
changequest 8098,8099;
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
next;
mes "[Vincent]";
mes "Ah, and this note is a";
@@ -1248,7 +1248,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "could have had a chance...";
close;
}
- else if ((rach_vice == 21) && (countitem(1201) > 0)) {
+ else if ((rach_vice == 21) && (countitem(Knife) > 0)) {
mes "[Katinshuell]";
mes "Please... Please just";
mes "leave me alone. I've lost";
@@ -1256,7 +1256,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "of something stupid I did";
mes "in the past. If you want to";
mes "turn me in, go ahead...";
- delitem 1201,1; //Knife
+ delitem Knife,1;
rach_vice = 22;
changequest 8121,8122;
close;
@@ -1270,7 +1270,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "truly happy. Bruspetti...";
close;
}
- else if ((rach_vice == 20) && (countitem(1201) > 0)) {
+ else if ((rach_vice == 20) && (countitem(Knife) > 0)) {
mes "[Katinshuell]";
mes "I suppose there's";
mes "no reason to hide";
@@ -1384,7 +1384,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "h-haunt me... Ha ha ha...";
close;
}
- else if ((rach_vice == 20) && (countitem(1201) > 0)) {
+ else if ((rach_vice == 20) && (countitem(Knife) > 0)) {
mes "[Katinshuell]";
mes "I...";
mes "I don't deserve this!";
@@ -1738,7 +1738,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
close;
}
}
- else if ((rach_vice == 15) && (countitem(7571))) {
+ else if ((rach_vice == 15) && (countitem(Diary_Of_Blue))) {
mes "[Katinshuell]";
mes "Oh, it's you again.";
mes "What do you want now?";
@@ -1790,7 +1790,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
next;
mes "[Katinshuell]";
mes "......!";
- delitem 7571,1; //Diary_Of_Blue
+ delitem Diary_Of_Blue,1;
rach_vice = 16;
changequest 8119,8120;
close;
@@ -2632,7 +2632,7 @@ ra_in01,255,25,0 script Book#ra_in HIDDEN_NPC,{
else if (rach_vice == 14) {
rach_vice = 15;
changequest 8118,8119;
- getitem 7571,1; //Diary_Of_Blue
+ getitem Diary_Of_Blue,1;
mes "^3355FFThis must be";
mes "Bruspetti's diary!";
mes "You now have permission";
@@ -2663,7 +2663,7 @@ ra_in01,255,25,0 script Book#ra_in HIDDEN_NPC,{
//rachel,157,183,3 script Sincere Follower Urstia 4_F_MASK,{
rachel,157,183,3 script Sincere Follower Urstia 4_F_MASK1,{
cutin "ra_usti1",2;
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -2803,7 +2803,7 @@ rachel,157,183,3 script Sincere Follower Urstia 4_F_MASK1,{
mes "it'll be a fitting tribute to";
mes "our loving goddess Freya.";
setquest 2109;
- getitem 7572,1; //Magic_Necklace
+ getitem Magic_Necklace,1;
ice_necklace_q = 1;
close2;
cutin "",255;
@@ -2827,7 +2827,7 @@ rachel,157,183,3 script Sincere Follower Urstia 4_F_MASK1,{
mes "ice cave to the north.";
}
else if (ice_necklace_q == 5) {
- if (countitem(7573) > 0) {
+ if (countitem(Magic_Necklace_) > 0) {
mes "[Urstialla]";
mes "Oh! My necklace! Thank you!";
mes "It's so beautiful! It will";
@@ -2840,7 +2840,7 @@ rachel,157,183,3 script Sincere Follower Urstia 4_F_MASK1,{
mes "but please accept this as a";
mes "token of my appreication for";
mes " what you have done for me.";
- delitem 7573,1; //Magic_Necklace_
+ delitem Magic_Necklace_,1;
getexp RENEWAL_EXP?90000:700000,0;
ice_necklace_q = 6;
completequest 2113;
@@ -2875,7 +2875,7 @@ rachel,157,183,3 script Sincere Follower Urstia 4_F_MASK1,{
}
ice_dun02,120,105,3 script Man Stuck in Ice#cave 4_M_FROZEN1,5,5,{
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -3087,8 +3087,8 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 4_M_FROZEN1,5,5,{
close;
}
else if (ice_necklace_q == 4) {
- if (countitem(7569) > 0) {
- if (countitem(7572) > 0) {
+ if (countitem(Hammer_Of_Wind) > 0) {
+ if (countitem(Magic_Necklace) > 0) {
mes "[Maheo]";
mes "Oh, you're back!";
mes "So did my master have";
@@ -3195,10 +3195,10 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 4_M_FROZEN1,5,5,{
mes "in ice to anyone else, okay?";
ice_necklace_q = 5;
changequest 2112,2113;
- delitem 7569,1; //Hammer_Of_Wind
- delitem 7572,1; //Magic_Necklace
- getitem 7573,1; //Magic_Necklace_
- getitem 7574,4; //Ice_Particle
+ delitem Hammer_Of_Wind,1;
+ delitem Magic_Necklace,1;
+ getitem Magic_Necklace_,1;
+ getitem Ice_Particle,4;
close2;
cutin "",255;
setnpcdisplay "Man Stuck in Ice#cave", 4_M_FROZEN1;
@@ -3238,7 +3238,7 @@ OnTimer10800000:
}
rachel,265,98,3 script Hamion#aru 4_M_RACHMAN2,{
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -3308,7 +3308,7 @@ rachel,265,98,3 script Hamion#aru 4_M_RACHMAN2,{
close;
}
else if (ice_necklace_q == 3) {
- if ((countitem(996) < 5) || (countitem(1354) < 1) || (countitem(7433) < 1)) {
+ if ((countitem(Rough_Wind) < 5) || (countitem(Hammer) < 1) || (countitem(Scroll) < 1)) {
mes "[Hamion]";
mes "I need to create";
mes "a magical artifact";
@@ -3370,12 +3370,12 @@ rachel,265,98,3 script Hamion#aru 4_M_RACHMAN2,{
mes "This hammer will only work";
mes "once, so make sure that you";
mes "smash that ice properly!";
- delitem 1354,1; //Hammer
- delitem 996,5; //Rough_Wind
- delitem 7433,1; //Scroll
+ delitem Hammer,1;
+ delitem Rough_Wind,5;
+ delitem Scroll,1;
ice_necklace_q = 4;
changequest 2111,2112;
- getitem 7569,1; //Hammer_of_Wind
+ getitem Hammer_Of_Wind,1; //Hammer_of_Wind
close;
}
else if (ice_necklace_q >= 4) {
@@ -3453,7 +3453,7 @@ rachel,113,96,5 script Mohadian 4_M_MIDDLE,10,10,{
close;
}
else if (ice_necklace_q == 7) {
- if (countitem(7561) < 1) {
+ if (countitem(Ice_Heart) < 1) {
mes "[Mohadian]";
mes "Bring me some Glacial";
mes "Hearts from the Ice Cave,";
@@ -3476,7 +3476,7 @@ rachel,113,96,5 script Mohadian 4_M_MIDDLE,10,10,{
mes "Wine. Anyway, let me see";
mes "how many you've brought me.";
next;
- .@hearts = countitem(7561);
+ .@hearts = countitem(Ice_Heart);
.@totalprice = 375*.@hearts;
mes "[Mohadian]";
mes .@hearts +" Glacial Hearts";
@@ -3485,7 +3485,7 @@ rachel,113,96,5 script Mohadian 4_M_MIDDLE,10,10,{
mes .@totalprice +" zeny. Here you are!";
mes "It's always a pleasure";
mes "doing business with you~";
- delitem 7561,.@hearts; //Glacial Hearts
+ delitem Ice_Heart,.@hearts; //Glacial Hearts
Zeny += .@totalprice;
close;
}
@@ -3509,24 +3509,24 @@ ice_dun03,126,126,3 script Blazing Fire#ice1 4_NFWISP,{
mes "with conventional means.^000000";
if (ice_necklace_q > 4) {
if ($@ktullanux_summon < 4) {
- if (countitem(7574) > 0) {
+ if (countitem(Ice_Particle) > 0) {
next;
select("Use Freezing Snow Powder.");
mes "^3355FFYou sprinkle the Freezing Snow";
mes "Powder onto the flame. It";
mes "flickers before extinguising.^000000";
- delitem 7574,1; //Freezing Snow Powder
+ delitem Ice_Particle,1; //Freezing Snow Powder
hideonnpc "Blazing Fire#ice1";
++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
}
- else if (countitem(7562) > 0) {
+ else if (countitem(Ice_Scale) > 0) {
next;
select("Use Ice Scale.");
mes "^3355FFYou throw the Ice Scale into";
mes "the flame, it crackles before";
mes "extinguising.^000000";
- delitem 7562,1; //Ice Scale
+ delitem Ice_Scale,1; //Ice Scale
hideonnpc "Blazing Fire#ice1";
++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
@@ -3546,24 +3546,24 @@ ice_dun03,172,126,0 script Blazing Fire#ice2 4_NFWISP,{
mes "with conventional means.^000000";
if (ice_necklace_q > 4) {
if ($@ktullanux_summon < 4) {
- if (countitem(7574) > 0) {
+ if (countitem(Ice_Particle) > 0) {
next;
select("Use Freezing Snow Powder.");
mes "^3355FFYou sprinkle the Freezing Snow";
mes "Powder onto the flame. It";
mes "flickers before extinguising.^000000";
- delitem 7574,1; //Freezing Snow Powder
+ delitem Ice_Particle,1; //Freezing Snow Powder
hideonnpc "Blazing Fire#ice2";
++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
}
- else if (countitem(7562) > 0) {
+ else if (countitem(Ice_Scale) > 0) {
next;
select("Use Ice Scale.");
mes "^3355FFYou throw the Ice Scale into";
mes "the flame, it crackles before";
mes "extinguising.^000000";
- delitem 7562,1; //Ice Scale
+ delitem Ice_Scale,1; //Ice Scale
hideonnpc "Blazing Fire#ice2";
++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
@@ -3582,24 +3582,24 @@ ice_dun03,172,172,0 script Blazing Fire#ice3 4_NFWISP,{
mes "with conventional means.^000000";
if (ice_necklace_q > 4) {
if ($@ktullanux_summon < 4) {
- if (countitem(7574) > 0) {
+ if (countitem(Ice_Particle) > 0) {
next;
select("Use Freezing Snow Powder.");
mes "^3355FFYou sprinkle the Freezing Snow";
mes "Powder onto the flame. It";
mes "flickers before extinguising.^000000";
- delitem 7574,1; //Freezing Snow Powder
+ delitem Ice_Particle,1; //Freezing Snow Powder
hideonnpc "Blazing Fire#ice3";
++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
}
- else if (countitem(7562) > 0) {
+ else if (countitem(Ice_Scale) > 0) {
next;
select("Use Ice Scale.");
mes "^3355FFYou throw the Ice Scale into";
mes "the flame, it crackles before";
mes "extinguising.^000000";
- delitem 7562,1; //Ice Scale
+ delitem Ice_Scale,1; //Ice Scale
hideonnpc "Blazing Fire#ice3";
++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
@@ -3618,24 +3618,24 @@ ice_dun03,127,172,0 script Blazing Fire#ice4 4_NFWISP,{
mes "with conventional means.^000000";
if (ice_necklace_q > 4) {
if ($@ktullanux_summon < 4) {
- if (countitem(7574) > 0) {
+ if (countitem(Ice_Particle) > 0) {
next;
select("Use Freezing Snow Powder.");
mes "^3355FFYou sprinkle the Freezing Snow";
mes "Powder onto the flame. It";
mes "flickers before extinguising.^000000";
- delitem 7574,1; //Freezing Snow Powder
+ delitem Ice_Particle,1; //Freezing Snow Powder
hideonnpc "Blazing Fire#ice4";
++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
}
- else if (countitem(7562) > 0) {
+ else if (countitem(Ice_Scale) > 0) {
next;
select("Use Ice Scale.");
mes "^3355FFYou throw the Ice Scale into";
mes "the flame, it crackles before";
mes "extinguising.^000000";
- delitem 7562,1; //Ice Scale
+ delitem Ice_Scale,1; //Ice Scale
hideonnpc "Blazing Fire#ice4";
++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
@@ -4102,9 +4102,9 @@ ra_temple,116,174,3 script Nemma#ra_temple 4_F_TRAINEE,{
mes "[Priestess Nemma]";
mes "Let's see...";
next;
- if (countitem(12018) >= 20) {
+ if (countitem(Fire_Cracker) >= 20) {
cutin "ra_nemma04",2;
- delitem 12018,20; //Fire_Cracker
+ delitem Fire_Cracker,20;
getexp RENEWAL_EXP?50000:200000,0;
ra_tem_q = 14;
mes "[Priestess Nemma]";
@@ -4180,7 +4180,7 @@ S_Donate:
return;
}
if (Zeny >= getarg(0)*50000) {
- if (!checkweight(7570,getarg(0))) {
+ if (!checkweight(Temple_Lottery_Ticket,getarg(0))) {
cutin "ra_nemma02",2;
mes "[Priestess Nemma]";
mes "I can scarcely believe it...";
@@ -4200,7 +4200,7 @@ S_Donate:
return;
}
$rachel_donate += getarg(0);
- getitem 7570,getarg(0); //Temple_Lottery_Ticket
+ getitem Temple_Lottery_Ticket,getarg(0);
Zeny -= getarg(0)*50000;
ra_have_donated = 1;
if ($rachel_donate > 9999) {
@@ -4333,7 +4333,7 @@ rachel,243,37,3 script Kid#Candy Addict 4_M_CHILD1,{
mes "Hurry, give me one!";
mes "Gimmie gimmie~!";
next;
- if (countitem(529) > 0) {
+ if (countitem(Candy) > 0) {
mes "[Kid]";
mes "Mmm...";
mes "If you give me";
@@ -4754,7 +4754,7 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem WARPNPC,2,2,{
ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
if ((ra_tem_q > 14) || (MISC_QUEST&8192)) lost_boy = 14;
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -5680,7 +5680,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
}
else if (aru_vol == 5) {
cutin "ra_gman",2;
- if (countitem(7342) > 0) {
+ if (countitem(File01) > 0) {
mes "["+strcharinfo(0)+"]";
mes "Would you please";
mes "take a look at this";
@@ -5755,7 +5755,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "south of Rachel. He's your";
mes "best chance of entering the Thor";
mes "Volcano camp without suspicion.";
- delitem 7342,1; //File01
+ delitem File01,1;
aru_vol = 6;
changequest 2115,2116;
}
@@ -6668,7 +6668,7 @@ ra_temin,170,46,3 script Panno#rachel 4_F_TRAINEE,{
goto L_End;
L_Lottery:
- if(checkweight(607,1) == 0){
+ if(checkweight(Yggdrasilberry,1) == 0){
cutin "ra_fano02",2;
mes "[Priestess Panno]";
mes "You're carrying too much";
@@ -6688,7 +6688,7 @@ L_Lottery:
mes "for this ticket is...";
next;
cutin "ra_fano02",2;
- if (countitem(7570) > 0) {
+ if (countitem(Temple_Lottery_Ticket) > 0) {
mes "[Priestess Panno]";
mes "^FF0000This^000000. It's been in our";
mes "storage for a while, but";
@@ -6700,19 +6700,19 @@ L_Lottery:
.@bonus_donate = rand(100);
if (.@bonus_donate == 99) {
.@bonus_donate2 = rand(100);
- if (.@bonus_donate2 > 0 && .@bonus_donate2 < 11) getitem 616,1; //Old Card Album 0.1%
- else if (.@bonus_donate2 > 10 && .@bonus_donate2 < 31) getitem 617,1; //Old Violet Box 0.2%
- else if (.@bonus_donate2 > 30 && .@bonus_donate2 < 61) getitem 603,1; //Old Blue Box 0.3%
- else getitem 607,1; //Yggdrasil Berry 0.4+%
+ if (.@bonus_donate2 > 0 && .@bonus_donate2 < 11) getitem Old_Card_Album,1; //Old Card Album 0.1%
+ else if (.@bonus_donate2 > 10 && .@bonus_donate2 < 31) getitem Old_Violet_Box,1; //Old Violet Box 0.2%
+ else if (.@bonus_donate2 > 30 && .@bonus_donate2 < 61) getitem Old_Blue_Box,1; //Old Blue Box 0.3%
+ else getitem Yggdrasilberry,1; //Yggdrasil Berry 0.4+%
}
- else if (.@bonus_donate > 88 && .@bonus_donate < 96) getitem 644,1; //Gift Box 7%
- else if (.@bonus_donate > 76 && .@bonus_donate < 89) getitem 607,1; //Yggdrasil Berry 12%
- else if (.@bonus_donate > 65 && .@bonus_donate < 77) getitem 505,1; //Blue Potion 11%
- else if (.@bonus_donate > 57 && .@bonus_donate < 66) getitem 604,1; //Dead Branch 8%
- else if (.@bonus_donate > 45 && .@bonus_donate < 58) getitem 608,1; //Yggdrasil Seed 12%
- else if (.@bonus_donate > 5 && .@bonus_donate < 11) getitem 518,1; //Honey 5%
- else if (.@bonus_donate > 0 && .@bonus_donate < 6) getitem 526,1; //Royal Jelly 5%
- else getitem 547,1; //Condensed White Potion 39%
+ else if (.@bonus_donate > 88 && .@bonus_donate < 96) getitem Gift_Box,1; //Gift Box 7%
+ else if (.@bonus_donate > 76 && .@bonus_donate < 89) getitem Yggdrasilberry,1; //Yggdrasil Berry 12%
+ else if (.@bonus_donate > 65 && .@bonus_donate < 77) getitem Blue_Potion,1; //Blue Potion 11%
+ else if (.@bonus_donate > 57 && .@bonus_donate < 66) getitem Branch_Of_Dead_Tree,1; //Dead Branch 8%
+ else if (.@bonus_donate > 45 && .@bonus_donate < 58) getitem Seed_Of_Yggdrasil,1; //Yggdrasil Seed 12%
+ else if (.@bonus_donate > 5 && .@bonus_donate < 11) getitem Honey,1; //Honey 5%
+ else if (.@bonus_donate > 0 && .@bonus_donate < 6) getitem Royal_Jelly,1; //Royal Jelly 5%
+ else getitem White_Slim_Potion,1; //Condensed White Potion 39%
goto L_End;
}
mes "[Priestess Panno]";
@@ -6742,7 +6742,7 @@ L_End:
}
ra_temin,134,128,3 script Pope's Office Guard#rac::raofficeguard 4_M_MASK1,{
- if ((ra_tem_q == 15) && (countitem(7561) > 39)) {
+ if ((ra_tem_q == 15) && (countitem(Ice_Heart) > 39)) {
mes "[Pope's Office Guard]";
mes "Hm? What's that you have";
mes "there? Oh, you've gathered";
@@ -6758,7 +6758,7 @@ ra_temin,134,128,3 script Pope's Office Guard#rac::raofficeguard 4_M_MASK1,{
mes "Welcome, brave "+strcharinfo(0)+".";
close2;
ra_tem_q = 16;
- delitem 7561,40; //Ice_Heart
+ delitem Ice_Heart,40;
end;
}
else if (ra_tem_q == 16) {
diff --git a/npc/quests/quests_umbala.txt b/npc/quests/quests_umbala.txt
index 3381c0b2f..bf228dd16 100644
--- a/npc/quests/quests_umbala.txt
+++ b/npc/quests/quests_umbala.txt
@@ -248,7 +248,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
}
}
else if (event_umbala == 2) {
- if ((countitem(7151) > 9) && (countitem(7111) > 4) && (countitem(1024) > 0) && (countitem(916) > 0)) {
+ if ((countitem(Oil_Paper) > 9) && (countitem(Smooth_Paper) > 4) && (countitem(Chinese_Ink) > 0) && (countitem(Feather_Of_Birds) > 0)) {
mes "[Karkatan]";
mes "Okay, I guess we're good to go.";
mes "Let's get the lesson started.";
@@ -273,10 +273,10 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
mes "before you learned the language.";
mes "Now go try to talk to Utans.";
mes "Conversation is a very important method in understanding others.";
- delitem 7151,10; //Oil_Paper
- delitem 7111,5; //Smooth_Paper
- delitem 1024,1; //Chinese_Ink
- delitem 916,1; //Feather_Of_Birds
+ delitem Oil_Paper,10;
+ delitem Smooth_Paper,5;
+ delitem Chinese_Ink,1;
+ delitem Feather_Of_Birds,1;
event_umbala = 3;
next;
mes "[Karkatan]";
@@ -328,7 +328,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
close;
}
else if (event_umbala == 5) {
- if (countitem(2278) > 0) {
+ if (countitem(Mr_Smile) > 0) {
mes "[Karkatan]";
mes "Oh, you brought it! Yes, I've";
mes "always wished that I could have";
@@ -342,7 +342,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
mes "Go and speak to her. Though I";
mes "am not sure what help she can give";
mes "you, I hope we will be able to return this favor.";
- delitem 2278,1; //Mr_Smile
+ delitem Mr_Smile,1;
event_umbala = 6;
close;
}
@@ -375,7 +375,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
//== Create Essence/Dismantle Stone Quest :: um_npc ========
um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
- if (checkweight(908,600) == 0) {
+ if (checkweight(Spawn,600) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -488,7 +488,7 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
mes "if you really need my power, I";
mes "will try to provide my assistance.";
next;
- if (checkweight(1101,10) == 0) {
+ if (checkweight(Sword,10) == 0) {
mes "[Puchuchartan]";
mes "Wait--!";
mes "something in your possession";
@@ -599,7 +599,7 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
mes "The natural power I gathered with";
mes "my spell lost focus and was scattered...";
delitem .@consume,.@amount;
- getitem 910,1; //Garlet
+ getitem Garlet,1;
next;
mes "[Puchuchartan]";
mes "It seems the spirits of nature";
@@ -710,7 +710,7 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
input .@input,0,11;
if ((.@input > 0) && (.@input < 11)) {
if (countitem(.@divide) >= .@input) {
- if (checkweight(908,(.@input * 30)) == 0) {
+ if (checkweight(Spawn,(.@input * 30)) == 0) {
mes "[Puchuchartan]";
mes "You're carrying too";
mes "many items right now.";
@@ -774,16 +774,16 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
}
switch(.@divide) {
case 994:
- getitem 990,.@shaman_max; //Boody_Red
+ getitem Boody_Red,.@shaman_max;
break;
case 995:
- getitem 991,.@shaman_max; //Crystal_Blue
+ getitem Crystal_Blue,.@shaman_max;
break;
case 996:
- getitem 992,.@shaman_max; //Wind_Of_Verdure
+ getitem Wind_Of_Verdure,.@shaman_max;
break;
case 997:
- getitem 993,.@shaman_max; //Yellow_Live
+ getitem Yellow_Live,.@shaman_max;
}
delitem .@divide,.@input;
close;
@@ -1316,7 +1316,7 @@ OnTouch:
close2;
um_wind = 0;
MISC_QUEST |= 32768;
- getitem 610,1; //Leaf_Of_Yggdrasil
+ getitem Leaf_Of_Yggdrasil,1;
disablenpc "#unpc";
end;
}
diff --git a/npc/quests/quests_veins.txt b/npc/quests/quests_veins.txt
index 43056a095..ca7ef541d 100644
--- a/npc/quests/quests_veins.txt
+++ b/npc/quests/quests_veins.txt
@@ -53,7 +53,7 @@
//== Stone Quest :: veins_stone ============================
- script ::WincingOldMan_veins -1,{
- if ((MaxWeight - Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight - Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you are carrying -";
mes "- too many items with you. -";
@@ -293,7 +293,7 @@
mes "I hope you like these rocks...";
veins_stone = 8;
getexp RENEWAL_EXP?30000:300000,0;
- getitem 985,3; //Elunium
+ getitem Elunium,3;
close;
}
else if (veins_stone > 7) {
@@ -404,7 +404,7 @@ ve_in,169,310,6 script Strange Old Man#ve 2_M_MOLGENSTEIN,{
close;
}
else if (veins_stone == 2) {
- if (countitem(999) > 4 && countitem(1033) > 4 && countitem(7561) > 1) {
+ if (countitem(Steel) > 4 && countitem(Root_Of_Maneater) > 4 && countitem(Ice_Heart) > 1) {
mes "[Absar]";
mes "Good, you finally";
mes "brought everthing.";
@@ -417,9 +417,9 @@ ve_in,169,310,6 script Strange Old Man#ve 2_M_MOLGENSTEIN,{
mes "You won't have to";
mes "wait long to see";
mes "my great invention!";
- delitem 999,5; //Steel
- delitem 1033,5; //Root_Of_Maneater
- delitem 7561,2; //Ice_Heart
+ delitem Steel,5;
+ delitem Root_Of_Maneater,5;
+ delitem Ice_Heart,2;
veins_stone = 3;
close2;
specialeffect EF_FIRESPLASHHIT;
@@ -732,7 +732,7 @@ prontera,202,122,0 script Kid#sch 4_F_KID2,{
}
prt_church,89,108,6 script Bard#sch 2_M_BARD_ORIENT,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -974,7 +974,7 @@ prt_church,89,108,6 script Bard#sch 2_M_BARD_ORIENT,{
mes "your help. Please take this";
mes "reward with our sincere thanks.";
que_sch = 26;
- getitem 12106,1; //Accessory_Box
+ getitem Accessory_Box,1;
getexp RENEWAL_EXP?60000:600000,0;
close;
}
@@ -1029,7 +1029,7 @@ morocc,53,87,7 script Prison Ward#sch 4_M_MOC_SOLDIER,{
close;
}
else if (que_sch == 6) {
- if (countitem(12066) > 0) {
+ if (countitem(Luk_Dish01) > 0) {
mes "[Jesse]";
mes "Ah, that's the stuff!";
mes "Thanks for the Fried";
@@ -1037,7 +1037,7 @@ morocc,53,87,7 script Prison Ward#sch 4_M_MOC_SOLDIER,{
mes "go talk to ^FF0000Sir Krieg^000000 in";
mes "Morroc Castle. Get his";
mes "approval, and I'll let you in.";
- delitem 12066,1; //Luk_Dish01
+ delitem Luk_Dish01,1;
que_sch = 7;
close;
}
@@ -1285,7 +1285,7 @@ ra_in01,50,387,4 script Upset Looking Bard#sch 1_M_BARD,{
close;
}
else if (que_sch == 18) {
- if (countitem(7040) > 0 && countitem(1901) > 0) {
+ if (countitem(Megaphone) > 0 && countitem(Violin) > 0) {
mes "[Vitre]";
mes "You brought me a";
mes "Megaphone and Violin?";
@@ -1341,8 +1341,8 @@ ra_in01,50,387,4 script Upset Looking Bard#sch 1_M_BARD,{
mes "a plan comes together~";
mes "Let's get out of here!";
next;
- delitem 1901,1; //Violin
- delitem 7040,1; //Megaphone
+ delitem Violin,1;
+ delitem Megaphone,1;
que_sch = 19;
close2;
disablenpc "Jesse#sch";
@@ -1443,7 +1443,7 @@ ra_in01,58,389,0 script Guant Prisoner#sch 4_M_MIDDLE,{
//- Escort Dancers to Schwaltzvalt Republic -
job_duncer,93,106,6 script Dance Instructor#sch 4_F_HUGRANMA,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -1583,7 +1583,7 @@ job_duncer,93,106,6 script Dance Instructor#sch 4_F_HUGRANMA,{
mes "you around, adventurer~";
Zeny -= 500000;
que_sch = 18;
- getitem 7040,1; //Megaphone
+ getitem Megaphone,1;
close;
}
mes "[Hianna]";
@@ -1628,7 +1628,7 @@ job_duncer,93,106,6 script Dance Instructor#sch 4_F_HUGRANMA,{
mes "you have this. Don't let";
mes "anyone know I gave you this!";
Zeny -= 500000;
- getitem 7040,1; //Megaphone
+ getitem Megaphone,1;
close;
}
mes "[Hianna]";
@@ -2134,7 +2134,7 @@ ein_in01,170,284,4 script Arunafeltz Figure#sch 4_F_TRAINEE,{
}
morocc,297,154,0 script Thin-Faced Bard#sch 1_M_BARD,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -2233,7 +2233,7 @@ morocc,297,154,0 script Thin-Faced Bard#sch 1_M_BARD,{
mes "something to show my";
mes "gratitude. Hope you like it.";
que_sch = 24;
- getitem 603,1; //Old_Blue_Box
+ getitem Old_Blue_Box,1;
next;
mes "[Vitre]";
mes "Now, tell me, what";
@@ -3524,7 +3524,7 @@ veins,181,166,3 script Lockenlock 4_M_HUMERCHANT,{
close;
}
else if (rachel_camel == 4) {
- if (countitem(503) > 0) {
+ if (countitem(Yellow_Potion) > 0) {
mes "["+strcharinfo(0)+"]";
mes "Excuse me...?";
next;
@@ -3653,7 +3653,7 @@ veins,181,166,3 script Lockenlock 4_M_HUMERCHANT,{
next;
mes "["+strcharinfo(0)+"]";
mes "...........";
- delitem 503,1; //Yellow_Potion
+ delitem Yellow_Potion,1;
changequest 3063,3064;
rachel_camel = 5;
close;
@@ -3889,7 +3889,7 @@ veins,181,166,3 script Lockenlock 4_M_HUMERCHANT,{
close;
}
else if (rachel_camel == 22) {
- if (countitem(999) > 0) {
+ if (countitem(Steel) > 0) {
mes "["+strcharinfo(0)+"]";
mes "Here's the Steel that";
mes "you need. Would you";
@@ -4163,7 +4163,7 @@ veins,227,127,5 script Ivory 4_F_DESERT,{
close;
}
else if (rachel_camel == 6) {
- if ((countitem(511) > 99) && (countitem(909) > 49) && (countitem(519) > 9) && (countitem(713) > 4)) {
+ if ((countitem(Green_Herb) > 99) && (countitem(Jellopy) > 49) && (countitem(Milk) > 9) && (countitem(Empty_Bottle) > 4)) {
mes "[Organic Soap Maker Ivory]";
mes "Oh, great! You brought";
mes "everything! Now... It's";
@@ -4516,7 +4516,7 @@ veins,115,59,5 script Saraman 4_M_EINOLD,{
close;
}
else if (rachel_camel == 8) {
- if ((countitem(528) > 4) && (countitem(503) > 0) && (countitem(619) > 0) && (countitem(713) > 0)) {
+ if ((countitem(Monster's_Feed) > 4) && (countitem(Yellow_Potion) > 0) && (countitem(Unripe_Apple) > 0) && (countitem(Empty_Bottle) > 0)) {
mes "[Camel Farm Owner Saraman]";
mes "Oh good, you're back.";
mes "Did you bring everything?";
@@ -4552,10 +4552,10 @@ veins,115,59,5 script Saraman 4_M_EINOLD,{
mes "ingredients. That's a good";
mes "amount to collect since that's";
mes "what Ms. Ivory usually orders.";
- delitem 528,5; //Monster's_Feed
- delitem 503,1; //Yellow_Potion
- delitem 619,1; //Unripe_Apple
- delitem 713,1; //Empty_Bottle
+ delitem Monster's_Feed,5;
+ delitem Yellow_Potion,1;
+ delitem Unripe_Apple,1;
+ delitem Empty_Bottle,1;
changequest 3067,3068;
rachel_camel = 9;
close;
@@ -4710,7 +4710,7 @@ veins,115,59,5 script Saraman 4_M_EINOLD,{
mes "Good luck with getting";
mes "that soap you want made.";
changequest 3076,3077;
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
rachel_camel = 18;
close;
}
@@ -4805,7 +4805,7 @@ ve_fild07,235,42,3 script Silk Sand Camel 4_DST_CAMEL,{
close;
}
else if (rachel_camel > 11 && rachel_camel < 17) {
- if (countitem(511) > 19 && countitem(909) > 9 && countitem(519) > 1 && countitem(713) > 0) {
+ if (countitem(Green_Herb) > 19 && countitem(Jellopy) > 9 && countitem(Milk) > 1 && countitem(Empty_Bottle) > 0) {
mes "^3355FFThe camel can smell";
mes "that you have food for";
mes "it, and started salivating.";
@@ -4830,11 +4830,11 @@ ve_fild07,235,42,3 script Silk Sand Camel 4_DST_CAMEL,{
mes "And... Out pops 2 Sweet";
mes "Potatoes. They're probably";
mes "safe to eat... Hopefully.^000000";
- getitem 516,2; //Sweet_Potato
+ getitem Sweet_Potato,2;
}
- delitem 519,2; //Milk
- delitem 511,20; //Green_Herb
- delitem 909,10; //Jellopy
+ delitem Milk,2;
+ delitem Green_Herb,20;
+ delitem Jellopy,10;
close;
case 2:
mes "[Silk Sand Camel]";
@@ -4906,10 +4906,10 @@ ve_fild07,235,42,3 script Silk Sand Camel 4_DST_CAMEL,{
rachel_camel = 17;
changequest 3075,3076;
}
- delitem 519,2; //Milk
- delitem 511,20; //Green_Herb
- delitem 909,10; //Jellopy
- delitem 713,1; //Empty_Bottle
+ delitem Milk,2;
+ delitem Green_Herb,20;
+ delitem Jellopy,10;
+ delitem Empty_Bottle,1;
close;
default:
mes "[Silk Sand Camel]";
@@ -4922,10 +4922,10 @@ ve_fild07,235,42,3 script Silk Sand Camel 4_DST_CAMEL,{
mes "And... Out pops a Sweet";
mes "Potato. It's probably";
mes "safe to eat... Maybe.^000000";
- delitem 519,2; //Milk
- delitem 511,20; //Green_Herb
- delitem 909,10; //Jellopy
- getitem 516,1; //Sweet_Potato
+ delitem Milk,2;
+ delitem Green_Herb,20;
+ delitem Jellopy,10;
+ getitem Sweet_Potato,1;
close;
}
}
@@ -5434,7 +5434,7 @@ ra_temin,87,118,3 script Drawer#vol1::VeinsDrawer HIDDEN_NPC,{
ra_temin,83,118,3 duplicate(VeinsDrawer) Drawer#vol2 HIDDEN_NPC
ra_temin,85,118,3 script Drawer#vol3 HIDDEN_NPC,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -5474,7 +5474,7 @@ ra_temin,85,118,3 script Drawer#vol3 HIDDEN_NPC,{
mes "close the drawer.^000000";
changequest 2114,2115;
aru_vol = 5;
- getitem 7342,1; //File01
+ getitem File01,1;
close;
}
mes "["+strcharinfo(0)+"]";
@@ -5484,12 +5484,12 @@ ra_temin,85,118,3 script Drawer#vol3 HIDDEN_NPC,{
close;
}
else if (aru_vol == 5) {
- if (countitem(7342) < 1) {
+ if (countitem(File01) < 1) {
mes "["+strcharinfo(0)+"]";
mes "Oh! Here's another";
mes "copy of that report";
mes "I wanted! Pretty lucky~";
- getitem 7342,1; //File01
+ getitem File01,1;
close;
}
mes "^3355FFYou find a thick pile";
@@ -5596,7 +5596,7 @@ veins,159,171,3 script Towner#vol 4_M_DST_GRAND,{
}
ve_in,233,116,3 script Drunken Man#vol 4_M_HUOLDARMY,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -5834,7 +5834,7 @@ ve_in,233,116,3 script Drunken Man#vol 4_M_HUOLDARMY,{
mes "You know that feeling, right?^000000";
changequest 2116,2117;
aru_vol = 8;
- getitem 7705,1; //Note_Of_Geologist
+ getitem Note_Of_Geologist,1;
close;
}
else if ((aru_vol > 7) && (aru_vol < 24)) {
@@ -5957,9 +5957,9 @@ ve_in,233,116,3 script Drunken Man#vol 4_M_HUOLDARMY,{
mes "from my star pupil!";
changequest 60211,60212;
aru_vol = 25;
- delitem 7342,1; //File01
- delitem 7704,1; //Broken_Thermometer
- delitem 7705,1; //Note_Of_Geologist
+ delitem File01,1;
+ delitem Broken_Thermometer,1;
+ delitem Note_Of_Geologist,1;
close;
}
mes "[Drunken Man]";
@@ -6012,7 +6012,7 @@ ve_in,234,115,3 script Drunken Lady#2 4_F_DESERT,{
}
ve_in,277,229,3 script Wall Closet#vol HIDDEN_NPC,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -6022,11 +6022,11 @@ ve_in,277,229,3 script Wall Closet#vol HIDDEN_NPC,{
close;
}
if (aru_vol == 8) {
- if (countitem(7704) == 0) {
+ if (countitem(Broken_Thermometer) == 0) {
mes "^3355FFYou found the";
mes "pyrometer inside";
mes "the closet.^000000";
- getitem 7704,1; //Broken_Thermometer
+ getitem Broken_Thermometer,1;
close;
}
mes "^3355FFThere's so much junk";
@@ -6039,7 +6039,7 @@ ve_in,277,229,3 script Wall Closet#vol HIDDEN_NPC,{
}
ve_in,281,214,3 script Bookshelf#vol HIDDEN_NPC,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -6049,12 +6049,12 @@ ve_in,281,214,3 script Bookshelf#vol HIDDEN_NPC,{
close;
}
if (aru_vol == 8) {
- if (countitem(7342) == 0) {
+ if (countitem(File01) == 0) {
mes "^3355FFYou find a bundle";
mes "of reports carelessly";
mes "stuck between some";
mes "books on this bookshelf.^000000";
- getitem 7342,1; //File01
+ getitem File01,1;
close;
}
mes "^3355FFThere's a lot of";
@@ -6087,16 +6087,16 @@ ve_in,281,214,3 script Bookshelf#vol HIDDEN_NPC,{
aru_vol = 26;
.@box_box = rand(1,20);
if (.@box_box < 7) {
- getitem 12104,1; //Random_Quiver
+ getitem Random_Quiver,1;
}
else if ((.@box_box > 6) && (.@box_box < 9)) {
- getitem 661,1; //Sway_Apron
+ getitem Sway_Apron,1;
}
else if ((.@box_box > 8) && (.@box_box < 20)) {
- getitem 12027,5; //Giggling_Box
+ getitem Giggling_Box,5;
}
else {
- getitem 12103,1; //Bloody_Dead_Branch
+ getitem Bloody_Dead_Branch,1;
}
getexp RENEWAL_EXP?100000:800000,0;
mes "^3355FFWell, you've done all";
@@ -6114,7 +6114,7 @@ ve_in,281,214,3 script Bookshelf#vol HIDDEN_NPC,{
thor_v01,37,234,3 script Hot Land Surface#1 HIDDEN_NPC,{
if (aru_vol == 8) {
- if ((countitem(7704) > 0) && (countitem(7342) > 0)) {
+ if ((countitem(Broken_Thermometer) > 0) && (countitem(File01) > 0)) {
mes "^3355FFYou use the pyrometer";
mes "to check the surface";
mes "temperature of the ground";
@@ -6152,7 +6152,7 @@ thor_v01,37,234,3 script Hot Land Surface#1 HIDDEN_NPC,{
thor_v02,165,37,3 script Hot Land Surface#2 HIDDEN_NPC,{
if (aru_vol == 9) {
- if ((countitem(7704) > 0) && (countitem(7342) > 0)) {
+ if ((countitem(Broken_Thermometer) > 0) && (countitem(File01) > 0)) {
mes "^3355FFYou use the pyrometer";
mes "to check the surface";
mes "temperature of the ground";
@@ -6184,7 +6184,7 @@ thor_v02,165,37,3 script Hot Land Surface#2 HIDDEN_NPC,{
thor_v02,170,100,3 script Hot Land Surface#3 HIDDEN_NPC,{
if (aru_vol == 10) {
- if ((countitem(7704) > 0) && (countitem(7342) > 0)) {
+ if ((countitem(Broken_Thermometer) > 0) && (countitem(File01) > 0)) {
mes "^3355FFYou use the pyrometer";
mes "to check the surface";
mes "temperature of the ground";
@@ -6287,7 +6287,7 @@ que_thor,136,66,3 duplicate(VeinsGuard) Guard#vol2 4_DST_SOLDIER
que_thor,127,60,5 duplicate(VeinsGuard) Guard#vol3 4_DST_SOLDIER
thor_camp,250,104,3 script Sahedi#vol 4_M_RASWORD,{
- if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(Knife,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -6365,7 +6365,7 @@ thor_camp,250,104,3 script Sahedi#vol 4_M_RASWORD,{
mes "safe from any disaster.";
changequest 2121,2122;
aru_vol = 13;
- delitem 7342,1; //File01
+ delitem File01,1;
close;
}
else if ((aru_vol > 12) && (aru_vol < 23)) {
@@ -6480,7 +6480,7 @@ thor_camp,250,104,3 script Sahedi#vol 4_M_RASWORD,{
mes "do about this disaster...";
changequest 2128,60211;
aru_vol = 24;
- getitem 7342,1; //File01
+ getitem File01,1;
close;
}
mes "[Sahedi]";
diff --git a/npc/quests/quests_yuno.txt b/npc/quests/quests_yuno.txt
index bb60f602d..3b08d672c 100644
--- a/npc/quests/quests_yuno.txt
+++ b/npc/quests/quests_yuno.txt
@@ -248,7 +248,7 @@ yuno_in01,17,30,5 script Wagan#juno 4_M_03,{
}
metto_q = 9;
mes "I wish you luck in your future endeavors...";
- getitem 715,10; //Yellow_Gemstone
+ getitem Yellow_Gemstone,10;
close;
}
if (MaxWeight - Weight < 150) {
@@ -257,7 +257,7 @@ yuno_in01,17,30,5 script Wagan#juno 4_M_03,{
}
metto_q = 9;
mes "I wish you luck in your future endeavors...";
- getitem 717,5; //Blue_Gemstone
+ getitem Blue_Gemstone,5;
close;
}
else if (metto_q == 9) {
@@ -437,7 +437,7 @@ yuno_in03,178,43,0 script CiCi#juno 2_M_MOLGENSTEIN,{
//== Alchemist Brothers Quest :: yuno_ryusei ===============
yuno_in01,103,157,3 script Bain#juno 4W_M_02,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -445,7 +445,7 @@ yuno_in01,103,157,3 script Bain#juno 4W_M_02,{
mes "- after you loose some weight. -";
close;
}
- if (countitem(974) > 0 && countitem(612) > 4 && countitem(1003) > 4 && countitem(7068) > 4 && countitem(7043) > 4 && countitem(757) > 2 && countitem(756) > 2 && Zeny > 2000) {
+ if (countitem(Mixture) > 0 && countitem(Portable_Furnace) > 4 && countitem(Coal) > 4 && countitem(Burn_Tree) > 4 && countitem(Fine_Sand) > 4 && countitem(Elunium_Stone) > 2 && countitem(Oridecon_Stone) > 2 && Zeny > 2000) {
if (ALCH_Q == 23) ALCH_Q = 24;
.@kyulkwa = rand(1,10);
mes "[Bain]";
@@ -536,13 +536,13 @@ yuno_in01,103,157,3 script Bain#juno 4W_M_02,{
}
S_DelItems:
- delitem 974,1; //Mixture
- delitem 612,5; //Portable_Furnace
- delitem 1003,5; //Coal
- delitem 7068,5; //Burn_Tree
- delitem 7043,5; //Fine_Sand
- delitem 757,3; //Elunium_Stone
- delitem 756,3; //Oridecon_Stone
+ delitem Mixture,1;
+ delitem Portable_Furnace,5;
+ delitem Coal,5;
+ delitem Burn_Tree,5;
+ delitem Fine_Sand,5;
+ delitem Elunium_Stone,3;
+ delitem Oridecon_Stone,3;
Zeny -= 2000;
getitem getarg(0),getarg(1); //Gold
mes "[Bain]";
@@ -569,7 +569,7 @@ S_DelItems:
}
yuno_in01,100,153,7 script Bajin 1_M_01,0,0,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -577,7 +577,7 @@ yuno_in01,100,153,7 script Bajin 1_M_01,0,0,{
mes "- after you loose some weight. -";
close;
}
- if (countitem(974) > 0 && countitem(612) > 4 && countitem(1003) > 4 && countitem(7068) > 4 && countitem(7043) > 4 && countitem(757) > 2 && countitem(756) > 2 && Zeny > 2000) {
+ if (countitem(Mixture) > 0 && countitem(Portable_Furnace) > 4 && countitem(Coal) > 4 && countitem(Burn_Tree) > 4 && countitem(Fine_Sand) > 4 && countitem(Elunium_Stone) > 2 && countitem(Oridecon_Stone) > 2 && Zeny > 2000) {
if (ALCH_Q == 23) ALCH_Q = 24;
.@kyulkwa = rand(1,10);
mes "[Bajin]";
@@ -664,13 +664,13 @@ yuno_in01,100,153,7 script Bajin 1_M_01,0,0,{
}
S_DelItems:
- delitem 974,1; //Mixture
- delitem 612,5; //Portable_Furnace
- delitem 1003,5; //Coal
- delitem 7068,5; //Burn_Tree
- delitem 7043,5; //Fine_Sand
- delitem 757,3; //Elunium_Stone
- delitem 756,3; //Oridecon_Stone
+ delitem Mixture,1;
+ delitem Portable_Furnace,5;
+ delitem Coal,5;
+ delitem Burn_Tree,5;
+ delitem Fine_Sand,5;
+ delitem Elunium_Stone,3;
+ delitem Oridecon_Stone,3;
Zeny -= 2000;
getitem getarg(0),getarg(1); //Gold
mes "[Bajin]";
@@ -800,7 +800,7 @@ yuno,261,99,4 script Sage Yklah#juno 4_M_JOB_WIZARD,{
close;
}
case 24:
- if (countitem(7030) > 2 && countitem(913) > 9 && countitem(7032) > 0) {
+ if (countitem(Claw_Of_Desert_Wolf) > 2 && countitem(Tooth_Of_Bat) > 9 && countitem(Piece_Of_Egg_Shell) > 0) {
mes "[Yklah]";
mes "Hmm! Good job, you brought all of the items. Try inserting them in the grooves.";
next;
@@ -809,9 +809,9 @@ yuno,261,99,4 script Sage Yklah#juno 4_M_JOB_WIZARD,{
next;
mes "^3355FFYou inserted items";
mes "in the grooves .^000000";
- delitem 7030,3; //Claw_Of_Desert_Wolf
- delitem 913,10; //Tooth_Of_Bat
- delitem 7032,1; //Piece_Of_Egg_Shell
+ delitem Claw_Of_Desert_Wolf,3;
+ delitem Tooth_Of_Bat,10;
+ delitem Piece_Of_Egg_Shell,1;
next;
mes "^3355FF*Crank Crank*^000000";
mes "^3355FFYou hear a strange sound come from inside the statue.^000000";
@@ -985,13 +985,13 @@ yuno,305,207,4 script Sage Syklah#juno 4_M_JOB_WIZARD,{
dmdswrd_Q = 26;
close;
case 26:
- if (countitem(7049) > 4 && countitem(953) > 0 && countitem(507) > 19) {
+ if (countitem(Stone) > 4 && countitem(Stone_Heart) > 0 && countitem(Red_Herb) > 19) {
mes "[Syklah]";
mes "Hahaha...!";
mes "So you've already gathered the items I've asked for. Good, good. Let's get started...";
- delitem 7049,5; //Stone
- delitem 953,1; //Stone_Heart
- delitem 507,20; //Red_Herb
+ delitem Stone,5;
+ delitem Stone_Heart,1;
+ delitem Red_Herb,20;
next;
mes "^3355FFSage Syklah grinded the stones and stone heart and molded them into a strange shape.^000000";
next;
@@ -1111,16 +1111,16 @@ yuno,213,298,4 script Sage Esklah#juno 4_M_JOB_WIZARD,{
dmdswrd_Q = 28;
close;
case 28:
- if (countitem(1002) > 1 && countitem(1026) > 9 && countitem(957) > 4) {
+ if (countitem(Iron_Ore) > 1 && countitem(Acorn) > 9 && countitem(Decayed_Nail) > 4) {
mes "[Esklah]";
mes "Let's see.";
mes "2 Iron Ore...";
mes "10 Acorn...";
mes "5 Decayed Nail...";
mes "Good, that's everything!";
- delitem 1002,2; //Iron_Ore
- delitem 1026,10; //Acorn
- delitem 957,5; //Decayed_Nail
+ delitem Iron_Ore,2;
+ delitem Acorn,10;
+ delitem Decayed_Nail,5;
next;
mes "[Esklah]";
mes "Good work. Now, while I make the body of the compass, you can go and bring me the rest of the items I'll need.";
@@ -1148,7 +1148,7 @@ yuno,213,298,4 script Sage Esklah#juno 4_M_JOB_WIZARD,{
mes "^3355FF5 Decayed Nail^000000.";
close;
case 29:
- if (countitem(7054) > 1 && countitem(1010) > 0) {
+ if (countitem(Brigan) > 1 && countitem(Phracon) > 0) {
mes "[Esklah]";
mes "Now...";
mes "Show me";
@@ -1156,8 +1156,8 @@ yuno,213,298,4 script Sage Esklah#juno 4_M_JOB_WIZARD,{
mes "That's 2 Brigan and...";
mes "1 Phracon. Hmm. Very good.";
mes "Now let me get to work.";
- delitem 7054,2; //Brigan
- delitem 1010,1; //Phracon
+ delitem Brigan,2;
+ delitem Phracon,1;
next;
mes "[Esklah]";
mes "Hmm...";
diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt
index 63e4288ab..02bddfb7b 100644
--- a/npc/quests/seals/brisingamen_seal.txt
+++ b/npc/quests/seals/brisingamen_seal.txt
@@ -859,7 +859,7 @@ prt_fild08,175,374,3 script Bard#brising 1_M_BARD,{
}
yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
@@ -907,7 +907,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{
mes "Please...";
mes "Take this.";
god_brising = 50;
- getitem 616,1; // Old_Card_Album
+ getitem Old_Card_Album,1; // Old_Card_Album
getexp RENEWAL_EXP?60000:600000,0;
next;
mes "[Enrico Kaili]";
diff --git a/npc/quests/seals/god_weapon_creation.txt b/npc/quests/seals/god_weapon_creation.txt
index c5327b23c..a60c6a225 100644
--- a/npc/quests/seals/god_weapon_creation.txt
+++ b/npc/quests/seals/god_weapon_creation.txt
@@ -189,7 +189,7 @@ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 4_M_DWARF,{
mes "[Dwarf Grunburti]";
mes "First of all, I shall confirm whether or not you have brought all the necessary materials to forge a godly item! I hate it when humans come here without any purpose!";
next;
- if ((countitem(7073) > 3) && (countitem(7077) > 3) && (countitem(7088) > 2) && (countitem(7090) > 2) && (countitem(7092) > 2) && (countitem(726) > 1) && (countitem(722) > 2) && (countitem(727) > 9) && (countitem(724) > 4) && (countitem(969) > 19) && (countitem(2603) > 0)) {
+ if ((countitem(Jewel_Of_Prayer) > 3) && (countitem(Silver_Fancy) > 3) && (countitem(Crystal_Of_Snow) > 2) && (countitem(Slilince_Wave) > 2) && (countitem(Air_Stream) > 2) && (countitem(Blue_Jewel) > 1) && (countitem(Scarlet_Jewel) > 2) && (countitem(White_Jewel) > 9) && (countitem(Cardinal_Jewel_) > 4) && (countitem(Gold) > 19) && (countitem(Necklace) > 0)) {
mes "[Dwarf Grunburti]";
mes "Hmm...";
mes "I guess you";
@@ -197,7 +197,7 @@ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 4_M_DWARF,{
mes "^0000FFBrisingamen^000000!";
next;
}
- else if ((countitem(7058) > 0) && (countitem(969) > 19) && (countitem(726) > 9) && (countitem(984) > 9) && (countitem(2627) > 0)){ //Gullraifnir Gold Blue_Jewel Oridecon Belt
+ else if ((countitem(Gullraifnir) > 0) && (countitem(Gold) > 19) && (countitem(Blue_Jewel) > 9) && (countitem(Oridecon) > 9) && (countitem(Belt) > 0)){ //Gullraifnir Gold Blue_Jewel Oridecon Belt
mes "[Dwarf Grunburti]";
mes "Hmm...";
mes "I guess you";
@@ -205,7 +205,7 @@ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 4_M_DWARF,{
mes "^0000FFMegingjard^000000!";
next;
}
- else if ((countitem(7076) > 2) && (countitem(7079) > 4) && (countitem(7083) > 2) && (countitem(7086) > 3) && (countitem(7087) > 2) && (countitem(969) > 19) && (countitem(985) > 9) && (countitem(2406) > 0)) {
+ else if ((countitem(Mystery_Wheel) > 2) && (countitem(Feather_Of_Angel) > 4) && (countitem(Soul_Of_Fish) > 2) && (countitem(Symbol_Of_Sun) > 3) && (countitem(Breath_Of_Soul) > 2) && (countitem(Gold) > 19) && (countitem(Elunium) > 9) && (countitem(Boots_) > 0)) {
mes "[Dwarf Grunburti]";
mes "Hmm...";
mes "I guess you";
@@ -213,7 +213,7 @@ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 4_M_DWARF,{
mes "^0000FFSleipnir^000000!";
next;
}
- else if ((countitem(7074) > 1) && (countitem(7075) > 3) && (countitem(7078) > 4) && (countitem(7089) > 4) && (countitem(7091) > 4) && (countitem(984) > 19) && (countitem(985) > 4) && (countitem(969) > 39) && (countitem(1522) > 0)) {
+ else if ((countitem(Iron_Glove) > 1) && (countitem(Iron_Maiden) > 3) && (countitem(Anger_Of_Valkurye) > 4) && (countitem(Indication_Of_Tempest) > 4) && (countitem(Rough_Billows) > 4) && (countitem(Oridecon) > 19) && (countitem(Elunium) > 4) && (countitem(Gold) > 39) && (countitem(Stunner) > 0)) {
mes "[Dwarf Grunburti]";
mes "Hmm...";
mes "I guess you";
@@ -478,7 +478,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{
next;
switch(select("Make Brisingamen.:Cancel.")) {
case 1:
- if ((countitem(7073) > 3) && (countitem(7077) > 3) && (countitem(7088) > 2) && (countitem(7090) > 2) && (countitem(7092) > 2) && (countitem(726) > 1) && (countitem(722) > 2) && (countitem(727) > 9) && (countitem(724) > 4) && (countitem(969) > 19) && (countitem(2603) > 0)){ //Jewel_Of_Prayer Silver_Fancy Crystal_Of_Snow Slilince_Wave Air_Stream Blue_Jewel Scarlet_Jewel White_Jewel Cardinal_Jewel_ Gold Necklace
+ if ((countitem(Jewel_Of_Prayer) > 3) && (countitem(Silver_Fancy) > 3) && (countitem(Crystal_Of_Snow) > 2) && (countitem(Slilince_Wave) > 2) && (countitem(Air_Stream) > 2) && (countitem(Blue_Jewel) > 1) && (countitem(Scarlet_Jewel) > 2) && (countitem(White_Jewel) > 9) && (countitem(Cardinal_Jewel_) > 4) && (countitem(Gold) > 19) && (countitem(Necklace) > 0)){ //Jewel_Of_Prayer Silver_Fancy Crystal_Of_Snow Slilince_Wave Air_Stream Blue_Jewel Scarlet_Jewel White_Jewel Cardinal_Jewel_ Gold Necklace
mes "[Dwarf Grunburti]";
mes "Never in my wildest";
mes "imaginings have I thought that I'd be crafting this masterpiece for a mere human. Give me a moment.";
@@ -499,18 +499,18 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{
mes "pity for you~";
close;
}
- delitem 7073,4; //Jewel_Of_Prayer
- delitem 7077,4; //Silver_Fancy
- delitem 7088,3; //Crystal_Of_Snow
- delitem 7090,3; //Slilince_Wave
- delitem 7092,3; //Air_Stream
- delitem 726,2; //Blue_Jewel
- delitem 722,3; //Scarlet_Jewel
- delitem 727,10; //White_Jewel
- delitem 724,5; //Cardinal_Jewel_
- delitem 969,20; //Gold
- delitem 2603,1; //Necklace
- getitem 2630,1; // Brysinggamen
+ delitem Jewel_Of_Prayer,4;
+ delitem Silver_Fancy,4;
+ delitem Crystal_Of_Snow,3;
+ delitem Slilince_Wave,3;
+ delitem Air_Stream,3;
+ delitem Blue_Jewel,2;
+ delitem Scarlet_Jewel,3;
+ delitem White_Jewel,10;
+ delitem Cardinal_Jewel_,5;
+ delitem Gold,20;
+ delitem Necklace,1;
+ getitem Brysinggamen,1; // Brysinggamen
$God1 = 0;
$God2 = 0;
$God3 = 0;
@@ -557,7 +557,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{
next;
switch(select("Make Megingjard.:Cancel.")) {
case 1:
- if ((countitem(7058) > 0) && (countitem(969) > 19) && (countitem(726) > 9) && (countitem(984) > 9) && (countitem(2627) > 0)) {
+ if ((countitem(Gullraifnir) > 0) && (countitem(Gold) > 19) && (countitem(Blue_Jewel) > 9) && (countitem(Oridecon) > 9) && (countitem(Belt) > 0)) {
mes "[Dwarf Grunburti]";
mes "Twenty years ago,";
mes "I'd never believe that";
@@ -579,12 +579,12 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{
mes "pity for you~";
close;
}
- delitem 7058,1; //Gullraifnir
- delitem 969,20; //Gold
- delitem 726,10; //Blue_Jewel
- delitem 984,10; //Oridecon
- delitem 2627,1; //Belt
- getitem 2629,1; // Magingiorde
+ delitem Gullraifnir,1;
+ delitem Gold,20;
+ delitem Blue_Jewel,10;
+ delitem Oridecon,10;
+ delitem Belt,1;
+ getitem Magingiorde,1; // Magingiorde
$God1 = 0;
$God2 = 0;
$God3 = 0;
@@ -642,7 +642,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{
next;
switch(select("Make Sleipnir.:Cancel.")) {
case 1:
- if ((countitem(7076) > 2) && (countitem(7079) > 4) && (countitem(7083) > 2) && (countitem(7086) > 3) && (countitem(7087) > 2) && (countitem(969) > 19) && (countitem(985) > 9) && (countitem(2406) > 0)) {
+ if ((countitem(Mystery_Wheel) > 2) && (countitem(Feather_Of_Angel) > 4) && (countitem(Soul_Of_Fish) > 2) && (countitem(Symbol_Of_Sun) > 3) && (countitem(Breath_Of_Soul) > 2) && (countitem(Gold) > 19) && (countitem(Elunium) > 9) && (countitem(Boots_) > 0)) {
mes "[Dwarf Grunburti]";
mes "I never believed";
mes "that the speed of";
@@ -666,15 +666,15 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{
mes "pity for you~";
close;
}
- delitem 7076,3; //Mystery_Wheel
- delitem 7079,5; //Feather_Of_Angel
- delitem 7083,3; //Soul_Of_Fish
- delitem 7086,4; //Symbol_Of_Sun
- delitem 7087,3; //Breath_Of_Soul
- delitem 969,20; //Gold
- delitem 985,10; //Elunium
- delitem 2406,1; //Boots_
- getitem 2410,1; // Sleipnir
+ delitem Mystery_Wheel,3;
+ delitem Feather_Of_Angel,5;
+ delitem Soul_Of_Fish,3;
+ delitem Symbol_Of_Sun,4;
+ delitem Breath_Of_Soul,3;
+ delitem Gold,20;
+ delitem Elunium,10;
+ delitem Boots_,1;
+ getitem Sleipnir,1; // Sleipnir
$God1 = 0;
$God2 = 0;
$God3 = 0;
@@ -731,7 +731,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{
next;
switch(select("Make Mjolnir.:Cancel.")) {
case 1:
- if ((countitem(7074) > 1) && (countitem(7075) > 3) && (countitem(7078) > 4) && (countitem(7089) > 4) && (countitem(7091) > 4) && (countitem(984) > 19) && (countitem(985) > 4) && (countitem(969) > 39) && (countitem(1522) > 0)) {
+ if ((countitem(Iron_Glove) > 1) && (countitem(Iron_Maiden) > 3) && (countitem(Anger_Of_Valkurye) > 4) && (countitem(Indication_Of_Tempest) > 4) && (countitem(Rough_Billows) > 4) && (countitem(Oridecon) > 19) && (countitem(Elunium) > 4) && (countitem(Gold) > 39) && (countitem(Stunner) > 0)) {
mes "[Dwarf Grunburti]";
mes "Do not disgrace";
mes "Thor, lord of Thunder,";
@@ -754,16 +754,16 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{
mes "pity for you~";
close;
}
- delitem 7074,2; //Iron_Glove
- delitem 7075,4; //Iron_Maiden
- delitem 7078,5; //Anger_Of_Valkurye
- delitem 7089,5; //Indication_Of_Tempest
- delitem 7091,5; //Rough_Billows
- delitem 984,20; //Oridecon
- delitem 985,5; //Elunium
- delitem 969,40; //Gold
- delitem 1522,1; //Stunner
- getitem 1530,1; // Mjolnir
+ delitem Iron_Glove,2;
+ delitem Iron_Maiden,4;
+ delitem Anger_Of_Valkurye,5;
+ delitem Indication_Of_Tempest,5;
+ delitem Rough_Billows,5;
+ delitem Oridecon,20;
+ delitem Elunium,5;
+ delitem Gold,40;
+ delitem Stunner,1;
+ getitem Mjolnir,1; // Mjolnir
$God1 = 0;
$God2 = 0;
$God3 = 0;
diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt
index 9cb7a16b5..b089f0dbf 100644
--- a/npc/quests/seals/megingard_seal.txt
+++ b/npc/quests/seals/megingard_seal.txt
@@ -39,12 +39,12 @@
//=========================================================================
prt_castle,44,151,0 script Rebarev Doug 1_M_KNIGHTMASTER,{
- if (checkweight(1301,3) == 0) {
+ if (checkweight(Axe,3) == 0) {
mes "- You are carrying too many items! -";
close;
}
cutin "god_rebeireb",2;
- if ((countitem(7080) > 3) && (countitem(7081) > 4) && (countitem(7082) > 3) && (countitem(7084) > 2) && (countitem(7085) > 2)) {
+ if ((countitem(Foot_Step_Of_Cat) > 3) && (countitem(Beard_Of_Women) > 4) && (countitem(Root_Of_Stone) > 3) && (countitem(Saliva_Of_Bird) > 2) && (countitem(Tendon_Of_Bear) > 2)) {
mes "[Rebarev Doug]";
mes "What's this?";
mes "You...! You have";
@@ -57,12 +57,12 @@ prt_castle,44,151,0 script Rebarev Doug 1_M_KNIGHTMASTER,{
mes "I'm the only human on earth";
mes "blessed with the ability to create Gleipnir. Aside from the Dwarves, I'm the only person that can make this item!";
next;
- delitem 7080,4; //Foot_Step_Of_Cat
- delitem 7081,5; //Beard_Of_Women
- delitem 7082,4; //Root_Of_Stone
- delitem 7084,3; //Saliva_Of_Bird
- delitem 7085,3; //Tendon_Of_Bear
- getitem 7058,1; // Gullraifnir
+ delitem Foot_Step_Of_Cat,4;
+ delitem Beard_Of_Women,5;
+ delitem Root_Of_Stone,4;
+ delitem Saliva_Of_Bird,3;
+ delitem Tendon_Of_Bear,3;
+ getitem Gullraifnir,1; // Gullraifnir
mes "[Rebarev Doug]";
mes "There you go!";
next;
@@ -827,7 +827,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{
mes "under dim light";
mes "for so long, my eyes have";
mes "gone bad. They should get me ^0000FFa new light^000000, otherwise I'll go blind sooner or later...";
- if (god_eremes == 5 && (countitem(2203) > 0 || countitem(1041) > 0)) {
+ if (god_eremes == 5 && (countitem(Glasses) > 0 || countitem(Lantern) > 0)) {
next;
mes "[Librarian Jekan]";
mes "Hey, that's some pretty useful stuff that you've got with you. Do you mind letting me borrow it for a while? It'll help me in finding those files...";
@@ -843,15 +843,15 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{
mes "Oh, you are so kind!";
mes "Y-you really do want";
mes "to help me, don't you?";
- if (countitem(2203) && countitem(1041)) {
- delitem 1041,countitem(1041); //Lantern
- delitem 2203,1; //Spectacles
+ if (countitem(Glasses) && countitem(Lantern)) {
+ delitem Lantern,countitem(Lantern);
+ delitem Glasses,1; //Spectacles
}
- else if (countitem(2203)) {
+ else if (countitem(Glasses)) {
delitem 2203,1;
}
- else if (countitem(1041)) {
- delitem 1041,countitem(1041);
+ else if (countitem(Lantern)) {
+ delitem 1041,countitem(Lantern);
}
god_eremes = 6;
next;
@@ -1075,7 +1075,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{
close;
}
else if (god_eremes == 13) {
- if (countitem(7111) > 1 && countitem(7151) && countitem(1024) > 2 && countitem(916) > 2 && countitem(717) > 19) {
+ if (countitem(Smooth_Paper) > 1 && countitem(Oil_Paper) && countitem(Chinese_Ink) > 2 && countitem(Feather_Of_Birds) > 2 && countitem(Blue_Gemstone) > 19) {
mes "[Librarian Jekan]";
mes "Oh, you came back.";
mes "I didn't expect you to return here so quickly. Whatever's inside must be really important for you to know.";
@@ -1085,11 +1085,11 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{
mes "give me a moment";
mes "while I make that";
mes "copy for you.";
- delitem 7111,2; //Smooth_Paper
- delitem 7151,1; //Oil_Paper
- delitem 1024,3; //Chinese_Ink
- delitem 916,3; //Feather_Of_Birds
- delitem 717,20; //Blue_Gemstone
+ delitem Smooth_Paper,2;
+ delitem Oil_Paper,1;
+ delitem Chinese_Ink,3;
+ delitem Feather_Of_Birds,3;
+ delitem Blue_Gemstone,20;
god_eremes = 14;
next;
mes "[Librarian Jekan]";
@@ -2032,35 +2032,35 @@ in_rogue,243,61,0 script Suspicious Man#megin 4_M_ALCHE_A,{
next;
mes "^3355FFYou try your best to calm him down and to tell him what you've found in the document.^000000";
next;
- if ((countitem(740) > 0) || (countitem(741) > 0) || (countitem(742) > 0) || (countitem(743) > 0) || (countitem(750) > 0) || (countitem(751) > 0) || (countitem(752) > 0) || (countitem(753) > 0) || (countitem(754) > 0) || (countitem(7206) > 0) || (countitem(7212) > 0)){
- if (countitem(740) > 0) {
+ if ((countitem(Stuffed_Doll) > 0) || (countitem(Poring_Doll) > 0) || (countitem(Chonchon_Doll) > 0) || (countitem(Spore_Doll) > 0) || (countitem(Baphomet_Doll) > 0) || (countitem(Osiris_Doll) > 0) || (countitem(Grasshopper_Doll) > 0) || (countitem(Monkey_Doll) > 0) || (countitem(Raccoondog_Doll) > 0) || (countitem(Black_Kitty_Doll) > 0) || (countitem(Hanging_Doll) > 0)){
+ if (countitem(Stuffed_Doll) > 0) {
.@toy$ = "Puppet";
}
- else if (countitem(741) > 0) {
+ else if (countitem(Poring_Doll) > 0) {
.@toy$ = "Poring Doll";
}
- else if (countitem(742) > 0) {
+ else if (countitem(Chonchon_Doll) > 0) {
.@toy$ = "Chonchon Doll";
}
- else if (countitem(743) > 0) {
+ else if (countitem(Spore_Doll) > 0) {
.@toy$ = "Spore Doll";
}
- else if (countitem(744) > 0) {
+ else if (countitem(Bunch_Of_Flowers) > 0) {
.@toy$ = "Baphomet Doll";
}
- else if (countitem(751) > 0) {
+ else if (countitem(Osiris_Doll) > 0) {
.@toy$ = "Osiris Doll";
}
- else if (countitem(752) > 0) {
+ else if (countitem(Grasshopper_Doll) > 0) {
.@toy$ = "Rocker Doll";
}
- else if (countitem(753) > 0) {
+ else if (countitem(Monkey_Doll) > 0) {
.@toy$ = "Yoyo Doll";
}
- else if (countitem(754) > 0) {
+ else if (countitem(Raccoondog_Doll) > 0) {
.@toy$ = "Racoon Doll";
}
- else if (countitem(7206) > 0) {
+ else if (countitem(Black_Kitty_Doll) > 0) {
.@toy$ = "Black Cat Doll";
}
else {
@@ -2471,7 +2471,7 @@ alberta,196,146,0 script Crusader#megin2 4_M_CRU,{
}
aldebaran,66,213,0 script Lady#megin 1_F_04,{
- if (checkweight(1301,3) == 0) {
+ if (checkweight(Axe,3) == 0) {
mes "- You are carrying too many items!";
close;
}
@@ -2522,7 +2522,7 @@ aldebaran,66,213,0 script Lady#megin 1_F_04,{
next;
switch(select("About her past.:Why be a Kafra Lady?:About memories she can remember.")) {
case 1:
- if (countitem(7015) > 0) {
+ if (countitem(Bookclip_In_Memory) > 0) {
mes "^3355FFThe scent of your";
mes "Memory Bookmark";
mes "seems to bring clarity";
@@ -2594,7 +2594,7 @@ aldebaran,66,213,0 script Lady#megin 1_F_04,{
mes "I want to become a Kafra Lady.";
close;
case 3:
- if (countitem(511) > 0 && god_megin_3 > 1) {
+ if (countitem(Green_Herb) > 0 && god_megin_3 > 1) {
mes "^3355FFEmma Searth clutches her head and winces as she suffers from another migraine.^000000";
next;
mes "^3355FFRemembering that a Green Herb was able to relieve Jack O, you gave a Green Herb to Emma. She takes it, and looks a little more relaxed.^000000";
@@ -2667,7 +2667,7 @@ aldebaran,66,213,0 script Lady#megin 1_F_04,{
mes "[Emma Searth]";
mes "I really appreciate you coming here to talk to me about the old days. I, I want you to have this.";
god_eremes = 28;
- getitem 603,1; // Old_Blue_Box
+ getitem Old_Blue_Box,1; // Old_Blue_Box
if (RENEWAL_EXP) {
if (BaseLevel < 56) getexp 2700,0;
else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 3000,0;
@@ -2867,7 +2867,7 @@ cmd_in02,190,94,3 script Man#megin 4_M_ROGUE,{
close;
}
else if (god_megin_6 > 0 && god_megin_6 < 15) {
- if (countitem(970) > 0) {
+ if (countitem(Alchol) > 0) {
mes "[Royal Myst]";
mes "Speaking of which,";
mes "I haven't had a drink";
diff --git a/npc/quests/seals/mjolnir_seal.txt b/npc/quests/seals/mjolnir_seal.txt
index 155bbdd32..f52f16050 100644
--- a/npc/quests/seals/mjolnir_seal.txt
+++ b/npc/quests/seals/mjolnir_seal.txt
@@ -39,7 +39,7 @@
//=========================================================================
prontera,124,297,3 script Tialfi 4_M_KID1,{
- if (checkweight(1301,3) == 0) {
+ if (checkweight(Axe,3) == 0) {
mes "- You are carrying too many items! -";
close;
}
@@ -62,7 +62,7 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{
}
else if (god_mjo_1 == 2 && god_mjo_2 == 2 && god_mjo_3 == 2 && god_mjo_4 == 2) {
if (god_mjo_0 == 10) {
- if ((countitem(756) > 49) && (countitem(757) > 49)) {
+ if ((countitem(Oridecon_Stone) > 49) && (countitem(Elunium_Stone) > 49)) {
.@gift = 0;
if (BaseJob == Job_Knight) {
.@gift = 1;
@@ -142,47 +142,47 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{
mes "It must be around--Ah!";
mes "Here we are~";
next;
- delitem 756,50; //Oridecon_Stone
- delitem 757,50; //Elunium_Stone
+ delitem Oridecon_Stone,50;
+ delitem Elunium_Stone,50;
god_mjo_0 = 11;
if (.@gift == 1) {
- getitem 1471,1; // Hell_Fire
+ getitem Hell_Fire,1; // Hell_Fire
}
else if (.@gift == 2) {
- getitem 1526,1; // Slash
+ getitem Slash,1; // Slash
}
else if (.@gift == 3) {
- getitem 1231,1; // Bazerald
+ getitem Bazerald,1; // Bazerald
}
else if (.@gift == 4) {
- getitem 1367,1; // Slaughter
+ getitem Slaughter,1; // Slaughter
}
else if (.@gift == 5) {
- getitem 1722,1; // Balistar
+ getitem Balistar,1; // Balistar
}
else if (.@gift == 6) {
- getitem 1230,1; // House_Auger
+ getitem House_Auger,1; // House_Auger
}
else if (.@gift == 7) {
- getitem 1141,1; // Immaterial_Sword
+ getitem Immaterial_Sword,1; // Immaterial_Sword
}
else if (.@gift == 8) {
- getitem 1813,1; // Kaiser_Knuckle
+ getitem Kaiser_Knuckle,1; // Kaiser_Knuckle
}
else if (.@gift == 9) {
- getitem 1557,1; // Book_Of_The_Apocalypse
+ getitem Book_Of_The_Apocalypse,1; // Book_Of_The_Apocalypse
}
else if (.@gift == 10) {
- getitem 1235,1; // Azoth
+ getitem Azoth,1; // Azoth
}
else if (.@gift == 11) {
- getitem 1227,1; // Weeder_Knife
+ getitem Weeder_Knife,1; // Weeder_Knife
}
else if (.@gift == 12) {
- getitem 1913,1; // Electronic_Guitar
+ getitem Electronic_Guitar,1; // Electronic_Guitar
}
else if (.@gift == 13) {
- getitem 1963,1; // Rapture_Rose
+ getitem Rapture_Rose,1; // Rapture_Rose
}
else {
mes "Unknown error occurred.";
@@ -508,7 +508,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "...";
close;
case 2:
- if (countitem(1005) > 0) { //Hammer_Of_Blacksmith
+ if (countitem(Hammer_Of_Blacksmith) > 0) { //Hammer_Of_Blacksmith
mes "[Austri]";
mes "Ah, I see that the entire human race is not worthy of scorn. Unlike many of your kind, I see that you respect your elders.";
next;
@@ -764,7 +764,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "...";
close;
case 2:
- if (countitem(1005) > 0) {
+ if (countitem(Hammer_Of_Blacksmith) > 0) {
mes "[Austri]";
mes "Ah, I see that the entire human race is not worthy of scorn. Unlike many of your kind, I see that you respect your elders.";
next;
@@ -2041,8 +2041,8 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{
close;
}
- if (countitem(984) > 0) {
- delitem 984,1; //Oridecon
+ if (countitem(Oridecon) > 0) {
+ delitem Oridecon,1;
}
else {
mes "[Vestri]";
@@ -2251,8 +2251,8 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{
mes "to work!";
close;
}
- if (countitem(984) > 0) {
- delitem 984,1; //Oridecon
+ if (countitem(Oridecon) > 0) {
+ delitem Oridecon,1;
}
else {
mes "[Vestri]";
@@ -2433,8 +2433,8 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
}
}
else if (god_mjo_4 == 1) {
- if (countitem(501) > 0) {
- delitem 501,1; //Red_Potion
+ if (countitem(Red_Potion) > 0) {
+ delitem Red_Potion,1;
mes "[Nordri]";
mes "Ah, you've brought";
mes "me a Red Potion, just";
@@ -2622,9 +2622,9 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
}
}
else if (god_mjo_1 == 1) {
- if (countitem(501) > 0) {
+ if (countitem(Red_Potion) > 0) {
- delitem 501,1; //Red_Potion
+ delitem Red_Potion,1;
mes "[Nordri]";
mes "Ah, you've brought";
mes "me a Red Potion...?";
diff --git a/npc/quests/seals/sleipnir_seal.txt b/npc/quests/seals/sleipnir_seal.txt
index 0684cc38b..533ae88df 100644
--- a/npc/quests/seals/sleipnir_seal.txt
+++ b/npc/quests/seals/sleipnir_seal.txt
@@ -80,7 +80,7 @@ yuno,164,200,4 script Noyee#G 4W_F_01,{
}
que_god01,98,98,4 script Manager#G 1_F_04,{
- if (checkweight(908,500) == 0) {
+ if (checkweight(Spawn,500) == 0) {
mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
close;
}
@@ -230,224 +230,224 @@ que_god01,98,98,4 script Manager#G 1_F_04,{
.@god_treasure1 = rand(1,1000);
if (RENEWAL) {
if (.@god_treasure < 101) {
- if (.@god_treasure1 < 210) getitem 2102,1; //Guard_
- else if (.@god_treasure1 < 420) getitem 2104,1; //Buckler_
- else if (.@god_treasure1 < 630) getitem 2106,1; //Shield_
- else if (.@god_treasure1 < 840) getitem 2108,1; //Mirror_Shield_
- else getitem 2109,1; //Memorize_Book
+ if (.@god_treasure1 < 210) getitem Guard_,1;
+ else if (.@god_treasure1 < 420) getitem Buckler_,1;
+ else if (.@god_treasure1 < 630) getitem Shield_,1;
+ else if (.@god_treasure1 < 840) getitem Mirror_Shield_,1;
+ else getitem Memorize_Book,1;
}
else if (.@god_treasure < 201) {
- if (.@god_treasure1 < 48) getitem 2207,1; //Fancy_Flower
- else if (.@god_treasure1 < 96) getitem 2210,1; //Hair_Band
- else if (.@god_treasure1 < 150) getitem 2213,1; //Cat_Hairband
- else if (.@god_treasure1 < 190) getitem 2215,1; //Flower_Hairband
- else if (.@god_treasure1 < 238) getitem 2217,1; //Biretta_
- else if (.@god_treasure1 < 290) getitem 2223,1; //Turban_
- else if (.@god_treasure1 < 340) getitem 2227,1; //Cap_
- else if (.@god_treasure1 < 348) getitem 2229,1; //Helm_
- else if (.@god_treasure1 < 400) getitem 2231,1; //Gemmed_Sallet_
- else if (.@god_treasure1 < 448) getitem 2233,1; //Circlet_
- else if (.@god_treasure1 < 496) getitem 2236,1; //Santa's_Hat
- else if (.@god_treasure1 < 544) getitem 2244,1; //Big_Sis'_Ribbon
- else if (.@god_treasure1 < 592) getitem 2245,1; //Sweet_Gents
- else if (.@god_treasure1 < 640) getitem 2247,1; //Oldman's_Romance
- else if (.@god_treasure1 < 688) getitem 2248,1; //Western_Grace
- else if (.@god_treasure1 < 736) getitem 2250,1; //Fillet
- else if (.@god_treasure1 < 784) getitem 2251,1; //Holy_Bonnet
- else if (.@god_treasure1 < 832) getitem 2252,1; //Star_Sparkling
- else if (.@god_treasure1 < 880) getitem 2253,1; //Sunflower
- else if (.@god_treasure1 < 940) getitem 2257,1; //Snowy_Horn
- else getitem 2259,1; //Mini_Propeller
+ if (.@god_treasure1 < 48) getitem Fancy_Flower,1;
+ else if (.@god_treasure1 < 96) getitem Hair_Band,1;
+ else if (.@god_treasure1 < 150) getitem Cat_Hairband,1;
+ else if (.@god_treasure1 < 190) getitem Flower_Hairband,1;
+ else if (.@god_treasure1 < 238) getitem Biretta_,1;
+ else if (.@god_treasure1 < 290) getitem Turban_,1;
+ else if (.@god_treasure1 < 340) getitem Cap_,1;
+ else if (.@god_treasure1 < 348) getitem Helm_,1;
+ else if (.@god_treasure1 < 400) getitem Gemmed_Sallet_,1;
+ else if (.@god_treasure1 < 448) getitem Circlet_,1;
+ else if (.@god_treasure1 < 496) getitem Santa's_Hat,1;
+ else if (.@god_treasure1 < 544) getitem Big_Sis'_Ribbon,1;
+ else if (.@god_treasure1 < 592) getitem Sweet_Gents,1;
+ else if (.@god_treasure1 < 640) getitem Oldman's_Romance,1;
+ else if (.@god_treasure1 < 688) getitem Western_Grace,1;
+ else if (.@god_treasure1 < 736) getitem Fillet,1;
+ else if (.@god_treasure1 < 784) getitem Holy_Bonnet,1;
+ else if (.@god_treasure1 < 832) getitem Star_Sparkling,1;
+ else if (.@god_treasure1 < 880) getitem Sunflower,1;
+ else if (.@god_treasure1 < 940) getitem Snowy_Horn,1;
+ else getitem Mini_Propeller,1;
}
else if (.@god_treasure < 301) {
- if (.@god_treasure1 < 160) getitem 2267,1; //Cigar
- else if (.@god_treasure1 < 320) getitem 2262,1; //Pierrot_Nose
- else if (.@god_treasure1 < 480) getitem 2263,1; //Gangster_Patch
- else if (.@god_treasure1 < 540) getitem 2265,1; //Ganster_Mask
- else if (.@god_treasure1 < 700) getitem 2266,1; //Iron_Cane
- else if (.@god_treasure1 < 800) getitem 2260,1; //Mini_Glasses
- else if (.@god_treasure1 < 900) getitem 2269,1; //Centimental_Flower
- else getitem 2270,1; //Centimental_Leaf
+ if (.@god_treasure1 < 160) getitem Cigar,1;
+ else if (.@god_treasure1 < 320) getitem Pierrot_Nose,1;
+ else if (.@god_treasure1 < 480) getitem Gangster_Patch,1;
+ else if (.@god_treasure1 < 540) getitem Ganster_Mask,1;
+ else if (.@god_treasure1 < 700) getitem Iron_Cane,1;
+ else if (.@god_treasure1 < 800) getitem Mini_Glasses,1;
+ else if (.@god_treasure1 < 900) getitem Centimental_Flower,1;
+ else getitem Centimental_Leaf,1;
}
else if (.@god_treasure < 401) {
- if (.@god_treasure1 < 70) getitem 2298,1; //Green_Feeler
- else if (.@god_treasure1 < 140) getitem 2275,1; //Red_Bandana
- else if (.@god_treasure1 < 210) getitem 2276,1; //Eagle_Eyes
- else if (.@god_treasure1 < 280) getitem 2277,1; //Nurse_Cap
- else if (.@god_treasure1 < 350) getitem 2279,1; //Bomb_Wick
- else if (.@god_treasure1 < 420) getitem 2282,1; //Spirit_Chain
- else if (.@god_treasure1 < 490) getitem 2299,1; //Viking_Helm
- else if (.@god_treasure1 < 560) getitem 2287,1; //Pirate_Bandana
- else if (.@god_treasure1 < 630) getitem 2289,1; //Poo_Poo_Hat
- else if (.@god_treasure1 < 700) getitem 2290,1; //Funeral_Costume
- else if (.@god_treasure1 < 770) getitem 2291,1; //Masquerade
- else if (.@god_treasure1 < 840) getitem 2294,1; //Star_Dust
- else if (.@god_treasure1 < 900) getitem 2295,1; //Blinker
- else if (.@god_treasure1 < 950) getitem 2271,1; //Jack_A_Dandy
- else getitem 2285,1; //Apple_Of_Archer
+ if (.@god_treasure1 < 70) getitem Green_Feeler,1;
+ else if (.@god_treasure1 < 140) getitem Red_Bandana,1;
+ else if (.@god_treasure1 < 210) getitem Eagle_Eyes,1;
+ else if (.@god_treasure1 < 280) getitem Nurse_Cap,1;
+ else if (.@god_treasure1 < 350) getitem Bomb_Wick,1;
+ else if (.@god_treasure1 < 420) getitem Spirit_Chain,1;
+ else if (.@god_treasure1 < 490) getitem Viking_Helm,1;
+ else if (.@god_treasure1 < 560) getitem Pirate_Bandana,1;
+ else if (.@god_treasure1 < 630) getitem Poo_Poo_Hat,1;
+ else if (.@god_treasure1 < 700) getitem Funeral_Costume,1;
+ else if (.@god_treasure1 < 770) getitem Masquerade,1;
+ else if (.@god_treasure1 < 840) getitem Star_Dust,1;
+ else if (.@god_treasure1 < 900) getitem Blinker,1;
+ else if (.@god_treasure1 < 950) getitem Jack_A_Dandy,1;
+ else getitem Apple_Of_Archer,1;
}
else if (.@god_treasure < 501) {
- if (.@god_treasure1 < 80) getitem 2306,1; //Adventurere's_Suit_
- else if (.@god_treasure1 < 160) getitem 2308,1; //Mantle_
- else if (.@god_treasure1 < 240) getitem 2310,1; //Coat_
- else if (.@god_treasure1 < 320) getitem 2311,1; //Mink_Coat
- else if (.@god_treasure1 < 400) getitem 2313,1; //Padded_Armor_
- else if (.@god_treasure1 < 480) getitem 2315,1; //Chain_Mail_
- else if (.@god_treasure1 < 560) getitem 2329,1; //Wooden_Mail_
- else if (.@god_treasure1 < 630) getitem 2320,1; //Formal_Suit
- else if (.@god_treasure1 < 700) getitem 2322,1; //Silk_Robe_
- else if (.@god_treasure1 < 760) getitem 2324,1; //Scapulare_
- else if (.@god_treasure1 < 810) getitem 2326,1; //Saint_Robe_
- else if (.@god_treasure1 < 850) getitem 2342,1; //Full_Plate_Armor_
- else if (.@god_treasure1 < 900) getitem 2331,1; //Tights_
- else if (.@god_treasure1 < 950) getitem 2333,1; //Silver_Robe_
- else getitem 2336,1; //Thief_Clothes_
+ if (.@god_treasure1 < 80) getitem Adventurere's_Suit_,1;
+ else if (.@god_treasure1 < 160) getitem Mantle_,1;
+ else if (.@god_treasure1 < 240) getitem Coat_,1;
+ else if (.@god_treasure1 < 320) getitem Mink_Coat,1;
+ else if (.@god_treasure1 < 400) getitem Padded_Armor_,1;
+ else if (.@god_treasure1 < 480) getitem Chain_Mail_,1;
+ else if (.@god_treasure1 < 560) getitem Wooden_Mail_,1;
+ else if (.@god_treasure1 < 630) getitem Formal_Suit,1;
+ else if (.@god_treasure1 < 700) getitem Silk_Robe_,1;
+ else if (.@god_treasure1 < 760) getitem Scapulare_,1;
+ else if (.@god_treasure1 < 810) getitem Saint_Robe_,1;
+ else if (.@god_treasure1 < 850) getitem Full_Plate_Armor_,1;
+ else if (.@god_treasure1 < 900) getitem Tights_,1;
+ else if (.@god_treasure1 < 950) getitem Silver_Robe_,1;
+ else getitem Thief_Clothes_,1;
}
else if (.@god_treasure < 601) {
- if (.@god_treasure1 < 200) getitem 2402,1; //Sandals_
- else if (.@god_treasure1 < 400) getitem 2404,1; //Shoes_
- else if (.@god_treasure1 < 600) getitem 2406,1; //Boots_
- else if (.@god_treasure1 < 800) getitem 2407,1; //Chrystal_Pumps
- else getitem 2409,1; //Spiky_Heel
+ if (.@god_treasure1 < 200) getitem Sandals_,1;
+ else if (.@god_treasure1 < 400) getitem Shoes_,1;
+ else if (.@god_treasure1 < 600) getitem Boots_,1;
+ else if (.@god_treasure1 < 800) getitem Chrystal_Pumps,1;
+ else getitem Spiky_Heel,1;
}
else if (.@god_treasure < 701) {
- if (.@god_treasure1 < 300) getitem 2502,1; //Hood_
- else if (.@god_treasure1 < 550) getitem 2504,1; //Muffler_
- else if (.@god_treasure1 < 750) getitem 2506,1; //Manteau_
- else getitem 2508,1; //Ragamuffin_Cape
+ if (.@god_treasure1 < 300) getitem Hood_,1;
+ else if (.@god_treasure1 < 550) getitem Muffler_,1;
+ else if (.@god_treasure1 < 750) getitem Manteau_,1;
+ else getitem Ragamuffin_Cape,1;
}
else if (.@god_treasure < 801) {
- if (.@god_treasure1 < 110) getitem 2601,1; //Ring
- else if (.@god_treasure1 < 220) getitem 2602,1; //Earring
- else if (.@god_treasure1 < 330) getitem 2603,1; //Necklace
- else if (.@god_treasure1 < 440) getitem 2604,1; //Glove
- else if (.@god_treasure1 < 550) getitem 2605,1; //Brooch
- else if (.@god_treasure1 < 660) getitem 2607,1; //Clip
- else if (.@god_treasure1 < 770) getitem 2608,1; //Rosary
- else if (.@god_treasure1 < 880) getitem 2617,1; //Mitten_Of_Presbyter
- else getitem 2618,1; //Matyr's_Flea_Guard
+ if (.@god_treasure1 < 110) getitem Ring,1;
+ else if (.@god_treasure1 < 220) getitem Earring,1;
+ else if (.@god_treasure1 < 330) getitem Necklace,1;
+ else if (.@god_treasure1 < 440) getitem Glove,1;
+ else if (.@god_treasure1 < 550) getitem Brooch,1;
+ else if (.@god_treasure1 < 660) getitem Clip,1;
+ else if (.@god_treasure1 < 770) getitem Rosary,1;
+ else if (.@god_treasure1 < 880) getitem Mitten_Of_Presbyter,1;
+ else getitem Matyr's_Flea_Guard,1;
}
else {
- if (.@god_treasure1 < 150) getitem 2288,1; //Mr_Scream
- else if (.@god_treasure1 < 260) getitem 2297,1; //Goblini_Mask
- else if (.@god_treasure1 < 370) getitem 5087,1; //Goblin_Mask_01
- else if (.@god_treasure1 < 480) getitem 5088,1; //Goblin_Mask_02
- else if (.@god_treasure1 < 590) getitem 5089,1; //Goblin_Mask_03
- else if (.@god_treasure1 < 700) getitem 5090,1; //Goblin_Mask_04
- else if (.@god_treasure1 < 810) getitem 5046,1; //Bongun_Hat
- else if (.@god_treasure1 < 920) getitem 2264,1; //Munak_Turban
- else getitem 2225,1; //Goggle_
+ if (.@god_treasure1 < 150) getitem Mr_Scream,1;
+ else if (.@god_treasure1 < 260) getitem Goblini_Mask,1;
+ else if (.@god_treasure1 < 370) getitem Goblin_Mask_01,1;
+ else if (.@god_treasure1 < 480) getitem Goblin_Mask_02,1;
+ else if (.@god_treasure1 < 590) getitem Goblin_Mask_03,1;
+ else if (.@god_treasure1 < 700) getitem Goblin_Mask_04,1;
+ else if (.@god_treasure1 < 810) getitem Bongun_Hat,1;
+ else if (.@god_treasure1 < 920) getitem Munak_Turban,1;
+ else getitem Goggle_,1;
}
} else {
if (.@god_treasure < 101) {
- if (.@god_treasure1 < 210) getitem 2102,1; //Guard_
- else if (.@god_treasure1 < 420) getitem 2104,1; //Buckler_
- else if (.@god_treasure1 < 630) getitem 2106,1; //Shield_
- else if (.@god_treasure1 < 840) getitem 2108,1; //Mirror_Shield_
- else getitem 2109,1; //Memorize_Book
+ if (.@god_treasure1 < 210) getitem Guard_,1;
+ else if (.@god_treasure1 < 420) getitem Buckler_,1;
+ else if (.@god_treasure1 < 630) getitem Shield_,1;
+ else if (.@god_treasure1 < 840) getitem Mirror_Shield_,1;
+ else getitem Memorize_Book,1;
}
else if (.@god_treasure < 201) {
- if (.@god_treasure1 < 48) getitem 2254,1; //Angelic_Chain
- else if (.@god_treasure1 < 96) getitem 2210,1; //Hair_Band
- else if (.@god_treasure1 < 150) getitem 2213,1; //Cat_Hairband
- else if (.@god_treasure1 < 190) getitem 2255,1; //Satanic_Chain
- else if (.@god_treasure1 < 238) getitem 2217,1; //Biretta_
- else if (.@god_treasure1 < 290) getitem 2223,1; //Turban_
- else if (.@god_treasure1 < 340) getitem 2227,1; //Cap_
- else if (.@god_treasure1 < 348) getitem 2229,1; //Helm_
- else if (.@god_treasure1 < 400) getitem 2231,1; //Gemmed_Sallet_
- else if (.@god_treasure1 < 448) getitem 2233,1; //Circlet_
- else if (.@god_treasure1 < 496) getitem 5053,1; //Spinx_Helm
- else if (.@god_treasure1 < 544) getitem 5019,1; //Corsair
- else if (.@god_treasure1 < 592) getitem 2245,1; //Sweet_Gents
- else if (.@god_treasure1 < 640) getitem 2247,1; //Oldman's_Romance
- else if (.@god_treasure1 < 688) getitem 2248,1; //Western_Grace
- else if (.@god_treasure1 < 736) getitem 5166,1; //Spinx_Helm_
- else if (.@god_treasure1 < 784) getitem 5158,1; //Holy_Bonnet_
- else if (.@god_treasure1 < 832) getitem 2249,1; //Coronet
- else if (.@god_treasure1 < 880) getitem 5157,1; //Viking_Helm_
- else if (.@god_treasure1 < 940) getitem 2285,1; //Apple_Of_Archer
- else getitem 5093,1; //Blue_Coif_
+ if (.@god_treasure1 < 48) getitem Angelic_Chain,1;
+ else if (.@god_treasure1 < 96) getitem Hair_Band,1;
+ else if (.@god_treasure1 < 150) getitem Cat_Hairband,1;
+ else if (.@god_treasure1 < 190) getitem Satanic_Chain,1;
+ else if (.@god_treasure1 < 238) getitem Biretta_,1;
+ else if (.@god_treasure1 < 290) getitem Turban_,1;
+ else if (.@god_treasure1 < 340) getitem Cap_,1;
+ else if (.@god_treasure1 < 348) getitem Helm_,1;
+ else if (.@god_treasure1 < 400) getitem Gemmed_Sallet_,1;
+ else if (.@god_treasure1 < 448) getitem Circlet_,1;
+ else if (.@god_treasure1 < 496) getitem Spinx_Helm,1;
+ else if (.@god_treasure1 < 544) getitem Corsair,1;
+ else if (.@god_treasure1 < 592) getitem Sweet_Gents,1;
+ else if (.@god_treasure1 < 640) getitem Oldman's_Romance,1;
+ else if (.@god_treasure1 < 688) getitem Western_Grace,1;
+ else if (.@god_treasure1 < 736) getitem Spinx_Helm_,1;
+ else if (.@god_treasure1 < 784) getitem Holy_Bonnet_,1;
+ else if (.@god_treasure1 < 832) getitem Coronet,1;
+ else if (.@god_treasure1 < 880) getitem Viking_Helm_,1;
+ else if (.@god_treasure1 < 940) getitem Apple_Of_Archer,1;
+ else getitem Blue_Coif_,1;
}
else if (.@god_treasure < 301) {
- if (.@god_treasure1 < 160) getitem 5014,1; //Fin_Helm
- else if (.@god_treasure1 < 320) getitem 5005,1; //Gas_Mask
- else if (.@god_treasure1 < 480) getitem 5054,1; //Assasin_Mask
- else if (.@god_treasure1 < 540) getitem 2265,1; //Ganster_Mask
- else if (.@god_treasure1 < 700) getitem 2266,1; //Iron_Cane
- else if (.@god_treasure1 < 800) getitem 2260,1; //Mini_Glasses
- else if (.@god_treasure1 < 900) getitem 5113,1; //Angry_Mouth
+ if (.@god_treasure1 < 160) getitem Fin_Helm,1;
+ else if (.@god_treasure1 < 320) getitem Gas_Mask,1;
+ else if (.@god_treasure1 < 480) getitem Assasin_Mask,1;
+ else if (.@god_treasure1 < 540) getitem Ganster_Mask,1;
+ else if (.@god_treasure1 < 700) getitem Iron_Cane,1;
+ else if (.@god_treasure1 < 800) getitem Mini_Glasses,1;
+ else if (.@god_treasure1 < 900) getitem Angry_Mouth,1;
else {
// Pirate Dagger is iRO only, and requires extra files in client.
//getitem 5305,1 //Pirate_Dagger
- getitem 2270,1; //Centimental_Leaf
+ getitem Centimental_Leaf,1;
}
}
else if (.@god_treasure < 401) {
- if (.@god_treasure1 < 70) getitem 2286,1; //Elven_Ears
- else if (.@god_treasure1 < 140) getitem 5002,1; //Gemmed_Crown
- else if (.@god_treasure1 < 210) getitem 5147,1; //Baseball_Cap
- else if (.@god_treasure1 < 280) getitem 2217,1; //Biretta_
- else if (.@god_treasure1 < 350) getitem 5120,1; //Fedora_
- else if (.@god_treasure1 < 420) getitem 2261,1; //Prontera_Army_Cap
- else if (.@god_treasure1 < 490) getitem 5162,1; //Bone_Helm_
- else if (.@god_treasure1 < 560) getitem 5030,1; //Panda_Cap
- else if (.@god_treasure1 < 630) getitem 5109,1; //Red_Bonnet
- else if (.@god_treasure1 < 700) getitem 5084,1; //Lazy_Raccoon
- else if (.@god_treasure1 < 770) getitem 5168,1; //Bongun_Hat_
- else if (.@god_treasure1 < 840) getitem 2214,1; //Bunny_Band
- else if (.@god_treasure1 < 900) getitem 2295,1; //Blinker
- else if (.@god_treasure1 < 950) getitem 5167,1; //Munak_Turban_
- else getitem 5018,1; //Feather_Bonnet
+ if (.@god_treasure1 < 70) getitem Elven_Ears,1;
+ else if (.@god_treasure1 < 140) getitem Gemmed_Crown,1;
+ else if (.@god_treasure1 < 210) getitem Baseball_Cap,1;
+ else if (.@god_treasure1 < 280) getitem Biretta_,1;
+ else if (.@god_treasure1 < 350) getitem Fedora_,1;
+ else if (.@god_treasure1 < 420) getitem Prontera_Army_Cap,1;
+ else if (.@god_treasure1 < 490) getitem Bone_Helm_,1;
+ else if (.@god_treasure1 < 560) getitem Panda_Cap,1;
+ else if (.@god_treasure1 < 630) getitem Red_Bonnet,1;
+ else if (.@god_treasure1 < 700) getitem Lazy_Raccoon,1;
+ else if (.@god_treasure1 < 770) getitem Bongun_Hat_,1;
+ else if (.@god_treasure1 < 840) getitem Bunny_Band,1;
+ else if (.@god_treasure1 < 900) getitem Blinker,1;
+ else if (.@god_treasure1 < 950) getitem Munak_Turban_,1;
+ else getitem Feather_Bonnet,1;
} else if (.@god_treasure < 501) {
- if (.@god_treasure1 < 85) getitem 2310,1; //Coat_
- else if (.@god_treasure1 < 170) getitem 2311,1; //Mink_Coat
- else if (.@god_treasure1 < 255) getitem 2313,1; //Padded_Armor_
- else if (.@god_treasure1 < 340) getitem 2317,1; //Plate_Armor_
- else if (.@god_treasure1 < 425) getitem 2319,1; //Glittering_Clothes
- else if (.@god_treasure1 < 510) getitem 2320,1; //Formal_Suit
- else if (.@god_treasure1 < 595) getitem 2322,1; //Silk_Robe_
- else if (.@god_treasure1 < 680) getitem 2359,1; //Ninja_Suit_
- else if (.@god_treasure1 < 765) getitem 2326,1; //Saint_Robe_
- else if (.@god_treasure1 < 850) getitem 2342,1; //Full_Plate_Armor_
- else if (.@god_treasure1 < 935) getitem 2331,1; //Tights_
- else getitem 2336,1; //Thief_Clothes_
+ if (.@god_treasure1 < 85) getitem Coat_,1;
+ else if (.@god_treasure1 < 170) getitem Mink_Coat,1;
+ else if (.@god_treasure1 < 255) getitem Padded_Armor_,1;
+ else if (.@god_treasure1 < 340) getitem Plate_Armor_,1;
+ else if (.@god_treasure1 < 425) getitem Glittering_Clothes,1;
+ else if (.@god_treasure1 < 510) getitem Formal_Suit,1;
+ else if (.@god_treasure1 < 595) getitem Silk_Robe_,1;
+ else if (.@god_treasure1 < 680) getitem Ninja_Suit_,1;
+ else if (.@god_treasure1 < 765) getitem Saint_Robe_,1;
+ else if (.@god_treasure1 < 850) getitem Full_Plate_Armor_,1;
+ else if (.@god_treasure1 < 935) getitem Tights_,1;
+ else getitem Thief_Clothes_,1;
}
else if (.@god_treasure < 601) {
- if (.@god_treasure1 < 200) getitem 2422,1; //High_Fashion_Sandals
- else if (.@god_treasure1 < 400) getitem 2404,1; //Shoes_
- else if (.@god_treasure1 < 600) getitem 2406,1; //Boots_
- else if (.@god_treasure1 < 800) getitem 2407,1; //Chrystal_Pumps
- else getitem 2412,1; //Grave_
+ if (.@god_treasure1 < 200) getitem High_Fashion_Sandals,1;
+ else if (.@god_treasure1 < 400) getitem Shoes_,1;
+ else if (.@god_treasure1 < 600) getitem Boots_,1;
+ else if (.@god_treasure1 < 800) getitem Chrystal_Pumps,1;
+ else getitem Grave_,1;
}
else if (.@god_treasure < 701) {
- if (.@god_treasure1 < 200) getitem 2513,1; //Celestial_Robe
- else if (.@god_treasure1 < 400) getitem 2504,1; //Muffler_
- else if (.@god_treasure1 < 600) getitem 2506,1; //Manteau_
- else if (.@god_treasure1 < 800) getitem 2514,1; //Pauldron
- else getitem 2508,1; //Ragamuffin_Cape
+ if (.@god_treasure1 < 200) getitem Celestial_Robe,1;
+ else if (.@god_treasure1 < 400) getitem Muffler_,1;
+ else if (.@god_treasure1 < 600) getitem Manteau_,1;
+ else if (.@god_treasure1 < 800) getitem Pauldron,1;
+ else getitem Ragamuffin_Cape,1;
}
else if (.@god_treasure < 801) {
- if (.@god_treasure1 < 110) getitem 1122,1; //Ring_
- else if (.@god_treasure1 < 220) getitem 2622,1; //Earring_
- else if (.@god_treasure1 < 330) getitem 2623,1; //Necklace_
- else if (.@god_treasure1 < 440) getitem 2624,1; //Glove_
- else if (.@god_treasure1 < 550) getitem 2625,1; //Brooch_
- else if (.@god_treasure1 < 660) getitem 2607,1; //Clip
- else if (.@god_treasure1 < 770) getitem 2626,1; //Rosary_
- else if (.@god_treasure1 < 880) getitem 2617,1; //Mitten_Of_Presbyter
- else getitem 2671,1; //Thimble_Of_Archer_
+ if (.@god_treasure1 < 110) getitem Ring_Pommel_Saber,1; //Ring_
+ else if (.@god_treasure1 < 220) getitem Earring_,1;
+ else if (.@god_treasure1 < 330) getitem Necklace_,1;
+ else if (.@god_treasure1 < 440) getitem Glove_,1;
+ else if (.@god_treasure1 < 550) getitem Brooch_,1;
+ else if (.@god_treasure1 < 660) getitem Clip,1;
+ else if (.@god_treasure1 < 770) getitem Rosary_,1;
+ else if (.@god_treasure1 < 880) getitem Mitten_Of_Presbyter,1;
+ else getitem Thimble_Of_Archer_,1;
}
else {
- if (.@god_treasure1 < 150) getitem 2281,1; //Phantom_Of_Opera
- else if (.@god_treasure1 < 260) getitem 2297,1; //Goblini_Mask
- else if (.@god_treasure1 < 370) getitem 5087,1; //Goblin_Mask_01
- else if (.@god_treasure1 < 480) getitem 5088,1; //Goblin_Mask_02
- else if (.@god_treasure1 < 590) getitem 5089,1; //Goblin_Mask_03
- else if (.@god_treasure1 < 700) getitem 5090,1; //Goblin_Mask_04
- else if (.@god_treasure1 < 810) getitem 5086,1; //Alarm_Mask
- else if (.@god_treasure1 < 920) getitem 2292,1; //Welding_Mask
- else getitem 5006,1; //Machoman_Glasses
+ if (.@god_treasure1 < 150) getitem Phantom_Of_Opera,1;
+ else if (.@god_treasure1 < 260) getitem Goblini_Mask,1;
+ else if (.@god_treasure1 < 370) getitem Goblin_Mask_01,1;
+ else if (.@god_treasure1 < 480) getitem Goblin_Mask_02,1;
+ else if (.@god_treasure1 < 590) getitem Goblin_Mask_03,1;
+ else if (.@god_treasure1 < 700) getitem Goblin_Mask_04,1;
+ else if (.@god_treasure1 < 810) getitem Alarm_Mask,1;
+ else if (.@god_treasure1 < 920) getitem Welding_Mask,1;
+ else getitem Machoman_Glasses,1;
}
}
next;
@@ -968,64 +968,64 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{
mes "And these too. Oh!";
mes "You adventurers carry";
mes "a lot of things, don't you?";
- if (countitem(918) > 8) {
+ if (countitem(Sticky_Webfoot) > 8) {
++.@count_sl_1;
}
- if (countitem(950) > 8) {
+ if (countitem(Heart_Of_Mermaid) > 8) {
++.@count_sl_1;
}
- if (countitem(951) > 8) {
+ if (countitem(Fin) > 8) {
++.@count_sl_1;
}
- if (countitem(956) > 8) {
+ if (countitem(Gill) > 8) {
++.@count_sl_1;
}
- if (countitem(959) > 8) {
+ if (countitem(Rotten_Scale) > 8) {
++.@count_sl_1;
}
- if (countitem(960) > 8) {
+ if (countitem(Nipper) > 8) {
++.@count_sl_1;
}
- if (countitem(961) > 8) {
+ if (countitem(Conch) > 8) {
++.@count_sl_1;
}
- if (countitem(962) > 8) {
+ if (countitem(Tentacle) > 8) {
++.@count_sl_1;
}
- if (countitem(963) > 8) {
+ if (countitem(Sharp_Scale) > 8) {
++.@count_sl_1;
}
- if (countitem(964) > 8) {
+ if (countitem(Crap_Shell) > 8) {
++.@count_sl_1;
}
- if (countitem(965) > 8) {
+ if (countitem(Clam_Shell) > 8) {
++.@count_sl_1;
}
- if (countitem(966) > 8) {
+ if (countitem(Flesh_Of_Clam) > 8) {
++.@count_sl_1;
}
- if (countitem(7013) > 8) {
+ if (countitem(Coral_Reef) > 8) {
++.@count_sl_1;
}
- if (countitem(1054) > 8) {
+ if (countitem(Lip_Of_Ancient_Fish) > 8) {
++.@count_sl_1;
}
- if (countitem(1053) > 8) {
+ if (countitem(Tooth_Of_Ancient_Fish) > 8) {
++.@count_sl_1;
}
- if (countitem(1052) > 8) {
+ if (countitem(Single_Cell) > 8) {
++.@count_sl_1;
}
- if (countitem(1051) > 8) {
+ if (countitem(Detonator) > 8) {
++.@count_sl_1;
}
- if (countitem(1050) > 8) {
+ if (countitem(Tendon) > 8) {
++.@count_sl_1;
}
- if (countitem(1024) > 8) {
+ if (countitem(Chinese_Ink) > 8) {
++.@count_sl_1;
}
- if (countitem(1023) > 8) {
+ if (countitem(Fish_Tail) > 8) {
++.@count_sl_1;
}
next;
@@ -1048,65 +1048,65 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{
mes "other researchers";
mes "who might need your help in completing their projects. Why don't you ask around to see if";
mes "they need anything?";
- if (countitem(918) > 8) {
- delitem 918,9; //Sticky_Webfoot
+ if (countitem(Sticky_Webfoot) > 8) {
+ delitem Sticky_Webfoot,9;
}
- if (countitem(950) > 8) {
- delitem 950,9; //Heart_Of_Mermaid
+ if (countitem(Heart_Of_Mermaid) > 8) {
+ delitem Heart_Of_Mermaid,9;
}
- if (countitem(951) > 8) {
- delitem 951,9; //Fin
+ if (countitem(Fin) > 8) {
+ delitem Fin,9;
}
- if (countitem(956) > 8) {
- delitem 956,9; //Gill
+ if (countitem(Gill) > 8) {
+ delitem Gill,9;
}
- if (countitem(959) > 8) {
- delitem 959,9; //Rotten_Scale
+ if (countitem(Rotten_Scale) > 8) {
+ delitem Rotten_Scale,9;
}
- if (countitem(960) > 8) {
- delitem 960,9; //Nipper
+ if (countitem(Nipper) > 8) {
+ delitem Nipper,9;
}
- if (countitem(961) > 8) {
- delitem 961,9; //Conch
+ if (countitem(Conch) > 8) {
+ delitem Conch,9;
}
- if (countitem(962) > 8) {
- delitem 962,9; //Tentacle
+ if (countitem(Tentacle) > 8) {
+ delitem Tentacle,9;
}
- if (countitem(963) > 8) {
- delitem 963,9; //Sharp_Scale
+ if (countitem(Sharp_Scale) > 8) {
+ delitem Sharp_Scale,9;
}
- if (countitem(964) > 8) {
- delitem 964,9; //Crap_Shell
+ if (countitem(Crap_Shell) > 8) {
+ delitem Crap_Shell,9;
}
- if (countitem(965) > 8) {
- delitem 965,9; //Clam_Shell
+ if (countitem(Clam_Shell) > 8) {
+ delitem Clam_Shell,9;
}
- if (countitem(966) > 8) {
- delitem 966,9; //Flesh_Of_Clam
+ if (countitem(Flesh_Of_Clam) > 8) {
+ delitem Flesh_Of_Clam,9;
}
- if (countitem(1023) > 8) {
- delitem 1023,9; //Fish_Tail
+ if (countitem(Fish_Tail) > 8) {
+ delitem Fish_Tail,9;
}
- if (countitem(1024) > 8) {
- delitem 1024,9; //Chinese_Ink
+ if (countitem(Chinese_Ink) > 8) {
+ delitem Chinese_Ink,9;
}
- if (countitem(1050) > 8) {
- delitem 1050,9; //Tendon
+ if (countitem(Tendon) > 8) {
+ delitem Tendon,9;
}
- if (countitem(1051) > 8) {
- delitem 1051,9; //Detonator
+ if (countitem(Detonator) > 8) {
+ delitem Detonator,9;
}
- if (countitem(1052) > 8) {
- delitem 1052,9; //Single_Cell
+ if (countitem(Single_Cell) > 8) {
+ delitem Single_Cell,9;
}
- if (countitem(1053) > 8) {
- delitem 1053,9; //Tooth_Of_Ancient_Fish
+ if (countitem(Tooth_Of_Ancient_Fish) > 8) {
+ delitem Tooth_Of_Ancient_Fish,9;
}
- if (countitem(1054) > 8) {
- delitem 1054,9; //Lip_Of_Ancient_Fish
+ if (countitem(Lip_Of_Ancient_Fish) > 8) {
+ delitem Lip_Of_Ancient_Fish,9;
}
- if (countitem(7013) > 8) {
- delitem 7013,9; //Coral_Reef
+ if (countitem(Coral_Reef) > 8) {
+ delitem Coral_Reef,9;
}
god_sl_2 = 0;
if (god_sl_1 ==31) {
diff --git a/npc/quests/skills/acolyte_skills.txt b/npc/quests/skills/acolyte_skills.txt
index b79fd5184..dcc0e2e90 100644
--- a/npc/quests/skills/acolyte_skills.txt
+++ b/npc/quests/skills/acolyte_skills.txt
@@ -90,7 +90,7 @@ prt_church,173,23,4 script Cleric 1_F_PRIEST,{
mes "this skill for the work of good . .";
close;
}
- if ((countitem(727) > 0) && (countitem(991) > 0) && (countitem(2608) > 0) && (JobLevel > 29 || (BaseJob == Job_Priest || BaseJob == Job_Monk)) && (BaseClass == Job_Acolyte)) {
+ if ((countitem(White_Jewel) > 0) && (countitem(Crystal_Blue) > 0) && (countitem(Rosary) > 0) && (JobLevel > 29 || (BaseJob == Job_Priest || BaseJob == Job_Monk)) && (BaseClass == Job_Acolyte)) {
mes "[Acolyte Klift]";
mes "Your faith has proven worthy";
mes "for you to gain the ' Holy Light ' skill.";
@@ -98,9 +98,9 @@ prt_church,173,23,4 script Cleric 1_F_PRIEST,{
mes "to use this skill.";
mes "Use it wisely. . .";
next;
- delitem 727,1; //White_Jewel
- delitem 991,1; //Crystal_Blue
- delitem 2608,1; //Rosary
+ delitem White_Jewel,1;
+ delitem Crystal_Blue,1;
+ delitem Rosary,1;
skill "AL_HOLYLIGHT",1,0;
mes "[Acolyte Klift]";
mes "You now know ' Holy Light '";
diff --git a/npc/quests/skills/alchemist_skills.txt b/npc/quests/skills/alchemist_skills.txt
index 60126b369..31e72b9ae 100644
--- a/npc/quests/skills/alchemist_skills.txt
+++ b/npc/quests/skills/alchemist_skills.txt
@@ -212,11 +212,11 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "make sure you didn't";
mes "forget anything. Hm...";
next;
- if (countitem(715) > 4 && countitem(1093) > 3 && countitem(950) > 9 && countitem(1057) > 9) {
- delitem 715,5; //Yellow_Gemstone
- delitem 1093,4; //Empty_Potion
- delitem 950,10; //Heart_Of_Mermaid
- delitem 1057,10; //Moth_Dust
+ if (countitem(Yellow_Gemstone) > 4 && countitem(Empty_Potion) > 3 && countitem(Heart_Of_Mermaid) > 9 && countitem(Moth_Dust) > 9) {
+ delitem Yellow_Gemstone,5;
+ delitem Empty_Potion,4;
+ delitem Heart_Of_Mermaid,10;
+ delitem Moth_Dust,10;
ALCHE_SK = 3;
mes "[Pisruik]";
mes "Great, it looks like";
@@ -393,7 +393,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
close;
}
}
- else if (countitem(715) == 0 && countitem(1093) == 0 && countitem(950) == 0 && countitem(1057) == 0) {
+ else if (countitem(Yellow_Gemstone) == 0 && countitem(Empty_Potion) == 0 && countitem(Heart_Of_Mermaid) == 0 && countitem(Moth_Dust) == 0) {
mes "[Pisruik]";
mes "So you knew what";
mes "you had to bring, came";
@@ -681,8 +681,8 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
close;
}
else if (ALCHE_SK == 6) {
- if (countitem(1032) > 19) {
- delitem 1032,20; //Blossom_Of_Maneater
+ if (countitem(Blossom_Of_Maneater) > 19) {
+ delitem Blossom_Of_Maneater,20;
ALCHE_SK = 7;
mes "[Pisruik]";
mes "Thanks so much for";
@@ -785,8 +785,8 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
close;
}
else if (ALCHE_SK == 8) {
- if (countitem(1032) > 0) {
- delitem 1032,1; //Blossom_Of_Maneater
+ if (countitem(Blossom_Of_Maneater) > 0) {
+ delitem Blossom_Of_Maneater,1;
ALCHE_SK = 7;
mes "[Pisruik]";
mes "Thanks so much!";
@@ -886,8 +886,8 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "dorky without them.^000000";
next;
if (select("Let him try a pair of your glasses:Don't give him anything") == 1) {
- if (countitem(2243) > 0) {
- delitem 2243,1; //Spinning_Eyes
+ if (countitem(Spinning_Eyes) > 0) {
+ delitem Spinning_Eyes,1;
ALCHE_SK = 10;
//changes the quest steps by deicision.
mes "["+ strcharinfo(0) +"]";
@@ -945,7 +945,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "the medicine's side effects.^000000";
next;
ALCHE_SK = 11;
- getitem 7434,1; //Elemental_Create_Book
+ getitem Elemental_Potion_Book,1; //Elemental_Create_Book
mes "[Pisruik]";
mes "Well, you should be";
mes "ready to make your own";
@@ -1032,7 +1032,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "the medicine's side effects.^000000";
next;
ALCHE_SK = 11;
- getitem 7434,1; //Elemental_Create_Book
+ getitem Elemental_Potion_Book,1; //Elemental_Create_Book
mes "[Pisruik]";
mes "Well, you should be";
mes "ready to make your own";
@@ -1072,7 +1072,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
close;
}
else if (ALCHE_SK == 11) {
- if (countitem(7434) == 0) {
+ if (countitem(Elemental_Potion_Book) == 0) {
mes "[Pisruik]";
mes "Uh oh...";
mes "You lost the thesis";
@@ -1081,7 +1081,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "another one for you now...";
close;
}
- else if (countitem(7434) == 1) {
+ else if (countitem(Elemental_Potion_Book) == 1) {
mes "[Pisruik]";
mes "So, how have you been";
mes "using the potions that";
@@ -1090,7 +1090,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "in handy in your adventures.";
close;
}
- else if (countitem(7434) > 1) {
+ else if (countitem(Elemental_Potion_Book) > 1) {
mes "[Pisruik]";
mes "Huh, so copies of my";
mes "thesis are circulating";
diff --git a/npc/quests/skills/archer_skills.txt b/npc/quests/skills/archer_skills.txt
index 87fe97a24..030806877 100644
--- a/npc/quests/skills/archer_skills.txt
+++ b/npc/quests/skills/archer_skills.txt
@@ -65,17 +65,17 @@ moc_ruins,118,99,5 script Roberto 4_M_ORIENT01,{
mes " ";
mes "You are...";
next;
- if ((countitem(907) > 19) && (countitem(921) > 6) && (countitem(906) > 40) && (countitem(1019) > 12) && (countitem(501) > 0)) {
+ if ((countitem(Resin) > 19) && (countitem(Mushroom_Spore) > 6) && (countitem(Pointed_Scale) > 40) && (countitem(Wooden_Block) > 12) && (countitem(Red_Potion) > 0)) {
mes "[Roberto]";
mes "You brought them!";
mes "Thank you very much.";
mes "Then, as I promised, I will teach you the skill.";
next;
- delitem 907,20; //Resin
- delitem 921,7; //Mushroom_Spore
- delitem 906,41; //Tough_Scalelike_Stem
- delitem 1019,13; //Wooden_Block
- delitem 501,1; //Red_Potion
+ delitem Resin,20;
+ delitem Mushroom_Spore,7;
+ delitem Pointed_Scale,41; //Tough_Scalelike_Stem
+ delitem Wooden_Block,13;
+ delitem Red_Potion,1;
skill "AC_MAKINGARROW",1,0;
mes "[Roberto]";
mes "No need to worry about arrows now.";
@@ -238,17 +238,17 @@ payon,103,63,3 script Jason 4_M_ORIENT01,3,3,{
mes "(I'm going to be mad if you don't bring the Banana Juice.)";
close;
case 2:
- if ((countitem(721) > 1) && (countitem(942) > 2) && (countitem(962) > 9) && (countitem(925) > 9) && (countitem(532) > 35)) {
+ if ((countitem(Azure_Jewel) > 1) && (countitem(Yoyo_Tail) > 2) && (countitem(Tentacle) > 9) && (countitem(Bill_Of_Birds) > 9) && (countitem(Banana_Juice) > 35)) {
mes "[Jason]";
mes "Ok! Perfect!";
mes "I shall teach you the nationally";
mes "renowned skill, Arrow Repel!";
next;
- delitem 721,2; //Azure_Jewel
- delitem 942,3; //Yoyo_Tail
- delitem 962,10; //Tentacle
- delitem 925,10; //Bill_Of_Birds
- delitem 532,36; //Banana_Juice
+ delitem Azure_Jewel,2;
+ delitem Yoyo_Tail,3;
+ delitem Tentacle,10;
+ delitem Bill_Of_Birds,10;
+ delitem Banana_Juice,36;
skill "AC_CHARGEARROW",1,0;
mes "[Jason]";
mes "Oh, works better than I expected!";
diff --git a/npc/quests/skills/assassin_skills.txt b/npc/quests/skills/assassin_skills.txt
index 6fa61baa6..7f3312a07 100644
--- a/npc/quests/skills/assassin_skills.txt
+++ b/npc/quests/skills/assassin_skills.txt
@@ -501,7 +501,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "I trust that you've completed";
mes "that task I assigned for you.";
next;
- if ((ASSN_SK == 5 && countitem(726) > 0) || (ASSN_SK == 5 && countitem(723) > 0) || (ASSN_SK == 5 && countitem(720) > 0)) {
+ if ((ASSN_SK == 5 && countitem(Blue_Jewel) > 0) || (ASSN_SK == 5 && countitem(Cardinal_Jewel) > 0) || (ASSN_SK == 5 && countitem(Skyblue_Jewel) > 0)) {
select("How's this for treasure?");
mes "[Esmille]";
mes "Oh, that jewel...!";
@@ -870,7 +870,7 @@ OnTouch:
mes "coffin. You have obtained";
mes "a Sapphire for Esmille.^000000";
ASSN_SK = 5;
- getitem 726,1; //Blue_Jewel
+ getitem Blue_Jewel,1;
close;
}
case 2:
@@ -939,7 +939,7 @@ OnTouch:
mes "to escape its effects. You've";
mes "retrieved a Ruby for Esmille.^000000";
ASSN_SK = 5;
- getitem 723,1; //Cardinal_Jewel
+ getitem Cardinal_Jewel,1;
}
close;
}
@@ -1009,7 +1009,7 @@ OnTouch:
mes "freeze you. You obtained";
mes "an Aquamarine for Esmille.^000000";
ASSN_SK = 5;
- getitem 720,1; //Skyblue_Jewel
+ getitem Skyblue_Jewel,1;
}
close;
}
diff --git a/npc/quests/skills/bard_skills.txt b/npc/quests/skills/bard_skills.txt
index 96852f6b4..8e44a561e 100644
--- a/npc/quests/skills/bard_skills.txt
+++ b/npc/quests/skills/bard_skills.txt
@@ -87,7 +87,7 @@ prontera,174,328,3 script Young Man#bard_q1 4_M_ORIENT02,3,3,{
mes "you really need to relax.";
mes "Here, have a drink on me.";
next;
- if (countitem(12112) > 0) {
+ if (countitem(Tropical_Sograt) > 0) {
mes "[Timid Young Man]";
mes "Oh~! Isn't that";
mes "a Tropical Sograt?";
@@ -212,7 +212,7 @@ prontera,174,328,3 script Young Man#bard_q1 4_M_ORIENT02,3,3,{
mes "of power, I can't really";
mes "stop you. Thankfully, nobody";
mes "has any idea of where he is~";
- delitem 12112,1; //Tropical_Sograt
+ delitem Tropical_Sograt,1;
qskill_bard = 1;
}
else {
@@ -223,7 +223,7 @@ prontera,174,328,3 script Young Man#bard_q1 4_M_ORIENT02,3,3,{
mes "he mentioned something about";
mes "being at least ^660000Job Level 40^000000 to";
mes "be able to handle that power...";
- delitem 12112,1; //Tropical_Sograt
+ delitem Tropical_Sograt,1;
}
close;
case 2:
@@ -306,7 +306,7 @@ prontera,174,328,3 script Young Man#bard_q1 4_M_ORIENT02,3,3,{
mes "of power, I can't really";
mes "stop you. Thankfully, nobody";
mes "has any idea of where he is~";
- delitem 12112,1; //Tropical_Sograt
+ delitem Tropical_Sograt,1;
qskill_bard = 1;
}
else {
@@ -317,7 +317,7 @@ prontera,174,328,3 script Young Man#bard_q1 4_M_ORIENT02,3,3,{
mes "he mentioned something about";
mes "being at least ^660000Job Level 40^000000 to";
mes "be able to handle that power...";
- delitem 12112,1; //Tropical_Sograt
+ delitem Tropical_Sograt,1;
}
close;
}
@@ -465,7 +465,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{
close;
}
else if (qskill_bard == 8) {
- if (countitem(7277) > 0) {
+ if (countitem(Munak_Doll) > 0) {
mes "[Riott]";
mes "Ah, you've brought me";
mes "a Munak Doll made by";
@@ -497,7 +497,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{
mes "mine. Head spinning, head";
mes "spinning, head spinning...!''";
specialeffect2 EF_TALK_FROSTJOKE;
- delitem 7277,1; //Munak_Doll
+ delitem Munak_Doll,1;
skill "BA_PANGVOICE",1,0;
qskill_bard = 9;
next;
@@ -547,7 +547,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{
close;
}
else if (qskill_bard == 7) {
- if (countitem(574) > 4) {
+ if (countitem(Egg) > 4) {
mes "[Riott]";
mes "Ah, you've brought me";
mes "some fresh eggs laid by";
@@ -579,7 +579,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{
mes "mine. Head spinning, head";
mes "spinning, head spinning...!''";
specialeffect2 EF_TALK_FROSTJOKE;
- delitem 574,5; //Egg
+ delitem Egg,5;
skill 1010,1,0;
qskill_bard = 9;
next;
@@ -638,12 +638,12 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{
mes "an avid collector of her work.";
next;
mes "[Riott]";
- if (countitem(574) > 0) {
+ if (countitem(Egg) > 0) {
mes "In the meanwhile,";
mes "I'll enjoy the few";
mes "eggs that you do have!";
mes "Bweh heh heh heh heh!";
- delitem 574,countitem(574); //Egg
+ delitem Egg,countitem(Egg);
}
qskill_bard = 8;
close;
@@ -1172,7 +1172,7 @@ morocc_in,175,70,7 script Customer#bard_skill02 1_M_04,{
//== Bartender =============================================
morocc_in,166,76,7 script Bartender#bard_qskill 1_ETC_01,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFHold it right there!";
mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
close;
@@ -1211,7 +1211,7 @@ morocc_in,166,76,7 script Bartender#bard_qskill 1_ETC_01,{
mes "careful, you'll pass out";
mes "in no time flat. Take it easy.";
Zeny -= 1000;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
close;
case 2:
@@ -1241,7 +1241,7 @@ morocc_in,166,76,7 script Bartender#bard_qskill 1_ETC_01,{
mes "enjoy your drinking";
mes "without going crazy.";
Zeny -= 1000;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
close;
case 3:
@@ -1254,7 +1254,7 @@ morocc_in,166,76,7 script Bartender#bard_qskill 1_ETC_01,{
//== Function ==============================================
function script F_BardSkillYhelle {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "^3355FFHold it right there!";
mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
close;
@@ -1276,7 +1276,7 @@ function script F_BardSkillYhelle {
mes "place where Yhelle the";
mes "Hen was roosting.^000000";
++qskill_bard;
- getitem 574,1; //Egg
+ getitem Egg,1;
}
}
else {
diff --git a/npc/quests/skills/blacksmith_skills.txt b/npc/quests/skills/blacksmith_skills.txt
index 537c2e61d..9ab4363f7 100644
--- a/npc/quests/skills/blacksmith_skills.txt
+++ b/npc/quests/skills/blacksmith_skills.txt
@@ -189,7 +189,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{
close;
}
else if (BLACK_SK == 1) {
- if (countitem(999) > 0 && countitem(1003) > 4 && countitem(971) > 0 && countitem(613) > 0) {
+ if (countitem(Steel) > 0 && countitem(Coal) > 4 && countitem(Detrimindexta) > 0 && countitem(Iron_Hammer) > 0) {
if (Zeny >= 500) {
mes "[Akkie]";
mes "Oh, you came back~";
@@ -205,10 +205,10 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{
mes "Alright, now please wait";
mes "while I get these materials";
mes "ready for forging, okay?";
- delitem 1003,5; //Coal
- delitem 999,1; //Steel
- delitem 971,1; //Detrimindexta
- delitem 613,1; //Iron_Hammer
+ delitem Coal,5;
+ delitem Steel,1;
+ delitem Detrimindexta,1;
+ delitem Iron_Hammer,1;
Zeny -= 500;
BLACK_SK = 2;
close;
@@ -293,7 +293,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{
close;
}
else if (BLACK_SK == 3) {
- if (countitem(999) > 0 && countitem(1003) > 2) {
+ if (countitem(Steel) > 0 && countitem(Coal) > 2) {
mes "[Akkie]";
mes "Oh, thank you so";
mes "much for bringing these";
@@ -301,8 +301,8 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{
mes "really hard to succeed";
mes "this time. Just give me";
mes "a minute to prepare...";
- delitem 999,1; //Steel
- delitem 1003,3; //Coal
+ delitem Steel,1;
+ delitem Coal,3;
BLACK_SK = 4;
close;
}
@@ -345,7 +345,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{
close;
}
else if (BLACK_SK == 5) {
- if (countitem(613) > 0) {
+ if (countitem(Iron_Hammer) > 0) {
mes "[Akkie]";
mes "^333333*Sniff*^000000 Did you";
mes "r-really bring this";
@@ -358,7 +358,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{
mes "give me a moment?";
mes "I'm going to try";
mes "one more time.";
- delitem 613,1; //Iron_Hammer
+ delitem Iron_Hammer,1;
BLACK_SK = 6;
close;
}
diff --git a/npc/quests/skills/crusader_skills.txt b/npc/quests/skills/crusader_skills.txt
index 45176af64..64f63b384 100644
--- a/npc/quests/skills/crusader_skills.txt
+++ b/npc/quests/skills/crusader_skills.txt
@@ -380,7 +380,7 @@ gef_fild13,297,242,3 script Soldier#277 4_M_CRU,{
close;
}
else if (CRUS_SK == 2) {
- if (countitem(501) > 0) {
+ if (countitem(Red_Potion) > 0) {
mes "["+ strcharinfo(0) +"]";
mes "Here, please take";
mes "this Red Potion.";
@@ -406,7 +406,7 @@ gef_fild13,297,242,3 script Soldier#277 4_M_CRU,{
mes "patrol report. Some of the";
mes "pages are smudged with";
mes "the blood from his wound.^000000";
- delitem 501,1; //Red_Potion
+ delitem Red_Potion,1;
CRUS_SK = 3;
close;
}
@@ -673,7 +673,7 @@ prt_church,87,127,3 script Pastor#1011 4_M_SAGE_C,{
close;
}
else if (CRUS_SK == 5) {
- if (countitem(514) > 0 && countitem(619) > 0 && countitem(1003) > 0 && countitem(7053) > 2 && countitem(713) > 2 && countitem(909) > 4 && countitem(938) > 19) {
+ if (countitem(Grape) > 0 && countitem(Unripe_Apple) > 0 && countitem(Coal) > 0 && countitem(Cyfar) > 2 && countitem(Empty_Bottle) > 2 && countitem(Jellopy) > 4 && countitem(Sticky_Mucus) > 19) {
mes "[Father Arthur]";
mes "Ah, you've returned.";
mes "Now let me check to";
@@ -703,13 +703,13 @@ prt_church,87,127,3 script Pastor#1011 4_M_SAGE_C,{
mes "to worry about collecting";
mes "materials again. Now, give";
mes "me a moment to distill this...";
- delitem 938,20; //Sticky_Mucus
- delitem 619,1; //Unripe_Apple
- delitem 909,5; //Jellopy
- delitem 514,1; //Grape
- delitem 1003,1; //Coal
- delitem 7053,3; //Cyfar
- delitem 713,3; //Empty_Bottle
+ delitem Sticky_Mucus,20;
+ delitem Unripe_Apple,1;
+ delitem Jellopy,5;
+ delitem Grape,1;
+ delitem Coal,1;
+ delitem Cyfar,3;
+ delitem Empty_Bottle,3;
CRUS_SK = 6;
close;
}
diff --git a/npc/quests/skills/dancer_skills.txt b/npc/quests/skills/dancer_skills.txt
index 6aac071ab..4c7107734 100644
--- a/npc/quests/skills/dancer_skills.txt
+++ b/npc/quests/skills/dancer_skills.txt
@@ -128,7 +128,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
close;
}
else if (DANCER_SK == 1) {
- if (countitem(747) > 0) {
+ if (countitem(Crystal_Mirror) > 0) {
mes "[Canell]";
mes "Finally, you've come";
mes "with the mirror. Now,";
@@ -171,7 +171,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
mes "sky rocketed. Fortunately,";
mes "you've managed to avoid";
mes "becoming a prima donna.^000000";
- delitem 747,1; //Crystal_Mirror
+ delitem Crystal_Mirror,1;
DANCER_SK = 2;
close;
}
@@ -512,7 +512,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 1_F_PRIEST,{
close;
}
else if (DANCER_SK == 5) {
- if (countitem(970) > 0 && countitem(512) > 0 && countitem(513) > 2 && countitem(538) > 4 && countitem(736) > 0) {
+ if (countitem(Alchol) > 0 && countitem(Apple) > 0 && countitem(Banana) > 2 && countitem(Well_Baked_Cookie) > 4 && countitem(White_Platter) > 0) {
mes "[Aelle]";
mes "Great, you've brought";
mes "the food! It's a good thing";
@@ -585,11 +585,11 @@ prontera,183,333,1 script Aelle#qsk_dan02 1_F_PRIEST,{
percentheal -10,0;
specialeffect2 EF_HIT2;
emotion e_dots,1;
- delitem 970,1; //Alchol
- delitem 512,1; //Apple
- delitem 513,3; //Banana
- delitem 538,5; //Well_Baked_Cookie
- delitem 736,1; //White_Platter
+ delitem Alchol,1;
+ delitem Apple,1;
+ delitem Banana,3;
+ delitem Well_Baked_Cookie,5;
+ delitem White_Platter,1;
DANCER_SK = 6;
close;
}
diff --git a/npc/quests/skills/hunter_skills.txt b/npc/quests/skills/hunter_skills.txt
index 4bd9e56ee..dd0ff503b 100644
--- a/npc/quests/skills/hunter_skills.txt
+++ b/npc/quests/skills/hunter_skills.txt
@@ -102,7 +102,7 @@ pay_arche,109,169,3 script Arpesto 4_M_05,{
}
}
else if (qskill_hunter == 1) {
- if (countitem(724) > 4 && countitem(7115) > 4 && countitem(537) > 29) {
+ if (countitem(Cardinal_Jewel_) > 4 && countitem(Harpy's_Feather) > 4 && countitem(Pet_Food) > 29) {
mes "[Arpesto]";
mes "Hm? You're back?";
mes "Oh, did you bring";
@@ -221,9 +221,9 @@ pay_arche,109,169,3 script Arpesto 4_M_05,{
mes "care of him, so just make";
mes "sure you make good use";
mes "of that new skill. Take care~";
- delitem 724,5; //Cardinal_Jewel_
- delitem 7115,5; //Harpy's_Feather
- delitem 537,30; //Pet_Food
+ delitem Cardinal_Jewel_,5;
+ delitem Harpy's_Feather,5;
+ delitem Pet_Food,30;
qskill_hunter = 100;
skill "HT_PHANTASMIC",1,0;
close;
diff --git a/npc/quests/skills/knight_skills.txt b/npc/quests/skills/knight_skills.txt
index 583ca8a42..164fc0155 100644
--- a/npc/quests/skills/knight_skills.txt
+++ b/npc/quests/skills/knight_skills.txt
@@ -146,7 +146,7 @@ prt_in,85,99,3 script Knight#kabuto 4_M_JOB_KNIGHT2,{
mes "strength and courage!";
close;
}
- if (KNGT_SK == 7 && countitem(530) > 4 && countitem(748) > 2) {
+ if (KNGT_SK == 7 && countitem(Candy_Striper) > 4 && countitem(Witherless_Rose) > 2) {
mes "[Essofeit]";
mes "The concept of honor";
mes "seems to be lost on today's";
@@ -201,8 +201,8 @@ prt_in,85,99,3 script Knight#kabuto 4_M_JOB_KNIGHT2,{
mes "been researching recently. Why";
mes "don't you come back after I've";
mes "completed the preparations?";
- delitem 530,5; //Candy_Striper
- delitem 748,3; //Witherless_Rose
+ delitem Candy_Striper,5;
+ delitem Witherless_Rose,3;
KNGT_SK = 8;
close;
}
diff --git a/npc/quests/skills/mage_skills.txt b/npc/quests/skills/mage_skills.txt
index 99b5e2696..ef94b978f 100644
--- a/npc/quests/skills/mage_skills.txt
+++ b/npc/quests/skills/mage_skills.txt
@@ -116,7 +116,7 @@ geffen_in,151,119,4 script Great Wizard 1_M_WIZARD,{
mes "I have nothing more to teach you ...";
close;
}
- if ((countitem(746) > 2) && (countitem(730) > 0) && (countitem(935) > 4) && (countitem(943) > 0) && (JobLevel > 34 || (BaseJob == Job_Wizard || BaseJob == Job_Sage)) && (BaseClass == Job_Mage)) {
+ if ((countitem(Glass_Bead) > 2) && (countitem(Crystal_Jewel) > 0) && (countitem(Shell) > 4) && (countitem(Solid_Shell) > 0) && (JobLevel > 34 || (BaseJob == Job_Wizard || BaseJob == Job_Sage)) && (BaseClass == Job_Mage)) {
mes "[BLIZZARDRISS]";
mes "Okay, I have received your request.";
mes "I will now awaken your hidden energies . .";
@@ -138,10 +138,10 @@ geffen_in,151,119,4 script Great Wizard 1_M_WIZARD,{
mes ". . . . . . . . . . . .";
mes "ENERGY COAT! ! !";
next;
- delitem 746,3; //Glass_Bead
- delitem 730,1; //Crystal_Jewel
- delitem 935,5; //Shell
- delitem 943,1; //Solid_Shell
+ delitem Glass_Bead,3;
+ delitem Crystal_Jewel,1;
+ delitem Shell,5;
+ delitem Solid_Shell,1;
skill "MG_ENERGYCOAT",1,0;
mes "[BLIZZARDRISS]";
mes ". . . . .";
diff --git a/npc/quests/skills/merchant_skills.txt b/npc/quests/skills/merchant_skills.txt
index 7cab246a1..3a4575899 100644
--- a/npc/quests/skills/merchant_skills.txt
+++ b/npc/quests/skills/merchant_skills.txt
@@ -86,7 +86,7 @@ alberta,83,96,5 script Necko 4W_M_02,7,7,{
mes "Kyukwakakakakakakakakakaka!";
close;
}
- else if ((countitem(722) > 6) && (countitem(532) > 0) && (countitem(921) > 49) && (JobLevel >= 15 || (BaseJob == Job_Blacksmith || BaseJob == Job_Alchemist))) {
+ else if ((countitem(Scarlet_Jewel) > 6) && (countitem(Banana_Juice) > 0) && (countitem(Mushroom_Spore) > 49) && (JobLevel >= 15 || (BaseJob == Job_Blacksmith || BaseJob == Job_Alchemist))) {
mes "[Necko]";
mes "Oh! You!";
mes "You are qualified to learn how to shout!";
@@ -100,9 +100,9 @@ alberta,83,96,5 script Necko 4W_M_02,7,7,{
mes "That's the spirit!";
mes "Here we go!";
next;
- delitem 722,7; //Scarlet_Jewel
- delitem 532,1; //Banana_Juice
- delitem 921,50; //Mushroom_Spore
+ delitem Scarlet_Jewel,7;
+ delitem Banana_Juice,1;
+ delitem Mushroom_Spore,50;
skill "MC_LOUD",1,0;
mes "[Necko]";
mes "You have learned Crazy Uproar!!";
@@ -238,15 +238,15 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
next;
switch (select("That's why I came here.:What about my cart?:Two pairs is pitiful?")) {
case 1:
- if ((countitem(1019) > 49) && (countitem(998) > 9) && (countitem(919) > 19)) {
+ if ((countitem(Wooden_Block) > 49) && (countitem(Iron) > 9) && (countitem(Animal's_Skin) > 19)) {
mes "[Charlron]";
mes "Haha! Ok, ok!";
mes "With the things you brought";
mes "I will change your cart.";
next;
- delitem 1019,50; //Wooden_Block
- delitem 998,10; //Iron
- delitem 919,20; //Animal's_Skin
+ delitem Wooden_Block,50;
+ delitem Iron,10;
+ delitem Animal's_Skin,20;
skill "MC_CHANGECART",1,0;
mes "[Charlron]";
mes "Congratulations.";
@@ -384,7 +384,7 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
case 1:
.@care_random = rand(1,3);
if (.@care_random == 1) {
- if ((countitem(533) > 1) && (countitem(998) > 19) && (countitem(938) > 29) && (countitem(601) > 19) && (countitem(962) > 4)) {
+ if ((countitem(Grape_Juice) > 1) && (countitem(Iron) > 19) && (countitem(Sticky_Mucus) > 29) && (countitem(Wing_Of_Fly) > 19) && (countitem(Tentacle) > 4)) {
mes "[Gershaun]";
mes "Hoho!";
mes "Got it! I shall teach you";
@@ -395,11 +395,11 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
mes "I shall reward those who";
mes "eagerly swing their carts!";
next;
- delitem 533,2; //Grape_Juice
- delitem 998,20; //Iron
- delitem 938,30; //Sticky_Mucus
- delitem 601,20; //Wing_Of_Fly
- delitem 962,5; //Tentacle
+ delitem Grape_Juice,2;
+ delitem Iron,20;
+ delitem Sticky_Mucus,30;
+ delitem Wing_Of_Fly,20;
+ delitem Tentacle,5;
skill "MC_CARTREVOLUTION",1,0;
mes "Now you can use Cart Revolution";
mes "I expect you to make merchants";
@@ -410,13 +410,13 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
mes "Have a great day!!";
close;
}
- else if (countitem(532) > 0) {
+ else if (countitem(Banana_Juice) > 0) {
mes "[Gershaun]";
mes "Ooh!";
mes "It's banana juice!";
mes "Thank you very much!";
mes "...............Kaah!";
- delitem 532,1; //Banana_Juice
+ delitem Banana_Juice,1;
mes "Very refreshing! Thank you! Goodbye!";
next;
mes "[Gershaun]";
@@ -456,7 +456,7 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
close;
}
if (.@care_random == 2) {
- if ((countitem(533) > 1) && (countitem(998) > 14) && (countitem(938) > 24) && (countitem(601) > 14) && (countitem(962) > 4)) {
+ if ((countitem(Grape_Juice) > 1) && (countitem(Iron) > 14) && (countitem(Sticky_Mucus) > 24) && (countitem(Wing_Of_Fly) > 14) && (countitem(Tentacle) > 4)) {
mes "[Gershaun]";
mes "Mmm that's good!";
mes "Great! I shall teach you";
@@ -467,11 +467,11 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
mes "I shall reward those who";
mes "eagerly swing their carts!";
next;
- delitem 533,2; //Grape_Juice
- delitem 998,15; //Iron
- delitem 938,25; //Sticky_Mucus
- delitem 601,15; //Wing_Of_Fly
- delitem 962,5; //Tentacle
+ delitem Grape_Juice,2;
+ delitem Iron,15;
+ delitem Sticky_Mucus,25;
+ delitem Wing_Of_Fly,15;
+ delitem Tentacle,5;
skill "MC_CARTREVOLUTION",1,0;
mes "Now you can use Cart Revolution";
mes "I expect you to make merchants";
@@ -482,13 +482,13 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
mes "Have a good day!!";
close;
}
- else if (countitem(532) > 0) {
+ else if (countitem(Banana_Juice) > 0) {
mes "[Gershaun]";
mes "Ooh!";
mes "It's banana juice!";
mes "Thanks a lot!";
mes "...............Kaaah!";
- delitem 532,1; //Banana_Juice
+ delitem Banana_Juice,1;
mes "Very good! Thank you! Good-bye!";
next;
mes "[Gershaun]";
@@ -529,7 +529,7 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
close;
}
if (.@care_random == 3) {
- if ((countitem(533) > 1) && (countitem(998) > 22) && (countitem(938) > 31) && (countitem(601) > 22) && (countitem(962) > 5)) {
+ if ((countitem(Grape_Juice) > 1) && (countitem(Iron) > 22) && (countitem(Sticky_Mucus) > 31) && (countitem(Wing_Of_Fly) > 22) && (countitem(Tentacle) > 5)) {
mes "[Gershaun]";
mes "Mmm that's good!";
mes "Great! I shall teach you";
@@ -540,11 +540,11 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
mes "I shall reward those who";
mes "eagerly swing their carts!";
next;
- delitem 533,2; //Grape_Juice
- delitem 998,23; //Iron
- delitem 938,32; //Sticky_Mucus
- delitem 601,23; //Wing_Of_Fly
- delitem 962,6; //Tentacle
+ delitem Grape_Juice,2;
+ delitem Iron,23;
+ delitem Sticky_Mucus,32;
+ delitem Wing_Of_Fly,23;
+ delitem Tentacle,6;
skill "MC_CARTREVOLUTION",1,0;
mes "Now you can use Cart Revolution";
mes "I expect you to make merchants";
@@ -555,13 +555,13 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{
mes "Have a good day!!";
close;
}
- else if (countitem(532) > 0) {
+ else if (countitem(Banana_Juice) > 0) {
mes "[Gershaun]";
mes "Ooh!";
mes "It's Banana Juice!";
mes "Thanks a lot!";
mes "...............Kaaah!";
- delitem 532,1; //Banana_Juice
+ delitem Banana_Juice,1;
mes "Very good! Thank you! Good-bye!";
next;
mes "[Gershaun]";
diff --git a/npc/quests/skills/monk_skills.txt b/npc/quests/skills/monk_skills.txt
index e3b38cf4c..c494511bd 100644
--- a/npc/quests/skills/monk_skills.txt
+++ b/npc/quests/skills/monk_skills.txt
@@ -286,7 +286,7 @@ monk_test,316,69,5 script Monk#qsk_mo 4_M_CHNMONK,{
mes "for now, my friend.";
close;
}
- if (MONK_SK == 4 && countitem(905) > 19 && countitem(711) > 2) {
+ if (MONK_SK == 4 && countitem(Stem) > 19 && countitem(Shoot) > 2) {
mes "[Monk]";
mes "What's that...?";
mes "You've learned the";
@@ -301,8 +301,8 @@ monk_test,316,69,5 script Monk#qsk_mo 4_M_CHNMONK,{
mes "good number of Mandragoras.";
mes "All right. You seem to be ready. Come back in a little while so";
mes "that I can finish preparations.";
- delitem 905,20; //Stem
- delitem 711,3; //Shoot
+ delitem Stem,20;
+ delitem Shoot,3;
MONK_SK = 5;
close;
}
diff --git a/npc/quests/skills/priest_skills.txt b/npc/quests/skills/priest_skills.txt
index 41a8919eb..858eaa3d1 100644
--- a/npc/quests/skills/priest_skills.txt
+++ b/npc/quests/skills/priest_skills.txt
@@ -283,7 +283,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
}
else if (PRIEST_SK == 2) {
if (getskilllv("ALL_RESURRECTION") > 0) {
- if (countitem(523) > 29 && countitem(717) > 19) {
+ if (countitem(Holy_Water) > 29 && countitem(Blue_Gemstone) > 19) {
mes "[Sister Linus]";
mes "Ooh, it seems like you've";
mes "brought everything that you";
@@ -328,8 +328,8 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
mes "Please remember to only";
mes "use this skill in the most";
mes "critical situations.";
- delitem 717,20; //Blue_Gemstone
- delitem 523,30; //Holy_Water
+ delitem Blue_Gemstone,20;
+ delitem Holy_Water,30;
PRIEST_SK = 100;
skill "PR_REDEMPTIO",1,0;
close;
@@ -343,8 +343,8 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
mes "I'll be waiting right here,";
mes "so we can try again when";
mes "you're ready, okay?";
- delitem 717,1; //Blue_Gemstone
- delitem 523,1; //Holy_Water
+ delitem Blue_Gemstone,1;
+ delitem Holy_Water,1;
close;
}
diff --git a/npc/quests/skills/sage_skills.txt b/npc/quests/skills/sage_skills.txt
index 0978a9534..ff98e2d78 100644
--- a/npc/quests/skills/sage_skills.txt
+++ b/npc/quests/skills/sage_skills.txt
@@ -266,7 +266,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{
close;
}
else if(SAG_SK == 1) {
- if (countitem(904) < 10 || countitem(947) < 7 || countitem(1013) < 12 || countitem(946) < 10 || countitem(7433) < 4) {
+ if (countitem(Scorpion's_Tail) < 10 || countitem(Horn) < 7 || countitem(Colorful_Shell) < 12 || countitem(Snail's_Shell) < 10 || countitem(Scroll) < 4) {
mes "[Mishuna]";
mes "Hm, you still haven't";
mes "gathered all of the materials";
@@ -333,11 +333,11 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{
mes "Creation skill by reviewing";
mes "your copy of Barmundt's scroll.^000000";
specialeffect2 EF_ABSORBSPIRITS;
- delitem 904,10; // Scorpion_Tail
- delitem 947,7; // Horn
- delitem 1013,12; // Rainbow_Shell
- delitem 946,10; // Snail's_Shell
- delitem 7433,4; // Blank_Scroll
+ delitem Scorpion's_Tail,10; // Scorpion_Tail
+ delitem Horn,7; // Horn
+ delitem Colorful_Shell,12; // Rainbow_Shell
+ delitem Snail's_Shell,10; // Snail's_Shell
+ delitem Scroll,4; // Blank_Scroll
SAG_SK = 2;
skill "SA_CREATECON",1,0;
next;
@@ -421,7 +421,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{
setarray .@ReqItem$[0],"Red Bloods","Green Lives","Wind of Verdure","Crystal Blues";
setarray .@skill[0],1018,1017,1019,1008;
setarray .@skill$[0],"Fire","Earth","Wind","Water";
- if (countitem(.@ReqItem[.@i]) < 20 || countitem(1089) < 1 || countitem(1088) < 1) {
+ if (countitem(.@ReqItem[.@i]) < 20 || countitem(Payon_Potion) < 1 || countitem(Morocc_Potion) < 1) {
mes "[Mishuna]";
mes "Are you having trouble";
mes "gathering all the required";
@@ -472,8 +472,8 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{
mes "@#$%^~ Yap!";
specialeffect2 EF_BRANDISHSPEAR;
delitem .@ReqItem[.@i],20;
- delitem 1089,1; // Payon Potion
- delitem 1088,1; // Morocc Potion
+ delitem Payon_Potion,1; // Payon Potion
+ delitem Morocc_Potion,1; // Morocc Potion
SAG_SK = 100;
skill .@skill[.@i],1,0;
next;
diff --git a/npc/quests/skills/swordman_skills.txt b/npc/quests/skills/swordman_skills.txt
index e66043bef..ffecc8311 100644
--- a/npc/quests/skills/swordman_skills.txt
+++ b/npc/quests/skills/swordman_skills.txt
@@ -116,7 +116,7 @@ izlude_in,118,175,4 script Knight De Thomas 4W_M_02,{
next;
switch (select("Yes.:No, I'm not ready yet.")) {
case 1:
- if ((JobLevel > 34 || (BaseJob == Job_Knight || BaseJob == Job_Crusader)) && (countitem(713) > 199) && (countitem(1058) > 0)) {
+ if ((JobLevel > 34 || (BaseJob == Job_Knight || BaseJob == Job_Crusader)) && (countitem(Empty_Bottle) > 199) && (countitem(Wing_Of_Moth) > 0)) {
mes "[De Thomas]";
mes "Let's see.....";
next;
@@ -124,8 +124,8 @@ izlude_in,118,175,4 script Knight De Thomas 4W_M_02,{
mes "Ok! I shall now teach you...";
mes "...The Body Movin' skill!";
next;
- delitem 713,200; //Empty_Bottle
- delitem 1058,1; //Wing_Of_Moth
+ delitem Empty_Bottle,200;
+ delitem Wing_Of_Moth,1;
skill "SM_MOVINGRECOVERY",1,0;
sm_movingrecovery_x = 2;
mes "[De Thomas]";
@@ -145,7 +145,7 @@ izlude_in,118,175,4 script Knight De Thomas 4W_M_02,{
mes "Come back when it is.";
close;
}
- else if ((countitem(713) < 200) || (countitem(1058) < 1)) {
+ else if ((countitem(Empty_Bottle) < 200) || (countitem(Wing_Of_Moth) < 1)) {
mes "[De Thomas]";
mes "You do not have all the items I asked for.";
next;
@@ -186,7 +186,7 @@ prt_in,75,88,5 script Leon Von Frich 4_M_03,3,3,{
mes "Be careful! Hahaha!";
close;
}
- else if ((countitem(1752) > 9) && (countitem(1751) > 9) && (countitem(532) > 0) && (countitem(962) > 29) && (countitem(526) > 4)) {
+ else if ((countitem(Fire_Arrow) > 9) && (countitem(Silver_Arrow) > 9) && (countitem(Banana_Juice) > 0) && (countitem(Tentacle) > 29) && (countitem(Royal_Jelly) > 4)) {
mes "[Leon]";
mes "Ooh! You are more than ready";
mes "to learn Fatal Blow!";
@@ -197,11 +197,11 @@ prt_in,75,88,5 script Leon Von Frich 4_M_03,3,3,{
mes "[Leon]";
mes "OK, lets begin!";
next;
- delitem 1752,10; //Fire_Arrow
- delitem 1751,10; //Silver_Arrow
- delitem 532,1; //Banana_Juice
- delitem 962,30; //Tentacle
- delitem 526,5; //Royal_Jelly
+ delitem Fire_Arrow,10;
+ delitem Silver_Arrow,10;
+ delitem Banana_Juice,1;
+ delitem Tentacle,30;
+ delitem Royal_Jelly,5;
skill "SM_FATALBLOW",1,0;
mes "[Leon]";
mes "Success!";
@@ -353,7 +353,7 @@ prt_in,94,57,3 script Juan 4_M_03,4,4,{
mes "You can be on your way. (smiley~)";
close;
}
- else if ((countitem(924) > 34) && (countitem(958) > 9) && (countitem(957) > 9) && (countitem(518) > 9)) {
+ else if ((countitem(Powder_Of_Butterfly) > 34) && (countitem(Horrendous_Mouth) > 9) && (countitem(Decayed_Nail) > 9) && (countitem(Honey) > 9)) {
mes "[Juan]";
mes "Ooh. Young swordsman!";
mes "You are ready to learn the";
@@ -364,10 +364,10 @@ prt_in,94,57,3 script Juan 4_M_03,4,4,{
mes "[Juan]";
mes "Ok. Then...";
next;
- delitem 924,35; //Powder_Of_Butterfly
- delitem 958,10; //Horrendous_Mouth
- delitem 957,10; //Decayed_Nail
- delitem 518,10; //Honey
+ delitem Powder_Of_Butterfly,35;
+ delitem Horrendous_Mouth,10;
+ delitem Decayed_Nail,10;
+ delitem Honey,10;
skill "SM_AUTOBERSERK",1,0;
mes "[Juan]";
mes "You have just become a swordsman";
diff --git a/npc/quests/skills/thief_skills.txt b/npc/quests/skills/thief_skills.txt
index 464657f3e..6aa7e452c 100644
--- a/npc/quests/skills/thief_skills.txt
+++ b/npc/quests/skills/thief_skills.txt
@@ -53,7 +53,7 @@ moc_prydb1,154,128,4 script Alcouskou 2_M_THIEFMASTER,{
case 1:
switch (skill_thief_1) {
case 0:
- if ((countitem(7041) > 4) && ((JobLevel > 24) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) {
+ if ((countitem(Fine_Grit) > 4) && ((JobLevel > 24) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) {
mes "[Alcouskou]";
mes "Luckily, you have brought some";
mes "sand with you. It is very important";
@@ -82,7 +82,7 @@ moc_prydb1,154,128,4 script Alcouskou 2_M_THIEFMASTER,{
mes "return. Find RuRumuni in";
mes "west Payon. That is where I";
mes "heard he is these days.";
- delitem 7041,5; //Fine_Grit
+ delitem Fine_Grit,5;
skill_thief_1 = 1;
close;
}
@@ -170,12 +170,12 @@ moc_prydb1,154,128,4 script Alcouskou 2_M_THIEFMASTER,{
mes "that I can teach you.";
mes "I hope that this skill will";
mes "aid you in the future. -";
- delitem 7042,1; //Leather_Bag_Of_Infinity
+ delitem Leather_Bag_Of_Infinity,1;
skill "TF_SPRINKLESAND",1,0;
close;
}
case 2:
- if ((countitem(940) > 19) && ((JobLevel > 34) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) {
+ if ((countitem(Grasshopper's_Leg) > 19) && ((JobLevel > 34) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) {
mes "[Alcouskou]";
mes "Okay! Let's practice!";
next;
@@ -192,7 +192,7 @@ moc_prydb1,154,128,4 script Alcouskou 2_M_THIEFMASTER,{
mes "Great! -At this level,";
mes "I am sure you can increase";
mes "your skill on your own.";
- delitem 940,20; //Grasshopper's_Leg
+ delitem Grasshopper's_Leg,20;
skill "TF_BACKSLIDING",1,0;
close;
}
@@ -252,7 +252,7 @@ moc_prydb1,154,128,4 script Alcouskou 2_M_THIEFMASTER,{
mes "If not, I cannot teach you.";
close;
case 3:
- if ((countitem(912) > 0) && (countitem(948) > 0) && (countitem(908) > 4) && ((JobLevel > 19) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) {
+ if ((countitem(Zargon) > 0) && (countitem(Bear's_Foot) > 0) && (countitem(Spawn) > 4) && ((JobLevel > 19) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) {
mes "[Alcouskou]";
mes "Wow, you have already prepared?";
mes "Great, I see promise in you. -";
@@ -282,9 +282,9 @@ moc_prydb1,154,128,4 script Alcouskou 2_M_THIEFMASTER,{
mes "practice on your own time.";
mes "I hope it aids you in the future.";
mes ". . . . . Hope to see you soon";
- delitem 912,1; //Zargon
- delitem 948,1; //Bear's_Foot
- delitem 908,5; //Spawn
+ delitem Zargon,1;
+ delitem Bear's_Foot,1;
+ delitem Spawn,5;
skill "TF_PICKSTONE",1,0;
close;
}
@@ -342,7 +342,7 @@ moc_prydb1,154,128,4 script Alcouskou 2_M_THIEFMASTER,{
mes "Retrieve these items by any means you see fit.";
close;
case 4:
- if ((countitem(910) > 1) && (countitem(911) > 1) && ((JobLevel > 14) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) {
+ if ((countitem(Garlet) > 1) && (countitem(Scell) > 1) && ((JobLevel > 14) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) {
mes "[Alcouskou]";
mes "Wow! Have you already gathered the items!";
mes "Very well, do you wish to begin?";
@@ -365,8 +365,8 @@ moc_prydb1,154,128,4 script Alcouskou 2_M_THIEFMASTER,{
mes "to it. How you use it in";
mes "the future is up to you ..";
mes "I wish you luck!";
- delitem 910,2; //Garlet
- delitem 911,2; //Scell
+ delitem Garlet,2;
+ delitem Scell,2;
skill "TF_THROWSTONE",1,0;
close;
}
@@ -474,7 +474,7 @@ payon,91,77,3 script Bag Seller 4W_M_03,{
mes "They visit my store often.";
close;
case 1:
- if ((countitem(952) > 0) && (countitem(1055) > 0) && (countitem(1025) > 0)) {
+ if ((countitem(Cactus_Needle) > 0) && (countitem(Earthworm_Peeling) > 0) && (countitem(Spiderweb) > 0)) {
mes "[RuRumuni]";
mes "Ahhh... You have come for a leather bag.";
mes "Very good, very good.";
@@ -490,11 +490,11 @@ payon,91,77,3 script Bag Seller 4W_M_03,{
mes "If you take him this, he will";
mes "teach you the skill that you ";
mes "wish to learn.";
- delitem 952,1; //Cactus_Needle
- delitem 1055,1; //Earthworm_Peeling
- delitem 1025,1; //Spiderweb
+ delitem Cactus_Needle,1;
+ delitem Earthworm_Peeling,1;
+ delitem Spiderweb,1;
skill_thief_1 = 2;
- getitem 7042,1; //Leather_Bag_Of_Infinity
+ getitem Leather_Bag_Of_Infinity,1;
close;
}
mes "[RuRumuni]";
diff --git a/npc/quests/skills/wizard_skills.txt b/npc/quests/skills/wizard_skills.txt
index b774094c5..30bc596a0 100644
--- a/npc/quests/skills/wizard_skills.txt
+++ b/npc/quests/skills/wizard_skills.txt
@@ -240,7 +240,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{
close;
}
else if (WIZ_SK == 3) {
- if (countitem(991) < 10 || countitem(993) < 10 || countitem(990) < 10 || countitem(992) < 10) {
+ if (countitem(Crystal_Blue) < 10 || countitem(Yellow_Live) < 10 || countitem(Boody_Red) < 10 || countitem(Wind_Of_Verdure) < 10) {
mes "[Meow]";
mes "^333333*Yaaaaaawn~*^000000 Hm?";
mes "H-how dare you come";
@@ -312,10 +312,10 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{
mes "That took way too much effort,";
mes "but at least we're done here.";
specialeffect2 EF_ABSORBSPIRITS;
- delitem 991,10; //Crystal_Blue
- delitem 993,10; //Yellow_Live
- delitem 990,10; //Boody_Red
- delitem 992,10; //Wind_Of_Verdure
+ delitem Crystal_Blue,10;
+ delitem Yellow_Live,10;
+ delitem Boody_Red,10;
+ delitem Wind_Of_Verdure,10;
WIZ_SK = 100;
skill "WZ_SIGHTBLASTER",1,0;
next;
diff --git a/npc/quests/thana_quest.txt b/npc/quests/thana_quest.txt
index adac001fb..b33afe9b0 100644
--- a/npc/quests/thana_quest.txt
+++ b/npc/quests/thana_quest.txt
@@ -833,7 +833,7 @@ tha_t02,231,161,5 script Entrance Guide 4_M_ZONDAMAN,{
thana_tower = 10;
completequest 7053;
getexp 120000,10000;
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
close;
}
else {
@@ -909,7 +909,7 @@ OnTimer30000:
}
tha_t03,67,70,0 script Rune Device#tt1 HIDDEN_NPC,4,4,{
- if ((countitem(7421) == 0) && (countitem(7426) == 0)) {
+ if ((countitem(Key_Red) == 0) && (countitem(Magic_Gem_Red) == 0)) {
mes "^3355FFA mysterious field of";
mes "energy seems to surround";
mes "the mechanical device and";
@@ -961,7 +961,7 @@ tha_t03,67,70,0 script Rune Device#tt1 HIDDEN_NPC,4,4,{
close;
OnTouch:
- if ((countitem(7421) == 0) && (countitem(7426) == 0))
+ if ((countitem(Key_Red) == 0) && (countitem(Magic_Gem_Red) == 0))
specialeffect EF_LEVEL99_4;
end;
@@ -972,7 +972,7 @@ L_Key:
mes "and you see that a red object inside was the origin of the magical power.";
next;
mes "- You acquired the powerful Red Key. -";
- getitem 7421,1; //Key_Red
+ getitem Key_Red,1;
if (thana_tower != 4) close;
mes "^4d4dffOnce you hold the key, a shocking feeling passes through your head.";
mes "You see an illusion of light...^000000";
@@ -1027,7 +1027,7 @@ L_Key:
}
tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{
- if ((countitem(7422) == 0) && (countitem(7427) == 0)) {
+ if ((countitem(Key_Yellow) == 0) && (countitem(Magic_Gem_Yellow) == 0)) {
mes "^3355FFYou find a screen";
mes "with three tiny panels and";
mes "a numeric keypad underneath.";
@@ -1102,7 +1102,7 @@ tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{
mes "surface. An object forms...^000000";
next;
mes "^4d4dffThe powerful Yellow Key appears.^000000";
- getitem 7422,1; //Key_Yellow
+ getitem Key_Yellow,1;
if (thana_tower != 5) close;
mes "^4d4dffA fierce feeling passes through your head.";
mes "You seen an illusion of light, like when you acquired the first key.^000000";
@@ -1172,13 +1172,13 @@ tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{
close;
OnTouch:
- if ((countitem(7422) == 0) && (countitem(7427) == 0))
+ if ((countitem(Key_Yellow) == 0) && (countitem(Magic_Gem_Yellow) == 0))
specialeffect EF_LEVEL99_4;
end;
}
tha_t05,62,179,0 script Brilliant Statue#tt3 HIDDEN_NPC,3,3,{
- if ((countitem(7423) == 0) && (countitem(7428) == 0)) {
+ if ((countitem(Key_Blue) == 0) && (countitem(Magic_Gem_Blue) == 0)) {
mes "I can feel some magical power from this beautiful stone statue.";
mes "There's a little crack between the wings.";
next;
@@ -1190,7 +1190,7 @@ tha_t05,62,179,0 script Brilliant Statue#tt3 HIDDEN_NPC,3,3,{
mes "the statue alone.^000000";
close;
}
- if ((countitem(7421) > 0) && (countitem(7422) > 0)) {
+ if ((countitem(Key_Red) > 0) && (countitem(Key_Yellow) > 0)) {
mes "["+strcharinfo(0)+"]";
mes "I'll try the left wing first.";
mes "What key should I put in?";
@@ -1216,7 +1216,7 @@ tha_t05,62,179,0 script Brilliant Statue#tt3 HIDDEN_NPC,3,3,{
mes "There's a key-shaped object inside...";
next;
mes "^4d4dffThe powerful Blue Key appears.^000000";
- getitem 7423,1; //Key_Blue
+ getitem Key_Blue,1;
if (thana_tower != 6) close;
mes "^4d4dffOnce you hold the key, a shocking feeling passes through your head.";
mes "You see an illusion of light...^000000";
@@ -1257,13 +1257,13 @@ tha_t05,62,179,0 script Brilliant Statue#tt3 HIDDEN_NPC,3,3,{
close;
OnTouch:
- if ((countitem(7423) == 0) && (countitem(7428) == 0))
+ if ((countitem(Key_Blue) == 0) && (countitem(Magic_Gem_Blue) == 0))
specialeffect EF_LEVEL99_4;
end;
}
tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
- if ((countitem(7424) == 0) && (countitem(7429) == 0)) {
+ if ((countitem(Key_Green) == 0) && (countitem(Magic_Gem_Green) == 0)) {
mes "I can feel some magical power from this brilliant statue.";
mes "This must be one of the seals.";
next;
@@ -1277,7 +1277,7 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
mes "peculiar or out of place...^000000";
close;
}
- if ((countitem(7421) > 0) && (countitem(7422) > 0) && (countitem(7423) > 0)) {
+ if ((countitem(Key_Red) > 0) && (countitem(Key_Yellow) > 0) && (countitem(Key_Blue) > 0)) {
mes "When you insert the key into the keyhole of the ornament";
mes "and match them by corresponding color, the Stone Statue will snap open.";
mes "You can see small wheels are moving inside.";
@@ -1461,7 +1461,7 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
specialeffect EF_POTION6;
next;
mes "^4d4dffAll of a sudden, the Green Key appears and you can feel great power from it.^000000";
- getitem 7424,1; //Key_Green
+ getitem Key_Green,1;
if (thana_tower != 7) close;
mes "^4d4dffWhen you pick up the key,";
mes "your body trembles";
@@ -1529,17 +1529,17 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
close;
OnTouch:
- if ((countitem(7424) == 0) && (countitem(7429) == 0))
+ if ((countitem(Key_Green) == 0) && (countitem(Magic_Gem_Green) == 0))
specialeffect EF_LEVEL99_4;
end;
}
tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{
- if ((countitem(7425) == 0) && (countitem(7430) == 0)) {
+ if ((countitem(Key_Black) == 0) && (countitem(Magic_Gem_Black) == 0)) {
mes "An old, worn sword hangs above the splendid table.";
mes "It emits a gloomy aura.";
next;
- if ((countitem(7421) > 0) && (countitem(7422) > 0) && (countitem(7423) > 0) && (countitem(7424) > 0)) {
+ if ((countitem(Key_Red) > 0) && (countitem(Key_Yellow) > 0) && (countitem(Key_Blue) > 0) && (countitem(Key_Green) > 0)) {
mes "As you approach, the keys in your pocket";
mes "suddenly respond with a mysterious power.";
specialeffect2 EF_ABSORBSPIRITS;
@@ -1583,7 +1583,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{
specialeffect EF_CHANGEDARK;
next;
mes "^4d4dff All of a sudden, a Black Key appears from the smoke and you feel a great cursed power from it.^000000";
- getitem 7425,1; //Key_Black
+ getitem Key_Black,1;
if (thana_tower != 8) close;
next;
mes "A drawer had snapped open under the table while you picked up the key and observed it.";
@@ -1596,7 +1596,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{
mes "You received Varmunt's Journal.^000000";
thana_tower = 9;
changequest 7052,7053;
- getitem 11011,1; //Barmund_Note
+ getitem Barmund_Note,1;
close;
case 3:
mes "When you lift the sword, you feel a shock from numerous conflicting spells.";
@@ -1619,7 +1619,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{
close;
OnTouch:
- if ((countitem(7425) == 0) && (countitem(7430) == 0))
+ if ((countitem(Key_Black) == 0) && (countitem(Magic_Gem_Black) == 0))
specialeffect EF_LEVEL99_4;
end;
}
@@ -1676,7 +1676,7 @@ OnTimer2400000:
}
tha_t08,90,153,0 script Shining Crystal#tt_r1 CLEAR_NPC,{
- if (countitem(7421) > 0) {
+ if (countitem(Key_Red) > 0) {
mes "The Crystal ball is emitting mysterious power.";
next;
mes "Beside the crystal ball, you find faded patterns marked on the floor.";
@@ -1689,8 +1689,8 @@ tha_t08,90,153,0 script Shining Crystal#tt_r1 CLEAR_NPC,{
mes "You feel isolated and depressed deep inside your heart...";
next;
mes "^4d4dffYou have found a Red Charm Stone that is concentrated with cruel fate and a deep darkness.^000000";
- delitem 7421,1; //Key_Red
- getitem 7426,1; //Magic_Gem_Red
+ delitem Key_Red,1;
+ getitem Magic_Gem_Red,1;
close;
}
mes "The Crystal ball is emitting mysterious power.";
@@ -1710,7 +1710,7 @@ tha_t08,49,59,0 duplicate(Shining Crystal#tt_r1) Shining Crystal#tt_r3 CLEAR_NPC
tha_t08,49,144,0 duplicate(Shining Crystal#tt_r1) Shining Crystal#tt_r4 CLEAR_NPC
tha_t08,49,153,0 script Shining Crystal#tt_y1 CLEAR_NPC,{
- if (countitem(7422) > 0) {
+ if (countitem(Key_Yellow) > 0) {
mes "The Crystal ball is emitting mysterious power.";
next;
mes "Beside the crystal ball, you find faded patterns marked on the floor.";
@@ -1723,8 +1723,8 @@ tha_t08,49,153,0 script Shining Crystal#tt_y1 CLEAR_NPC,{
mes "Your heart begins to throb as though you are suffering from a broken heart.";
next;
mes "^4d4dffYou have found a Yellow Charm Stone that is concentrated with grief and mysterious power.^000000";
- delitem 7422,1; //Key_Yellow
- getitem 7427,1; //Magic_Gem_Yellow
+ delitem Key_Yellow,1;
+ getitem Magic_Gem_Yellow,1;
close;
}
mes "The Crystal ball is emitting mysterious power.";
@@ -1744,7 +1744,7 @@ tha_t08,90,59,0 duplicate(Shining Crystal#tt_y1) Shining Crystal#tt_y3 CLEAR_NPC
tha_t08,49,56,0 duplicate(Shining Crystal#tt_y1) Shining Crystal#tt_y4 CLEAR_NPC
tha_t08,49,65,0 script Shining Crystal#tt_b1 CLEAR_NPC,{
- if (countitem(7423) > 0) {
+ if (countitem(Key_Blue) > 0) {
mes "The Crystal ball is emitting mysterious power.";
next;
mes "Beside the crystal ball, you find faded patterns marked on the floor.";
@@ -1757,8 +1757,8 @@ tha_t08,49,65,0 script Shining Crystal#tt_b1 CLEAR_NPC,{
mes "Someone's sobbing comes into your ears as you smell blood on the wind and suddenly you become angry.";
next;
mes "^4d4dffYou have found a Blue Charm Stone that is concentrated with grudge and mysterious power.^000000";
- delitem 7423,1; //Key_Blue
- getitem 7428,1; //Magic_Gem_Blue
+ delitem Key_Blue,1;
+ getitem Magic_Gem_Blue,1;
close;
}
mes "The Crystal ball is emitting mysterious power.";
@@ -1778,7 +1778,7 @@ tha_t08,90,147,0 duplicate(Shining Crystal#tt_b1) Shining Crystal#tt_b3 CLEAR_NP
tha_t08,90,56,0 duplicate(Shining Crystal#tt_b1) Shining Crystal#tt_b4 CLEAR_NPC
tha_t08,90,65,0 script Shining Crystal#tt_g1 CLEAR_NPC,{
- if (countitem(7424) > 0) {
+ if (countitem(Key_Green) > 0) {
mes "The Crystal ball is emitting mysterious power.";
next;
mes "Beside the crystal ball, you find faded patterns marked on the floor.";
@@ -1791,8 +1791,8 @@ tha_t08,90,65,0 script Shining Crystal#tt_g1 CLEAR_NPC,{
mes "Your head starts to ache and you feel worried and anxious about something.";
next;
mes "^4d4dffYou have found a Green Charm Stone that is concentrated with deep suffering.^000000";
- delitem 7424,1; //Key_Green
- getitem 7429,1; //Magic_Gem_Green
+ delitem Key_Green,1;
+ getitem Magic_Gem_Green,1;
close;
}
mes "The Crystal ball is emitting mysterious power.";
@@ -1813,7 +1813,7 @@ tha_t08,90,144,0 duplicate(Shining Crystal#tt_g1) Shining Crystal#tt_g4 CLEAR_NP
tha_t12,161,57,0 script Gold Religious Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 0) {
- if (countitem(7427) > 0) {
+ if (countitem(Magic_Gem_Yellow) > 0) {
mes "It's a statue giving off a golden light.";
mes "The sword appears to be missing a gem.";
mes "As I draw closer to the statue, the Yellow Charm Stone emits a bright light.";
@@ -1824,7 +1824,7 @@ tha_t12,161,57,0 script Gold Religious Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 0) {
mes "After inserting the Yellow Charm Stone into the sword, the statue begins to react.";
specialeffect EF_BEGINSPELL5;
- delitem 7427,1; //Magic_Gem_Yellow
+ delitem Magic_Gem_Yellow,1;
$@thana_summon = 1;
donpcevent "#tteffect01::OnEnable";
mapannounce "tha_t12","The golden magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
@@ -1843,7 +1843,7 @@ tha_t12,161,57,0 script Gold Religious Statue#tt HIDDEN_NPC,{
tha_t12,154,17,0 script Green Wiseman Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 1) {
- if (countitem(7429) > 0) {
+ if (countitem(Magic_Gem_Green) > 0) {
mes "A statue gives off green light.";
mes "The wiseman's wand seems to be missing a gem.";
mes "As I draw closer to the statue, the Green Charm Stone emits a bright light.";
@@ -1854,7 +1854,7 @@ tha_t12,154,17,0 script Green Wiseman Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 1) {
mes "After inserting the Green Charm Stone into the wand, the statue begins to react.";
specialeffect EF_BEGINSPELL4;
- delitem 7429,1; //Magic_Gem_Green
+ delitem Magic_Gem_Green,1;
$@thana_summon = 2;
donpcevent "#tteffect02::OnEnable";
mapannounce "tha_t12","The green magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
@@ -1873,7 +1873,7 @@ tha_t12,154,17,0 script Green Wiseman Statue#tt HIDDEN_NPC,{
tha_t12,103,17,0 script Blue Angel Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 2) {
- if (countitem(7428) > 0) {
+ if (countitem(Magic_Gem_Blue) > 0) {
mes "An angel statue is covered with a blue light.";
mes "A gem seems to be missing from the statue's belt.";
mes "As I draw closer to the statue, the Blue Charm Stone emits a bright light.";
@@ -1884,7 +1884,7 @@ tha_t12,103,17,0 script Blue Angel Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 2) {
mes "After inserting the Blue Charm Stone into the belt, the statue begins to react.";
specialeffect EF_BEGINSPELL2;
- delitem 7428,1; //Magic_Gem_Blue
+ delitem Magic_Gem_Blue,1;
$@thana_summon = 3;
donpcevent "#tteffect03::OnEnable";
mapannounce "tha_t12","The blue magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
@@ -1903,7 +1903,7 @@ tha_t12,103,17,0 script Blue Angel Statue#tt HIDDEN_NPC,{
tha_t12,96,57,0 script Bloody Knight Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 3) {
- if (countitem(7426) > 0) {
+ if (countitem(Magic_Gem_Red) > 0) {
mes "A statue is shining like blood.";
mes "A gem seems to be missing from the heart area of its armor.";
mes "As I draw closer to the statue, the Red Charm Stone emits a bright light.";
@@ -1914,7 +1914,7 @@ tha_t12,96,57,0 script Bloody Knight Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 3) {
mes "After inserting the Red Charm Stone into the armor, the statue begins to react.";
specialeffect EF_BEGINSPELL3;
- delitem 7426,1; //Magic_Gem_Red
+ delitem Magic_Gem_Red,1;
$@thana_summon = 4;
donpcevent "#tteffect04::OnEnable";
mapannounce "tha_t12","The red magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
@@ -1933,7 +1933,7 @@ tha_t12,96,57,0 script Bloody Knight Statue#tt HIDDEN_NPC,{
tha_t12,129,86,0 script Dark Devil Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 4) {
- if (countitem(7430) > 0) {
+ if (countitem(Magic_Gem_Black) > 0) {
mes "A devil statue emits dark light.";
mes "The right eye seems to be missing a gem.";
mes "As I draw closer to the statue, the Black Charm Stone emits a bright light.";
@@ -1944,7 +1944,7 @@ tha_t12,129,86,0 script Dark Devil Statue#tt HIDDEN_NPC,{
if ($@thana_summon == 4) {
mes "After inserting the Red Charm Stone into the eye socket, the statue begins to react.";
specialeffect EF_BEGINSPELL7;
- delitem 7430,1; //Magic_Gem_Black
+ delitem Magic_Gem_Black,1;
$@thana_summon = 5;
donpcevent "#gateto_thanatos::OnEnable";
donpcevent "#tteffect01::OnStop";
@@ -2311,7 +2311,7 @@ tha_t06,119,120,0 script to 7th Floor WARPNPC,1,1,{
end;
OnTouch:
if (eaclass()&(EAJL_2|EAJL_UPPER) || eaclass()&EAJL_THIRD || ((Class == Job_SuperNovice || Class == Job_Taekwon || Class == Job_Star_Gladiator || Class == Job_Soul_Linker || BaseClass == Job_Ninja || Class == Job_Gunslinger) && BaseLevel > 94)) {
- if (countitem(7425) > 0) {
+ if (countitem(Key_Black) > 0) {
mes "The shadow of a Black Key is gleaming in the center of the portal.";
mes "To pass this way, looks like I need something.";
next;
@@ -2320,8 +2320,8 @@ OnTouch:
mes "The key seems to separate into many particles and suddenly collapses into a ball.";
mes "The barricade is removed through the power from newly formed black magic gem.";
close2;
- delitem 7425,1; //Key_Black
- getitem 7430,1; //Magic_Gem_Black
+ delitem Key_Black,1;
+ getitem Magic_Gem_Black,1;
warp "thana_step",69,369;
end;
}
diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt
index 0c7e8c7c8..6aad35d67 100644
--- a/npc/quests/the_sign_quest.txt
+++ b/npc/quests/the_sign_quest.txt
@@ -307,7 +307,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "know right away. For now,";
mes "please hold on to these pieces.";
sign_q = 54;
- getitem 7177,1; //Part_Of_Star's_Sob
+ getitem Part_Of_Star's_Sob,1;
}
else if (sign_q == 54) {
if (rand(1,5) == 4) {
@@ -568,7 +568,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "proven its existence!";
mes "Please let me handle";
mes "this and come back later~";
- delitem 7314,1; //The_Sign
+ delitem The_Sign,1;
sign_q = 138;
.@stime_s = gettime(GETTIME_HOUR);
if (.@stime_s < 1) sign_sq = 1;
@@ -675,7 +675,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "Blacksmith.";
sign_q = 139;
sign_sq = 0;
- getitem 7314,1; //The_Sign
+ getitem The_Sign,1;
}
else {
mes "I'm sorry, but I'm";
@@ -693,7 +693,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "Sign's power for you...";
}
else if (sign_q == 141) {
- if (countitem(2644) == 1) {
+ if (countitem(The_Sign_) == 1) {
mes "Ah, you're finally";
mes "here. I've been waiting";
mes "to speak with you. First,";
@@ -736,19 +736,19 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "accept this as a token";
mes "of my gratitude. Good luck";
mes "on your travels, adventurer.";
- if (checkweight(7178,1) == 0) {
+ if (checkweight(Star's_Sob,1) == 0) {
next;
mes "^3355FFWait a second! Right now,";
mes "you have too many items in your inventory. Please come back after you've freed up more inventory space.^000000";
close;
}
- delitem 7178,1; //Star's_Sob
+ delitem Star's_Sob,1;
sign_q = 202;
getexp RENEWAL_EXP?10000:100000,0;
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
}
else if (sign_q > 201) {
- if (countitem(7178) == 1) {
+ if (countitem(Star's_Sob) == 1) {
mes "I'm sorry...";
mes "But I'm taking";
mes "back the Sobbing";
@@ -759,7 +759,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "[Metz]";
mes "......";
mes "Farewell.";
- delitem 7178,1; //Star's_Sob
+ delitem Star's_Sob,1;
}
else {
mes "I guess I can't";
@@ -1100,14 +1100,14 @@ prt_in,248,23,0 script Maid#sign2 HIDDEN_NPC,{
mes "refreshment, that";
mes "would be perfect...";
close2;
- if (countitem(504) > 0) {
+ if (countitem(White_Potion) > 0) {
select("Why don't you take this?");
mes "[Elle]";
mes "Oh, you didn't";
mes "need to do this,";
mes "but that you soooo";
mes "much! Ahhhhhhh~";
- delitem 504,1; //White_Potion
+ delitem White_Potion,1;
close2;
emotion e_kis2;
end;
@@ -1222,7 +1222,7 @@ prt_in,248,23,0 script Maid#sign2 HIDDEN_NPC,{
morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
callfunc "F_UpdateSignVars";
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a second! Right now,";
mes "you have too many items in your inventory. Please come back after you've freed up more inventory space.^000000";
close;
@@ -1301,18 +1301,18 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
case 4:
mes "[Arian]";
mes "...";
- if (countitem(914) > 99) {
- delitem 914,100; //Fluff
- if (countitem(7033) > 49) {
- delitem 7033,50; //Poison_Spore
- if (countitem(904) > 29) {
- delitem 904,30; //Scorpion's_Tail
- if (countitem(930) > 19) {
- delitem 930,20; //Rotten_Bandage
- if (countitem(1038) > 14) {
- delitem 1038,15; //Petite_DiablOfs_Horn
- if (countitem(7013) > 9) {
- delitem 7013,10; //Coral_Reef
+ if (countitem(Fluff) > 99) {
+ delitem Fluff,100;
+ if (countitem(Poison_Spore) > 49) {
+ delitem Poison_Spore,50;
+ if (countitem(Scorpion's_Tail) > 29) {
+ delitem Scorpion's_Tail,30;
+ if (countitem(Rotten_Bandage) > 19) {
+ delitem Rotten_Bandage,20;
+ if (countitem(Petite_DiablOfs_Horn) > 14) {
+ delitem Petite_DiablOfs_Horn,15;
+ if (countitem(Coral_Reef) > 9) {
+ delitem Coral_Reef,10;
}
}
}
@@ -1333,16 +1333,16 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
case 5:
mes "[Arian]";
mes "...";
- if (countitem(7033) > 49) {
- delitem 7033,50; //Poison_Spore
- if (countitem(904) > 29) {
- delitem 904,30; //Scorpion's_Tail
- if (countitem(930) > 19) {
- delitem 930,20; //Rotten_Bandage
- if (countitem(1038) > 14) {
- delitem 1038,15; //Petite_DiablOfs_Horn
- if (countitem(7013) > 9) {
- delitem 7013,10; //Coral_Reef
+ if (countitem(Poison_Spore) > 49) {
+ delitem Poison_Spore,50;
+ if (countitem(Scorpion's_Tail) > 29) {
+ delitem Scorpion's_Tail,30;
+ if (countitem(Rotten_Bandage) > 19) {
+ delitem Rotten_Bandage,20;
+ if (countitem(Petite_DiablOfs_Horn) > 14) {
+ delitem Petite_DiablOfs_Horn,15;
+ if (countitem(Coral_Reef) > 9) {
+ delitem Coral_Reef,10;
}
}
}
@@ -1364,14 +1364,14 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
case 6:
mes "[Arian]";
mes "...";
- if (countitem(904) > 29) {
- delitem 904,30; //Scorpion's_Tail
- if (countitem(930) > 19) {
- delitem 930,20; //Rotten_Bandage
- if (countitem(1038) > 14) {
- delitem 1038,15; //Petite_DiablOfs_Horn
- if (countitem(7013) > 9) {
- delitem 7013,10; //Coral_Reef
+ if (countitem(Scorpion's_Tail) > 29) {
+ delitem Scorpion's_Tail,30;
+ if (countitem(Rotten_Bandage) > 19) {
+ delitem Rotten_Bandage,20;
+ if (countitem(Petite_DiablOfs_Horn) > 14) {
+ delitem Petite_DiablOfs_Horn,15;
+ if (countitem(Coral_Reef) > 9) {
+ delitem Coral_Reef,10;
}
}
}
@@ -1392,12 +1392,12 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
case 7:
mes "[Arian]";
mes "...";
- if (countitem(930) > 19) {
- delitem 930,20; //Rotten_Bandage
- if (countitem(1038) > 14) {
- delitem 1038,15; //Petite_DiablOfs_Horn
- if (countitem(7013) > 9) {
- delitem 7013,10; //Coral_Reef
+ if (countitem(Rotten_Bandage) > 19) {
+ delitem Rotten_Bandage,20;
+ if (countitem(Petite_DiablOfs_Horn) > 14) {
+ delitem Petite_DiablOfs_Horn,15;
+ if (countitem(Coral_Reef) > 9) {
+ delitem Coral_Reef,10;
}
}
}
@@ -1418,10 +1418,10 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
case 8:
mes "[Arian]";
mes "...";
- if (countitem(1038) > 14) {
- delitem 1038,15; //Petite_DiablOfs_Horn
- if (countitem(7013) > 9) {
- delitem 7013,10; //Coral_Reef
+ if (countitem(Petite_DiablOfs_Horn) > 14) {
+ delitem Petite_DiablOfs_Horn,15;
+ if (countitem(Coral_Reef) > 9) {
+ delitem Coral_Reef,10;
}
}
else {
@@ -1447,8 +1447,8 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
close;
case 9:
mes "[Arian]";
- if (countitem(7013) > 9) {
- delitem 7013,10; //Coral_Reef
+ if (countitem(Coral_Reef) > 9) {
+ delitem Coral_Reef,10;
}
else {
mes "I don't care how pretty";
@@ -1526,7 +1526,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
else getexp 18000,0;
}
sign_q = 14;
- getitem 7177,1; //Part_Of_Star's_Sob
+ getitem Part_Of_Star's_Sob,1;
close;
case 14:
mes "[Arian]";
@@ -1910,7 +1910,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
mes "Come and drink with me~";
}
next;
- if (countitem(7177) > 0) {
+ if (countitem(Part_Of_Star's_Sob) > 0) {
.@pay_point = 1;
mes "["+ strcharinfo(0) +"]";
mes "Sure...";
@@ -2381,7 +2381,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
}
if (.@pay_point > 29) {
sign_q = 15;
- getitem 7177,1; //Part_Of_Star's_Sob
+ getitem Part_Of_Star's_Sob,1;
if (RENEWAL_EXP) {
if (BaseLevel < 60) getexp 300,0;
else if (BaseLevel < 70) getexp 750,0;
@@ -2425,7 +2425,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
}
else if ((.@pay_point > 26) && (.@pay_point < 30)) {
sign_q = 15;
- getitem 7177,1; //Part_Of_Star's_Sob
+ getitem Part_Of_Star's_Sob,1;
if (RENEWAL_EXP) {
if (BaseLevel < 60) getexp 300,0;
else if (BaseLevel < 70) getexp 750,0;
@@ -2711,10 +2711,10 @@ aldeba_in,155,101,3 script Sir Jore#sign 1_M_SIGNALCHE,7,7,{
}
}
else if (sign_q == 16) {
- if ((countitem(1092) > 9) && (countitem(610) > 1) && (countitem(511) > 9)) {
- delitem 1092,10; //Empty_Cylinder
- delitem 610,2; //Leaf_Of_Yggdrasil
- delitem 511,10; //Green_Herb
+ if ((countitem(Empty_Cylinder) > 9) && (countitem(Leaf_Of_Yggdrasil) > 1) && (countitem(Green_Herb) > 9)) {
+ delitem Empty_Cylinder,10;
+ delitem Leaf_Of_Yggdrasil,2;
+ delitem Green_Herb,10;
sign_q = 17;
emotion e_thx;
mes "[Sir Jore]";
@@ -2826,7 +2826,7 @@ aldeba_in,155,101,3 script Sir Jore#sign 1_M_SIGNALCHE,7,7,{
mes "relying on a rumor...";
next;
sign_q = 20;
- getitem 7177,1; //Part_Of_Star's_Sob
+ getitem Part_Of_Star's_Sob,1;
mes "[Sir Jore]";
mes "Thank you very much";
mes "for helping me. Now I can";
@@ -3678,7 +3678,7 @@ geffen_in,59,74,4 script Jesqurienne#sign 1_F_SIGNZISK,{
next;
mes "[Jesqurienne]";
sign_q = 25;
- getitem 7177,1; //Part_Of_Star's_Sob
+ getitem Part_Of_Star's_Sob,1;
mes "Here...";
mes "My old friend, Metz, told";
mes "me to give this to someone";
@@ -4610,21 +4610,21 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "Ah, so is this";
mes "the stuff you brought?";
mes "Lemme take a look-see...";
- if (countitem(734)) .@diaris_t += 1;
- if (countitem(735)) .@diaris_t += 1;
- if (countitem(736)) .@diaris_t += 1;
- if (countitem(7149)) .@diaris_t += 1;
- if (countitem(747)) .@diaris_t += 2;
- if (countitem(749)) .@diaris_t += 4;
- if (countitem(740)) .@diaris_t += 1;
- if (countitem(741)) .@diaris_t += 1;
- if (countitem(742)) .@diaris_t += 2;
- if (countitem(743)) .@diaris_t += 3;
- if (countitem(752)) .@diaris_t += 3;
- if (countitem(753)) .@diaris_t += 4;
- if (countitem(754)) .@diaris_t += 4;
- if (countitem(750)) .@diaris_t += 7;
- if (countitem(751)) .@diaris_t += 7;
+ if (countitem(Red_Frame)) .@diaris_t += 1;
+ if (countitem(Blue_Porcelain)) .@diaris_t += 1;
+ if (countitem(White_Platter)) .@diaris_t += 1;
+ if (countitem(Yellow_Plate)) .@diaris_t += 1;
+ if (countitem(Crystal_Mirror)) .@diaris_t += 2;
+ if (countitem(Frozen_Rose)) .@diaris_t += 4;
+ if (countitem(Stuffed_Doll)) .@diaris_t += 1;
+ if (countitem(Poring_Doll)) .@diaris_t += 1;
+ if (countitem(Chonchon_Doll)) .@diaris_t += 2;
+ if (countitem(Spore_Doll)) .@diaris_t += 3;
+ if (countitem(Grasshopper_Doll)) .@diaris_t += 3;
+ if (countitem(Monkey_Doll)) .@diaris_t += 4;
+ if (countitem(Raccoondog_Doll)) .@diaris_t += 4;
+ if (countitem(Baphomet_Doll)) .@diaris_t += 7;
+ if (countitem(Osiris_Doll)) .@diaris_t += 7;
next;
if (.@diaris_t > 10) {
mes "[Dearles]";
@@ -4639,21 +4639,21 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "I'm gonna send you to";
mes "Lamadin for Part Two";
mes "of my test. Yeah, I know...";
- if (countitem(734)) delitem 734,1; //Red_Frame
- if (countitem(735)) delitem 735,1; //Blue_Porcelain
- if (countitem(736)) delitem 736,1; //White_Platter
- if (countitem(7149)) delitem 7149,1; //Yellow_Plate
- if (countitem(747)) delitem 747,1; //Crystal_Mirror
- if (countitem(749)) delitem 749,1; //Frozen_Rose
- if (countitem(740)) delitem 740,1; //Stuffed_Doll
- if (countitem(741)) delitem 741,1; //Poring_Doll
- if (countitem(742)) delitem 742,1; //Chonchon_Doll
- if (countitem(743)) delitem 743,1; //Spore_Doll
- if (countitem(752)) delitem 752,1; //Grasshopper_Doll
- if (countitem(753)) delitem 753,1; //Monkey_Doll
- if (countitem(754)) delitem 754,1; //Raccoondog_Doll
- if (countitem(750)) delitem 750,1; //Baphomet_Doll
- if (countitem(751)) delitem 751,1; //Osiris_Doll
+ if (countitem(Red_Frame)) delitem Red_Frame,1;
+ if (countitem(Blue_Porcelain)) delitem Blue_Porcelain,1;
+ if (countitem(White_Platter)) delitem White_Platter,1;
+ if (countitem(Yellow_Plate)) delitem Yellow_Plate,1;
+ if (countitem(Crystal_Mirror)) delitem Crystal_Mirror,1;
+ if (countitem(Frozen_Rose)) delitem Frozen_Rose,1;
+ if (countitem(Stuffed_Doll)) delitem Stuffed_Doll,1;
+ if (countitem(Poring_Doll)) delitem Poring_Doll,1;
+ if (countitem(Chonchon_Doll)) delitem Chonchon_Doll,1;
+ if (countitem(Spore_Doll)) delitem Spore_Doll,1;
+ if (countitem(Grasshopper_Doll)) delitem Grasshopper_Doll,1;
+ if (countitem(Monkey_Doll)) delitem Monkey_Doll,1;
+ if (countitem(Raccoondog_Doll)) delitem Raccoondog_Doll,1;
+ if (countitem(Baphomet_Doll)) delitem Baphomet_Doll,1;
+ if (countitem(Osiris_Doll)) delitem Osiris_Doll,1;
sign_q = 30;
if (RENEWAL_EXP) {
if (BaseLevel < 60) getexp 300,0;
@@ -4745,7 +4745,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "go find someone named,";
mes "um, ''Bakerlan'' in Alberta.";
sign_q = 35;
- getitem 7177,1; //Part_Of_Star's_Sob
+ getitem Part_Of_Star's_Sob,1;
if (RENEWAL_EXP) {
if (BaseLevel < 60) getexp 300,0;
else if (BaseLevel < 70) getexp 700,0;
@@ -4782,7 +4782,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "go find someone named,";
mes "um, ''Bakerlan'' in Alberta.";
sign_q = 35;
- getitem 7177,1; //Part_Of_Star's_Sob
+ getitem Part_Of_Star's_Sob,1;
Zeny += 20000;
if (RENEWAL_EXP) {
if (BaseLevel < 60) getexp 300,0;
@@ -5570,7 +5570,7 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 1_M_SIGNMCNT,{
mes "my time is quite precious.";
close;
case 2:
- if (countitem(7177) < 5) {
+ if (countitem(Part_Of_Star's_Sob) < 5) {
mes "[Bakerlan]";
mes "Hmm, I suppose you";
mes "still haven't completed";
@@ -5579,7 +5579,7 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 1_M_SIGNMCNT,{
mes "Starlight, you know...";
close;
}
- else if (countitem(7177) == 5) {
+ else if (countitem(Part_Of_Star's_Sob) == 5) {
mes "[Bakerlan]";
mes "Ah, now I see that";
mes "you speak the truth.";
@@ -5654,7 +5654,7 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 1_M_SIGNMCNT,{
mes "Now bring all of the stone pieces to Metz.";
mes "He will tell you what you need to do next.";
sign_q = 53;
- getitem 7177,1; //Part_Of_Star's_Sob
+ getitem Part_Of_Star's_Sob,1;
if (RENEWAL_EXP) {
if (BaseLevel < 60) getexp 500,0;
else if (BaseLevel < 70) getexp 800,0;
@@ -5927,7 +5927,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "the Vigorgra to me?";
close;
case 48:
- if (countitem(7044) < 1) {
+ if (countitem(Vigorgra) < 1) {
mes "Oh, you know where";
mes "you can get Vigorgra?";
mes "That's great news!";
@@ -5956,7 +5956,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "you also make sure he gets";
mes "this? Thank you so much!";
sign_q = 49;
- getitem 7183,1; //Sister_Letter
+ getitem Sister_Letter,1;
close;
}
case 49:
@@ -5973,7 +5973,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "as a token of my gratitude.";
mes "You really are a kind person~";
sign_q = 51;
- getitem 525,3; //Panacea
+ getitem Panacea,3;
next;
emotion e_kis2;
close;
@@ -6031,7 +6031,7 @@ prt_castle,107,58,5 script Soldier#s11 8W_SOLDIER,{
close;
}
else if (sign_q == 49) {
- if ((countitem(7044) < 1) && (countitem(7183) < 1)) {
+ if ((countitem(Vigorgra) < 1) && (countitem(Sister_Letter) < 1)) {
mes "Welcome to";
mes "Prontera Castle.";
mes "Please be careful";
@@ -6095,8 +6095,8 @@ prt_castle,107,58,5 script Soldier#s11 8W_SOLDIER,{
mes "is replenish your health.";
mes "I'm not really supposed to,";
mes "but no one will say anything.";
- delitem 7044,1; //Vigorgra
- delitem 7183,1; //Sister_Letter
+ delitem Vigorgra,1;
+ delitem Sister_Letter,1;
sign_q = 50;
percentheal 100,100;
next;
@@ -6286,7 +6286,7 @@ alde_alche,169,162,7 script Alchemist#sign 4_M_ALCHE_B,{
mes "everything ready...";
next;
mes "[Melkaba]";
- if ((countitem(526) < 10) || (countitem(518) < 20) || (countitem(948) < 30) || (countitem(520) < 1) || (countitem(708) < 1) || (countitem(713) < 1)) {
+ if ((countitem(Royal_Jelly) < 10) || (countitem(Honey) < 20) || (countitem(Bear's_Foot) < 30) || (countitem(Leaflet_Of_Hinal) < 1) || (countitem(Ment) < 1) || (countitem(Empty_Bottle) < 1)) {
mes "Hmm, you're still";
mes "missing some of the";
mes "ingredients. Now, listen";
@@ -6355,14 +6355,14 @@ alde_alche,169,162,7 script Alchemist#sign 4_M_ALCHE_B,{
mes "stuff is extremely potent!";
next;
Zeny -= 10000;
- delitem 526,10; //Royal_Jelly
- delitem 518,20; //Honey
- delitem 948,30; //Bear's_Foot
- delitem 520,1; //Leaflet_Of_Hinal
- delitem 708,1; //Ment
- delitem 713,1; //Empty_Bottle
+ delitem Royal_Jelly,10;
+ delitem Honey,20;
+ delitem Bear's_Foot,30;
+ delitem Leaflet_Of_Hinal,1;
+ delitem Ment,1;
+ delitem Empty_Bottle,1;
sign_q = 48;
- getitem 7044,1; //Vigorgra
+ getitem Vigorgra,1;
mes "[Melkaba]";
mes "Um, just remember";
mes "not to take too much";
@@ -6373,12 +6373,12 @@ alde_alche,169,162,7 script Alchemist#sign 4_M_ALCHE_B,{
}
else {
specialeffect EF_PHARMACY_FAIL;
- delitem 526,10; //Royal_Jelly
- delitem 518,20; //Honey
- delitem 948,30; //Bear's_Foot
- delitem 520,1; //Leaflet_Of_Hinal
- delitem 708,1; //Ment
- delitem 713,1; //Empty_Bottle
+ delitem Royal_Jelly,10;
+ delitem Honey,20;
+ delitem Bear's_Foot,30;
+ delitem Leaflet_Of_Hinal,1;
+ delitem Ment,1;
+ delitem Empty_Bottle,1;
mes "It failed?!";
mes "Of course, the mixture";
mes "was too vigorous, even";
@@ -6500,7 +6500,7 @@ alberta_in,114,178,5 script Refined Steward 4_M_MANAGER,{
getnameditem 7049,strcharinfo(0);
close;
}
- else if (sign_q == 38 || (sign_q == 39 && countitem(7181) < 1)) {
+ else if (sign_q == 38 || (sign_q == 39 && countitem(Receipt_01) < 1)) {
mes "You haven't delivered";
mes "the Stone yet? Please take";
mes "good care of it since it's very";
@@ -6516,7 +6516,7 @@ alberta_in,114,178,5 script Refined Steward 4_M_MANAGER,{
mes "well done. Let me send a";
mes "message to the master, so";
mes "please visit him later.";
- delitem 7181,1; //Receipt_01
+ delitem Receipt_01,1;
sign_q = 40;
close;
}
@@ -6765,7 +6765,7 @@ yuno,330,100,4 script Knight#ss 4_M_JOB_KNIGHT2,{
close;
}
else if (sign_q == 38) {
- if (countitem(7049) < 1) {
+ if (countitem(Stone) < 1) {
mes "Excuse me...";
mes "Are you from the Alchesh";
mes "Trading Company? I've been";
@@ -6868,7 +6868,7 @@ yuno,330,100,4 script Knight#ss 4_M_JOB_KNIGHT2,{
mes "Thanks again!";
delitem2 7049,1,1,0,0,.@sign1,.@sign2,.@sign3,.@sign4;
sign_q = 39;
- getitem 7181,1; //Receipt_01
+ getitem Receipt_01,1;
if (RENEWAL_EXP) {
if (BaseLevel < 60) getexp 100,0;
else if (BaseLevel < 70) getexp 200,0;
@@ -7003,7 +7003,7 @@ geffen_in,159,48,5 script Lonely-looking Woman 4_F_05,{
close;
}
else if (sign_q < 62) {
- if (countitem(7278) > 0) {
+ if (countitem(Wellbeing_Letter) > 0) {
mes "Thank you so much for bringing";
mes "this to me. I'm so happy to hear that he's fine and doing well.";
mes "Although he's not here often enough, it's good to know";
@@ -7013,7 +7013,7 @@ geffen_in,159,48,5 script Lonely-looking Woman 4_F_05,{
mes "Even so, I should start letting";
mes "him know that I want him to spend";
mes "a little more time at home. Oh, and why don't you talk to Liana? She's been waiting to tell you something.";
- delitem 7278,1; //Wellbeing_Letter
+ delitem Wellbeing_Letter,1;
sign_q += 4;
close;
}
@@ -7046,7 +7046,7 @@ geffen_in,159,48,5 script Lonely-looking Woman 4_F_05,{
geffen_in,171,42,3 script Cute Girl 4_F_KID2,{
callfunc "F_UpdateSignVars";
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second! Right now,";
mes "you have too many items in your inventory. Please come back after you've made more available inventory space.^000000";
close;
@@ -7118,7 +7118,7 @@ geffen_in,171,42,3 script Cute Girl 4_F_KID2,{
mes "my dad, okay? Promise?";
emotion e_ho;
sign_q = 56;
- getitem 7276,1; //Picture_Letter
+ getitem Picture_Letter,1;
close;
case 2:
mes "[Liana]";
@@ -7149,7 +7149,7 @@ geffen_in,171,42,3 script Cute Girl 4_F_KID2,{
mes "Thank you for bringing my letter to my dad. Here, here!";
mes "You have to share my treasure with me, 'kay?";
sign_q += 4;
- getitem 529,10; //Candy
+ getitem Candy,10;
close;
}
else {
@@ -7160,14 +7160,14 @@ geffen_in,171,42,3 script Cute Girl 4_F_KID2,{
mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
callfunc "F_UpdateSignVars";
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second! Right now,";
mes "you have too many items in your inventory. Please come back after you've freed up more inventory space.^000000";
close;
}
mes "[Engel]";
if ((sign_q > 1) && (sign_q < 54)) {
- if(countitem(1002) > 0) {
+ if(countitem(Iron_Ore) > 0) {
mes "Just as I suspected...";
mes "I didn't bring enough of them.";
mes "Hmm, this is serious. What";
@@ -7183,7 +7183,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "Thank you so much!";
mes "If it weren't for your help,";
mes "I'd be in big trouble. I really appreciate you stepping in and volunteering your materials like this.";
- delitem 1002,1; //Iron_Ore
+ delitem Iron_Ore,1;
getexp 10,0;
close;
case 2:
@@ -7212,7 +7212,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
end;
}
else if (sign_q == 56) {
- if (countitem(7276) > 0) {
+ if (countitem(Picture_Letter) > 0) {
mes "^333333*Sigh*^000000";
mes "It's been a long";
mes "time since I've seen";
@@ -7277,8 +7277,8 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
next;
mes "[Engel]";
mes "Right. Let me guide you to a shortcut to the exit of these mines, just in case you don't know your way out of here. Good luck~";
- delitem 7276,1; //Picture_Letter
- delitem 7177,7; //Part_Of_Star's_Sob
+ delitem Picture_Letter,1;
+ delitem Part_Of_Star's_Sob,7;
sign_q = 57;
close2;
warp "mjo_dun02",371,344;
@@ -7309,16 +7309,16 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
else if (sign_q == 57) {
mes "As I've told you before, I'm more likely to succeed in my work if I'm able to use a higher quality anvil. Let's me see what you've brought...";
next;
- if ((countitem(612) > 4) && (countitem(615) > 1) && ((countitem(986) > 0) || (countitem(987) > 0) || (countitem(988) > 0) || (countitem(989) > 0))) {
+ if ((countitem(Portable_Furnace) > 4) && (countitem(Oridecon_Hammer) > 1) && ((countitem(Anvil) > 0) || (countitem(Oridecon_Anvil) > 0) || (countitem(Golden_Anvil) > 0) || (countitem(Emperium_Anvil) > 0))) {
mes "[Engel]";
- if (countitem(986) > 0) {
+ if (countitem(Anvil) > 0) {
mes "A...";
mes "Regular Anvil?";
mes "Alright, I guess I'll try it.";
mes "But I can't guarantee success.";
.@anvil = 0;
}
- else if (countitem(987) > 0) {
+ else if (countitem(Oridecon_Anvil) > 0) {
mes "Ah...";
mes "An Oridecon Avil.";
mes "This isn't too bad,";
@@ -7326,13 +7326,13 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "that this might not work.";
.@anvil = 1;
}
- else if (countitem(988) > 0) {
+ else if (countitem(Golden_Anvil) > 0) {
mes "Ah...";
mes "A Golden Anvil.";
mes "This just might be able to do the job. This might take a while, so I have something to ask of you.";
.@anvil = 2;
}
- else if (countitem(989) > 0) {
+ else if (countitem(Emperium_Anvil) > 0) {
mes "Oh wow, an Emperium Anvil!";
mes "And this looks like one I might have actually made. Great, I should be able to do this so long as I don't make any critical mistakes~";
.@anvil = 3;
@@ -7345,11 +7345,11 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "Well then...";
mes "I wish you safety";
mes "in your travels.";
- delitem 612,5; //Portable_Furnace
- delitem 615,2; //Oridecon_Hammer
+ delitem Portable_Furnace,5;
+ delitem Oridecon_Hammer,2;
delitem (986+.@anvil),1; //Anvil-Oridecon_Anvil-Golden_Anvil-Emperium_Anvil
sign_q = (58+.@anvil);
- getitem 7278,1; //Wellbeing_Letter
+ getitem Wellbeing_Letter,1;
close;
}
else {
@@ -7385,7 +7385,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "While you were gone, I managed to restore this Sobbing Starlight. Why don't you go ahead and take a look?";
next;
sign_q = 71;
- getitem 7178,1; //Star's_Sob
+ getitem Star's_Sob,1;
specialeffect2 EF_YUFITELHIT;
next;
mes "[Engel]";
@@ -7451,8 +7451,8 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
}
}
else if (sign_q == 70) {
- if ((countitem(612) > 4) && (countitem(615) > 1) && ((countitem(986) > 0) || (countitem(987) > 0) || (countitem(988) > 0) || (countitem(989) > 0))) {
- if ((countitem(986) > 0) || (countitem(987) > 0)) {
+ if ((countitem(Portable_Furnace) > 4) && (countitem(Oridecon_Hammer) > 1) && ((countitem(Anvil) > 0) || (countitem(Oridecon_Anvil) > 0) || (countitem(Golden_Anvil) > 0) || (countitem(Emperium_Anvil) > 0))) {
+ if ((countitem(Anvil) > 0) || (countitem(Oridecon_Anvil) > 0)) {
mes "Didn't I tell you to bring me a Golden Anvil or an Emperium Anvil? Anything less isn't good enough to do any restoration work on this Sobbing Starlight.";
next;
mes "[Engel]";
@@ -7460,11 +7460,11 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "here, bring a Golden or Emperium Anvil and make sure to leave all of your other anvils in Kafra Storage or something, okay?";
close;
}
- else if (countitem(988) > 0) {
+ else if (countitem(Golden_Anvil) > 0) {
mes "Good, good.";
mes "I see that you've brought a Golden Anvil. Now I can get started right away! Still, I'm a little about those monsters showing up again, so would you keep a lookout?";
}
- else if (countitem(989) > 0) {
+ else if (countitem(Emperium_Anvil) > 0) {
mes "Excellent! You've brought an Emperium Anvil! Now, keep a lookout for monsters while I repair these ore fragments. We can't have those beasts ruin my work again, right? Thank you.";
}
next;
@@ -7502,10 +7502,10 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
next;
mes "[Engel]";
mes "We've both gone through a lot of trouble to make this, so I hope you treasure your Sobbing Starlight. Good luck on your adventures...";
- if (countitem(988) > 0) delitem 988,1; //Golden_Anvil
- else if (countitem(989) > 0) delitem 989,1; //Emperium_Anvil
+ if (countitem(Golden_Anvil) > 0) delitem Golden_Anvil,1;
+ else if (countitem(Emperium_Anvil) > 0) delitem Emperium_Anvil,1;
sign_q = 71;
- getitem 7178,1; //Star's_Sob
+ getitem Star's_Sob,1;
specialeffect2 EF_YUFITELHIT;
close;
}
@@ -7563,7 +7563,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "a while to work on this. Unfortunately, I can't even";
mes "give you a time estimate...";
mes "But I'll do my best for you.";
- delitem 7314,1; //The_Sign
+ delitem The_Sign,1;
sign_q = 140;
.@stime_e = gettime(GETTIME_HOUR);
if (.@stime_e < 2) sign_sq = 1;
@@ -7658,7 +7658,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "honor of working on a worthy";
mes "smithing challenge.";
sign_q = 141;
- getitem 2644,1; //The_Sign_
+ getitem The_Sign_,1;
close;
}
else {
@@ -7779,7 +7779,7 @@ umbala,163,256,3 script Native#_s 4_F_UMGIRL,{
mes "I think I know him! Yea, I do!";
next;
mes "[Laotan]";
- if (countitem(2278) > 0) {
+ if (countitem(Mr_Smile) > 0) {
mes "Oh my gosh!";
mes "You've got a Mr. Smile mask!";
mes "Would you give that to me?";
@@ -7796,7 +7796,7 @@ umbala,163,256,3 script Native#_s 4_F_UMGIRL,{
mes "[Laotan]";
mes "Oh right~!";
mes "The weird man in the funny clothes was in our village for a while, but ever since he went into that big tree, nobody's seen him!";
- delitem 2278,1; //Mr_Smile
+ delitem Mr_Smile,1;
sign_q = 74;
close;
case 2:
@@ -7837,7 +7837,7 @@ umbala,163,256,3 script Native#_s 4_F_UMGIRL,{
um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{
callfunc "F_UpdateSignVars";
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second! Right now,";
mes "you have too many items in your inventory. Please come back after you've freed up more inventory space.^000000";
close;
@@ -7949,7 +7949,7 @@ um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{
mes "to find some ancient";
mes "or really aged paper...";
next;
- if (countitem(1097) > 9) {
+ if (countitem(Worn_Out_Page) > 9) {
mes "[Cyon]";
mes "How did you find these";
mes "Worn Out Pages? This is great,";
@@ -7969,12 +7969,12 @@ um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{
mes "Just as I thought!";
mes "The Sobbing Starlight is responding to these Worn Out Pages! Excellent! I've finally fulfilled my promise to Metz! Now he can leave";
mes "me alone!";
- delitem 1097,10; //Worn_Out_Page
+ delitem Worn_Out_Page,10;
sign_q = 76;
- getitem 7275,1; //Ancient_Document
+ getitem Ancient_Document,1;
close;
}
- else if (countitem(1097) > 0) {
+ else if (countitem(Worn_Out_Page) > 0) {
mes "[Cyon]";
mes "How did you find these";
mes "^FF0000Worn Out Pages^000000? This is great,";
@@ -8027,7 +8027,7 @@ um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{
alberta,165,83,4 script Fastidious Old Man 4_M_SAGE_C,{
callfunc "F_UpdateSignVars";
- if (checkweight(908,200) == 0) {
+ if (checkweight(Spawn,200) == 0) {
mes "^3355FFWait a second! Right now,";
mes "you have too many items in your inventory. Please come back after you've freed up more inventory space.^000000";
close;
@@ -8051,7 +8051,7 @@ alberta,165,83,4 script Fastidious Old Man 4_M_SAGE_C,{
close;
}
else if (sign_q == 78) {
- if ((countitem(2203) > 0) && (countitem(7275) > 0)) {
+ if ((countitem(Glasses) > 0) && (countitem(Ancient_Document) > 0)) {
mes "My vision's getting";
mes "blurrier and I get headaches";
mes "when I read. I guess this old";
@@ -8098,8 +8098,8 @@ alberta,165,83,4 script Fastidious Old Man 4_M_SAGE_C,{
next;
mes "[Frank]";
mes "Hmm, as far as I can tell, this is a sophisticated language spoken by the ancient gods. It's complex and confusing, but I'll do my best for you. Come back to me later, and I'll what I've learned.";
- delitem 2203,1; //Glasses
- delitem 7275,1; //Ancient_Document
+ delitem Glasses,1;
+ delitem Ancient_Document,1;
sign_q = 79;
close;
}
@@ -8132,7 +8132,7 @@ alberta,165,83,4 script Fastidious Old Man 4_M_SAGE_C,{
mes "Well, I've written down the best translation that I could for you. It's been a long time since I've had this kind of challenge. Thanks, youngster.";
mes "Ha ha ha~";
sign_q = 80;
- getitem 7274,1; //Ancient_Translator
+ getitem Ancient_Translator,1;
close;
}
else {
@@ -8150,7 +8150,7 @@ alberta,165,83,4 script Fastidious Old Man 4_M_SAGE_C,{
gef_fild07,182,241,0 script #Valkyrie Warp HIDDEN_NPC,1,1,{
callfunc "F_UpdateSignVars";
- if ((sign_q == 80) && (countitem(907) > 3) && (countitem(953) > 11) && (countitem(7013) > 364)) {
+ if ((sign_q == 80) && (countitem(Resin) > 3) && (countitem(Stone_Heart) > 11) && (countitem(Coral_Reef) > 364)) {
mes "^6B8E23It seems that";
mes "something in the";
mes "vicinity is reacting";
@@ -8161,7 +8161,7 @@ gef_fild07,182,241,0 script #Valkyrie Warp HIDDEN_NPC,1,1,{
}
OnTouch:
- if ((sign_q == 80) && (countitem(907) > 3) && (countitem(953) > 11) && (countitem(7013) > 364)) {
+ if ((sign_q == 80) && (countitem(Resin) > 3) && (countitem(Stone_Heart) > 11) && (countitem(Coral_Reef) > 364)) {
mes "["+strcharinfo(0)+"]";
mes "What the...?";
mes "What's happening?!";
@@ -8183,9 +8183,9 @@ OnTouch:
mes "fall into unconsciousness...^000000";
specialeffect2 EF_FLASHER;
next;
- delitem 907,4; //Resin
- delitem 953,12; //Stone_Heart
- delitem 7013,365; //Coral_Reef
+ delitem Resin,4;
+ delitem Stone_Heart,12;
+ delitem Coral_Reef,365;
sign_q = 81;
warp "himinn",49,10;
end;
@@ -8328,7 +8328,7 @@ himinn,48,86,5 script Valkyrie#sign 4_F_VALKYRIE,{
mes "you are an honorable";
mes "hero worthy of praise!";
sign_q = 137;
- getitem 7314,1; //The_Sign
+ getitem The_Sign,1;
close;
}
else if (sign_q < 150) {
@@ -8362,7 +8362,7 @@ himinn,48,86,5 script Valkyrie#sign 4_F_VALKYRIE,{
close;
}
else {
- if (countitem(7314) < 1) {
+ if (countitem(The_Sign) < 1) {
mes "Only the chosen";
mes "can enter this place.";
mes "I will not ask how you've";
@@ -8461,7 +8461,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "This could be";
mes "pretty dangerous";
mes "so please step back...";
- delitem 7305,1; //Authority_Of_Nine_World
+ delitem Authority_Of_Nine_World,1;
sign_q = 133;
donpcevent "Serin#dummy::OnEnable";
donpcevent "Serin#dummy::OnStart";
@@ -8635,7 +8635,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
.@fail_s3 = rand(1,600);
.@fail_s4 = rand(1,500);
.@fail_s5 = rand(1,400);
- if (countitem(2643) == 1) {
+ if (countitem(Serin's_Gold_Ring_) == 1) {
if (((sign_sq == 0) && (.@fail_s3 == 356)) || ((sign_sq == 1) && (.@fail_s2 == 356)) || (.@fail_s1 == 356)) {
sign_q = 200;
mes "[Serin]";
@@ -8828,7 +8828,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
}
}
else if (sign_q == 125) {
- if (countitem(2643) ==1) {
+ if (countitem(Serin's_Gold_Ring_) ==1) {
mes "[Serin]";
mes "If you think that";
mes "I can't summon Dark Lord";
@@ -8956,7 +8956,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "Farewell, now.";
mes "And good luck on";
mes "your travels, my friend...";
- delitem 7308,1; //Witch's_Potion
+ delitem Witch's_Potion,1;
sign_q = 127;
close;
}
@@ -8976,9 +8976,9 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
.@fail_s3 = rand(1,800);
.@fail_s4 = rand(1,700);
.@fail_s5 = rand(1,600);
- if (countitem(2643) == 1) {
+ if (countitem(Serin's_Gold_Ring_) == 1) {
if (((sign_sq == 0) && (.@fail_s3 == 356)) || ((sign_sq == 1) && (.@fail_s2 == 356)) || (.@fail_s1 == 356)) {
- delitem 7308,1; //Witch's_Potion
+ delitem Witch's_Potion,1;
sign_q = 200;
mes "[Serin]";
mes "Even though you tried";
@@ -9025,7 +9025,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
}
else {
if (((sign_sq == 0) && (.@fail_s5 == 356)) || ((sign_sq == 1) && (.@fail_s4 == 356)) || (.@fail_s3 == 356)) {
- delitem 7308,1; //Witch's_Potion
+ delitem Witch's_Potion,1;
sign_q = 200;
mes "[Serin]";
mes "Even though you tried";
@@ -9220,7 +9220,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "I want you to have this ring. It's the only way I can properly express my gratitude for your aid so far.";
sign_q = 85;
sign_sq = 0;
- getitem 2642,1; //Serin's_Gold_Ring
+ getitem Serin's_Gold_Ring,1;
close;
}
else {
@@ -9272,7 +9272,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
close;
}
else if (sign_q == 92) {
- if (countitem(2642) > 0) {
+ if (countitem(Serin's_Gold_Ring) > 0) {
mes "[Serin]";
mes "Ah, "+strcharinfo(0)+"~";
mes "How is everything?";
@@ -9531,7 +9531,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "...";
mes "......";
mes "..........";
- if (countitem(2643) == 1) {
+ if (countitem(Serin's_Gold_Ring_) == 1) {
next;
switch(select("Give Serin her ring.:Keep the ring.")) {
case 1:
@@ -9564,7 +9564,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "to forget her sadness. The tears streaked across her cheeks and";
mes "the faint smile on her lips tell you that her memories of you";
mes "will always remain in her heart.^000000";
- delitem 2643,1; //Serin's_Gold_Ring_
+ delitem Serin's_Gold_Ring_,1;
getexp RENEWAL_EXP?50000:500000,0;
close;
case 2:
@@ -9730,23 +9730,23 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "of her soul and memories that";
mes "you can still sense somehow.";
mes "What could have happened to her?^000000";
- if (countitem(2642) > 0) {
+ if (countitem(Serin's_Gold_Ring) > 0) {
next;
mes "^33555FFSuddenly, Serin's";
mes "gold ring sparkled";
mes "with a soft glow and";
mes "faded away.^000000";
- delitem 2642,1; //Serin's_Gold_Ring
+ delitem Serin's_Gold_Ring,1;
close;
}
close;
}
else {
- if (countitem(2642) > 0) {
+ if (countitem(Serin's_Gold_Ring) > 0) {
mes "[Serin]";
mes "Thank you...";
emotion e_sob;
- delitem 2642,1; //Serin's_Gold_Ring
+ delitem Serin's_Gold_Ring,1;
next;
mes "^3355FFYou returned";
mes "Serin's gold ring.^000000";
@@ -9762,7 +9762,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
callfunc "F_UpdateSignVars";
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -9771,7 +9771,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
close;
}
mes "[Kirkena]";
- if ((countitem(7313) == 1) && ((sign_q != 124) || (sign_q != 125) || (sign_q != 126))) {
+ if ((countitem(Seal_Of_Witch) == 1) && ((sign_q != 124) || (sign_q != 125) || (sign_q != 126))) {
mes "That Witch's Medal...";
mes "You must be here to";
mes "help your friend take";
@@ -9810,7 +9810,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
}
}
if (sign_q == 90) {
- if (countitem(2642) == 1) {
+ if (countitem(Serin's_Gold_Ring) == 1) {
mes "That bastard stole";
mes "two spell books from me.";
mes "You've brought one of them";
@@ -9835,7 +9835,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
}
}
else if (sign_q == 91) {
- if (countitem(7304) > 0) {
+ if (countitem(Witch's_Spell_Book) > 0) {
mes "Once that fool stole my spell";
mes "books, he was cursed after he";
mes "cast those spells without my";
@@ -9913,7 +9913,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "that the Queen of the Dead";
mes "is searching for her lost mother, Angrboda. Now, if you could find where Angrboda has been";
mes "sealed away...";
- delitem 7304,1; //Witch's_Spell_Book
+ delitem Witch's_Spell_Book,1;
sign_q = 92;
close;
}
@@ -10008,7 +10008,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "sure you can find something";
mes "if you can find any remaining";
mes "trace of her.";
- delitem 7305,1; //Authority_Of_Nine_World
+ delitem Authority_Of_Nine_World,1;
sign_q = 119;
close;
case 2:
@@ -10024,12 +10024,12 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
}
}
else if (sign_q == 119) {
- if (countitem(2642) > 0) {
+ if (countitem(Serin's_Gold_Ring) > 0) {
mes "This is Serin's gold ring?";
mes "Excellent, this has been";
mes "strongly infused with her";
mes "vibes. It's really tough to find something like this that resonates so strongly with its owner.";
- delitem 2642,1; //Serin's_Gold_Ring
+ delitem Serin's_Gold_Ring,1;
sign_q = 120;
close;
}
@@ -10206,9 +10206,9 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "of the vouchers I've";
mes "given you, alright?";
sign_q = 124;
- getitem 7308,1; //Witch's_Potion
- getitem 2643,1; //Serin's_Gold_Ring_
- getitem 7313,5; //Seal_Of_Witch
+ getitem Witch's_Potion,1;
+ getitem Serin's_Gold_Ring_,1;
+ getitem Seal_Of_Witch,5;
close;
}
else if (sign_q == 123) {
@@ -10242,8 +10242,8 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "the Witch's Medals that";
mes "I've lent to you, alright?";
sign_q = 124;
- getitem 7308,1; //Witch's_Potion
- getitem 7313,5; //Seal_Of_Witch
+ getitem Witch's_Potion,1;
+ getitem Seal_Of_Witch,5;
close;
}
}
@@ -10255,7 +10255,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "these preparations...";
close;
}
- if (countitem(2643) == 1) {
+ if (countitem(Serin's_Gold_Ring_) == 1) {
mes "You're finally";
mes "back. We might not";
mes "have enough time to";
@@ -10302,8 +10302,8 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
}
}
else if ((sign_q == 127) || (sign_q == 128)) {
- if (countitem(2643) == 1) {
- if (countitem(7313) < 5) {
+ if (countitem(Serin's_Gold_Ring_) == 1) {
+ if (countitem(Seal_Of_Witch) < 5) {
mes "Hmmm...?";
mes "Where are all the";
mes "vouchers I've lent to you?";
@@ -10325,14 +10325,14 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "you so much for your";
mes "help. Once you finish here,";
mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason, "+strcharinfo(0)+"...";
- delitem 7313,5; //Seal_Of_Witch
+ delitem Seal_Of_Witch,5;
sign_q = 129;
getexp RENEWAL_EXP?50000:500000,0;
close;
}
}
else {
- if (countitem(7313) < 5) {
+ if (countitem(Seal_Of_Witch) < 5) {
mes "Hmmm...?";
mes "Where are all the";
mes "vouchers I've lent to you?";
@@ -10354,7 +10354,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "you so much for your";
mes "help. Once you finish here,";
mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason...";
- delitem 7313,5; //Seal_Of_Witch
+ delitem Seal_Of_Witch,5;
sign_q = 130;
getexp RENEWAL_EXP?30000:300000,0;
close;
@@ -10380,7 +10380,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "you so much for your";
mes "help. Once you finish here,";
mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason...";
- if (countitem(2643) == 1) sign_q = 129;
+ if (countitem(Serin's_Gold_Ring_) == 1) sign_q = 129;
else sign_q = 130;
getexp RENEWAL_EXP?30000:300000,0;
close;
@@ -10409,8 +10409,8 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "her for that. Though, it's";
mes "ironic that you failed your";
mes "ordeals for her sake...";
- if (countitem(2642) > 0) delitem 2642,1; //Serin's_Gold_Ring
- if (countitem(7308) > 0) delitem 7308,1; //Witch's_Potion
+ if (countitem(Serin's_Gold_Ring) > 0) delitem Serin's_Gold_Ring,1;
+ if (countitem(Witch's_Potion) > 0) delitem Witch's_Potion,1;
sign_q = 201;
getexp RENEWAL_EXP?20000:200000,0;
close;
@@ -10443,7 +10443,7 @@ OnTouch:
callfunc "F_UpdateSignVars";
if (sign_q == 83) {
if (sign_sq == 2) {
- if (countitem(7304) > 0) {
+ if (countitem(Witch's_Spell_Book) > 0) {
mes "[Kirkena]";
mes "W-what's this?";
mes "Why is it that";
@@ -10481,9 +10481,9 @@ OnTouch:
mes "give you this. It will send";
mes "a living human back to one";
mes "of the towns in your realm.";
- delitem 7304,1; //Witch's_Spell_Book
+ delitem Witch's_Spell_Book,1;
sign_sq = 3;
- getitem 7309,1; //Wing_Of_Crow
+ getitem Wing_Of_Crow,1;
close;
}
}
@@ -10509,14 +10509,14 @@ OnTouch:
}
}
else if (sign_sq == 3) {
- if (countitem(7309) < 1) {
+ if (countitem(Wing_Of_Crow) < 1) {
mes "[Kirkena]";
mes "You lost the wing?";
mes "Here, let me give you";
mes "my last one. Now, hurry";
mes "up and save that lost child!";
sign_sq = 4;
- getitem 7309,1; //Wing_Of_Crow
+ getitem Wing_Of_Crow,1;
close;
}
else {
@@ -10588,7 +10588,7 @@ OnTouch:
close;
}
else if (sign_q == 88) {
- if (countitem(2642) > 0) {
+ if (countitem(Serin's_Gold_Ring) > 0) {
mes "[Kirkena]";
mes "As I expected,";
mes "there is something behind";
@@ -10808,9 +10808,9 @@ que_sign01,45,227,4 script Queen of the Dead 2_F_SIGN1,{
next;
mes "^3355FFYou received the";
mes "Symbol of the Nine Realms.^000000";
- delitem 7307,1; //Whisper_Of_Soul
+ delitem Whisper_Of_Soul,1;
sign_q = 118;
- getitem 7305,1; //Authority_Of_Nine_World
+ getitem Authority_Of_Nine_World,1;
close;
}
else if (sign_q < 142) {
@@ -10866,7 +10866,7 @@ que_sign01,45,227,4 script Queen of the Dead 2_F_SIGN1,{
mes "Now, I shall show";
mes "you something truly";
mes "interesting...^000000";
- delitem 7178,1; //Star's_Sob
+ delitem Star's_Sob,1;
sign_q = 143;
close;
case 2:
@@ -10914,7 +10914,7 @@ que_sign01,45,227,4 script Queen of the Dead 2_F_SIGN1,{
mes "Sobbing Starlight.^000000";
next;
sign_q = 144;
- getitem 7025,1; //Lucifer's_Lament
+ getitem Lucifer's_Lament,1;
mes "[Lady Hell]";
mes "^8C1717Although you may also know";
mes "this object as God's Tear Drop, keep in mind that history, as you humans know it, may actually be different than the truth.^000000";
@@ -10963,7 +10963,7 @@ niflheim,146,241,0 script Depressing Man 4_M_JOB_WIZARD,{
close;
}
else if (sign_q == 87) {
- if (countitem(2642) > 1) {
+ if (countitem(Serin's_Gold_Ring) > 1) {
mes "[Gen]";
mes "You lookin' for";
mes "something? Crayu";
@@ -11210,7 +11210,7 @@ niflheim,146,241,0 script Depressing Man 4_M_JOB_WIZARD,{
nif_in,140,177,0 script #Switch HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- if (countitem(7313) == 1) {
+ if (countitem(Seal_Of_Witch) == 1) {
warp "que_sign01",115,135;
end;
}
@@ -11737,12 +11737,12 @@ OnTouch:
if (sign_q == 83) {
if(sign_sq == 0) {
sign_sq = 1;
- getitem 7304,1; //Witch's_Spell_Book
+ getitem Witch's_Spell_Book,1;
}
}
else if (sign_q == 90) {
sign_q = 91;
- getitem 7304,1; //Witch's_Spell_Book
+ getitem Witch's_Spell_Book,1;
}
close;
}
@@ -11917,12 +11917,12 @@ OnTouch:
close;
}
else if ((sign_sq == 3) || (sign_sq == 4)) {
- if (countitem(7309) > 0) {
+ if (countitem(Wing_Of_Crow) > 0) {
mes "[Alakina Ann]";
mes "I... I can use";
mes "this to go back home?";
mes "Thank you! Thank you so much!";
- delitem 7309,countitem(7309); //Wing_Of_Crow
+ delitem Wing_Of_Crow,countitem(Wing_Of_Crow);
sign_sq = 5;
close;
}
@@ -11978,41 +11978,41 @@ function script F_SignSeal {
mes "more powerful to break the seal...^000000";
close;
}
- if (countitem(1558) || countitem(1963)) {
+ if (countitem(Girl's_Diary) || countitem(Rapture_Rose)) {
if (getarg(0) < 980) F_SealFail; }
- else if (countitem(1227) || countitem(1228) || countitem(1240) || countitem(1241) || countitem(1962) || countitem(1813)) {
+ else if (countitem(Weeder_Knife) || countitem(Combat_Knife) || countitem(Princess_Knife) || countitem(Cursed_Dagger) || countitem(Lariat) || countitem(Kaiser_Knuckle)) {
if (getarg(0) < 960) F_SealFail; }
- else if (countitem(1719) || countitem(1130) || countitem(1133) || countitem(1223) || countitem(1229) || countitem(1231) || countitem(1413) || countitem(1814) || countitem(1242)) {
+ else if (countitem(Bow_Of_Roguemaster) || countitem(Nagan) || countitem(Fire_Brand) || countitem(Forturn_Sword) || countitem(Mama's_Knife) || countitem(Bazerald) || countitem(Gungnir) || countitem(Berserk) || countitem(Counter_Dagger)) {
if (getarg(0) < 940) F_SealFail; }
- else if (countitem(1131) || countitem(1230) || countitem(1232)) {
+ else if (countitem(Ice_Falchon) || countitem(House_Auger) || countitem(Assasin_Dagger)) {
if (getarg(0) < 920) F_SealFail; }
- else if (countitem(1132) || countitem(1134) || countitem(1233) || countitem(1234) || countitem(1235) || countitem(1414) || countitem(1523) || countitem(1236)) {
+ else if (countitem(Edge) || countitem(Scissores_Sword) || countitem(Exercise) || countitem(Moonlight_Sword) || countitem(Azoth) || countitem(Gelerdria) || countitem(Spike) || countitem(Sucsamad)) {
if (getarg(0) < 900) F_SealFail; }
- else if (countitem(1237) || countitem(1524) || countitem(1525) || countitem(1557) || countitem(1415) || countitem(1964)) {
+ else if (countitem(Grimtooth_) || countitem(Golden_Mace) || countitem(Long_Mace) || countitem(Book_Of_The_Apocalypse) || countitem(Skewer) || countitem(Chemeti)) {
if (getarg(0) < 880) F_SealFail; }
- else if (countitem(1135) || countitem(1140) || countitem(1141) || countitem(1527)) {
+ else if (countitem(Cutlas) || countitem(Byeorrun_Gum) || countitem(Immaterial_Sword) || countitem(Quadrille)) {
if (getarg(0) < 860) F_SealFail; }
- else if (countitem(1164) || countitem(1165) || countitem(1467) || countitem(1138) || countitem(1139) || countitem(1224) || countitem(1225) || countitem(1416) || countitem(1526)) {
+ else if (countitem(Muramasa) || countitem(Masamune) || countitem(Bill_Guisarme) || countitem(Mysteltainn_) || countitem(Tale_Fing_) || countitem(Sword_Breaker) || countitem(Mail_Breaker) || countitem(Tjungkuletti) || countitem(Slash)) {
if (getarg(0) < 840) F_SealFail; }
- else if (countitem(1305) || countitem(1720) || countitem(1136) || countitem(1137) || countitem(1166)) {
+ else if (countitem(Cleaver) || countitem(Bow_Of_Rudra) || countitem(Solar_Sword) || countitem(Excalibur) || countitem(Dragon_Slayer)) {
if (getarg(0) < 820) F_SealFail; }
- else if (countitem(1261) || countitem(1528) || countitem(1167)) {
+ else if (countitem(Infiltrator) || countitem(Grand_Cross) || countitem(Schweizersabel)) {
if (getarg(0) < 800) F_SealFail; }
- else if (countitem(1364) || countitem(1913)) {
+ else if (countitem(Great_Axe) || countitem(Electronic_Guitar)) {
if (getarg(0) < 780) F_SealFail; }
- else if (countitem(1170) || countitem(1468) || countitem(1168) || countitem(1169)) {
+ else if (countitem(Katzbalger) || countitem(Zephyrus) || countitem(Zweihander) || countitem(Executioner_)) {
if (getarg(0) < 760) F_SealFail; }
- else if (countitem(1365) || countitem(1366) || countitem(1473)) {
+ else if (countitem(Sabbath) || countitem(Right_Epsilon) || countitem(Wizardy_Staff)) {
if (getarg(0) < 740) F_SealFail; }
- else if (countitem(1367) || countitem(1368) || countitem(1466) || countitem(1469)) {
+ else if (countitem(Slaughter) || countitem(Tomahawk) || countitem(Crescent_Scythe) || countitem(Longinus's_Spear)) {
if (getarg(0) < 720) F_SealFail; }
- else if (countitem(1369) || countitem(1470)) {
+ else if (countitem(Guillotine) || countitem(Brionac)) {
if (getarg(0) < 700) F_SealFail; }
- else if (countitem(1722) || countitem(1471)) {
+ else if (countitem(Balistar) || countitem(Hell_Fire)) {
if (getarg(0) < 680) F_SealFail; }
- else if (countitem(1363)) {
+ else if (countitem(Brood_Axe)) {
if (getarg(0) < 660) F_SealFail; }
- else if (countitem(1530)) {
+ else if (countitem(Mjolnir)) {
if (getarg(0) < 500) F_SealFail; }
else {
mes "^3355FFThe weapon you're holding";
@@ -12036,9 +12036,9 @@ function script F_SignSeal {
mes "I'm leaving my soul";
mes "with you. Please guide";
mes "me to the queen of the dead...^000000";
- delitem 7306,3; //Fragment_Of_Soul
+ delitem Fragment_Of_Soul,3;
sign_q = 117;
- getitem 7307,1; //Whisper_Of_Soul
+ getitem Whisper_Of_Soul,1;
}
else {
mes "^3355FFOnce you strike the seal,";
@@ -12047,7 +12047,7 @@ function script F_SignSeal {
mes "^3355FFYou have";
mes "obtained a^6E7B8B";
mes "Piece of Spirit^3355FF.^000000";
- getitem 7306,1; //Fragment_Of_Soul
+ getitem Fragment_Of_Soul,1;
}
return;
}
@@ -12216,7 +12216,7 @@ que_sign01,46,56,0 script Fountain#sign HIDDEN_NPC,{
next;
switch(select("Bottle the water.:Don't bottle the water.")) {
case 1:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^3355FFUnfortunately, it";
mes "looks like you don't";
mes "have enough inventory";
@@ -12224,9 +12224,9 @@ que_sign01,46,56,0 script Fountain#sign HIDDEN_NPC,{
close;
}
else {
- if (countitem(713) > 0) {
- delitem 713,1; //Empty_Bottle
- getitem 12020,1; //Water_Of_Darkness
+ if (countitem(Empty_Bottle) > 0) {
+ delitem Empty_Bottle,1;
+ getitem Water_Of_Darkness,1;
close;
}
else {
@@ -12284,7 +12284,7 @@ OnTimer45000:
geffen,119,48,0 script Fountain#s HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- if (countitem(7025) > 0) {
+ if (countitem(Lucifer's_Lament) > 0) {
mes "^3355FFAs you approach the fountain,";
mes "a strange light begins to emit from the Lucifer's Lament in your pocket and from something deep within";
mes "the fountain's water.^000000";
@@ -12457,7 +12457,7 @@ que_sign02,0,0,0,0 monster Wraith Dead 1566,8,0,0,0
que_sign02,378,235,0 script sign_w6 WARPNPC,1,1,{
OnTouch:
callfunc "F_UpdateSignVars";
- if ((countitem(7313) == 1) && ((sign_q != 124) || (sign_q != 125) || (sign_q != 126))) {
+ if ((countitem(Seal_Of_Witch) == 1) && ((sign_q != 124) || (sign_q != 125) || (sign_q != 126))) {
warp "que_sign01",197,190;
end;
}
@@ -12507,7 +12507,7 @@ function script F_UpdateSignVars {
else if ((signquest >= 14) && (signquest <= 15)) { sign_q = 54; }
else if ((signquest >= 16) && (signquest <= 18)) { sign_q = signquest+39; }
// signanvil = 58-61
- else if ((signquest == 19) && (countitem(7278))) { sign_q = 61; }
+ else if ((signquest == 19) && (countitem(Wellbeing_Letter))) { sign_q = 61; }
// there is no equivilent to sign_q 62-64
else if (signquest == 20) { sign_q = 65; }
// there is no equivilent to sign_q 66-68
@@ -12570,25 +12570,25 @@ function script F_UpdateSignVars {
// of this step.
if (signlaichin >= 1) {
mes "^FF0000You stumble and drop the your^000000";
- if (countitem(7306)) {
+ if (countitem(Fragment_Of_Soul)) {
mes "^FF0000"+getitemname(7306)+"^000000";
}
- if (countitem(7306) && countitem(7307)) {
+ if (countitem(Fragment_Of_Soul) && countitem(Whisper_Of_Soul)) {
mes "^FF0000and^000000";
}
- if (countitem(7307)) {
+ if (countitem(Whisper_Of_Soul)) {
mes "^FF0000"+getitemname(7307)+"^000000";
}
mes "^FF0000pieces on the ground and they vanish! Perhaps you should talk to Lachin.^000000";
- delitem 7306,countitem(7306); //Fragment_Of_Soul
- delitem 7307,countitem(7307); //Whisper_Of_Soul
+ delitem Fragment_Of_Soul,countitem(Fragment_Of_Soul);
+ delitem Whisper_Of_Soul,countitem(Whisper_Of_Soul);
sign_q = rand(97,100);
}
// Same BS as above, unable to save pickup time for 'The Sign' from Engel.
if (signengelhour) {
mes "^FF0000You see that Engel has forgotten to look at 'The Sign', how you got it back is a mystery too you, but you should remind Engel that he needs to look at it.^000000";
- getitem 7314,1; //The_Sign
+ getitem The_Sign,1;
sign_q = 139;
}
@@ -12613,7 +12613,7 @@ function script F_UpdateSignVars {
// Unable to save when the Sign should be picked up from Metz
if (signmetzhour) {
mes "^FF0000You see that Metz has forgotten to look at 'The Sign', how you got it back is a mystery too you, but you should remind Metz that he needs to look at it.^000000";
- getitem 7314,1; //The_Sign
+ getitem The_Sign,1;
sign_q = 138;
}
diff --git a/npc/re/cities/brasilis.txt b/npc/re/cities/brasilis.txt
index 9d2dfa109..77e2635e3 100644
--- a/npc/re/cities/brasilis.txt
+++ b/npc/re/cities/brasilis.txt
@@ -157,14 +157,14 @@ brasilis,137,77,5 script Ice-Cream Maker 4_M_03,{
mes "It's only ^3355FF100 Zeny^000000~ Seriously!";
close;
}
- if (!checkweight(536,.@input)) {
+ if (!checkweight(Ice_Cream,.@input)) {
mes "[Ice Cream Maker]";
mes "You seem to have too much stuff.";
mes "Lighten your pack before buying this.";
close;
}
Zeny -= .@icecream_hap;
- getitem 536,.@input; //Ice_Cream
+ getitem Ice_Cream,.@input;
close;
case 2:
mes "[Ice Cream Maker]";
diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt
index 8b9d184e5..04881fed7 100644
--- a/npc/re/cities/dewata.txt
+++ b/npc/re/cities/dewata.txt
@@ -186,12 +186,12 @@ dewata,221,237,5 script Young Man#dew-1 4_M_DEWMAN,{
}
dewata,114,243,6 script Lazy Young Man#dew 4_M_DEWMAN,1,1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
mes "[Lazy Young Man]";
mes "Why are you carrying so much? Isn't it heavy?";
close;
}
- if (countitem(11534)) {
+ if (countitem(Coco_Juice)) {
mes "[Lazy Young Man]";
mes "Wewt~!! Isn't that Palm Juice?";
mes "Can you give me that? I just woke";
@@ -201,7 +201,7 @@ dewata,114,243,6 script Lazy Young Man#dew 4_M_DEWMAN,1,1,{
case 1:
mes "[Lazy Young Man]";
mes "Really? For me?? I'll give you this in return... Thanks... Hehe~";
- delitem 11534,1; //Coco_Juice
+ delitem Coco_Juice,1;
getrandgroupitem(IG_GiftBox),1;
close;
case 2:
@@ -215,7 +215,7 @@ dewata,114,243,6 script Lazy Young Man#dew 4_M_DEWMAN,1,1,{
mes "juice for me?~";
close;
OnTouch:
- if (countitem(11534) == 0) {
+ if (countitem(Coco_Juice) == 0) {
mes "[Lazy Young Man]";
mes "Arrgg~ I'm thirsty~~ so thirsty~~";
mes "Give me Palm juice... Palm Juuiice~~";
@@ -247,7 +247,7 @@ dewata,159,81,4 script Tourist#dew-1 4_M_SITDOWN,{
}
dewata,146,109,5 script Restauranteur#dew 4_COOK,{
- if (checkweight(11532,1) == 0 || checkweight(11533,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Nasi_Goreng,1) == 0 || checkweight(Satay,1) == 0 || MaxWeight - Weight < 500) {
mes "[Restauranteur]";
mes "You came to taste my dish? It is always good to eat with an empty stomach.";
close;
@@ -1057,7 +1057,7 @@ dewata,280,236,4 script Settler#dew 4_F_JOB_BLACKSMITH,{
}
dewata,204,230,6 script Dieting Lady#dew 4_M_DEWWOMAN,{
- if (countitem(11533) == 0) {
+ if (countitem(Satay) == 0) {
mes "[Dieting Lady]";
mes "Ah~ I'm starving!!";
mes "I should be on a diet now.";
@@ -1075,14 +1075,14 @@ dewata,204,230,6 script Dieting Lady#dew 4_M_DEWWOMAN,{
next;
switch(select("Yes, want a taste?:No, it's for me!")) {
case 1:
- delitem 11533,1; //Satay
+ delitem Satay,1;
mes "[Dieting Lady]";
mes "Thanks so much!";
mes "I've been so hungry~!!";
mes "This smell of this ^006400Satay^000000";
mes "is so good~!";
next;
- getitem 11533,1; //Satay
+ getitem Satay,1;
mes "[Dieting Lady]";
mes "Ah... gotta come back to my senses,";
mes "too much of a good thing is bad...";
diff --git a/npc/re/cities/malangdo.txt b/npc/re/cities/malangdo.txt
index 43897e15f..98d0efd95 100644
--- a/npc/re/cities/malangdo.txt
+++ b/npc/re/cities/malangdo.txt
@@ -311,8 +311,8 @@ malangdo,147,117,3 script Innkeeper#malang 4_CAT_REST,{
next;
switch(select("Here you go.:Never mind.")) {
case 1:
- if (countitem(12636) > 4) {
- delitem 12636,5; //Malang_Sp_Can
+ if (countitem(Malang_Sp_Can) > 4) {
+ delitem Malang_Sp_Can,5;
percentheal 100,100;
specialeffect2 EF_HEALSP;
mes "[Innkeeper]";
diff --git a/npc/re/instances/BakonawaLake.txt b/npc/re/instances/BakonawaLake.txt
index 82a9d7782..e1937f572 100644
--- a/npc/re/instances/BakonawaLake.txt
+++ b/npc/re/instances/BakonawaLake.txt
@@ -37,7 +37,7 @@
ma_scene01,174,179,4 script Taho 4_M_DEWZATIMAN,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You are carrying too many items. Come back after taking off some of them.";
close;
}
@@ -481,7 +481,7 @@ OnMobSpawn:
1@ma_b,62,52,4 script Taho#Completed 4_M_DEWZATIMAN,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "It seems you are carrying too many different kinds of items. Please try again after reducing it.";
close;
}
@@ -494,9 +494,9 @@ OnMobSpawn:
mes "[Taho]";
mes "This was found from Bakonawa's corpse. It would be better if you take this.";
// if (IsPremiumPcCafe == 10)
- getitem 6499,7; //Ancient_Grudge
+ getitem Ancient_Grudge,7;
// else
-// getitem 6499,5; //Ancient_Grudge
+// getitem Ancient_Grudge,5;
getexp 0,100000;
next;
}
diff --git a/npc/re/instances/BangungotHospital.txt b/npc/re/instances/BangungotHospital.txt
index 1789106e8..5b9fba3dd 100644
--- a/npc/re/instances/BangungotHospital.txt
+++ b/npc/re/instances/BangungotHospital.txt
@@ -153,7 +153,7 @@ ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{
end;
}
} else {
- if (checkweight(607,1) == 0) {
+ if (checkweight(Yggdrasilberry,1) == 0) {
mes "[Nurse Maenne]";
mes "You have too much stuff.";
mes "Please reduce your stuff and";
@@ -162,7 +162,7 @@ ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{
cutin "",255;
end;
}
- if (checkweight(607,11) == 0) {
+ if (checkweight(Yggdrasilberry,11) == 0) {
mes "[Nurse Maenne]";
mes "It's too heavy.";
mes "Please reduce the weight and";
@@ -179,9 +179,9 @@ ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{
setquest 9223;
getexp 500000,0;
// if (IsPremiumPcCafe == 10)
- getitem 6499,7; //Ancient_Grudge
+ getitem Ancient_Grudge,7;
// else
-// getitem 6499,5; //Ancient_Grudge
+// getitem Ancient_Grudge,5;
close2;
cutin "",255;
end;
diff --git a/npc/re/instances/HazyForest.txt b/npc/re/instances/HazyForest.txt
index d3c017a47..d92934dc5 100644
--- a/npc/re/instances/HazyForest.txt
+++ b/npc/re/instances/HazyForest.txt
@@ -462,7 +462,7 @@ OnMyMobDead:
1@mist,73,290,0 script Mysterious Flower#1 CLEAR_NPC,{
specialeffect EF_LEVEL99_4;
disablenpc instance_npcname(strnpcinfo(0));
- getitem 12561,1; //Mysterious_Seed
+ getitem Mysterious_Seed,1;
end;
}
1@mist,69,295,0 duplicate(Mysterious Flower#1) Mysterious Flower#2 CLEAR_NPC
@@ -816,7 +816,7 @@ mora,46,152,5 script Flower Smelling Lady 4_F_NYDHOG,{
}
mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- You have too many items to do this quest. -";
close;
}
@@ -919,8 +919,8 @@ mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{
mes "May the blessing of Mother Yggdrasil be with you...";
ep14_1_mistwoods = 10;
completequest 7213;
- getitem 2568,1; //Muffler_Of_Roki
- getitem 2858,1; //Pendant_Of_Guardian
+ getitem Muffler_Of_Roki,1;
+ getitem Pendant_Of_Guardian,1;
getexp 400000,400000;
close;
} else {
@@ -1012,7 +1012,7 @@ OnInstanceInit:
//== Warp Portals ==========================================
bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{
mes "It's a giant flower with mysterious energy.";
- if (countitem(12561)) {
+ if (countitem(Mysterious_Seed)) {
mes "It's reacting to the Mysterious Flower Seeds you have with you.";
next;
switch(select("Observe the reaction.:Stop the reaction.")) {
@@ -1020,7 +1020,7 @@ bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{
mes "The flower started to shake violently";
mes "and swing forward as if trying to send the seeds as far away as possible!!!";
close2;
- delitem 12561,1; //Mysterious_Seed
+ delitem Mysterious_Seed,1;
warp "bif_fild02",160,230;
end;
case 2:
diff --git a/npc/re/instances/MalangdoCulvert.txt b/npc/re/instances/MalangdoCulvert.txt
index 6e4862b81..c67647615 100644
--- a/npc/re/instances/MalangdoCulvert.txt
+++ b/npc/re/instances/MalangdoCulvert.txt
@@ -40,7 +40,7 @@
//== Quest NPCs ============================================
mal_in01,172,28,2 script Albo#mal 4_CAT_SAILOR5,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Try to continue after reducing those objects.";
close;
}
@@ -164,7 +164,7 @@ L_GiveQuest:
}
mal_in01,172,26,2 script Madeca#mal 4_CAT_SAILOR1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Try to continue after reducing those objects.";
close;
}
@@ -394,7 +394,7 @@ mal_in01,160,34,4 script Missing, the Cleaner 4_CAT_SAILOR2,{
in_canal_n = 1;
close;
}
- if (countitem(6436) == 0) {
+ if (countitem(Ptotection_Seagod) == 0) {
mes "[Missing, the Cleaner]";
mes "You don't look like you have Seagod Protection. I can't open door at the moment!";
close;
diff --git a/npc/re/instances/OctopusCave.txt b/npc/re/instances/OctopusCave.txt
index 0d7e794a1..61f3e408d 100644
--- a/npc/re/instances/OctopusCave.txt
+++ b/npc/re/instances/OctopusCave.txt
@@ -103,7 +103,7 @@ mal_dun01,151,235,5 script Starfish 4_ASTER,{
close;
}
if (.@playtime == 2) erasequest 4197;
- if (countitem(6442)) {
+ if (countitem(Octopus_Hunt_Stick)) {
.@instance = instance_create(.@md_name$,.@party_id);
if (.@instance < 0) {
mes "[Starfish]";
@@ -147,7 +147,7 @@ mal_dun01,153,237,5 script Weird Entrance CLEAR_NPC,{
next;
switch(select("Go in.:Stop.")) {
case 1:
- if (countitem(6442)) {
+ if (countitem(Octopus_Hunt_Stick)) {
if (has_instance("1@cash") == "") {
if (questprogress(4197,PLAYTIME) == 1) {
mes "[Starfish]";
diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt
index 6620357c4..936053d36 100644
--- a/npc/re/instances/OldGlastHeim.txt
+++ b/npc/re/instances/OldGlastHeim.txt
@@ -1238,7 +1238,7 @@ OnTalk6:
mes "[Varmunt]";
mes "There's something unusual about this thing's aura. Maybe someday we will be able to understand what is behind all of this.";
cutin "gl_barmund1",2;
- getitem 6608,1; //Coagulated Spell
+ getitem Coagulated_Spell,1; //Coagulated Spell
setquest 12319;
close2;
cutin "gl_barmund1",255;
@@ -1942,7 +1942,7 @@ OnTimer80000:
mes "Well, you are pretty ridiculous. Beginners shouldn't get the loot Amdarias drops.";
erasequest 12318;
erasequest 12319;
- getitem 6608,1; //Coagulated Spell
+ getitem Coagulated_Spell,1; //Coagulated Spell
next;
mes "[Hugin]";
mes "Varmunt, I have arbitrarily stopped time. And soon, the time gap will be gone.";
diff --git a/npc/re/instances/WolfchevLaboratory.txt b/npc/re/instances/WolfchevLaboratory.txt
index 30cd74c7f..7adc07995 100644
--- a/npc/re/instances/WolfchevLaboratory.txt
+++ b/npc/re/instances/WolfchevLaboratory.txt
@@ -43,7 +43,7 @@
//== Giacomo Girolam =======================================
lighthalzen,303,303,6 script Giacomo Girolamo#kiup2 4_M_KHMAN,3,3,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -320,7 +320,7 @@ lighthalzen,303,303,6 script Giacomo Girolamo#kiup2 4_M_KHMAN,3,3,{
//== Weird Old Man (Rewards) ===============================
lighthalzen,342,291,4 script Weird old man#Bio4Reward 4_M_EINOLD,{
- if ((MaxWeight - Weight) < 2800 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 2800 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -695,7 +695,7 @@ lighthalzen,342,291,4 script Weird old man#Bio4Reward 4_M_EINOLD,{
//== Sorcerer (Rewards) ====================================
lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{
- if ((MaxWeight - Weight) < 1200 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1200 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -1458,7 +1458,7 @@ que_lhz,206,74,4 script Researcher#02 4_LGTSCIENCE,3,3,{
//== Wolfchev ==============================================
que_lhz,94,119,4 script Researcher#03 4_LGTSCIENCE,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -1499,7 +1499,7 @@ que_lhz,94,119,4 script Researcher#03 4_LGTSCIENCE,{
//== Wolfchev ==============================================
que_lhz,147,224,4 script Researcher#04 4_LGTSCIENCE,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -1699,7 +1699,7 @@ que_lhz,140,224,2 duplicate(Human Guinea pig#01) Human Guinea pig#08 CHEN
//== Wolfchev ==============================================
lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000";
close;
}
@@ -1916,7 +1916,7 @@ lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{
//==========================================================
lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000";
close;
}
@@ -3094,7 +3094,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
//== Wolfchev - Final encounter ============================
1@lhz,137,156,7 script Wolfchev#last 4_LGTSCIENCE,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
diff --git a/npc/re/jobs/1-1/acolyte.txt b/npc/re/jobs/1-1/acolyte.txt
index 89387e3a2..005da4c8f 100644
--- a/npc/re/jobs/1-1/acolyte.txt
+++ b/npc/re/jobs/1-1/acolyte.txt
@@ -109,7 +109,7 @@ prt_church,184,41,4 script Cleric#aco 1_M_PASTOR,{
mes "[Father Mareusis]";
mes "Always remember to be thankful to God, who takes care of us all the time. In chaos and times of difficulty, face your hardships with unwavering faith.";
callfunc "Job_Change",Job_Acolyte;
- getitem 1545,1; // N_Mace
+ getitem N_Mace,1; // N_Mace
next;
mes "[Father Mareusis]";
mes "Lastly, I want to sincerely congratulate you on persevering through your trial of penance.";
diff --git a/npc/re/jobs/1-1/archer.txt b/npc/re/jobs/1-1/archer.txt
index cc9954dba..32b53ed49 100644
--- a/npc/re/jobs/1-1/archer.txt
+++ b/npc/re/jobs/1-1/archer.txt
@@ -116,10 +116,10 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{
mes "Congratulations! You are now an Archer! Also, we hope that you actively participate in many programs for the revival of the Archer Guild.";
mes "Ah, items have arrived from the Production Department. Here, take these! These are all yours!";
callfunc "Job_Change",Job_Archer;
- getitem 1742,1; // N_Composite_Bow
- getitem 12004,1; // Arrow_Container
- getitem 12009,1; // Silver_Arrow_Container
- getitem 12008,1; // Fire_Arrow_Container
+ getitem N_Composite_Bow,1; // N_Composite_Bow
+ getitem Arrow_Container,1; // Arrow_Container
+ getitem Silver_Arrow_Container,1; // Silver_Arrow_Container
+ getitem Fire_Arrow_Container,1; // Fire_Arrow_Container
next;
mes "[Archer Guildsman]";
mes "Having a bow and arrows, now you became a real Archer.";
diff --git a/npc/re/jobs/1-1/swordman.txt b/npc/re/jobs/1-1/swordman.txt
index 2bda736a9..00f1086ef 100644
--- a/npc/re/jobs/1-1/swordman.txt
+++ b/npc/re/jobs/1-1/swordman.txt
@@ -141,7 +141,7 @@ izlude_in,74,172,4 script Swordman#swd 2_M_SWORDMASTER,{
mes "[Swordman Guildsman]";
mes "Congratulations again for being a Swordman and I hope that you participate in many activities for the revival of our guild.";
callfunc "Job_Change",Job_Swordman;
- getitem 13415,1; // N_Falchion
+ getitem N_Falchion,1; // N_Falchion
close;
}
case 3:
diff --git a/npc/re/jobs/1-1/thief.txt b/npc/re/jobs/1-1/thief.txt
index 43b721086..3d3345719 100644
--- a/npc/re/jobs/1-1/thief.txt
+++ b/npc/re/jobs/1-1/thief.txt
@@ -190,7 +190,7 @@ moc_prydb1,42,133,2 script Thief Guildsman#thief 2_M_THIEFMASTER,{
mes "'For those who are ready, the moonlight shall open the way. Now you are fully ready, I now officially allow you to become a member of the Thief Guild.'";
callfunc "Job_Change",Job_Thief;
q_job_thief = 0;
- getitem 13041,1; // N_Main_Gauche
+ getitem N_Main_Gauche,1; // N_Main_Gauche
next;
mes "[Commander of Thief Guild]";
mes "'Congratulations on becoming a Thief.'";
diff --git a/npc/re/jobs/3-1/archbishop.txt b/npc/re/jobs/3-1/archbishop.txt
index 05a21985a..f803d99f8 100644
--- a/npc/re/jobs/3-1/archbishop.txt
+++ b/npc/re/jobs/3-1/archbishop.txt
@@ -517,7 +517,7 @@ OnTouch:
mes "^3131FF[Priest Dayan]^000000";
mes "^3131FFYou're drinking the Holy Water.^000000";
next;
- if (countitem(523) == 0) {
+ if (countitem(Holy_Water) == 0) {
mes "[" + strcharinfo(0) + "]";
mes "Oh no! I forgot to bring a Holy Water!";
close;
@@ -767,7 +767,7 @@ OnInit:
}
job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Wait a Sec !! -";
mes "- You are carrying too many items, -";
mes "- you won't be able to obtain any new items. -";
@@ -934,8 +934,8 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
$@archbs = 0;
close2;
nude;
- if (countitem(2798))
- delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
+ if (countitem(Will_Of_Exhausted_Angel))
+ delitem Will_Of_Exhausted_Angel,countitem(Will_Of_Exhausted_Angel);
donpcevent "start#arch::OnEnable";
job_arch = 7;
changequest 2190,2191;
@@ -947,8 +947,8 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
mes "I'm talking with another person now, so give me a second.";
close;
} else if (job_arch == 7) {
- if (countitem(12381)) delitem 12381,countitem(12381); //ValkyrieA_Scroll
- if (countitem(12382)) delitem 12382,countitem(12382); //ValkyrieB_Scroll
+ if (countitem(ValkyrieA_Scroll)) delitem ValkyrieA_Scroll,countitem(ValkyrieA_Scroll);
+ if (countitem(ValkyrieB_Scroll)) delitem ValkyrieB_Scroll,countitem(ValkyrieB_Scroll);
if ($@archbs == 0) {
$@archbs = 1;
mes "[Valkyrie Anguhilde]";
@@ -971,8 +971,8 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
mes "But you have to be careful if an impersonation falls down.";
close2;
nude;
- if (countitem(2798))
- delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
+ if (countitem(Will_Of_Exhausted_Angel))
+ delitem Will_Of_Exhausted_Angel,countitem(Will_Of_Exhausted_Angel);
donpcevent "start#arch::OnEnable";
job_arch = 7;
warp "job3_arch02",119,49;
@@ -994,8 +994,8 @@ OnBc:
job3_arch02,119,49,0 script #arch_1_start HIDDEN_WARP_NPC,6,6,{
OnTouch:
- if (countitem(12381) == 0)
- getitem 12381,1; //ValkyrieA_Scroll
+ if (countitem(ValkyrieA_Scroll) == 0)
+ getitem ValkyrieA_Scroll,1;
mapannounce "job3_arch02","Whispering of an impersonation: I feel heavy! Set me free!",bc_map,"0xFFCE00";
disablenpc "#arch_1_start";
end;
@@ -1003,8 +1003,8 @@ OnTouch:
- script #arch_1_01_0::archbjcq -1,{
OnTouch:
- if (countitem(12381)) {
- delitem 12381,1; //ValkyrieA_Scroll
+ if (countitem(ValkyrieA_Scroll)) {
+ delitem ValkyrieA_Scroll,1;
// fall through
} else if (getmercinfo(1) == 2037) {
if (strnpcinfo(0) == "#arch_1_10")
@@ -1035,8 +1035,8 @@ job3_arch02,245,289,0 duplicate(archbjcq) #arch_1_12 HIDDEN_WARP_NPC,5,5
job3_arch02,203,286,0 script #arch_1_boss HIDDEN_WARP_NPC,5,5,{
OnTouch:
- if (countitem(12381)) {
- delitem 12381,1; //ValkyrieA_Scroll
+ if (countitem(ValkyrieA_Scroll)) {
+ delitem ValkyrieA_Scroll,1;
// fall through
} else if (getmercinfo(1) == 2037) {
mapannounce "job3_arch02","Valkyrie's Nightmare: An incompetent illusion of Valkyrie came here with the assistance of humans. You wanna have that nightmare?",bc_map,"0xFF0000";
@@ -1140,7 +1140,7 @@ job3_arch02,113,327,5 script Valkyrie#arch_01 4_F_VALKYRIE2,{
mes "[Valkyrie Anguhilde]";
mes "Then I look forward a good news.";
close2;
- getitem 12382,1; //ValkyrieB_Scroll
+ getitem ValkyrieB_Scroll,1;
viewpoint 1,244,46,1,0xFFFF99;
hideonnpc "Valkyrie#arch_01";
donpcevent "#arch_2_start::OnEnable";
@@ -1151,11 +1151,11 @@ job3_arch02,244,46,5 script Valkyrie#arch_02 4_F_VALKYRIE2,{
mes "[Valkyrie Anguhilde]";
mes "Did you find the rest of the pieces?";
next;
- if (countitem(6154) < 2) {
+ if (countitem(Broken_Horn_Pipe) < 2) {
mes "[Valkyrie Anguhilde]";
mes "Hum?";
mes "I can see this one beside you.";
- getitem 6154,2; //Broken_Horn_Pipe
+ getitem Broken_Horn_Pipe,2;
next;
}
mes "[Valkyrie Anguhilde]";
@@ -1178,7 +1178,7 @@ job3_arch02,244,46,5 script Valkyrie#arch_02 4_F_VALKYRIE2,{
mes "Take care.";
mes "Please, hurry up!";
close2;
- getitem 2798,1; //Will_Of_Exhausted_Angel
+ getitem Will_Of_Exhausted_Angel,1;
hideonnpc "Valkyrie#arch_02";
donpcevent "#arch_3_start::OnEnable";
end;
@@ -1192,7 +1192,7 @@ OnTouch:
donpcevent "#arch_3_03::OnKill";
donpcevent "mob#arch_2::OnKill";
hideoffnpc "Valkyrie Anguhilde#end";
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Wait a Sec !! -";
mes "- You are carrying too many items, -";
mes "- you won't be able to obtain any new items. -";
@@ -1206,7 +1206,7 @@ OnTouch:
mes "Please unequip your riding pet and try again!";
close;
}
- if (countitem(6154) < 2) {
+ if (countitem(Broken_Horn_Pipe) < 2) {
mes "[Valkyrie Anguhilde]";
mes "Did you collect all of the pieces of my horn pipe?";
next;
@@ -1217,9 +1217,9 @@ OnTouch:
mes "It can be dangerous, so let's go back.";
close2;
nude;
- if (countitem(2798))
- delitem 2798,(2798); //Will_Of_Exhausted_Angel
- delitem 6154,countitem(6154); //Broken_Horn_Pipe
+ if (countitem(Will_Of_Exhausted_Angel))
+ delitem Will_Of_Exhausted_Angel,countitem(Will_Of_Exhausted_Angel);
+ delitem Broken_Horn_Pipe,countitem(Broken_Horn_Pipe);
mapwarp "job3_arch02","job3_arch01",29,29;
end;
}
@@ -1302,13 +1302,13 @@ OnTouch:
mes "Don't forget an altruistic minister's spirit like today forever.";
mes "I hope we see each other in Valhalla sometime.";
nude;
- if (countitem(2798))
- delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
- delitem 6154,countitem(6154); //Broken_Horn_Pipe
+ if (countitem(Will_Of_Exhausted_Angel))
+ delitem Will_Of_Exhausted_Angel,countitem(Will_Of_Exhausted_Angel);
+ delitem Broken_Horn_Pipe,countitem(Broken_Horn_Pipe);
job_arch = 100;
completequest 2191;
- getitem 5747,1; //Mitra
- getitem 2795,1; //Green_Apple_Ring
+ getitem Mitra,1;
+ getitem Green_Apple_Ring,1;
jobchange roclass(eaclass()|EAJL_THIRD);
close;
OnInit:
@@ -1345,15 +1345,15 @@ OnInit:
job3_arch02,132,323,0 script #arch_2_01 HIDDEN_WARP_NPC,5,5,{
end;
OnTouch:
- if (countitem(12382))
+ if (countitem(ValkyrieB_Scroll))
mapannounce "job3_arch02","Whispering of Valkyrie: I see a new ancient scroll!",bc_map;
end;
}
- script #arch_2_02_0::archbjcq2 -1,{
OnTouch:
- if (countitem(12382)) {
- delitem 12382,1; //ValkyrieB_Scroll
+ if (countitem(ValkyrieB_Scroll)) {
+ delitem ValkyrieB_Scroll,1;
// fall through
} else if (getmercinfo(1) == 2038) {
.@randht = rand(1,10);
@@ -1397,8 +1397,8 @@ OnTouch:
job3_arch02,206,113,0 script #arch_2_boss HIDDEN_WARP_NPC,5,5,{
OnTouch:
- if (countitem(12382)) {
- delitem 12382,1; //ValkyrieB_Scroll
+ if (countitem(ValkyrieB_Scroll)) {
+ delitem ValkyrieB_Scroll,1;
// fall through
} else if (getmercinfo(1) == 2038) {
mapannounce "job3_arch02","A shout of devil: You are so childish. I invite you a party of devil. I'll make you have a fun!",bc_map,"0xFF0000";
@@ -1647,10 +1647,10 @@ OnTouch:
/*
job_arch01,26,25,0 script #archremove HIDDEN_WARP_NPC,3,3,{
OnTouch:
- if (countitem(6154)) delitem 6154, countitem(6154); //Broken_Horn_Pipe
- if (countitem(12381)) delitem 12381, countitem(12381); //ValkyrieA_Scroll
- if (countitem(12382)) delitem 12382, countitem(12382); //ValkyrieB_Scroll
- if (countitem(2798)) delitem 2798, countitem(2798); //Will_Of_Exhausted_Angel
+ if (countitem(Broken_Horn_Pipe)) delitem Broken_Horn_Pipe, countitem(Broken_Horn_Pipe);
+ if (countitem(ValkyrieA_Scroll)) delitem ValkyrieA_Scroll, countitem(ValkyrieA_Scroll);
+ if (countitem(ValkyrieB_Scroll)) delitem ValkyrieB_Scroll, countitem(ValkyrieB_Scroll);
+ if (countitem(Will_Of_Exhausted_Angel)) delitem Will_Of_Exhausted_Angel, countitem(Will_Of_Exhausted_Angel);
end;
}
*/
diff --git a/npc/re/jobs/3-1/guillotine_cross.txt b/npc/re/jobs/3-1/guillotine_cross.txt
index 40903e32f..3d2996a28 100644
--- a/npc/re/jobs/3-1/guillotine_cross.txt
+++ b/npc/re/jobs/3-1/guillotine_cross.txt
@@ -275,7 +275,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 799) {
mes "Here you are, take it.";
Zeny -= 800;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
close;
}
mes "It's 800 zeny per glass of Tropical Sograt.";
@@ -285,7 +285,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 799) {
mes "Here you are, take it.";
Zeny -= 800;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
close;
}
mes "It's 800 zeny per glass of Vermilion on the Beach.";
@@ -730,7 +730,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
mes "Here you are. Milk.";
mes "Then take a rest.";
Zeny -= 500;
- getitem 519,1; //Milk
+ getitem Milk,1;
close;
}
mes "I told you, it's 500 zeny.";
@@ -770,7 +770,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 799) {
mes "Here you are, take it.";
Zeny -= 800;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
close;
}
mes "It's 800 zeny per 1 glass of Tropical Sograt.";
@@ -780,7 +780,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 799) {
mes "Here you are, take it.";
Zeny -= 800;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
close;
}
mes "[Daora]";
@@ -797,7 +797,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
mes "I feel sorry to take 500 zeny per bottle, but I have to.";
mes "It's very hard to get milk in Veins.";
Zeny -= 500;
- getitem 519,1; //Milk
+ getitem Milk,1;
close;
}
mes "Umm... I think I can't help you.";
@@ -832,7 +832,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 999) {
mes "Here you are, take it.";
Zeny -= 1000;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
close;
}
mes "It's 1000 zeny per glass of Tropical Sograt.";
@@ -842,7 +842,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 999) {
mes "Here you are, take it.";
Zeny -= 1000;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
close;
}
mes "It's 1000 zeny per glass of Vermilion on the Beach.";
@@ -858,7 +858,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
}
job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
- if (!checkweight(1201,2)) {
+ if (!checkweight(Knife,2)) {
mes "- You can't continue this quest because you have too many items. -";
close;
}
@@ -945,7 +945,7 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
next;
select("Give a key to him.");
mes "[Mayshell]";
- if (countitem(6150) == 0) {
+ if (countitem(Key_Of_The_Mansion) == 0) {
mes "You didn't bring a key?";
mes "I'll be in lots of trouble.";
close;
@@ -967,7 +967,7 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
mes "[Mayshell]";
mes "This is the last step.";
mes "Don't make any mistakes.";
- delitem 6150,1; //Key_Of_The_Mansion
+ delitem Key_Of_The_Mansion,1;
job_3rd_gc = 15;
changequest 7108,7109;
close;
@@ -1067,7 +1067,7 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
mes "I reward you for your labor, and I'm going to give you a present.";
mes "I got this one from guild, I hope it's helpful to you.";
job_3rd_gc = 20;
- getitem 12106,1; //Accessory_Box
+ getitem Accessory_Box,1;
erasequest 7091;
erasequest 7092;
erasequest 7093;
@@ -2507,7 +2507,7 @@ OnTimer61000:
}
job3_guil02,49,43,5 script Dandelion#3rdgc12 4_M_DSTMANDEAD,{
- if (!checkweight(1201,2)) {
+ if (!checkweight(Knife,2)) {
mes "- You can't continue this quest because you have too many items. -";
close;
}
@@ -2529,7 +2529,7 @@ job3_guil02,49,43,5 script Dandelion#3rdgc12 4_M_DSTMANDEAD,{
mes "He passed away.";
mes "You find a key with a fancy decoration around his neck.";
job_3rd_gc = 13;
- getitem 6150,1; //Key_Of_The_Mansion
+ getitem Key_Of_The_Mansion,1;
changequest 7107,7108;
close;
} else {
@@ -3610,7 +3610,7 @@ OnDisable:
}
job3_guil01,148,53,3 script Bercasell#3rdgc16 4_M_GUILLOTINE,{
- if (!checkweight(1201,2)) {
+ if (!checkweight(Knife,2)) {
mes "- You can't continue this quest because you have too many items. -";
close;
}
@@ -3700,8 +3700,8 @@ job3_guil01,148,53,3 script Bercasell#3rdgc16 4_M_GUILLOTINE,{
job_3rd_gc = 28;
erasequest 7099;
}
- getitem 2795,1; //Green_Apple_Ring
- getitem 5755,1; //Silent_Executer
+ getitem Green_Apple_Ring,1;
+ getitem Silent_Executer,1;
next;
mes "[Bercasell]";
mes "And... these are presents to celebrate your becoming a Guillotine Cross.";
diff --git a/npc/re/jobs/3-1/mechanic.txt b/npc/re/jobs/3-1/mechanic.txt
index 84fb0cd08..4f74cb051 100644
--- a/npc/re/jobs/3-1/mechanic.txt
+++ b/npc/re/jobs/3-1/mechanic.txt
@@ -96,10 +96,10 @@ yuno,129,156,3 script Chainheart 4_M_DOCTOR,{
job__mechanic = 12;
completequest 10101;
if (Sex)
- getitem 5749,1; //Driver_Band
+ getitem Driver_Band,1;
else
- getitem 5760,1; //Driver_Band_
- getitem 2795,1; //Green_Apple_Ring
+ getitem Driver_Band_,1;
+ getitem Green_Apple_Ring,1;
jobchange roclass(eaclass()|EAJL_THIRD);
mes "[Chainheart]";
mes "This is a gift that I give to you.";
@@ -316,7 +316,7 @@ yuno,129,156,3 script Chainheart 4_M_DOCTOR,{
}
jupe_cave,37,55,5 script Scholar#Mechanic 4_M_ALCHE_D,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 300) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 300) {
mes "- Your pack is too heavy. -";
mes "- Lighten your body first -";
mes "- and please try again. -";
diff --git a/npc/re/jobs/3-1/ranger.txt b/npc/re/jobs/3-1/ranger.txt
index c9943f541..35a2683ed 100644
--- a/npc/re/jobs/3-1/ranger.txt
+++ b/npc/re/jobs/3-1/ranger.txt
@@ -209,9 +209,9 @@ tur_dun01,156,36,5 script Survival Instructor#jr01 1_M_ORIENT01,{
mes "Do your best.";
job_ranger01 = 3;
changequest 8255,8256;
- getitem 1703,1; //Bow__
- getitem 12323,10; //N_Fly_Wing
- getitem 1750,500; //Arrow
+ getitem Bow__,1;
+ getitem N_Fly_Wing,10;
+ getitem Arrow,500;
close;
}
mes "I knew it.";
@@ -399,7 +399,7 @@ tur_dun01,91,169,3 script Test Instructor#jr02 4_M_JOB_HUNTER,{
close;
} else if (job_ranger01 == 4) {
if (questprogress(8257,HUNTING) == 2) {
- if (countitem(7064) > 0) {
+ if (countitem(Dragon_Fly_Wing) > 0) {
mes "Oh! Oh! Woooooow!";
mes "You've brought it! Let me see...";
next;
@@ -413,7 +413,7 @@ tur_dun01,91,169,3 script Test Instructor#jr02 4_M_JOB_HUNTER,{
mes "[Test Instructor, Teardrop]";
mes "Well, before I explain, could you please give me that Dragonfly wing?";
mes "You've heard the saying, 'in any situation, eating comes first'?";
- delitem 7064,1; //Dragon_Fly_Wing
+ delitem Dragon_Fly_Wing,1;
job_ranger01 = 5;
changequest 8257,8258;
close;
@@ -558,11 +558,11 @@ tur_dun01,91,169,3 script Test Instructor#jr02 4_M_JOB_HUNTER,{
mes "You don't have as many guts as I thought.";
nude;
next;
- if (countitem(1703) > 0) {
+ if (countitem(Bow__) > 0) {
mes "[Test Instructor, Teardrop]";
mes "Okay. I'll respect your opinion.";
mes "I'll cancel the job change request from "+strcharinfo(0)+".";
- delitem 1703,1; //Bow__
+ delitem Bow__,1;
job_ranger01 = 0;
for(.@i = 8254; .@i <= 8262; ++.@i)
if (questprogress(.@i))
@@ -625,28 +625,28 @@ L_Start:
close;
}
if (getarg(0) == 1) {
- if (countitem(12380)) {
+ if (countitem(Desert_Wolf_Babe_Scroll)) {
mes "[Test Instructor, Teardrop]";
mes "What, what is this?";
mes "You shouldn't keep this around!";
- delitem 12380,countitem(12380); //Desert_Wolf_Babe_Scroll
+ delitem Desert_Wolf_Babe_Scroll,countitem(Desert_Wolf_Babe_Scroll);
next;
}
- if (countitem(12258)) {
+ if (countitem(Bombring_Box)) {
mes "[Test Instructor, Teardrop]";
mes "What, what is this, a Bombring Capsule.";
mes "You shouldn't keep such a dangerous thing!";
- delitem 12258,countitem(12258); //Bombring_Box
+ delitem Bombring_Box,countitem(Bombring_Box);
next;
}
- if (countitem(6156)) {
+ if (countitem(Approval_Report)) {
mes "[Test Instructor, Teardrop]";
mes "What, what are all these Documents?";
mes "I think I know. You were going to send this to Caution, right?";
next;
mes "[Test Instructor, Teardrop]";
mes "If you hold such thing it would disturb your practical test so I'll take this.";
- delitem 6156,countitem(6156); //Approval_Report
+ delitem Approval_Report,countitem(Approval_Report);
next;
}
}
@@ -665,7 +665,7 @@ L_Start:
mes "[Test Instructor, Teardrop]";
mes "See, for the last time, I warn you that cheating is strictly banned.";
next;
- if (countitem(1750) < 100) {
+ if (countitem(Arrow) < 100) {
mes "[Test Instructor, Teardrop]";
mes "Okay, once again I'll provide you with arrows, then I'll let you in.";
.@arrow = 1;
@@ -681,7 +681,7 @@ L_Start:
erasequest 8260;
erasequest 8261;
}
- if (.@arrow) getitem 1750,100; //Arrow
+ if (.@arrow) getitem Arrow,100;
close2;
warp "job3_rang01",30,36;
end;
@@ -720,11 +720,11 @@ job3_rang01,30,44,3 script Test Waiting Room#jr_03 4_M_ORIENT01,{
mes "You don't have as many guts as I thought.";
nude;
next;
- if (countitem(1703) > 0) {
+ if (countitem(Bow__) > 0) {
mes "[Staff DTS]";
mes "Okay. I'll respect your opinion.";
mes "I'll cancel the job change request from "+strcharinfo(0)+".";
- delitem 1703,1; //Bow__
+ delitem Bow__,1;
job_ranger01 = 0;
for(.@i = 8254; .@i <= 8262; ++.@i)
if (questprogress(.@i))
@@ -1184,14 +1184,14 @@ OnTimer223000:
job3_rang02,111,56,3 script Staff Rust#jr_09 4_M_ORIENT02,{
if (job_ranger01 == 6) {
- if (countitem(12258) < 1) {
+ if (countitem(Bombring_Box) < 1) {
percentheal 100,0;
specialeffect2 EF_ABSORBSPIRITS;
mes "[Staff Rust]";
mes "I'll give you the 'Bombring Capsules.";
mes "The 'Bombring Capsules' can be given again only for the one who used it all, so please keep that in mind.";
- if (countitem(6156)) {
- getitem 12258,5; //Bombring_Box
+ if (countitem(Approval_Report)) {
+ getitem Bombring_Box,5;
close;
}
next;
@@ -1199,9 +1199,9 @@ job3_rang02,111,56,3 script Staff Rust#jr_09 4_M_ORIENT02,{
mes "[Staff Rust]";
mes "And the mission is.... to deliver these documents to the supervisor, Caution. He won't take what I give...";
setquest 8260;
- getitem 6156, (MaxWeight-Weight-2000)/10; //Approval_Report
- getitem 12258,10; //Bombring_Box
- getitem 569,100; //Novice_Potion
+ getitem Approval_Report, (MaxWeight-Weight-2000)/10;
+ getitem Bombring_Box,10;
+ getitem Novice_Potion,100;
close;
}
mes "[Staff Rust]";
@@ -1292,7 +1292,7 @@ OnDisable:
end;
OnTouch:
if (job_ranger01 == 6) {
- if (countitem(12258)) {
+ if (countitem(Bombring_Box)) {
mes "[Test Supervisor, Caution]";
mes "No, no!";
mes "You need to use all the 'Bombring Capsules'?!";
@@ -1302,7 +1302,7 @@ OnTouch:
mes "Time is ticking so you'd better hurry.";
close;
}
- if (countitem(6156) > 0) {
+ if (countitem(Approval_Report) > 0) {
mes "[Test Supervisor, Caution]";
mes "You've arrived safely!!!";
donpcevent "Second Test Timer#jr_08::OnDisable";
@@ -1318,7 +1318,7 @@ OnTouch:
mes "[Test Supervisor, Caution]";
mes "Haaaaaaaah!!";
mes "I've been avoiding him so much!!";
- delitem 6156,countitem(6156); //Approval_Report
+ delitem Approval_Report,countitem(Approval_Report);
erasequest 8260;
next;
mes "[Test Supervisor, Caution]";
@@ -1487,7 +1487,7 @@ job3_rang02,251,49,3 script Test Supervisor#jr_13 4_M_JOB_HUNTER,{
next;
mes "[Test Supervisor, Freeze]";
mes "Well, then first get this Wolf' flutes and after summoning the wolf, talk to me!";
- getitem 12380,1; //Desert_Wolf_Babe_Scroll
+ getitem Desert_Wolf_Babe_Scroll,1;
setquest 8261;
close;
}
@@ -1506,7 +1506,7 @@ job3_rang02,251,49,3 script Test Supervisor#jr_13 4_M_JOB_HUNTER,{
donpcevent "Third Test Timer#jr_12::OnEnable";
end;
}
- if (countitem(12380) < 1) {
+ if (countitem(Desert_Wolf_Babe_Scroll) < 1) {
mes "Huh?! There's no wolf, no Test Flute, where did you get rid of them?!";
next;
mes "[Test Supervisor, Freeze]";
@@ -1514,7 +1514,7 @@ job3_rang02,251,49,3 script Test Supervisor#jr_13 4_M_JOB_HUNTER,{
next;
mes "[Test Supervisor, Freeze]";
mes "Summon the wolf quickly, and talk to me again!";
- getitem 12380,1; //Desert_Wolf_Babe_Scroll
+ getitem Desert_Wolf_Babe_Scroll,1;
close;
}
mes "Ha? What are you doing?";
@@ -1732,7 +1732,7 @@ job3_rang01,90,43,3 script Ranger Master#jr_29 4_M_REIDIN_KURS,{
mes "Your firm answer seems very trustworthy!";
next;
nude;
- if (countitem(1703) < 1) {
+ if (countitem(Bow__) < 1) {
mes "[Ranger Master, Neveragain]";
mes "Umm?";
mes "You need to return the borrowed stuff.";
@@ -1742,13 +1742,13 @@ job3_rang01,90,43,3 script Ranger Master#jr_29 4_M_REIDIN_KURS,{
mes "[Ranger Master, Neveragain]";
mes "From now on be active as a splendid Ranger!";
mes "I wish you luck in your future!";
- delitem 1703,1; //Bow__
+ delitem Bow__,1;
job_ranger01 = 8;
completequest 8262;
jobchange roclass(eaclass()|EAJL_THIRD);
- getitem 5748,1; //Sniper_Goggle
- getitem 2795,1; //Green_Apple_Ring
- getitem 6124,1; //Wolf's_Flute
+ getitem Sniper_Goggle,1;
+ getitem Green_Apple_Ring,1;
+ getitem Wolf's_Flute,1;
close;
}
mes "Hey, you look great.";
diff --git a/npc/re/jobs/3-1/rune_knight.txt b/npc/re/jobs/3-1/rune_knight.txt
index d88519385..288f5f340 100644
--- a/npc/re/jobs/3-1/rune_knight.txt
+++ b/npc/re/jobs/3-1/rune_knight.txt
@@ -315,7 +315,7 @@ gl_knt02,150,55,3 script Rune Knight Staff 4_M_01,2,2,{
}
job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "You've got too many things. You cannot proceed anymore. Please try again after losing some weight.";
close;
}
@@ -547,8 +547,8 @@ job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
mes "[Captain Tigris]";
mes "This Knight is going to walk the way of the Rune Knights with us, so please give your blessing.";
next;
- getitem 5746,1; //Rune_Circlet
- getitem 2795,1; //Green_Apple_Ring
+ getitem Rune_Circlet,1;
+ getitem Green_Apple_Ring,1;
job_rune_edq = 23;
completequest 3219;
jobchange roclass(eaclass()|EAJL_THIRD);
@@ -1487,7 +1487,7 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
changequest 3216,3217;
close;
} else if (job_rune_edq > 17 && job_rune_edq < 21) {
- if (countitem(12388)+countitem(12389)+countitem(12390) == 0) {
+ if (countitem(Runstone_Crush)+countitem(Runstone_Storm)+countitem(Runstone_Millennium) == 0) {
mes "[Rune Knight Velpino]";
mes "If all of your preparations are done, I'll send you to the final test field.";
job_rune_edq = 18;
@@ -1511,8 +1511,8 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
if (Weight < 4001) {
$@job_rune_test1 = 1;
sc_start SC_INCINT,300000,40;
- getitem 12389,30; //Runstone_Storm
- getitem 12390,30; //Runstone_Millennium
+ getitem Runstone_Storm,30;
+ getitem Runstone_Millennium,30;
if (questprogress(3220)) erasequest 3220;
setquest 3220;
warp "job3_rune02",38,40;
@@ -1535,9 +1535,9 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
}
mes "[Rune Knight Velpino]";
mes "Wait, I'll collect all the rune stones provided before. There's a certain limit on using the rune stones that's made for the test.";
- if (countitem(12388)) delitem 12388,countitem(12388); //Runstone_Crush
- if (countitem(12389)) delitem 12389,countitem(12389); //Runstone_Storm
- if (countitem(12390)) delitem 12390,countitem(12390); //Runstone_Millennium
+ if (countitem(Runstone_Crush)) delitem Runstone_Crush,countitem(Runstone_Crush);
+ if (countitem(Runstone_Storm)) delitem Runstone_Storm,countitem(Runstone_Storm);
+ if (countitem(Runstone_Millennium)) delitem Runstone_Millennium,countitem(Runstone_Millennium);
next;
mes "[Rune Knight Velpino]";
mes "I'll get new rune stones so if your preparation is all done, please talk to me again.";
@@ -1546,7 +1546,7 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
mes "[Rune Knight Velpino]";
mes "You've been very successful up to the last test.";
next;
- if (countitem(12388)+countitem(12389)+countitem(12390) == 0) {
+ if (countitem(Runstone_Crush)+countitem(Runstone_Storm)+countitem(Runstone_Millennium) == 0) {
mes "[Rune Knight Velpino]";
mes "Now all the tests you need to take are over. Go back to Captain Tigris and inform him of this test result, and then feel the deep emotion of being born again as a Rune Knight.";
next;
@@ -1559,9 +1559,9 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
}
mes "[Rune Knight Velpino]";
mes "Wait, I'll collect all the rune stones provided before. There's a certain limit on using the rune stones that's made for the test.";
- if (countitem(12388)) delitem 12388,countitem(12388); //Runstone_Crush
- if (countitem(12389)) delitem 12389,countitem(12389); //Runstone_Storm
- if (countitem(12390)) delitem 12390,countitem(12390); //Runstone_Millennium
+ if (countitem(Runstone_Crush)) delitem Runstone_Crush,countitem(Runstone_Crush);
+ if (countitem(Runstone_Storm)) delitem Runstone_Storm,countitem(Runstone_Storm);
+ if (countitem(Runstone_Millennium)) delitem Runstone_Millennium,countitem(Runstone_Millennium);
next;
mes "[Rune Knight Velpino]";
mes "I'll need to re-use these unused rune stones. Talk to me again once I have taken all the test rune stones.";
diff --git a/npc/re/jobs/3-1/warlock.txt b/npc/re/jobs/3-1/warlock.txt
index 5abb39f0d..981503f84 100644
--- a/npc/re/jobs/3-1/warlock.txt
+++ b/npc/re/jobs/3-1/warlock.txt
@@ -42,7 +42,7 @@ OnTouch:
mes " - There is a strange distortion here - ";
if (strnpcinfo(0) == "#distorted_space_1" && (Class == Job_Warlock || Class == Job_Warlock_T || Class == Job_Baby_Warlock)) {
close2;
- if (countitem(6153) > 0)
+ if (countitem(Special_Exchange_Coupon) > 0)
warp "spl_in02",79,102;
end;
}
@@ -282,7 +282,7 @@ spl_in02,77,107,5 script Assistant#Warlock1 4_M_FAIRYKID5,{
callsub L_Quest,1;
close;
} else if (job_wl == 4) {
- if (countitem(6152) == 0 || countitem(6151) == 0)
+ if (countitem(Glittering_Crystal) == 0 || countitem(Peice_Of_Great_Bradium) == 0)
callsub L_Quest,0;
else {
mes "[Yoop]";
@@ -320,8 +320,8 @@ L_Quest:
mes "[Yoop]";
mes "Show us how strong you are. And don't forget to wear this.";
job_wl = 4;
- getitem 2796,1; //Magical_Stone
- getitem 2797,1; //Magical_Stone_
+ getitem Magical_Stone,1;
+ getitem Magical_Stone_,1;
changequest 11106,11107;
next;
}
@@ -349,7 +349,7 @@ spl_in02,60,231,5 script Yoop#Warlock 4_M_FAIRYKID5,{
switch(select("I brought the materials.:I've lost the Magical Stones.:Nothing.")) {
case 1:
mes "[Yoop]";
- if (countitem(6152) == 0 || countitem(6151) == 0) {
+ if (countitem(Glittering_Crystal) == 0 || countitem(Peice_Of_Great_Bradium) == 0) {
mes "......";
mes "......Where?";
mes "Don't bother me!";
@@ -369,12 +369,12 @@ spl_in02,60,231,5 script Yoop#Warlock 4_M_FAIRYKID5,{
mes "Bring these stones with you or else you won't be able to return!";
mes "Be careful!";
close;
- } else if (countitem(6152) && countitem(6151)) {
+ } else if (countitem(Glittering_Crystal) && countitem(Peice_Of_Great_Bradium)) {
if (isequipped(2796) || isequipped(2797)) {
mes "Bring me back the magical stones.";
close;
}
- if (countitem(2796) == 0 || countitem(2797) == 0) {
+ if (countitem(Magical_Stone) == 0 || countitem(Magical_Stone_) == 0) {
mes "It seems that you don't have it?";
mes "You lost it?";
next;
@@ -385,10 +385,10 @@ spl_in02,60,231,5 script Yoop#Warlock 4_M_FAIRYKID5,{
mes "Alright! All the materials are ready!";
mes "While I am concentrating on working on this stone. Can you go back to my master?";
mes "I will follow up once it's done.";
- delitem 2796,countitem(2796); //Magical_Stone
- delitem 2797,countitem(2797); //Magical_Stone_
- delitem 6152,countitem(6152); //Glittering_Crystal
- delitem 6151,countitem(6151); //Peice_Of_Great_Bradium
+ delitem Magical_Stone,countitem(Magical_Stone);
+ delitem Magical_Stone_,countitem(Magical_Stone_);
+ delitem Glittering_Crystal,countitem(Glittering_Crystal);
+ delitem Peice_Of_Great_Bradium,countitem(Peice_Of_Great_Bradium);
job_wl = 5;
changequest 11107,11108;
close;
@@ -408,18 +408,18 @@ spl_in02,60,231,5 script Yoop#Warlock 4_M_FAIRYKID5,{
mes "It's not hard to tell if you have it or not!";
close;
case 2:
- if ((isequipped(2796) == 0 && countitem(2796) == 0) || (isequipped(2797) == 0 && countitem(2797) == 0)) {
- if (countitem(732) > 0) {
+ if ((isequipped(2796) == 0 && countitem(Magical_Stone) == 0) || (isequipped(2797) == 0 && countitem(Magical_Stone_) == 0)) {
+ if (countitem(Crystal_Jewel__) > 0) {
switch(select("Give 3 carat diamond.:Just quit it.")) {
case 1:
mes "[Yoop]";
mes "I will overlook your fault.";
mes "Please be careful with it.";
- delitem 732,1; //Crystal_Jewel__
- if (isequipped(2796) == 0 && countitem(2796) == 0)
- getitem 2796,1; //Magical_Stone
- if (isequipped(2797) == 0 && countitem(2797) == 0)
- getitem 2797,1; //Magical_Stone_
+ delitem Crystal_Jewel__,1;
+ if (isequipped(2796) == 0 && countitem(Magical_Stone) == 0)
+ getitem Magical_Stone,1;
+ if (isequipped(2797) == 0 && countitem(Magical_Stone_) == 0)
+ getitem Magical_Stone_,1;
close;
case 2:
mes "[Yoop]";
@@ -479,7 +479,7 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
mes "It's not me you are looking for currently.";
close;
} else if (job_wl == 6) {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "You're carring out too many items.";
mes "You'd better minimize your weight.";
close;
@@ -497,15 +497,15 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
mes "I will guide you into the magic room.";
job_wl = 7;
changequest 11109,11110;
- getitem 12384,5; //Rainbow_Ruby_Water
- getitem 12386,5; //Rainbow_Ruby_Wind
- getitem 12387,5; //Rainbow_Ruby_Earth
- getitem 12385,5; //Rainbow_Ruby_Fire
+ getitem Rainbow_Ruby_Water,5;
+ getitem Rainbow_Ruby_Wind,5;
+ getitem Rainbow_Ruby_Earth,5;
+ getitem Rainbow_Ruby_Fire,5;
close2;
warp "job3_war01",23,20;
end;
} else if (job_wl == 7) {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "You're carring out too many items.";
mes "You'd better minimize your weight.";
close;
@@ -514,14 +514,14 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
mes "Would you like to try it again?";
mes "Let me give you more rubies.";
next;
- if (countitem(12384)) delitem 12384,countitem(12384); //Rainbow_Ruby_Water
- if (countitem(12386)) delitem 12386,countitem(12386); //Rainbow_Ruby_Wind
- if (countitem(12387)) delitem 12387,countitem(12387); //Rainbow_Ruby_Earth
- if (countitem(12385)) delitem 12385,countitem(12385); //Rainbow_Ruby_Fire
- getitem 12384,5; //Rainbow_Ruby_Water
- getitem 12386,5; //Rainbow_Ruby_Wind
- getitem 12387,5; //Rainbow_Ruby_Earth
- getitem 12385,5; //Rainbow_Ruby_Fire
+ if (countitem(Rainbow_Ruby_Water)) delitem Rainbow_Ruby_Water,countitem(Rainbow_Ruby_Water);
+ if (countitem(Rainbow_Ruby_Wind)) delitem Rainbow_Ruby_Wind,countitem(Rainbow_Ruby_Wind);
+ if (countitem(Rainbow_Ruby_Earth)) delitem Rainbow_Ruby_Earth,countitem(Rainbow_Ruby_Earth);
+ if (countitem(Rainbow_Ruby_Fire)) delitem Rainbow_Ruby_Fire,countitem(Rainbow_Ruby_Fire);
+ getitem Rainbow_Ruby_Water,5;
+ getitem Rainbow_Ruby_Wind,5;
+ getitem Rainbow_Ruby_Earth,5;
+ getitem Rainbow_Ruby_Fire,5;
close2;
warp "job3_war01",23,20;
end;
@@ -529,10 +529,10 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
mes "[Yoop]";
mes "You have successfully crystallized the Hollow Stone.";
mes "I'm sorry that I've doubted you.";
- if (countitem(12384)) delitem 12384,countitem(12384); //Rainbow_Ruby_Water
- if (countitem(12386)) delitem 12386,countitem(12386); //Rainbow_Ruby_Wind
- if (countitem(12387)) delitem 12387,countitem(12387); //Rainbow_Ruby_Earth
- if (countitem(12385)) delitem 12385,countitem(12385); //Rainbow_Ruby_Fire
+ if (countitem(Rainbow_Ruby_Water)) delitem Rainbow_Ruby_Water,countitem(Rainbow_Ruby_Water);
+ if (countitem(Rainbow_Ruby_Wind)) delitem Rainbow_Ruby_Wind,countitem(Rainbow_Ruby_Wind);
+ if (countitem(Rainbow_Ruby_Earth)) delitem Rainbow_Ruby_Earth,countitem(Rainbow_Ruby_Earth);
+ if (countitem(Rainbow_Ruby_Fire)) delitem Rainbow_Ruby_Fire,countitem(Rainbow_Ruby_Fire);
next;
mes "[Yoop]";
mes "All of the tests are done. Now talk to Master Engoloria.";
@@ -678,7 +678,7 @@ spl_in02,80,108,5 script Guild Master#Warlock 4_F_FAIRY1,{
mes "How did you come this far...";
close;
}
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "You've got too many items.";
mes "Please come back after reducing the number of items you have.";
close;
@@ -715,8 +715,8 @@ spl_in02,80,108,5 script Guild Master#Warlock 4_F_FAIRY1,{
else job_wl = 10;
jobchange roclass(eaclass()|EAJL_THIRD);
completequest 11112;
- getitem 5753,1; //Magic_Stone_Hat
- getitem 2795,1; //Green_Apple_Ring
+ getitem Magic_Stone_Hat,1;
+ getitem Green_Apple_Ring,1;
close;
} else if (job_wl > 9) {
mes "[Master Egnoloria]";
diff --git a/npc/re/jobs/3-2/genetic.txt b/npc/re/jobs/3-2/genetic.txt
index a5fb81479..f74bcd31a 100644
--- a/npc/re/jobs/3-2/genetic.txt
+++ b/npc/re/jobs/3-2/genetic.txt
@@ -433,7 +433,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "Your study is done, Popo?";
mes "Give me those seeds.";
next;
- if (countitem(6273) == 0 && countitem(6272) == 0) {
+ if (countitem(Altered_Seed) == 0 && countitem(Experiment_Seed) == 0) {
mes "[Devries]";
mes "What happened?";
mes "How could you say the study is completed without any result?";
@@ -481,7 +481,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "She is a fellow Geneticist, specializing in mini cannons.";
mes "Go take a look at her experiment results.";
mes "Could you give this message to her? Tell her to conduct her experiments quietly.";
- delitem 6273,1; //Altered_Seed
+ delitem Altered_Seed,1;
job_gen = 62;
changequest 2215,2216;
} else {
@@ -491,7 +491,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "Uh oh! You failed, Popo.";
mes "It didn't grow at all, it's withered already.";
mes "Go and start over!";
- delitem 6272,1; //Experiment_Seed
+ delitem Experiment_Seed,1;
job_gen = 7;
}
}
@@ -519,7 +519,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "Popo!";
mes "I've got good news for you!";
next;
- if (checkweight(1201,2) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,2) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -578,8 +578,8 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "You are a Geneticist from now on!!";
jobchange roclass(eaclass()|EAJL_THIRD);
job_gen = 77;
- getitem 5752,1; //Midas_Whisper
- getitem 2795,1; //Green_Apple_Ring
+ getitem Midas_Whisper,1;
+ getitem Green_Apple_Ring,1;
next;
mes "[Devries]";
mes "Just like the word from the Union, I'm also looking forward to your awesome activities.";
@@ -751,7 +751,7 @@ job3_gen01,7,50,3 script Testing Table#gen CLEAR_NPC,{
mes "Good. Now I can let Miss Devries take a look at this seed!";
if (!questprogress(2209) && !questprogress(2210) && !questprogress(2211)) {
job_gen = 61;
- getitem 6272,1; //Experiment_Seed
+ getitem Experiment_Seed,1;
close;
}
if (questprogress(2209) == 1) job_gen += 10;
@@ -760,18 +760,18 @@ job3_gen01,7,50,3 script Testing Table#gen CLEAR_NPC,{
.@score = job_gen + JobLevel - 20;
if (rand(1,100) < .@score) {
job_gen = 60;
- getitem 6273,1; //Altered_Seed
+ getitem Altered_Seed,1;
close;
} else {
job_gen = 61;
- getitem 6272,1; //Experiment_Seed
+ getitem Experiment_Seed,1;
close;
}
} else if (job_gen > 7 && job_gen < 60) {
mes "- It looks like the experiment has failed. I better start over. -";
job_gen = 7;
- if (countitem(6273)) delitem 6273,1; //Altered_Seed
- if (countitem(6272)) delitem 6272,1; //Experiment_Seed
+ if (countitem(Altered_Seed)) delitem Altered_Seed,1;
+ if (countitem(Experiment_Seed)) delitem Experiment_Seed,1;
if (questprogress(2209) == 1) erasequest 2209;
if (questprogress(2210) == 1) erasequest 2210;
if (questprogress(2211) == 1) erasequest 2211;
diff --git a/npc/re/jobs/3-2/minstrel.txt b/npc/re/jobs/3-2/minstrel.txt
index d0eafcec5..eb39e4d68 100644
--- a/npc/re/jobs/3-2/minstrel.txt
+++ b/npc/re/jobs/3-2/minstrel.txt
@@ -728,7 +728,7 @@ hu_in01,361,103,3 script Tone-deaf person 4_M_CASMAN1,{
tha_scene01,140,200,0 script #min_receipt HIDDEN_WARP_NPC,3,3,{
OnTouch:
- if (job_min == 10 || (job_min == 11 && countitem(6271) == 0)) {
+ if (job_min == 10 || (job_min == 11 && countitem(Mins_Receipt) == 0)) {
mes "-There is a piece of paper on the ground.-";
next;
mes "["+strcharinfo(0)+"]";
@@ -749,7 +749,7 @@ OnTouch:
mes "- Juno's store manager : Mr. Click.";
next;
mes "- Directions : Around Juno's plaza.";
- getitem 6271,1; //Mins_Receipt
+ getitem Mins_Receipt,1;
next;
mes "["+strcharinfo(0)+"]";
mes "Photo exchange receipt?";
@@ -948,7 +948,7 @@ yuno,143,170,6 script Mr. Click#job_min 4_M_ALCHE_A,{
mes "I'll get the 33 Teddy Bears.";
donpcevent "Karian#cmd2::OnDisable";
job_min = 12;
- getitem 6270,1; //Mins_Picture
+ getitem Mins_Picture,1;
changequest 11144,11145;
close;
} else if (job_min == 12) {
@@ -1804,7 +1804,7 @@ OnTouch:
mes "You should use them.";
close;
}
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now, store some of";
@@ -1845,7 +1845,7 @@ OnTouch:
prt_in,94,172,4 script Karian#job_min3 4_M_MINSTREL1,{
if (job_min == 27) {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "While you are on a trip, you gain lots of stuff. Make yourself lighter.";
close;
}
@@ -1898,8 +1898,8 @@ prt_in,94,172,4 script Karian#job_min3 4_M_MINSTREL1,{
job_min = 100;
jobchange roclass(eaclass()|EAJL_THIRD);
completequest 11154;
- getitem 5751,1; //Minstrel_Song_Hat
- getitem 2795,1; //Green_Apple_Ring
+ getitem Minstrel_Song_Hat,1;
+ getitem Green_Apple_Ring,1;
close;
} else if (job_min > 99) {
switch(select("Talk.:Leave.")) {
diff --git a/npc/re/jobs/3-2/royal_guard.txt b/npc/re/jobs/3-2/royal_guard.txt
index c9cc13471..09618e2bb 100644
--- a/npc/re/jobs/3-2/royal_guard.txt
+++ b/npc/re/jobs/3-2/royal_guard.txt
@@ -35,7 +35,7 @@
//=========================================================================
prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- Your pack is too heavy. -";
mes "- Lighten your body first -";
mes "- and please try again. -";
@@ -212,7 +212,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
changequest 12090,12091;
close;
} else if (job_royal == 2) {
- if (countitem(7097) < 100) {
+ if (countitem(Burning_Heart) < 100) {
mes "Don't forget to bring 100 Burning Heart.";
close;
}
@@ -221,7 +221,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
next;
mes "[Heinrich]";
mes "Wait while I arrange the stuff that you brought.";
- delitem 7097,100; //Burning_Heart
+ delitem Burning_Heart,100;
job_royal = 3;
changequest 12091,12092;
close;
@@ -300,7 +300,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
changequest 12092,12093;
close;
} else if (job_royal == 4) {
- if (countitem(6274) == 0) {
+ if (countitem(Saint_Cloth_Piece) == 0) {
mes "Our staff has already left to find the last trace, so don't work too hard.";
close;
}
@@ -338,15 +338,15 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
mes "[Heinrich]";
mes "Ok~~ now.";
mes "I'll be deciphering the cloth for now so I will be very busy!";
- delitem 6274,1; //Saint_Cloth_Piece
- getitem 6275,1; //King_Shield
+ delitem Saint_Cloth_Piece,1;
+ getitem King_Shield,1;
job_royal = 5;
changequest 12093,12094;
close;
} else if (job_royal == 5) {
- if (countitem(6275) == 0) {
+ if (countitem(King_Shield) == 0) {
mes "What? Did you lose the shield? What is the one on your back?";
- getitem 6275,1; //King_Shield
+ getitem King_Shield,1;
close;
}
mes "Thanks to your help I can finish the excavation work. Thanks a lot.";
@@ -355,7 +355,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
}
glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- Your pack is too heavy. -";
mes "- Lighten your body first -";
mes "- and please try again. -";
@@ -366,7 +366,7 @@ glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{
close;
}
if (BaseJob == Job_Crusader && job_royal == 5) {
- if (countitem(6275) == 0) {
+ if (countitem(King_Shield) == 0) {
mes "^000099You seem to have lost the shield. Go back to Heinrich and ask for help^000000.";
close;
}
@@ -445,24 +445,24 @@ glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{
specialeffect2 EF_MAPPILLAR;
progressbar "FFFF00",7;
specialeffect2 EF_LORD;
- delitem 6275,1; //King_Shield
+ delitem King_Shield,1;
erasequest 12094;
jobchange roclass(eaclass()|EAJL_THIRD);
- getitem 5757,1; //Schmidt_Helm
- getitem 2795,1; //Green_Apple_Ring
+ getitem Schmidt_Helm,1;
+ getitem Green_Apple_Ring,1;
end;
}
end;
}
gl_church,173,88,0 script Delicate trace#01 CLEAR_NPC,{
- if (job_royal == 4 && countitem(6274) == 0) {
+ if (job_royal == 4 && countitem(Saint_Cloth_Piece) == 0) {
progressbar "ffff00",5;
.@roy_ran = rand(1,70);
if (.@roy_ran < 6)
- getitem 6274,1; //Saint_Cloth_Piece
+ getitem Saint_Cloth_Piece,1;
else if (.@roy_ran > 5 && .@roy_ran < 66)
- getitem 7049,1; //Stone
+ getitem Stone,1;
else {
mes "While investigating, the topography breaks. It would be better to dig other places for a while.";
disablenpc strnpcinfo(0);
@@ -499,7 +499,7 @@ gl_church,105,115,0 duplicate(Delicate trace#01) Delicate trace#11 CLEAR_NPC
gl_church,158,100,0 script #Clue of traces HIDDEN_NPC,4,4,{
end;
OnTouch:
- if (job_royal == 4 && countitem(6274) == 0) {
+ if (job_royal == 4 && countitem(Saint_Cloth_Piece) == 0) {
specialeffect2 EF_FREEZE;
mes "I can feel strong power around here. It would be better to explore around here.";
viewpoint 1,173,88 ,1, 0xFFFF00;
diff --git a/npc/re/jobs/3-2/shadow_chaser.txt b/npc/re/jobs/3-2/shadow_chaser.txt
index 2466147f5..0a34ad1cb 100644
--- a/npc/re/jobs/3-2/shadow_chaser.txt
+++ b/npc/re/jobs/3-2/shadow_chaser.txt
@@ -665,7 +665,7 @@ s_atelier,168,65,5 script Manager#sc08_ra 4_M_DOCTOR,{
mes "Graham?";
mes "Why?";
next;
- if (countitem(6266) == 0) {
+ if (countitem(Cheat_Key) == 0) {
mes "You don't seem to have brought it here.";
next;
mes "[Manager]";
@@ -1026,7 +1026,7 @@ s_atelier,167,129,3 script Manager#sc06_yuno 1_M_SIGNART,{
mes "Did you find something?";
next;
select("Show the key of pleasure.");
- if (countitem(6268)) {
+ if (countitem(Mirth_Key)) {
mes "[Haled]";
mes "Ha..........akkk.";
mes "Another key?";
@@ -1376,7 +1376,7 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{
mes "HuhuHuhu...";
close;
}
- if (checkweight(1201,4) == 0) {
+ if (checkweight(Knife,4) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -1430,7 +1430,7 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{
mes "It's you? You are the one who found the brush?";
next;
select("Show the brush to him.");
- if (countitem(6269)) {
+ if (countitem(Master_Brush)) {
mes "[Dumk]";
mes "That's it.";
mes "Did you find it by yourself?";
@@ -1518,7 +1518,7 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{
mes "I need it again.";
mes "I'm so thirsty.";
mes "Wait a minute.";
- delitem 6269,1; //Master_Brush
+ delitem Master_Brush,1;
job_sha = 30;
close;
}
@@ -1614,11 +1614,11 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{
mes "Congratulations.";
mes "Welcome to your new life.";
jobchange roclass(eaclass()|EAJL_THIRD);
- getitem 6121,1; //Makeover_Brush
- getitem 6122,1; //Paint_Brush
+ getitem Makeover_Brush,1;
+ getitem Paint_Brush,1;
job_sha = 32;
- getitem 2795,1; //Green_Apple_Ring
- getitem 5750,1; //Shadow_Handicraft
+ getitem Green_Apple_Ring,1;
+ getitem Shadow_Handicraft,1;
next;
mes "[Dumk]";
mes "It's a fashionable uniform.";
@@ -1941,7 +1941,7 @@ niflheim,230,276,1 script Red Flame#sc_f03 4_NFWISP,{
//== Boxes =================================================
job3_sha01,22,78,0 script ????#keybox01 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -1994,7 +1994,7 @@ job3_sha01,22,78,0 script ????#keybox01 CLEAR_NPC,{
next;
mes "- You get the Key of Deception. -";
job_sha = 8;
- getitem 6266,1; //Cheat_Key
+ getitem Cheat_Key,1;
setquest 7165;
close;
}
@@ -2011,7 +2011,7 @@ job3_sha01,22,78,0 script ????#keybox01 CLEAR_NPC,{
}
job3_sha01,25,28,0 script ????#keybox02 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -2059,7 +2059,7 @@ job3_sha01,25,28,0 script ????#keybox02 CLEAR_NPC,{
mes "Key again...";
mes "How can I escape from here...?";
job_sha = 17;
- getitem 6267,1; //Virtual_Key
+ getitem Virtual_Key,1;
erasequest 7171;
changequest 7168+.@i,7172;
next;
@@ -2090,7 +2090,7 @@ job3_sha01,25,28,0 script ????#keybox02 CLEAR_NPC,{
}
job3_sha01,73,80,0 script ????#keybox03 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -2195,7 +2195,7 @@ job3_sha01,73,80,0 script ????#keybox03 CLEAR_NPC,{
mes "I better go back.";
job_sha = 25;
setquest 7176;
- getitem 6268,1; //Mirth_Key
+ getitem Mirth_Key,1;
close;
}
break;
@@ -2227,7 +2227,7 @@ job3_sha01,73,80,0 script ????#keybox03 CLEAR_NPC,{
}
job3_sha01,71,27,0 script ????#keybox04 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -2242,7 +2242,7 @@ job3_sha01,71,27,0 script ????#keybox04 CLEAR_NPC,{
mes "deception, illusion and pleasure.";
next;
select("Place the key in the holes.");
- if (countitem(6266) && countitem(6267) && countitem(6268)) {
+ if (countitem(Cheat_Key) && countitem(Virtual_Key) && countitem(Mirth_Key)) {
mes "["+strcharinfo(0)+"]";
mes "At first, Deception...";
mes "then Illusion...";
@@ -2253,11 +2253,11 @@ job3_sha01,71,27,0 script ????#keybox04 CLEAR_NPC,{
mes "something comes out.";
next;
mes "- You got a brush with a fabulous pattern on it. -";
- delitem 6266,1; //Cheat_Key
- delitem 6267,1; //Virtual_Key
- delitem 6268,1; //Mirth_Key
+ delitem Cheat_Key,1;
+ delitem Virtual_Key,1;
+ delitem Mirth_Key,1;
job_sha = 28;
- getitem 6269,1; //Master_Brush
+ getitem Master_Brush,1;
changequest 7178,7179;
next;
mes "["+strcharinfo(0)+"]";
@@ -2295,8 +2295,8 @@ s_atelier,29,119,3 script Max#sc05_prt 4W_M_01,{
next;
.@i = select("I need a make-up brush.:I need a paint brush.:Nothing.");
mes "[Max]";
- if (.@i == 1) setarray .@i[1],6121,1,10,100000;
- else if (.@i == 2) setarray .@i[1],6122,2,30,200000;
+ if (.@i == 1) setarray .@i[1],Makeover_Brush,1,10,100000;
+ else if (.@i == 2) setarray .@i[1],Paint_Brush,2,30,200000;
else {
mes "If you need more";
mes "just visit me!";
@@ -2311,7 +2311,7 @@ s_atelier,29,119,3 script Max#sc05_prt 4W_M_01,{
mes "Visit later and use what you have!";
close;
}
- if (countitem(7150) >= .@i[2] && countitem(949) >= .@i[3] && Zeny >= .@i[4]) {
+ if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
mes "Oh you brought all the things required.";
mes "Hold on a bit.";
next;
@@ -2321,8 +2321,8 @@ s_atelier,29,119,3 script Max#sc05_prt 4W_M_01,{
mes "[Max]";
mes "Take it.";
mes "Good luck!";
- delitem 7150,.@i[2]; //Bamboo_Cut
- delitem 949,.@i[3]; //Feather
+ delitem Bamboo_Cut,.@i[2];
+ delitem Feather,.@i[3];
Zeny -= .@i[4];
getitem .@i[1],1; //Makeover_Brush,Paint_Brush
close;
@@ -2371,11 +2371,11 @@ s_atelier,136,70,3 script Titika#sc09_ra 4_F_CHILD,{
mes "I think it's enough...";
close;
}
- if (countitem(7150) >= .@i[2] && countitem(949) >= .@i[3] && Zeny >= .@i[4]) {
+ if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
mes "You brought all the materials.";
mes "I'll exchange it with the goods that I made.";
- delitem 7150,.@i[2]; //Bamboo_Cut
- delitem 949,.@i[3]; //Feather
+ delitem Bamboo_Cut,.@i[2];
+ delitem Feather,.@i[3];
Zeny -= .@i[4];
getitem .@i[1],1; //Makeover_Brush,Paint_Brush
close;
@@ -2421,11 +2421,11 @@ s_atelier,124,128,3 script RimiGX#sc07_yuno 4_F_LGTGIRL,{
mes "Visit here when you lost stuff.";
close;
}
- if (countitem(7150) >= .@i[2] && countitem(949) >= .@i[3] && Zeny >= .@i[4]) {
+ if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
mes "You brought stuff you need.";
mes "It will be fast when I exchange the stuff made?";
- delitem 7150,.@i[2]; //Bamboo_Cut
- delitem 949,.@i[3]; //Feather
+ delitem Bamboo_Cut,.@i[2];
+ delitem Feather,.@i[3];
Zeny -= .@i[4];
getitem .@i[1],1; //Makeover_Brush,Paint_Brush
close;
@@ -2471,11 +2471,11 @@ s_atelier,26,68,3 script Vito#sc11_lgt 4_M_KHMAN,{
mes "We can't offer extra blushes.";
close;
}
- if (countitem(7150) >= .@i[2] && countitem(949) >= .@i[3] && Zeny >= .@i[4]) {
+ if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
mes "You brought all what you need.";
mes "I'm going to exchange the blush I made before.";
- delitem 7150,.@i[2]; //Bamboo_Cut
- delitem 949,.@i[3]; //Feather
+ delitem Bamboo_Cut,.@i[2];
+ delitem Feather,.@i[3];
Zeny -= .@i[4];
getitem .@i[1],1; //Makeover_Brush,Paint_Brush
close;
diff --git a/npc/re/jobs/3-2/sorcerer.txt b/npc/re/jobs/3-2/sorcerer.txt
index e5bef2534..ba278fbd7 100644
--- a/npc/re/jobs/3-2/sorcerer.txt
+++ b/npc/re/jobs/3-2/sorcerer.txt
@@ -36,7 +36,7 @@
gef_tower,102,34,5 script Merito 2_M_SAGE_B,{
mes "[Merito]";
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "You packed so much in your bag. Try again after emptying your bag.";
close;
}
@@ -148,7 +148,7 @@ gef_tower,102,34,5 script Merito 2_M_SAGE_B,{
gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{
mes "[Karacas]";
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "Oh, it seems that you're too heavy. Empty your bag and then come again.";
close;
}
@@ -249,7 +249,7 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{
changequest 12096,12097;
close;
} else if (job_soc == 3) {
- if (countitem(992) > 2 && countitem(991) > 2 && countitem(990) > 2 && countitem(993) > 2) {
+ if (countitem(Wind_Of_Verdure) > 2 && countitem(Crystal_Blue) > 2 && countitem(Boody_Red) > 2 && countitem(Yellow_Live) > 2) {
mes "Oh, you have all the materials.";
next;
select("What should I do next?");
@@ -332,16 +332,16 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{
mes "When you bring these basic things, I'll guide you to the next step.";
close;
} else if (job_soc == 4) {
- if (countitem(6276) && countitem(6278) && countitem(6277)) {
+ if (countitem(Clear_Reagent) && countitem(Black_Reagent) && countitem(Red_Reagent)) {
mes "Wow~ your skill is good.";
mes "I thought you'd be overwhelmed by the spirits but you've managed to get the effective medicine!";
next;
select("Is this all I need to do?");
mes "[Karacas]";
mes "Well done. First, I will organize the miraculous medicine so please wait a moment.";
- delitem 6276,1; //Clear_Reagent
- delitem 6278,1; //Black_Reagent
- delitem 6277,1; //Red_Reagent
+ delitem Clear_Reagent,1;
+ delitem Black_Reagent,1;
+ delitem Red_Reagent,1;
job_soc = 5;
completequest 12098;
close;
@@ -382,8 +382,8 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{
mes "[Karacas]";
mes "Congratulations, [" + strcharinfo(0) + "]";
jobchange roclass(eaclass()|EAJL_THIRD);
- getitem 5756,1; //Wind_Whisper
- getitem 2795,1; //Green_Apple_Ring
+ getitem Wind_Whisper,1;
+ getitem Green_Apple_Ring,1;
next;
mes "[Karacas]";
mes "I hope that you gain more communion with spirits from now on.";
diff --git a/npc/re/jobs/3-2/sura.txt b/npc/re/jobs/3-2/sura.txt
index f41d3584a..6a56f5665 100644
--- a/npc/re/jobs/3-2/sura.txt
+++ b/npc/re/jobs/3-2/sura.txt
@@ -774,7 +774,7 @@ sword_1-1,223,167,2 script Master#job_shu 4_M_SURA,{
mes "You can't become a Sura unless you use all your skill points.";
close;
}
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "You seem to be heavily burdened. Please remove some of it.";
close;
}
@@ -827,8 +827,8 @@ sword_1-1,223,167,2 script Master#job_shu 4_M_SURA,{
job_shu = 100;
jobchange roclass(eaclass()|EAJL_THIRD);
completequest 11158;
- getitem 5754,1; //Blazing_Soul
- getitem 2795,1; //Green_Apple_Ring
+ getitem Blazing_Soul,1;
+ getitem Green_Apple_Ring,1;
close;
} else if (job_shu > 5) {
mes "Once I was also an ordinary young man who traveled a lot and met many friends.";
diff --git a/npc/re/jobs/3-2/wanderer.txt b/npc/re/jobs/3-2/wanderer.txt
index b9a27f52c..24c06ed2e 100644
--- a/npc/re/jobs/3-2/wanderer.txt
+++ b/npc/re/jobs/3-2/wanderer.txt
@@ -915,7 +915,7 @@ xmas,147,135,5 script Dancer Kim#xmas 4_F_WANDERER,{
mes "- You can't continue the quest because you have remaining skill points. -";
close;
}
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "- You need to empty your inventory if you want to continue the quest. -";
close;
}
@@ -1003,8 +1003,8 @@ xmas,147,135,5 script Dancer Kim#xmas 4_F_WANDERER,{
mes "This rising Wanderer star, " + strcharinfo(0) + "!";
jobchange roclass(eaclass()|EAJL_THIRD);
job_wan = 10;
- getitem 2795,1; //Green_Apple_Ring
- getitem 5758,1; //Dying_Swan
+ getitem Green_Apple_Ring,1;
+ getitem Dying_Swan,1;
completequest 2222;
next;
mes "[Dancer Kim]";
diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt
index f7b0b60a6..280547487 100644
--- a/npc/re/jobs/novice/academy.txt
+++ b/npc/re/jobs/novice/academy.txt
@@ -624,7 +624,7 @@ izlude_d,198,213,3 duplicate(Captain Carocc#iz) Captain Carocc#iz_d 4_M_REINDEER
//== Criatura Academy Staff ================================
// - Teaches the player about the Inventory.
izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Continue the quest after organizing the inventory.";
close;
@@ -642,7 +642,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
completequest 7472;
getexp 200, 0;
setquest 7473;
- getitem 531, 1; // Apple_Juice
+ getitem Apple_Juice, 1; // Apple_Juice
next;
mes "[Hun]";
mes "You can open the Item window by clicking on the 'item' icon on top left portion of the screen.";
@@ -690,7 +690,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
mes "It's joyous to see new adventurers starting out.";
mes "You want something to drink while you are resting?";
setquest 7473;
- getitem 531, 1; // Apple_Juice
+ getitem Apple_Juice, 1; // Apple_Juice
next;
mes "[Hun]";
mes "Right clicking on the item icon ^4d4dffon the basic item window at the upper left corner brings up the detailed info on the item";
@@ -719,7 +719,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
mes "Ok now ^4d4dffdrink the apple juice that I gave you^000000.";
close;
} else if (questprogress(7473) == 1) {
- if (countitem(531) > 0) {
+ if (countitem(Apple_Juice) > 0) {
mes "[Hun]";
mes "Consume the apple juice that I gave you in your inventory.";
mes "Then we'll talk.";
@@ -734,7 +734,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
mes "I want to give you more but that was the last of it";
mes "Anyways here's some potions. They'll come in handy when you start fighting.";
completequest 7473;
- getitem 569, 30; // Novice_Potion
+ getitem Novice_Potion, 30; // Novice_Potion
getexp 200, 0;
next;
mes "[Hun]";
@@ -753,7 +753,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
mes "I want to give you more but that was the last of it";
mes "Anyways here's some potions. They'll come in handy when you start fighting.";
completequest 7473;
- getitem 569, 30; // Novice_Potion
+ getitem Novice_Potion, 30; // Novice_Potion
getexp 200, 0;
next;
mes "[Hun]";
@@ -944,7 +944,7 @@ izlude_d,122,207,3 duplicate(Criatura Academy Staff#0) Criatura Academy Staff#d
//== Information Staff =====================================
// - Teaches the player about the Mini-Map through a quick quest.
izlude,120,207,4 script Information Staff#0 8W_SOLDIER,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Quest cannot be continued due to the invenory being full.";
mes "Please try it again after re-organizing your items.";
close;
@@ -1243,9 +1243,9 @@ izlude,120,207,4 script Information Staff#0 8W_SOLDIER,{
erasequest 7476;
erasequest 7477;
getexp 300, 20;
- getitem 12323, 20; // N_Fly_Wing
- getitem 12324, 10; // N_Butterfly_Wing
- getitem 569, 20; // Novice_Potion
+ getitem N_Fly_Wing, 20; // N_Fly_Wing
+ getitem N_Butterfly_Wing, 10; // N_Butterfly_Wing
+ getitem Novice_Potion, 20; // Novice_Potion
next;
mes "[Information Staff]";
mes "Have a wonderful journey.";
@@ -1897,7 +1897,7 @@ izlude_d,45,94,3 duplicate(Bulletin Board#iz) Bulletin Board#iz_d 4_BULLETIN_BOA
//== Therapist (Red Herb Quest + First Aid) ================
// - Gives the player a basic quest and teaches them First Aid.
iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Please try it again after organizing the items.";
close;
@@ -2013,7 +2013,7 @@ iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{
setquest 7478;
close;
} else if (questprogress(7478) == 1) {
- if (countitem(507) > 0) {
+ if (countitem(Red_Herb) > 0) {
mes "[Therapist]";
mes "You got it.";
mes "^4d4dffYou could eat this herb and get the benefit of it immediately but it will be more efficient if you make it into a potion.^000000.";
@@ -2038,11 +2038,11 @@ iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{
mes "You can make it easily by ^4d4dffusing the combination kit or cooking tool^000000.";
completequest 7478;
getexp 2000, 50;
- getitem 569, 30; // Novice_Potion
- getitem 11058, 1; // Novice_Combi_Book
- getitem 12849, 10; // Combination_Kit
- getitem 507, 1; // Red_Herb
- getitem 512, 1; // Apple
+ getitem Novice_Potion, 30; // Novice_Potion
+ getitem Novice_Combi_Book, 1; // Novice_Combi_Book
+ getitem Combination_Kit, 10; // Combination_Kit
+ getitem Red_Herb, 1; // Red_Herb
+ getitem Apple, 1; // Apple
next;
mes "[Therapist]";
mes "Not only potions but also other easily attainable things can be turned to various tools. Please make use of them.";
@@ -2132,7 +2132,7 @@ izlude_d,141,251,0 duplicate(Cultivated Red Plant#0) Cultivated Red Plant#d RED_
//- Academy Student (Red Herb Quest) -
izlude,140,249,7 script Academy Student#0 4_M_NOV_RUMIN,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Your inventory is too full so you can't continue this quest.";
mes "Please try it again after organizing the items.";
close;
@@ -2196,7 +2196,7 @@ izlude,140,249,7 script Academy Student#0 4_M_NOV_RUMIN,{
cutin "nov_lumin01.bmp", 2;
setquest 7479;
completequest 7479;
- getitem 507, 1; // Red_Herb
+ getitem Red_Herb, 1; // Red_Herb
next;
mes "[Lumin]";
mes "Ah... see it's growing back.";
@@ -2446,7 +2446,7 @@ iz_ac01,100,39,5 script Academy Receptionist#1 4_F_01,{
switch(select(.@menu$)) {
case 1:
if (Class == Job_Novice) {
- if (!checkweight(1301, 10)) {
+ if (!checkweight(Axe, 10)) {
mes "- As you are overloaded with too many items, quest can't be continued.-";
close;
}
@@ -2461,15 +2461,15 @@ iz_ac01,100,39,5 script Academy Receptionist#1 4_F_01,{
mes "Be careful with it as it won't be provided again.";
setquest 4269;
completequest 4269;
- getitem 2352, 1; // Novice_Plate
- getitem 2510, 1; // Novice_Hood
- getitem 2414, 1; // Novice_Boots
- getitem 5055, 1; // Novice_Egg_Cap
- getitem 1243, 1; // Novice_Knife
- getitem 2112, 1; // Novice_Guard
- getitem 18730, 1; // Criatura_Academy_Hat
- getitem 6593, 1; // Criatura_Hair_Coupon
- getitem 569, 300; // Novice_Potion
+ getitem Novice_Plate, 1; // Novice_Plate
+ getitem Novice_Hood, 1; // Novice_Hood
+ getitem Novice_Boots, 1; // Novice_Boots
+ getitem Novice_Egg_Cap, 1; // Novice_Egg_Cap
+ getitem Novice_Knife, 1; // Novice_Knife
+ getitem Novice_Guard, 1; // Novice_Guard
+ getitem Criatura_Academy_Hat, 1; // Criatura_Academy_Hat
+ getitem Criatura_Hair_Coupon, 1; // Criatura_Hair_Coupon
+ getitem Novice_Potion, 300; // Novice_Potion
next;
mes "[Receptionist]";
mes "It is your first step to be an adventurer that you have made a visit to us.";
@@ -2632,7 +2632,7 @@ iz_ac01,134,47,5 script Trainer Mainz#ac 4_M_KY_KNT,4,4,{
close;
}
if (questprogress(15000) == 1) {
- if (!checkweight(1201, 1) || (MaxWeight - Weight) < 40) {
+ if (!checkweight(Knife, 1) || (MaxWeight - Weight) < 40) {
mes "- Here, just moment!! -";
mes "- As you are overloaded with too many items in your inventory -";
mes "- You can't receive the items anymore -";
@@ -2784,7 +2784,7 @@ iz_ac01,134,47,5 script Trainer Mainz#ac 4_M_KY_KNT,4,4,{
mes "[Mainz]";
mes "Wish you have good luck in your adventures!";
completequest 15000;
- getitem 512, 10; // Apple
+ getitem Apple, 10; // Apple
getexp 180, 100;
close;
} else if (questprogress(4269) && !questprogress(15000)) {
@@ -3287,7 +3287,7 @@ iz_ac01_d,36,52,3 duplicate(Odd Novice#ac) Odd Novice#ac_d 4_M_SIT_NOVICE
//== Shop Helper ===========================================
// - Teaches the player about Shops and Currency.
izlude,115,181,5 script Shop Helper#iz 4_F_KHELLISIA,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "- Quest cannot be continued due to your overfilled inventory. -";
close;
}
@@ -3314,14 +3314,14 @@ izlude,115,181,5 script Shop Helper#iz 4_F_KHELLISIA,{
mes "[Shop Helper Leonie]";
mes "Let's start.";
} else if(questprogress(1238) == 1) {
- if(countitem(501) > 0) {
+ if(countitem(Red_Potion) > 0) {
mes "[Shop Helper Leonie]";
mes "Ok 1 ^0000ffRed Potion^000000.";
mes "For now on you can use them at a field in a dungeon.";
mes "As a reward I'll give you a couple of ^ff0000Fly Wing^000000s.";
completequest 1238;
setquest 1239;
- getitem 12323, 50; // N_Fly_Wing
+ getitem N_Fly_Wing, 50; // N_Fly_Wing
getexp 1300, 100;
close;
}
@@ -3366,20 +3366,20 @@ izlude,115,181,5 script Shop Helper#iz 4_F_KHELLISIA,{
mes "Go sell one ^ff0000Poor Can^000000 that I gave you to the shop.";
completequest 1239;
setquest 1240;
- getitem 6426,1; // Bad_Can
+ getitem Bad_Can,1; // Bad_Can
close;
case 3:
mes "[Shop Helper Leonie]";
break;
}
} else if(questprogress(1240) == 1) {
- if(!countitem(6426)) {
+ if(!countitem(Bad_Can)) {
mes "[Shop Helper Leonie]";
mes "You went and sold the ^ff0000Poor Can^000000.";
mes "Good work, here's the reward for it.";
mes "The things I haven't told you, you will learn throughout your travels.";
completequest 1240;
- getitem 12324,10; // N_Butterfly_Wing
+ getitem N_Butterfly_Wing,10; // N_Butterfly_Wing
getexp 1000,50;
close;
}
@@ -3712,7 +3712,7 @@ iz_ac01_d,56,68,0,0 monster Lv 10 2408,1,5000,0,0
//== Dacquoise =============================================
// - Teaches the player about Cooking.
iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Why are you carrying so much stuff?";
mes "Put them down and come back.";
close;
@@ -3943,7 +3943,7 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "[Dacquoise]";
mes "Can I have a look?";
next;
- if(questprogress(14154) == 1 && countitem(705) > 0 && countitem(511) > 0 && countitem(507) > 0) {
+ if(questprogress(14154) == 1 && countitem(Clover) > 0 && countitem(Green_Herb) > 0 && countitem(Red_Herb) > 0) {
mes "[Dacquoise]";
mes "You brough what I need! Okay, then I will cook for you as I promised.";
mes "Time to move like greased lightning!!!!";
@@ -3958,14 +3958,14 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "Kya... Sir Orleans!!";
emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2);
close2;
- delitem 705, 1; // Clover
- delitem 511, 1; // Green_Herb
- delitem 507, 1; // Red_Herb
- getitem 11551, 1; // Savory_Herb_Salad
+ delitem Clover, 1; // Clover
+ delitem Green_Herb, 1; // Green_Herb
+ delitem Red_Herb, 1; // Red_Herb
+ getitem Savory_Herb_Salad, 1; // Savory_Herb_Salad
erasequest 14154;
end;
}
- if(questprogress(14155) == 1 && countitem(512) > 0 && countitem(515) > 1) {
+ if(questprogress(14155) == 1 && countitem(Apple) > 0 && countitem(Carrot) > 1) {
mes "[Dacquoise]";
mes "You brough what I need! Okay, then I will cook for you as I promised.";
mes "Time to move like greased lightning!!!!";
@@ -3979,13 +3979,13 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "If you really want to cook, go and see ^0000ffSir. Charles Orleans at the basement of Prontera castle^000000!! You must be attracted by him!!";
emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2);
close2;
- delitem 512, 1; // Apple
- delitem 515, 2; // Carrot
- getitem 11552, 1; // Apple_Carrot_Salad
+ delitem Apple, 1; // Apple
+ delitem Carrot, 2; // Carrot
+ getitem Apple_Carrot_Salad, 1; // Apple_Carrot_Salad
erasequest 14155;
end;
}
- if(questprogress(14156) == 1 && countitem(909) > 0 && countitem(914) > 0 && countitem(949) > 0) {
+ if(questprogress(14156) == 1 && countitem(Jellopy) > 0 && countitem(Fluff) > 0 && countitem(Feather) > 0) {
mes "[Dacquoise]";
mes "You brough what I need! Okay, then I will cook for you as I promised.";
mes "Time to move like greased lightning!!!!";
@@ -3999,14 +3999,14 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "If you are really curious about the cooking, go seek Sir. Charles Orleans at the basement of Prontera Castle.";
emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2);
close2;
- delitem 909, 1; // Jellopy
- delitem 914, 1; // Fluff
- delitem 949, 1; // Feather
- getitem 11553, 1; // Casual_Stew
+ delitem Jellopy, 1; // Jellopy
+ delitem Fluff, 1; // Fluff
+ delitem Feather, 1; // Feather
+ getitem Casual_Stew, 1; // Casual_Stew
erasequest 14156;
end;
}
- if(questprogress(14157) == 1 && countitem(512) > 0 && countitem(705) > 0) {
+ if(questprogress(14157) == 1 && countitem(Apple) > 0 && countitem(Clover) > 0) {
mes "[Dacquoise]";
mes "You brough what I need! Okay, then I will cook for you as I promised.";
mes "Time to move like greased lightning!!!!";
@@ -4022,9 +4022,9 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "You can learn real cooking from him!";
emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2);
close2;
- delitem 512, 1; // Apple
- delitem 705, 1; // Clover
- getitem 11554, 1; // Golden_Roasted_Apple
+ delitem Apple, 1; // Apple
+ delitem Clover, 1; // Clover
+ getitem Golden_Roasted_Apple, 1; // Golden_Roasted_Apple
erasequest 14157;
end;
}
@@ -4242,7 +4242,7 @@ iz_ac01_d,147,50,3 duplicate(Dacquoise#ac) Dacquoise#ac_d 4_COOK
//== General Store Owner ===================================
// - Sells the player the Novice Combination Book and Kit.
iz_ac01,68,49,3 script General Store Owner#ac 4_F_03,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Please try it again after organizing the items.";
close;
@@ -4284,7 +4284,7 @@ iz_ac01,68,49,3 script General Store Owner#ac 4_F_03,{
mes "Here you are.";
mes "This book is for the beginners. But it will allow you combine the useful tools together, if you use it correctly.";
Zeny -= 1000;
- getitem 11058, 1; // Novice_Combi_Book
+ getitem Novice_Combi_Book, 1; // Novice_Combi_Book
} else {
mes "[Querrie]";
mes "The book price is 1000 zeny.";
@@ -4327,7 +4327,7 @@ iz_ac01,68,49,3 script General Store Owner#ac 4_F_03,{
}
mes "Thank you. Come back again.";
Zeny -= .@cost;
- getitem 12849, .@input; // Combination_Kit
+ getitem Combination_Kit, .@input; // Combination_Kit
close;
case 3:
close;
@@ -4342,7 +4342,7 @@ iz_ac01_d,68,49,3 duplicate(General Store Owner#ac) General Store Owner#ac_d 4_F
//== Battle Instructor =====================================
// - Gives the player monster hunting quests.
iz_ac01,59,83,3 script Battle Instructor#08 4_M_NOV_HUNT,{
- if(!checkweight(1201, 1) || (MaxWeight - Weight) < 2000) {
+ if(!checkweight(Knife, 1) || (MaxWeight - Weight) < 2000) {
mes "- You have too many items.";
mes "- Clear inventory and try again.";
close;
@@ -4372,7 +4372,7 @@ iz_ac01,59,83,3 script Battle Instructor#08 4_M_NOV_HUNT,{
if(countitem(.@material[.@i]) >= .@count[i]) {
delitem .@material[.@i],.@count[.@i];
getexp .@bexp[.@i],.@jexp[.@i];
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
}
}
}
@@ -4561,7 +4561,7 @@ iz_ac01,59,83,3 script Battle Instructor#08 4_M_NOV_HUNT,{
erasequest getarg(0);
delitem getarg(3), getarg(4);
getexp getarg(1), getarg(2);
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
close;
}
@@ -4916,7 +4916,7 @@ new_1-3,92,169,5 script Adept Adventurer#new_1-3 4_M_JOB_BLACKSMITH,{
//== Friendly Poring =======================================
new_1-3,99,169,3 script Friendly Poring#ac 4_PORING,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "[Poring]";
mes "You have too many items to continue the quest.";
next;
@@ -5029,10 +5029,10 @@ new_1-3,99,169,3 script Friendly Poring#ac 4_PORING,{
cutin "", 255;
completequest 2295;
setquest 2296;
- getitem 12846, 5; // Little_Unripe_Apple
+ getitem Little_Unripe_Apple, 5; // Little_Unripe_Apple
close;
} else if (questprogress(2296) == 1) {
- if (countitem(9062) > 0) {
+ if (countitem(Novice_Poring_Egg) > 0) {
mes "[Poring]";
mes "Ello' mate. Were you successful? Where are the lil' bleeders?";
next;
@@ -5113,8 +5113,8 @@ new_1-3,99,169,3 script Friendly Poring#ac 4_PORING,{
completequest 2298;
if (Class == Job_Novice)
getexp 500, 50;
- getitem 531, 3; // Apple_Juice
- getitem 643, 1; // Pet_Incubator
+ getitem Apple_Juice, 3; // Apple_Juice
+ getitem Pet_Incubator, 1; // Pet_Incubator
close;
} else {
mes "[Poring]";
@@ -5202,9 +5202,9 @@ iz_ac01,95,46,5 script Kafra Guide Trainer#ac 4_F_KAFRA1,{
if (getskilllv("NV_BASIC") < 6) {
mes "[Kafra Guide Trainer]";
mes "To use the storage, you need to be raised the beginner level 6 and higher.";
- } else if (countitem(7059) || Zeny >= 500) {
- if (countitem(7059)) {
- delitem 7059, 1; // Cargo_Free_Ticket
+ } else if (countitem(Cargo_Free_Ticket) || Zeny >= 500) {
+ if (countitem(Cargo_Free_Ticket)) {
+ delitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
} else {
Zeny -= 500;
RESRVPTS += 5;
@@ -5932,7 +5932,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{
}
close;
case 2:
- if(!countitem(6593)) {
+ if(!countitem(Criatura_Hair_Coupon)) {
mes "[Otter Samssoon]";
mes "Come on.. Honey~";
mes "You should bring ^ff0000'Criatura Hair Coupon'^000000 for changing hair...";
@@ -6013,7 +6013,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{
mes "- Chikak, crack, crack.. -";
mes "- Snap, snap, snap.. Crack -";
next;
- delitem 6593, 1; // Criatura_Hair_Coupon
+ delitem Criatura_Hair_Coupon, 1; // Criatura_Hair_Coupon
cutin "", 255;
mes "[Otter Samssoon]";
mes "Oh my! Oh my! Oh my!";
@@ -7104,7 +7104,7 @@ iz_ac02_d,143,55,3 duplicate(Cream Puff#ac) Cream Puff#ac_d 4_M_KID1
//- Lusa -
// - Teaches the player about Gunslinger class.
iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- Quest can't be continued as your overloaded items. -";
close;
}
@@ -7222,7 +7222,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
if (.@has_manual == 1) {
mes "Hey! What kind of con is this?! You already had a manual!";
} else {
- getitem 2941, 1; // Gunslinger_Manual
+ getitem Gunslinger_Manual, 1; // Gunslinger_Manual
mes "Here take this manual, I ain't too good at that there book learnin' but I can answer your questions.";
}
next;
@@ -7491,7 +7491,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
next;
erasequest 5149;
getexp 700, 450;
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
next;
.@gun_tok = 1;
@@ -7508,7 +7508,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
next;
erasequest 5150;
getexp 950, 590;
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
next;
.@gun_tok = 1;
@@ -7525,7 +7525,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
next;
erasequest 5151;
getexp 850, 540;
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
next;
.@gun_tok = 1;
@@ -7542,7 +7542,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
next;
erasequest 5152;
getexp 690, 470;
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
next;
}
@@ -7721,7 +7721,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
if (questprogress(5152))
erasequest 5152;
if (.@gun_quest_01 == 2 || .@gun_quest_02 == 2 || .@gun_quest_03 == 2 || .@gun_quest_04 == 2) {
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
}
next;
@@ -8005,7 +8005,7 @@ iz_ac02_d,131,82,4 duplicate(Lusa's Desk#ac) Lusa's Desk#ac_d CLEAR_NPC
//- Staff sent by guild -
iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- You are carrying too many items. -";
close;
}
@@ -8098,7 +8098,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13116, 1; // Novice_Revolver
+ getitem Novice_Revolver, 1; // Novice_Revolver
}
break;
case 2:
@@ -8110,7 +8110,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13180, 1; // Novice_Rifle
+ getitem Novice_Rifle, 1; // Novice_Rifle
}
break;
case 3:
@@ -8122,7 +8122,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13181, 1; // Novice_Shotgun
+ getitem Novice_Shotgun, 1; // Novice_Shotgun
}
break;
case 4:
@@ -8134,7 +8134,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13182, 1; // Novice_Gatling
+ getitem Novice_Gatling, 1; // Novice_Gatling
}
break;
case 5:
@@ -8146,7 +8146,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13183, 1; // Novice_Grenade_Launcher
+ getitem Novice_Grenade_Launcher, 1; // Novice_Grenade_Launcher
}
break;
case 6:
@@ -8204,7 +8204,7 @@ iz_ac02,70,85,5 script Arang#ac 4_F_TAEKWON,{
mes "[Arang]";
mes "It is not an easy way. So I don't like to recommend it to you if you aren't fully prepared. But it is definitely a nice and great way to follow!!";
next;
- if (isequipped(2942) > 0 || countitem(2942) > 0) {
+ if (isequipped(Taekwon_Manual) > 0 || countitem(Taekwon_Manual) > 0) {
mes "[Arang]";
mes "Introduction to the class may let you know about what Taekwon in more detail.";
next;
@@ -8217,7 +8217,7 @@ iz_ac02,70,85,5 script Arang#ac 4_F_TAEKWON,{
mes "Every adventurer may have their own job! Hope you can find what you want!";
next;
} else {
- getitem 2942, 1; // Taekwon_Manual
+ getitem Taekwon_Manual, 1; // Taekwon_Manual
mes "[Arang]";
mes "Go to the [Misc] tab on Skill Window after equipping the Manual and there you will see some skills.";
next;
@@ -8381,7 +8381,7 @@ iz_ac01_d,53,49,0 duplicate(#acKick) #acKick_d HIDDEN_NPC,5,5
//- Archer Teacher (Marlbron) -
iz_ac02,65,109,5 script Archer Teacher#ac 4_M_ARCHER,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Why are you carrying so much with you? Unload it somewhere and come back.";
close;
}
@@ -8539,7 +8539,7 @@ iz_ac02,65,109,5 script Archer Teacher#ac 4_M_ARCHER,{
if (questprogress(14158) != 2) {
setquest 14158;
completequest 14158;
- getitem 2822, 1; // Archer_Manual
+ getitem Archer_Manual, 1; // Archer_Manual
}
cutin "", 255;
end;
@@ -8695,7 +8695,7 @@ iz_ac02_d,65,109,5 duplicate(Archer Teacher#ac) Archer Teacher#ac_d 4_M_ARCHER
//- Swordman Trainer (Adric) -
// - Teaches the player about the Swordsman class.
iz_ac02,60,51,5 script Swordman Trainer#ac 4_M_SWORDMAN,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "- Quest cannot be continued due to your overfilled inventory. -";
close;
}
@@ -8740,7 +8740,7 @@ iz_ac02,60,51,5 script Swordman Trainer#ac 4_M_SWORDMAN,{
mes "Calm down, lets's start over.";
mes "First, I'll give you a ^FF0000Swordman Manual^000000";
mes "Read it carefuly before asking any questions.";
- getitem 2819, 1; // Swordman_Manual
+ getitem Swordman_Manual, 1; // Swordman_Manual
nov_3_swordman = 1;
setquest 1229;
cutin "", 255;
@@ -9215,7 +9215,7 @@ iz_ac02,148,110,3 script Mage Chuck#ac 4_M_JOB_WIZARD,{
mes "Anything else you want to know about Mages?";
break;
case 4:
- if (isequippedcnt(2824) > 0 || countitem(2824) > 0) {
+ if (isequippedcnt(Mage_Manual) > 0 || countitem(Mage_Manual) > 0) {
mes "[Mage Chuck]";
mes "I think you already received a ^FF0000Mage Manual^000000~!";
mes "I can't offer you two of them.";
@@ -9228,7 +9228,7 @@ iz_ac02,148,110,3 script Mage Chuck#ac 4_M_JOB_WIZARD,{
mes "[Mage Chuck]";
mes "Anything else you want to know about Mages?";
} else {
- if (checkweight(607, 1)) {
+ if (checkweight(Yggdrasilberry, 1)) {
mes "[Mage Chuck]";
mes "Right, you must be set with your heart firm on becoming a Mage.";
next;
@@ -9244,7 +9244,7 @@ iz_ac02,148,110,3 script Mage Chuck#ac 4_M_JOB_WIZARD,{
mes "[Mage Chuck]";
mes "It's a valuable item so don't lose it.";
mes "If you want to become a genius ^0000FFMage^000000 like me, follow in my path.";
- getitem 2824, 1; // Mage_Manual
+ getitem Mage_Manual, 1; // Mage_Manual
break;
} else {
mes "[Mage Chuck]";
@@ -9457,7 +9457,7 @@ geffen,43,123,6 script Magician's Guild Guide#2 2_F_MAGICMASTER,{
//- Salim Hamid -
iz_ac02,50,169,3 script Salim Hamid#ac 1_M_MERCHANT,{
disable_items;
- if (!checkweight(714, 3) || (MaxWeight - Weight) < 10000) {
+ if (!checkweight(Emperium, 3) || (MaxWeight - Weight) < 10000) {
mes "- As you are overloaded with so many items, quest can't be proceeded. -";
close;
}
@@ -9632,7 +9632,7 @@ iz_ac02,50,169,3 script Salim Hamid#ac 1_M_MERCHANT,{
next;
mes "[Salim Hamid]";
mes "Now~ as we should go to the next course, equip the guide and see the skill, then speak to me again.";
- getitem 2823, 1; // Merchant_Manual
+ getitem Merchant_Manual, 1; // Merchant_Manual
completequest 12303;
close2;
cutin "", 255;
@@ -9869,7 +9869,7 @@ iz_ac02_d,50,169,3 duplicate(Salim Hamid#ac) Salim Hamid#ac_d 1_M_MERCHANT
//- Steward Aydin -
iz_ac02,53,171,3 script Steward Aydin#ac 4_M_MANAGER,{
disable_items;
- if (!checkweight(714, 3) || (MaxWeight - Weight) < 10000) {
+ if (!checkweight(Emperium, 3) || (MaxWeight - Weight) < 10000) {
mes "- As you are overloaded with so many items, quest can't be proceeded.";
close;
}
@@ -9914,7 +9914,7 @@ iz_ac02,53,171,3 script Steward Aydin#ac 4_M_MANAGER,{
mes "[Steward Aydin]";
mes "I anticipate to see you next time in a good shape.";
completequest 12304;
- getitem 12847, 1; // Old_Equipment_Box
+ getitem Old_Equipment_Box, 1; // Old_Equipment_Box
close;
}
mes "[Steward Aydin]";
@@ -9992,7 +9992,7 @@ iz_ac02_d,53,171,3 duplicate(Steward Aydin#ac) Steward Aydin#ac_d 4_M_MANAGER
//- Guest Lecturer Mayssel -
// - Teaches the player about the Thief class.
iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Please try it again after organizing the items.";
close;
@@ -10122,8 +10122,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
setquest 7483;
completequest 7483;
getexp 800, 50;
- getitem 569, 30; // Novice_Potion
- getitem 12325, 20; // N_Magnifier
+ getitem Novice_Potion, 30; // Novice_Potion
+ getitem N_Magnifier, 20; // N_Magnifier
} else {
mes "[Mayssel]";
mes "I only play the role to inform you of there is this one that one...";
@@ -10139,7 +10139,7 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
erasequest 7481;
erasequest 7482;
setquest 7483;
- getitem 2820, 1; // Thief_Manual
+ getitem Thief_Manual, 1; // Thief_Manual
}
close2;
cutin "", 255;
@@ -10196,8 +10196,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
setquest 7483;
completequest 7483;
getexp 800, 50;
- getitem 569, 30; // Novice_Potion
- getitem 12325, 20; // N_Magnifier
+ getitem Novice_Potion, 30; // Novice_Potion
+ getitem N_Magnifier, 20; // N_Magnifier
} else {
mes "[Mayssel]";
mes "I only play the role to inform you of there is this one that one...";
@@ -10213,7 +10213,7 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
erasequest 7481;
erasequest 7482;
setquest 7483;
- getitem 2820, 1; // Thief_Manual
+ getitem Thief_Manual, 1; // Thief_Manual
}
close2;
cutin "", 255;
@@ -10244,8 +10244,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
mes "Thank you for you hard work.";
completequest 7483;
getexp 800, 50;
- getitem 569, 30; // Novice_Potion
- getitem 12325, 20; // N_Magnifier
+ getitem Novice_Potion, 30; // Novice_Potion
+ getitem N_Magnifier, 20; // N_Magnifier
close2;
cutin "", 255;
end;
@@ -10283,8 +10283,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
mes "All the ongoing courses are cancelled.";
mes "These are not your aptitude.";
nude;
- if (countitem(2820) > 0)
- delitem 2820, countitem(2820); // Thief_Manual
+ if (countitem(Thief_Manual) > 0)
+ delitem Thief_Manual, countitem(Thief_Manual); // Thief_Manual
erasequest 7483;
erasequest 7484;
erasequest 7485;
@@ -10761,7 +10761,7 @@ iz_ac02,49,134,5 script Vicente#ac 4_M_HUMAN_02,{
mes "Important thing is not theory but actual fighting.";
mes "Do you agree?";
setquest 7481;
- getitem 569, 30; // Novice_Potion
+ getitem Novice_Potion, 30; // Novice_Potion
close2;
cutin "", 255;
end;
@@ -10902,7 +10902,7 @@ iz_ac02,49,134,5 script Vicente#ac 4_M_HUMAN_02,{
cutin "", 255;
end;
} else if (questprogress(7484) == 1) {
- if (countitem(7049) > 0) {
+ if (countitem(Stone) > 0) {
cutin "sc_vicente01.bmp", 2;
mes "[Vicente]";
mes "Oh, excellent!";
@@ -11002,7 +11002,7 @@ iz_ac02,49,134,5 script Vicente#ac 4_M_HUMAN_02,{
cutin "", 255;
end;
} else if (questprogress(7484) == 1) {
- if (countitem(7049) > 0) {
+ if (countitem(Stone) > 0) {
cutin "sc_vicente01.bmp", 2;
mes "[Vicente]";
mes "Oh, excellent!";
@@ -11615,7 +11615,7 @@ iz_ac02_d,55,134,3 duplicate(Verkhasel#ac) Verkhasel#ac_d 4_M_GUILLOTINE
//- Lumin -
iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Please try it again after organizing the items.";
close;
@@ -11699,10 +11699,10 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{
cutin "nov_lumin05.bmp", 2;
completequest 7487;
getexp 800, 50;
- getitem 512, 3; // Apple
- getitem 511, 2; // Green_Herb
- getitem 569, 22; // Novice_Potion
- getitem 622, 1; // Rainbow_Carrot
+ getitem Apple, 3; // Apple
+ getitem Green_Herb, 2; // Green_Herb
+ getitem Novice_Potion, 22; // Novice_Potion
+ getitem Rainbow_Carrot, 1; // Rainbow_Carrot
close2;
cutin "", 255;
end;
@@ -11718,7 +11718,7 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{
cutin "nov_lumin03.bmp", 2;
completequest 7487;
getexp 800, 50;
- getitem 512, 22; // Apple
+ getitem Apple, 22; // Apple
next;
select("Why are you treating me like this?", "Didn't I loose?");
mes "[Lumin]";
@@ -12082,7 +12082,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{
mes "It was not like this when I used to train in the past.";
close;
} else {
- if (!checkweight(1119, 3)) {
+ if (!checkweight(Tsurugi, 3)) {
mes "- You have too many items. Clear inventory and try again. -";
close;
}
@@ -12110,7 +12110,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{
mes "murmuring";
close;
}
- if (isequippedcnt(2821) > 0 || countitem(2821) > 0) {
+ if (isequippedcnt(Acolyte_Manual) > 0 || countitem(Acolyte_Manual) > 0) {
mes "[A nun]";
mes "You already have one.";
mes "We do not give two.";
@@ -12119,7 +12119,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{
mes "[A nun]";
mes "Then, use it for good.";
mes "^ff0000Equip (double click or drag to equipment window)^000000 and open the ^ff0000skill window(Alt+S)^000000 to see the skills in manual.";
- getitem 2821, 1; // Acolyte_Manual
+ getitem Acolyte_Manual, 1; // Acolyte_Manual
close;
}
}
@@ -12248,7 +12248,7 @@ iz_ac02,140,139,5 script Ninja Guide#ac 4_M_NINJA_BLUE,{
next;
break;
case 3:
- if (countitem(2940) > 0) {
+ if (countitem(Ninja_Manual) > 0) {
mes "[Ninja Guide]";
mes "You can equip this manual to experience some skills.";
mes "Open up your skill window by pressing <Alt+S> and find the skills in the Misc TAB.";
@@ -12258,16 +12258,16 @@ iz_ac02,140,139,5 script Ninja Guide#ac 4_M_NINJA_BLUE,{
next;
mes "[Ninja Guide]";
mes "He will give you some quests to complete. Use the Manual to help you in battle.";
- if (countitem(13295) < 10)
- getitem 13295, 10; // Light_Shuriken
+ if (countitem(Light_Shuriken) < 10)
+ getitem Light_Shuriken, 10; // Light_Shuriken
next;
} else {
mes "[Ninja Guide]";
mes "Make every useful moment count.";
mes "You can equip this manual to experience some skills.";
mes "Open up your skill window by pressing <Alt+S> and find the skills in the Misc TAB.";
- getitem 2940, 1; // Ninja_Manual
- getitem 13295, 10; // Light_Shuriken
+ getitem Ninja_Manual, 1; // Ninja_Manual
+ getitem Light_Shuriken, 10; // Light_Shuriken
next;
mes "[Ninja Guide]";
mes "The Academy has a trainer downstairs who will give you battle field training. Meet him and train your skills.";
@@ -12366,7 +12366,7 @@ iz_ac02_d,140,139,5 duplicate(Ninja Guide#ac) Ninja Guide#ac_d 4_M_NINJA_BLUE
//- Refinery Owner Han -
izlude,153,126,1 script Refinery Owner Han#iz 4_M_02,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- Cannot progress with the dialogue because you have too many items. -";
close;
}
@@ -12560,7 +12560,7 @@ izlude,153,126,1 script Refinery Owner Han#iz 4_M_02,{
if (Class == Job_Novice)
getexp 1200, 500;
mes "Got a lesson about the refining and Kafra storage free coupon.";
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
close;
} else if (.@jerun_tutorial == 8) {
mes "[Refinery Owner Han]";
@@ -12807,7 +12807,7 @@ izlude_d,153,121,3 duplicate(izludeWagjak) Refining Machine Wagjak::iz_d 2_MONEM
//- Tadde -
izlude,145,122,7 script Tadde#iz 4_M_04,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- As you have too many items in your inventory, Quest can't be continued -";
close;
}
@@ -12933,7 +12933,7 @@ izlude,145,122,7 script Tadde#iz 4_M_04,{
close;
}
Zeny -= .@sell;
- getitem 1010, .@amount; // Phracon
+ getitem Phracon, .@amount; // Phracon
mes "[Tadde]";
mes "This is what you wanted. Thank you very much!";
close;
@@ -12968,7 +12968,7 @@ izlude,145,122,7 script Tadde#iz 4_M_04,{
mes "Er...please sorts your inventory before you take these...";
close;
}
- getitem 1011, .@amount; // Emveretarcon
+ getitem Emveretarcon, .@amount; // Emveretarcon
Zeny -= .@sell;
mes "[Tadde]";
mes "This is what you wanted. Thank you very much!";
@@ -13064,7 +13064,7 @@ izlude_d,145,122,7 duplicate(Tadde#iz) Tadde#iz_d 4_M_04
//- Locas -
izlude,155,132,3 script Locas#iz 4_M_02,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- As you have too many items in your inventory, Quest can't be continued. -";
close;
}
@@ -13225,9 +13225,9 @@ izlude,155,132,3 script Locas#iz 4_M_02,{
mes "Will you refine 5 Rough Oridecon to one Oridecon?";
next;
if(select("Exchange 5 for 1", "Exchange all.") == 1) {
- if (countitem(756) > 4) {
- delitem 756, 5; // Oridecon_Stone
- getitem 984, 1; // Oridecon
+ if (countitem(Oridecon_Stone) > 4) {
+ delitem Oridecon_Stone, 5; // Oridecon_Stone
+ getitem Oridecon, 1; // Oridecon
mes "[Locas]";
mes "Refined Rough Oridecon to Oridecon.";
close;
@@ -13238,11 +13238,11 @@ izlude,155,132,3 script Locas#iz 4_M_02,{
close;
}
} else {
- if (countitem(756) > 4) {
- .@ston_max = countitem(756) / 5;
+ if (countitem(Oridecon_Stone) > 4) {
+ .@ston_max = countitem(Oridecon_Stone) / 5;
.@ston_full = .@ston_max * 5;
- delitem 756, .@ston_full; // Oridecon_Stone
- getitem 984, .@ston_max; // Oridecon
+ delitem Oridecon_Stone, .@ston_full; // Oridecon_Stone
+ getitem Oridecon, .@ston_max; // Oridecon
mes "[Locas]";
mes "Refined "+.@ston_full+" Rough Oridecon into "+.@ston_max+" Oridecon. Thank you for your business.";
close;
@@ -13258,9 +13258,9 @@ izlude,155,132,3 script Locas#iz 4_M_02,{
mes "Will you refine 5 Rough Elunium to one Elunium?";
next;
if(select("Exchange 5 for 1", "Exchange all.") == 1) {
- if (countitem(757) > 4) {
- delitem 757, 5; // Elunium_Stone
- getitem 985, 1; // Elunium
+ if (countitem(Elunium_Stone) > 4) {
+ delitem Elunium_Stone, 5; // Elunium_Stone
+ getitem Elunium, 1; // Elunium
mes "[Locas]";
mes "Refined Rough Elunium to Elunium.";
close;
@@ -13271,11 +13271,11 @@ izlude,155,132,3 script Locas#iz 4_M_02,{
close;
}
} else {
- if (countitem(757) > 4) {
- .@ston_max = countitem(757) / 5;
+ if (countitem(Elunium_Stone) > 4) {
+ .@ston_max = countitem(Elunium_Stone) / 5;
.@ston_full = .@ston_max * 5;
- delitem 757, .@ston_full; // Elunium_Stone
- getitem 985, .@ston_max; // Elunium
+ delitem Elunium_Stone, .@ston_full; // Elunium_Stone
+ getitem Elunium, .@ston_max; // Elunium
mes "[Locas]";
mes "Refined "+.@ston_full+" Rough Elunium into "+.@ston_max+" Elunium. Thank you for your business.";
close;
@@ -13423,7 +13423,7 @@ izlude_d,155,132,3 duplicate(Locas#iz) Locas#iz_d 4_M_02
//- Enchanter Mounds -
// - Teaches the player about enchanting.
izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- As you have too many items in your inventory, Quest can't be continued -";
close;
}
@@ -13568,13 +13568,13 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{
close;
} else if (.@in_tutorial == 2) {
mes "[Mounds]";
- if (countitem(2302) > 0) {
+ if (countitem(Cotton_Shirt_) > 0) {
mes "Oh this is a socketed shirt already!";
next;
mes "[Mounds]";
mes "Bring us the normal shirt without holes.";
close;
- } else if (countitem(2301) > 0) {
+ } else if (countitem(Cotton_Shirt) > 0) {
mes "It must be a plain cotton shirt.";
next;
} else {
@@ -13598,8 +13598,8 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{
next;
specialeffect2 EF_SANCTUARY;
completequest 5158;
- delitem 2301, 1; // Cotton_Shirt
- getitem 2302, 1; // Cotton_Shirt_
+ delitem Cotton_Shirt, 1; // Cotton_Shirt
+ getitem Cotton_Shirt_, 1; // Cotton_Shirt_
mes "[Mounds]";
mes "You have suceeded in socket enchant.";
close;
@@ -13701,7 +13701,7 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{
} else {
mes "Received the explanation and Kafra free storage coupon.";
}
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
next;
mes "[Mounds]";
mes "Then, I will see you later.";
@@ -13789,7 +13789,7 @@ izlude_d,96,125,7 duplicate(Enchanter Mounds#iz) Enchanter Mounds#iz_d 4_CAT_SAI
//- Enchanter Almond J -
// - Teaches the player about enchanting.
izlude,108,139,7 script Enchanter Almond J#iz 4_CAT_SAILOR3,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- As you have too many items in your inventory, Quest can't be continued -";
close;
}
diff --git a/npc/re/jobs/novice/novice.txt b/npc/re/jobs/novice/novice.txt
index 7ec6bc156..4d8ff77f4 100644
--- a/npc/re/jobs/novice/novice.txt
+++ b/npc/re/jobs/novice/novice.txt
@@ -316,13 +316,13 @@ new_5-2,100,29,4 duplicate(NvSprakkiB) Sprakki#nv5b 4_F_01
mes "Basic equipments and recovery potions.";
}
job_novice_q = 4;
- getitem 2352,1; //Novice_Plate
- getitem 2510,1; //Novice_Hood
- getitem 2414,1; //Novice_Boots
- getitem 5055,1; //Novice_Egg_Cap
- getitem 1243,1; //Novice_Knife
- getitem 2112,1; //Novice_Guard
- getitem 569,300; //Novice_Potion
+ getitem Novice_Plate,1;
+ getitem Novice_Hood,1;
+ getitem Novice_Boots,1;
+ getitem Novice_Egg_Cap,1;
+ getitem Novice_Knife,1;
+ getitem Novice_Guard,1;
+ getitem Novice_Potion,300;
setquest 7119;
next;
mes "[Instructor Brade]";
@@ -375,8 +375,8 @@ new_5-2,100,29,4 duplicate(NvSprakkiB) Sprakki#nv5b 4_F_01
mes "You are coming along just fine.";
job_novice_q = 5;
getexp 1200,15;
- getitem 12323,50; //N_Fly_Wing
- getitem 12324,20; //N_Butterfly_Wing
+ getitem N_Fly_Wing,50;
+ getitem N_Butterfly_Wing,20;
completequest 7119;
next;
mes "[Instructor Brade]";
@@ -445,7 +445,7 @@ new_5-2,100,29,4 duplicate(NvSprakkiB) Sprakki#nv5b 4_F_01
mes "You've come along fine this far.";
mes "This is not much, but take this as a reward.";
job_novice_q = 7;
- getitem 2393,1; //N_Adventurer's_Suit
+ getitem N_Adventurer's_Suit,1;
completequest 7120;
close;
} else if (job_novice_q == 7) {
@@ -730,8 +730,8 @@ new_5-2,115,120,3 duplicate(NvJinha) Jinha#nv5 1_M_ORIENT01
job_novice_q = 12;
completequest 7121;
getexp 1800,20;
- getitem 7059,20; //Cargo_Free_Ticket
- getitem 7060,30; //Warp_Free_Ticket
+ getitem Cargo_Free_Ticket,20;
+ getitem Warp_Free_Ticket,30;
next;
mes "[Chocolat]";
mes "You've completed all the quests I gave you.";
@@ -1183,7 +1183,7 @@ new_5-2,36,176,4 duplicate(NvGuide) Guide#nv5 8W_SOLDIER
mes "Please hunt 'Poring's on Level 1 of the training grounds.";
job_novice_q = 13;
setquest 7122;
- getitem 569,100; //Novice_Potion
+ getitem Novice_Potion,100;
savepoint strnpcinfo(4),96,21;
next;
mes "^4d4dff- You've received a quest from Instructor Brade.";
@@ -1196,7 +1196,7 @@ new_5-2,36,176,4 duplicate(NvGuide) Guide#nv5 8W_SOLDIER
mes "You can see it is not so hard, huh?";
mes "Nice job.";
job_novice_q = 14;
- getitem 13040,1; //N_Cutter
+ getitem N_Cutter,1;
getexp 3000,30;
completequest 7122;
next;
@@ -1368,7 +1368,7 @@ new_5-3,96,30,4 duplicate(NvBradeB) Brade#nv5b 4_M_JOB_KNIGHT1
mes "As a Swordman you can advance to a ^8E2323Knight^000000 or ^8E2323Crusader^000000 class as your 2nd class profession.";
mes "And just recently third professions have been discovered.";
next;
- if (isequipped(2819) || countitem(2819)) {
+ if (isequipped(2819) || countitem(Swordman_Manual)) {
mes "[Swordman Guildsman]";
mes "Try the Swordman skills listed in the manual.";
mes "Open your skill menu by pressing Alt + S";
@@ -1386,7 +1386,7 @@ new_5-3,96,30,4 duplicate(NvBradeB) Brade#nv5b 4_M_JOB_KNIGHT1
mes "I'll just take any manuals from any other classes you have.";
next;
callfunc "F_NvErase";
- getitem 2819,1; //Swordman_Manual
+ getitem Swordman_Manual,1;
next;
mes "[Swordman Guildsman]";
mes "After equipping the Manual, open your Skill menu by pressing ALT+S.";
@@ -1452,7 +1452,7 @@ new_5-3,96,30,4 duplicate(NvBradeB) Brade#nv5b 4_M_JOB_KNIGHT1
mes "I think that you're good enough to be a Swordman.";
mes "I'll give you some potions as a reward.";
completequest 7123;
- getitem 569,200; //Novice_Potion
+ getitem Novice_Potion,200;
getexp 5000,100;
close;
} else {
@@ -1509,7 +1509,7 @@ new_5-3,97,41,3 duplicate(NvSwordman) Swordman Guide#nv5 4_F_JOB_KNIGHT
mes "[Prontera Acolyte]";
mes "^8E2323As an Acolyte, you can upgrade your future job to Priest or Monk^8E2323.";
next;
- if (isequipped(2821) || countitem(2821)) {
+ if (isequipped(2821) || countitem(Acolyte_Manual)) {
mes "[Prontera Acolyte]";
mes "Try the Acolyte Skills with the manual you have. It will help you understand the job easier.";
mes "Open your Skill Tree by pressing ^4d4dffAlt + S^000000 and minimize the window by pressing the ^4d4dff'-'^000000 button on the top right corner of the window to see the available skills.";
@@ -1526,7 +1526,7 @@ new_5-3,97,41,3 duplicate(NvSwordman) Swordman Guide#nv5 4_F_JOB_KNIGHT
mes "I will take away those other job's manuals while you study this one.";
next;
callfunc "F_NvErase";
- getitem 2821,1; //Acolyte_Manual
+ getitem Acolyte_Manual,1;
next;
mes "[Prontera Acolyte]";
mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window.";
@@ -1604,7 +1604,7 @@ new_5-3,101,41,3 duplicate(NvAcolyte) Acolyte Guide#nv5 4_F_SISTER
mes "[Thief Guild Member]";
mes "Thieves can change their jobs to ^8E2323Assassins^000000 or ^8E2323Rogues^000000.";
next;
- if (isequipped(2820) || countitem(2820)) {
+ if (isequipped(2820) || countitem(Thief_Manual)) {
mes "[Thief Guild Member]";
mes "The class manual can help you understand what it is to be a Thief by using the skills that are essential to all Thieves.";
close;
@@ -1620,7 +1620,7 @@ new_5-3,101,41,3 duplicate(NvAcolyte) Acolyte Guide#nv5 4_F_SISTER
mes "I'll just take the other class manuals while I'm at it.";
next;
callfunc "F_NvErase";
- getitem 2820,1; //Thief_Manual
+ getitem Thief_Manual,1;
next;
mes "[Thief Guild Member]";
mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window.";
@@ -1681,7 +1681,7 @@ new_5-3,101,41,3 duplicate(NvAcolyte) Acolyte Guide#nv5 4_F_SISTER
mes "You are very strong.";
mes "These are not many but let me give you a reward for your effort.";
completequest 7127;
- getitem 12323,50; //N_Fly_Wing
+ getitem N_Fly_Wing,50;
getexp 5000,100;
close;
} else {
@@ -1743,7 +1743,7 @@ new_5-3,105,41,3 duplicate(NvThief) Thief Guide#nv5 2_M_THIEFMASTER
mes "^8E2323Merchants can transform to a Blacksmith";
mes "^8E2323or an Alchemist^000000 as their second job.";
next;
- if (isequipped(2823) || countitem(2823)) {
+ if (isequipped(2823) || countitem(Merchant_Manual)) {
mes "[Merchant Guildsman]";
mes "I think you should test Merchant skills before you decide what to do.";
close;
@@ -1758,7 +1758,7 @@ new_5-3,105,41,3 duplicate(NvThief) Thief Guide#nv5 2_M_THIEFMASTER
mes "I will take other job manuals from you while I'm at it.";
next;
callfunc "F_NvErase";
- getitem 2823,1; //Merchant_Manual
+ getitem Merchant_Manual,1;
next;
mes "[Merchant Guildsman]";
mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window.";
@@ -1829,7 +1829,7 @@ new_5-3,105,41,3 duplicate(NvThief) Thief Guide#nv5 2_M_THIEFMASTER
mes "Alright! What about Phracon?";
mes "Phracon is a metallic element which you can use for refining weapons.";
completequest 7126;
- getitem 1010,7; //Phracon
+ getitem Phracon,7;
getexp 5000,100;
close;
} else {
@@ -1900,7 +1900,7 @@ new_5-3,109,41,3 duplicate(NvMerchant) Merchant Guide#nv5 4W_M_01
mes "Besides Hunters, Archers can transform to a Bard, if they are male.";
mes "They can transform to a Dancer, if they are female^000000.";
next;
- if (isequipped(2822) || countitem(2822)) {
+ if (isequipped(2822) || countitem(Archer_Manual)) {
mes "[Archer Guildsman]";
mes "I think you should test Archer skills before you decide what to do.";
mes "I can provide you our test skill manual.";
@@ -1917,7 +1917,7 @@ new_5-3,109,41,3 duplicate(NvMerchant) Merchant Guide#nv5 4W_M_01
mes "I will take the other job manuals from you while you test the Archer manual out.";
next;
callfunc "F_NvErase";
- getitem 2822,1; //Archer_Manual
+ getitem Archer_Manual,1;
next;
mes "[Archer Guildsman]";
mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window.";
@@ -2003,7 +2003,7 @@ new_5-3,113,41,3 duplicate(NvArcher) Archer Guide#nv5 4_F_JOB_HUNTER
mes "^8E2323Mages can transform to Wizards";
mes "^8E2323or Sages as their second job^000000.";
next;
- if (isequipped(2824) || countitem(2824)) {
+ if (isequipped(2824) || countitem(Mage_Manual)) {
mes "[Mage Guild Member]";
mes "I think you should test Mage skills before you decide what to do.";
mes "I can provide you with our test skill registration form.";
@@ -2020,7 +2020,7 @@ new_5-3,113,41,3 duplicate(NvArcher) Archer Guide#nv5 4_F_JOB_HUNTER
mes "I will take the other job registration forms and manuals from you.";
next;
callfunc "F_NvErase";
- getitem 2824,1; //Mage_Manual
+ getitem Mage_Manual,1;
next;
mes "[Mage Guild Member]";
mes "After equipping the Manual, open your Skill menu by pressing ALT+S.";
@@ -2083,7 +2083,7 @@ new_5-3,113,41,3 duplicate(NvArcher) Archer Guide#nv5 4_F_JOB_HUNTER
mes "Alright. I will give something...";
mes "Here are Novice Butterfly Wings, please take them.";
completequest 7124;
- getitem 12324,30; //N_Butterfly_Wing
+ getitem N_Butterfly_Wing,30;
getexp 5000,100;
close;
} else {
@@ -2457,13 +2457,13 @@ function script F_NvErase {
if (questprogress(7127)) erasequest 7127;
}
nude;
- setarray .@manuals[0],countitem(2819),countitem(2820),countitem(2821),countitem(2822),countitem(2823),countitem(2824);
- if (.@manuals[0]) delitem 2819,.@manuals[0]; //Swordman_Manual
- if (.@manuals[1]) delitem 2820,.@manuals[1]; //Thief_Manual
- if (.@manuals[2]) delitem 2821,.@manuals[2]; //Acolyte_Manual
- if (.@manuals[3]) delitem 2822,.@manuals[3]; //Archer_Manual
- if (.@manuals[4]) delitem 2823,.@manuals[4]; //Merchant_Manual
- if (.@manuals[5]) delitem 2824,.@manuals[5]; //Mage_Manual
+ setarray .@manuals[0],countitem(Swordman_Manual),countitem(Thief_Manual),countitem(Acolyte_Manual),countitem(Archer_Manual),countitem(Merchant_Manual),countitem(Mage_Manual);
+ if (.@manuals[0]) delitem Swordman_Manual,.@manuals[0];
+ if (.@manuals[1]) delitem Thief_Manual,.@manuals[1];
+ if (.@manuals[2]) delitem Acolyte_Manual,.@manuals[2];
+ if (.@manuals[3]) delitem Archer_Manual,.@manuals[3];
+ if (.@manuals[4]) delitem Merchant_Manual,.@manuals[4];
+ if (.@manuals[5]) delitem Mage_Manual,.@manuals[5];
return;
}
@@ -2607,10 +2607,10 @@ L_Supplies:
mes "[Hanson]";
mes "Free tickets for Kafra storage and transportation can be used for Kafra storage and teleport services.";
nov_3_swordman = 40;
- getitem 7059,20; //Cargo_Free_Ticket
- getitem 7060,30; //Warp_Free_Ticket
- getitem 2393,1; //N_Adventurer's_Suit
- getitem 13040,1; //N_Cutter
+ getitem Cargo_Free_Ticket,20;
+ getitem Warp_Free_Ticket,30;
+ getitem N_Adventurer's_Suit,1;
+ getitem N_Cutter,1;
next;
mes "[Hanson]";
mes "You will now";
diff --git a/npc/re/jobs/novice/supernovice_ex.txt b/npc/re/jobs/novice/supernovice_ex.txt
index afb6eb8d4..132fd68ed 100644
--- a/npc/re/jobs/novice/supernovice_ex.txt
+++ b/npc/re/jobs/novice/supernovice_ex.txt
@@ -563,16 +563,16 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "[Nodor]";
mes "There are what I used to wear when I was younger,";
mes "but they are still good.";
- if (EXSUPNOV_Q_ == 3) getitem 2522,1; // Undershirt
+ if (EXSUPNOV_Q_ == 3) getitem Undershirt,1; // Undershirt
else if (EXSUPNOV_Q_ == 4) {
- getitem 2628,1; // Novice Armlet [1]
- getitem 2113,1; // Novice Shield [1]
- getitem 2416,1; // Novice Shoes [1]
- getitem 5119,1; // Super Novice Hat [1]
- getitem 2512,1; // Novice Manteau [1]
- getitem 2340,1; // Novice Breastplate [1]
+ getitem Novice_Armlet,1; // Novice Armlet [1]
+ getitem Novice_Shield,1; // Novice Shield [1]
+ getitem Novice_Shoes,1; // Novice Shoes [1]
+ getitem Super_Novice_Hat_,1; // Super Novice Hat [1]
+ getitem Novice_Manteau,1; // Novice Manteau [1]
+ getitem Novice_Breast,1; // Novice Breastplate [1]
}
- else getitem 2340,1; // Novice Breastplate [1]
+ else getitem Novice_Breast,1; // Novice Breastplate [1]
next;
select("Second-hand stuff, huh?");
mes "[Nodor]";
diff --git a/npc/re/jobs/repair.txt b/npc/re/jobs/repair.txt
index d264fa0c8..200fbf760 100644
--- a/npc/re/jobs/repair.txt
+++ b/npc/re/jobs/repair.txt
@@ -34,7 +34,7 @@
//=========================================================================
prt_in,38,104,4 script Valerie 4_F_VALKYRIE,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "I think you have too many items. Let's try it again after you take some out.";
close;
}
@@ -95,7 +95,7 @@ prt_in,38,104,4 script Valerie 4_F_VALKYRIE,{
mes "Please unequip the Magical Stone or Magical Stone Ring and try again.";
close;
}
- if (countitem(2796) || countitem(2797)) {
+ if (countitem(Magical_Stone) || countitem(Magical_Stone_)) {
if (isequipped(2796) || isequipped(2797)) {
mes "[Valerie]";
mes "Please talk to me after your replace all Magical Stones.";
diff --git a/npc/re/merchants/3rd_trader.txt b/npc/re/merchants/3rd_trader.txt
index c9737cdb5..83c73ad5b 100644
--- a/npc/re/merchants/3rd_trader.txt
+++ b/npc/re/merchants/3rd_trader.txt
@@ -37,7 +37,7 @@
//== Poison Herb Merchants (Guillotine Cross) ==============
- script ::phs -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -102,7 +102,7 @@ lhz_in02,16,205,4 duplicate(phs) Poison Herb Merchant#lhz 4_F_YUNYANG
//== Rune Stone Merchants (Rune Knight) ====================
- script ::runesale -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -169,7 +169,7 @@ prontera,168,228,3 duplicate(runesale) Rune Merchant#prt 4_M_YURI
//== Rare Herb Merchants (Guillotine Cross) ================
job3_guil01,91,93,3 script Rare Herb Collector 1_M_03,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -220,7 +220,7 @@ job3_guil01,91,93,3 script Rare Herb Collector 1_M_03,{
mes "Good. I've received the money and the special item.";
delitem .@item, .@amount;
Zeny -= .@total;
- getitem 709, .@amount; //Izidor
+ getitem Izidor, .@amount;
close;
}
}
@@ -231,7 +231,7 @@ job3_guil01,91,93,3 script Rare Herb Collector 1_M_03,{
//== Point Merchants (Sorcerer) ============================
- script ::pss -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
diff --git a/npc/re/merchants/alchemist.txt b/npc/re/merchants/alchemist.txt
index 6dc267a78..fe67e6eb2 100644
--- a/npc/re/merchants/alchemist.txt
+++ b/npc/re/merchants/alchemist.txt
@@ -62,7 +62,7 @@ alde_alche,31,186,3 script Craft Book Merchant#alde 4_M_ALCHE_D,{
mes "Please be safe on your travels.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Craft Book Merchant]";
mes "I'm sorry, but your inventory is almost full.";
mes "Please empty your inventory first.";
diff --git a/npc/re/merchants/card_separation.txt b/npc/re/merchants/card_separation.txt
index 53430f7f2..ecd4f1fdd 100644
--- a/npc/re/merchants/card_separation.txt
+++ b/npc/re/merchants/card_separation.txt
@@ -35,7 +35,7 @@
- script ::CardSeparation_mal -1,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Let's try to continue after reducing those objects.";
close;
}
@@ -205,8 +205,8 @@
next;
.@menu$ = "Next time...:"+
((Zeny >= 1000000)?"Use 1,000,000z (Do not use special item):":"^999999Use 1,000,000z (Insufficient)^000000:")+
- ((countitem(6441))?"Use Premium Lubricant:":"^999999Premium Lubricant (Insufficient)^000000:")+
- ((countitem(6440))?"Use Ordinary Lubricant":"^999999Ordinary Lubricant (Insufficient)^000000");
+ ((countitem(High_RankLubricant))?"Use Premium Lubricant:":"^999999Premium Lubricant (Insufficient)^000000:")+
+ ((countitem(General_Lubricant))?"Use Ordinary Lubricant":"^999999Ordinary Lubricant (Insufficient)^000000");
switch(select(.@menu$)) {
case 1:
mes .@n$;
@@ -232,7 +232,7 @@
Zeny -= 1000000;
break;
case 3:
- if (countitem(6441) == 0) {
+ if (countitem(High_RankLubricant) == 0) {
mes .@n$;
mes "You don't have Premium Lubricant.";
close;
@@ -248,10 +248,10 @@
.@sf_c_num = 75;
.@sf_r_num = 75;
.@sf_w_num = 75;
- delitem 6441,1; //High_RankLubricant
+ delitem High_RankLubricant,1;
break;
case 4:
- if (countitem(6440) == 0) {
+ if (countitem(General_Lubricant) == 0) {
mes .@n$;
mes "You don't have Ordinary Lubricant.";
close;
@@ -267,7 +267,7 @@
.@sf_c_num = 75;
.@sf_r_num = 150;
.@sf_w_num = 150;
- delitem 6440,1; //General_Lubricant
+ delitem General_Lubricant,1;
break;
}
} else {
@@ -280,7 +280,7 @@
mes "Whenever you need the work, visit me here.";
close;
case 2:
- if (countitem(6443) == 0) {
+ if (countitem(Sillit_Pong_Bottle) == 0) {
mes .@n$;
mes "You don't have Sillit Pong.";
close;
@@ -305,7 +305,7 @@
.@sf_c_num = 60;
.@sf_r_num = 60;
.@sf_w_num = 60;
- delitem 6443,1; //Sillit_Pong_Bottle
+ delitem Sillit_Pong_Bottle,1;
break;
}
}
diff --git a/npc/re/merchants/catalog.txt b/npc/re/merchants/catalog.txt
index 8f3178531..5267a20b5 100644
--- a/npc/re/merchants/catalog.txt
+++ b/npc/re/merchants/catalog.txt
@@ -36,7 +36,7 @@
//=========================================================================
moc_para01,22,16,5 script Catalog Magician#catal01 4_M_BIBI,{
- if (!checkweight(1301,3)) {
+ if (!checkweight(Axe,3)) {
mes "- You have too many items. Please make space. -";
close;
}
@@ -97,7 +97,7 @@ moc_para01,22,16,5 script Catalog Magician#catal01 4_M_BIBI,{
}
mes "Ok, here you go.";
Zeny -= .@sell;
- getitem 12580,.@input; //Vending_Search_Scroll
+ getitem Vending_Search_Scroll,.@input;
close;
case 2:
mes "[Catalog Magician]";
diff --git a/npc/re/merchants/coin_exchange.txt b/npc/re/merchants/coin_exchange.txt
index acb879174..2e09a9a9d 100644
--- a/npc/re/merchants/coin_exchange.txt
+++ b/npc/re/merchants/coin_exchange.txt
@@ -37,7 +37,7 @@
//== Malangdo ==============================================
malangdo,220,167,5 script Coin Exchanger CX-1 2_VENDING_MACHINE1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Let's try to continue after reducing those objects.";
close;
}
@@ -128,7 +128,7 @@ malangdo,220,167,5 script Coin Exchanger CX-1 2_VENDING_MACHINE1,{
}
malangdo,218,165,5 script Special Vending Machine 2_DROP_MACHINE,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Let's try to continue after reducing those objects.";
close;
}
@@ -172,17 +172,17 @@ L_AddItem:
mes "[Special Vending Machine]";
mes "You choose ^005500"+getarg(.@i*3)+"^000000. For purchasing, you need ^005500"+.@cost+"^000000 unit(s) of Silvervine Fruit.";
next;
- if (countitem(6417) < .@cost)
- .@ven_menu$ = "^999999Silvervine Fruit (missing "+(.@cost - countitem(6417))+")^000000";
+ if (countitem(Silvervine) < .@cost)
+ .@ven_menu$ = "^999999Silvervine Fruit (missing "+(.@cost - countitem(Silvervine))+")^000000";
else
- .@ven_menu$ = "Purchase - Silvervine Fruit (have "+countitem(6417)+")";
+ .@ven_menu$ = "Purchase - Silvervine Fruit (have "+countitem(Silvervine)+")";
switch(select("Stop:"+.@ven_menu$)) {
case 1:
mes "[Special Vending Machine]";
mes "Thank you for coming.";
close;
case 2:
- if (countitem(6417) < .@cost) {
+ if (countitem(Silvervine) < .@cost) {
mes "[Special Vending Machine]";
mes "Not enough Silvervine Fruit.";
mes "Closing the transaction.";
@@ -191,14 +191,14 @@ L_AddItem:
}
mes "[Special Vending Machine]";
mes "The transaction is completed. Thank you for coming.";
- delitem 6417,.@cost; //Silvervine
+ delitem Silvervine,.@cost;
getitem getarg(.@i*3+1),1;
close;
}
}
malangdo,236,179,5 script Dark Merchant K 4_CAT_REST,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "It seems you have too much in your inventory. Let's try again after getting rid of some of your belongings.";
close;
}
@@ -214,7 +214,7 @@ malangdo,236,179,5 script Dark Merchant K 4_CAT_REST,{
while(1) {
.@menu$ = "";
for(.@i = 0; .@i<getarraysize(.@coin_amount); ++.@i) {
- if (countitem(6420) >= .@coin_amount[.@i])
+ if (countitem(Cgrade_Coin) >= .@coin_amount[.@i])
.@menu$ += "Exchange "+(.@coin_amount[.@i]/10)+" Mora Coin:";
else
.@menu$ += "^aaaaaaExchange "+(.@coin_amount[.@i]/10)+" Mora Coin (Not Enough)^000000:";
@@ -225,13 +225,13 @@ malangdo,236,179,5 script Dark Merchant K 4_CAT_REST,{
mes "Let's exchange some other time.";
close;
}
- if (countitem(6420) < .@coin_amount[.@i]) {
+ if (countitem(Cgrade_Coin) < .@coin_amount[.@i]) {
mes "[Merchant K]";
mes "You need ^ff0000"+.@coin_amount[.@i]+"^000000 C Grade Coin to perform the exchange. But you don't seem to have enough now.";
close;
}
- delitem 6420,.@coin_amount[.@i]; //Cgrade_Coin
- getitem 6380,.@coin_amount[.@i]/10; //Mora_Coin
+ delitem Cgrade_Coin,.@coin_amount[.@i];
+ getitem Mora_Coin,.@coin_amount[.@i]/10;
mes "[Merchant K]";
mes "C Grade Coin ^003399"+.@coin_amount[.@i]+"^000000 well received."; //FIXME: Dialogue.
mes "Exchanged to ^003399"+(.@coin_amount[.@i]/10)+"^000000 Mora Coin.";
@@ -243,7 +243,7 @@ malangdo,236,179,5 script Dark Merchant K 4_CAT_REST,{
}
malangdo,233,180,3 script Dark MachineTX100 2_VENDING_MACHINE1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "It seems you have too much in your inventory. Let's try again after getting rid of some of your belongings.";
close;
}
@@ -364,7 +364,7 @@ malangdo,233,180,3 script Dark MachineTX100 2_VENDING_MACHINE1,{
}
malangdo,175,145,4 script Can Agency Guard 4_CAT_MERMASTER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You seem to have too many items. Give it a try after sorting out the item kinds.";
close;
}
@@ -437,8 +437,8 @@ malangdo,175,145,4 script Can Agency Guard 4_CAT_MERMASTER,{
close;
}
}
- delitem 12633,.@count; //Malang_Cat_Can
- getitem 6422,.@count*3; //Egrade_Coin
+ delitem 12633,.@count;
+ getitem Egrade_Coin,.@count*3;
mes "[Can Agency Guard]";
mes "Exchanged "+.@count+" Malangdo Cat Can to "+(.@count*3)+" E Class Coin. Check it out.";
close;
@@ -491,7 +491,7 @@ function script F_mal_coin {
next;
switch(select("Yes:No")) {
case 1:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes getarg(1);
mes "It seems that there are too many items in your inventory.";
mes "Please make space and come back again~";
diff --git a/npc/re/merchants/diamond.txt b/npc/re/merchants/diamond.txt
index 0ea3b0488..95f8d7774 100644
--- a/npc/re/merchants/diamond.txt
+++ b/npc/re/merchants/diamond.txt
@@ -64,7 +64,7 @@
next;
.@menu$ = "^FF82FF'17 Carat Diamond'^000000?";
- if (countitem(6024))
+ if (countitem(17Carat_Dia))
.@menu$ += ":Exchange my 17 Carat Diamond for zeny...";
switch(select(.@menu$)) {
diff --git a/npc/re/merchants/enchan_mal.txt b/npc/re/merchants/enchan_mal.txt
index 272e4ed75..3007c9ee4 100644
--- a/npc/re/merchants/enchan_mal.txt
+++ b/npc/re/merchants/enchan_mal.txt
@@ -36,7 +36,7 @@
malangdo,213,167,4 script Mayomayo#mal 4_CAT_3COLOR,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Let's try to continue after reducing those objects.";
close;
}
@@ -627,7 +627,7 @@ L_Socket:
mes "If you change your mind, come back anytime.";
close;
}
- if (countitem(6417) == 0) {
+ if (countitem(Silvervine) == 0) {
mes "[Mayomayo]";
mes "I'm sorry. You don't have Silvervine Fruit. Please check your inventory again?";
close;
@@ -645,7 +645,7 @@ L_Socket:
specialeffect2 EF_REPAIRWEAPON;
mes "[Mayomayo]";
mes "Initialize the enchant effect from the equipment.";
- delitem 6417,1; //Silvervine
+ delitem Silvervine,1;
delequip EQI_HAND_R;
// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3]
diff --git a/npc/re/merchants/enchan_mora.txt b/npc/re/merchants/enchan_mora.txt
index 6ffdb2ca5..e27446594 100644
--- a/npc/re/merchants/enchan_mora.txt
+++ b/npc/re/merchants/enchan_mora.txt
@@ -36,7 +36,7 @@
//== Arch Bishop Enchants :: coin_arc ======================
mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -45,7 +45,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
close;
}
disable_items;
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Artifice]";
mes "Relics for Archbishops are meant for defense and support!";
next;
@@ -86,7 +86,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
mes "Go with the light.";
close;
case 2:
- if (countitem(2864) || countitem(2865) || countitem(2866)) {
+ if (countitem(Light_Of_Cure) || countitem(Seal_Of_Cathedral) || countitem(Ring_Of_Archbishop)) {
mes "[Artifice]";
mes "You are already allowed access to our relics by your possession of a Ring!";
close;
@@ -116,7 +116,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
break;
}
.@item = .@items[rand(getarraysize(.@items))];
- delitem 6380,10; //Mora_Coin
+ delitem Mora_Coin,10;
getitem .@item,1;
mes "[Artifice]";
mes "You have obtained ^aa00aa"+getitemname(.@item)+"^000000. May the Blessing of the Light be with you.";
@@ -130,9 +130,9 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
mes "It seems that you have power to control the ring so I cannot exchange it into coins.";
close;
}
- if (countitem(2864)) .@item = 2864; //Light_Of_Cure
- else if (countitem(2865)) .@item = 2865; //Seal_Of_Cathedral
- else if (countitem(2866)) .@item = 2866; //Ring_Of_Archbishop
+ if (countitem(Light_Of_Cure)) .@item = 2864; //Light_Of_Cure
+ else if (countitem(Seal_Of_Cathedral)) .@item = 2865; //Seal_Of_Cathedral
+ else if (countitem(Ring_Of_Archbishop)) .@item = 2866; //Ring_Of_Archbishop
else {
mes "[Artifice]";
mes "Did you change something?";
@@ -148,7 +148,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
close;
case 2:
delitem .@item,1;
- getitem 6380,10; //Mora_Coin
+ getitem Mora_Coin,10;
mes "[Artifice]";
mes "I think that was an even trade.";
close;
@@ -157,7 +157,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
}
mora,96,74,5 script Master of Relics#pa0829 4_M_MERCAT1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -225,13 +225,13 @@ mora,96,74,5 script Master of Relics#pa0829 4_M_MERCAT1,{
.@enchant_type = 4;
break;
}
- if (countitem(6380) < 2 || countitem(.@item) == 0) {
+ if (countitem(Mora_Coin) < 2 || countitem(.@item) == 0) {
mes "[Relice]";
mes "For 2 Mora Coins I can strengthen the relic you have in many ways!";
close;
}
specialeffect2 EF_REPAIRWEAPON;
- delitem 6380,2; //Mora_Coin
+ delitem Mora_Coin,2;
delitem .@item,1;
switch(.@enchant_type) {
case 1:
@@ -335,7 +335,7 @@ mora,96,74,5 script Master of Relics#pa0829 4_M_MERCAT1,{
//== Warlock Enchants :: coin_warrock ======================
mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -343,7 +343,7 @@ mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{
mes "You are carrying too much weight to do that. Reduce the weight and try again.";
close;
}
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Guardian of Artifacts]";
mes "My job is to guard the Warlock's ancient artifacts.";
next;
@@ -394,13 +394,13 @@ mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{
setarray .@items[0],2007,2008,2009,2010; //Golden_Rod_Staff,Aqua_Staff,Crimson_Staff,Forest_Staff
break;
}
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Guardian of Artifacts]";
mes "Would you please come back when you have enough Coins?";
close;
}
.@item = .@items[rand(getarraysize(.@items))];
- delitem 6380,10; //Mora_Coin
+ delitem Mora_Coin,10;
getitem .@item,1;
mes "[Guardian of Artifacts]";
mes "I have ^aa00aa"+getitemname(.@item)+"^000000 available today. I hope "+((.@plural)?"they":"it")+" will come in handy...";
@@ -408,7 +408,7 @@ mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{
}
mora,99,93,5 script Artifact Crafter#pa0829 4_M_MERCAT1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -473,13 +473,13 @@ mora,99,93,5 script Artifact Crafter#pa0829 4_M_MERCAT1,{
break;
}
.@item = .@items[(.@select-2)%4];
- if (countitem(6380) < 2 || countitem(.@item) == 0) {
+ if (countitem(Mora_Coin) < 2 || countitem(.@item) == 0) {
mes "[Artifact Crafter]";
mes "You have to have 2 Mora Coins and an item to be reinforced before I can do my work.";
close;
}
specialeffect2 EF_REPAIRWEAPON;
- delitem 6380,2; //Mora_Coin
+ delitem Mora_Coin,2;
delitem .@item,1;
switch(.@enchant_type) {
case 1:
@@ -539,7 +539,7 @@ mora,99,93,5 script Artifact Crafter#pa0829 4_M_MERCAT1,{
//== Rune Knight, Guillotine Cross, & Ranger Enchants :: new_artifact =
mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Reduce the amount of items that you have in your inventory before continuing.";
close;
}
@@ -547,7 +547,7 @@ mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{
mes "You are carrying too much in your inventory.";
close;
}
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Guardian of Power]";
mes "I give Rune Knights, Guillotine Crosses, and Rangers ancient artifacts to help them carry out their missions.";
next;
@@ -597,12 +597,12 @@ mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{
mes "Talk to me later then.";
close;
}
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Guardian of Power]";
mes "Didn't I tell you to bring the correct amount of Mora Coins?";
close;
}
- delitem 6380,10; //Mora_Coin
+ delitem Mora_Coin,10;
getitem .@items[.@i],1;
mes "[Guardian of Power]";
mes "Thank you for the 10 Mora Coins. Here is your artifact for the "+.@jobs$[.@job]+" job. Come back whenever you get more Mora Coins.";
@@ -610,7 +610,7 @@ mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{
}
mora,148,98,3 script Artifact Researcher#new 4_F_MORAFINE2,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Reduce the amount of items that you have in your inventory before continuing.";
close;
}
@@ -647,7 +647,7 @@ mora,148,98,3 script Artifact Researcher#new 4_F_MORAFINE2,{
@mora_enchant_select = 2;
break;
}
- if (Zeny < 100000 || countitem(6380) == 0) {
+ if (Zeny < 100000 || countitem(Mora_Coin) == 0) {
mes "[Artifact Researcher]";
mes "I'm not giving these services out for free pal. 100,000 zeny and 1 Mora Coin. Is that too much to ask?";
close;
@@ -1110,12 +1110,12 @@ L_Socket:
mes "I think there was an enhancing limit to the artifacts.";
close;
}
- if (Zeny < 100000 || countitem(6380) == 0) {
+ if (Zeny < 100000 || countitem(Mora_Coin) == 0) {
mes "[Artifact Researcher]";
mes "I'm not going to do the work unless you pay the fee.";
close;
}
- delitem 6380,1; //Mora_Coin
+ delitem Mora_Coin,1;
Zeny -= 100000;
delequip .@part;
if (.@enchant == 9) {
@@ -1142,7 +1142,7 @@ L_Socket:
close;
} else if (.@select == 2) {
- if (Zeny < 100000 || countitem(6380) == 0) {
+ if (Zeny < 100000 || countitem(Mora_Coin) == 0) {
mes "[Artifact Researcher]";
mes "You've got to pay if you want the services.";
close;
@@ -1150,7 +1150,7 @@ L_Socket:
specialeffect2 EF_REPAIRWEAPON;
mes "[Artifact Researcher]";
mes "The ability to enhance remains.";
- delitem 6380,1; //Mora_Coin
+ delitem Mora_Coin,1;
Zeny -= 100000;
delequip .@part;
@@ -1167,7 +1167,7 @@ L_Socket:
//== Arch Bishop & Warlock Empowering :: relic_change ======
mora,124,82,4 script Artifact Collector#blan 4_M_RAFLE_OR,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Reduce the amount of items that you have in your inventory before continuing.";
close;
}
@@ -1489,7 +1489,7 @@ L_ShowInfo:
function script F_Mora_Enchant {
specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",3;
- delitem 6380,5; //Mora_Coin
+ delitem Mora_Coin,5;
delitem getarg(0),1;
.@i = rand(1,4568);
if (.@i <= 3168) {
@@ -1519,7 +1519,7 @@ function script F_Mora_Enchant {
return 1;
}
mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -1527,13 +1527,13 @@ mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
mes "You are carrying too much weight to do that. Reduce the weight and try again.";
close;
}
- if (countitem(6380) < 5 || countitem(15024) < 1) {
+ if (countitem(Mora_Coin) < 5 || countitem(Army_Padding) < 1) {
mes "[Master Tailor]";
mes "With my touch, I can turn a typical army padding into a piece of art. I'm Kay the Master Tailor, creating art with army paddings.";
next;
mes "[Master Tailor]";
mes "Well, what's in a name? I can turn your army padding into a piece of art if you bring ^ff00005 Mora Coins and an Army Padding^000000.";
- if (countitem(6380)) {
+ if (countitem(Mora_Coin)) {
next;
mes "[Master Tailor]";
mes "I happen to have a few army paddings in stock. Would you like to buy one? The price is 1 Mora Coin. So cheap.";
@@ -1545,8 +1545,8 @@ mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
mes "Come back for one if you change your mind.";
close;
case 2:
- delitem 6380,1; //Mora_Coin
- getitem 15024,1; //Army_Padding
+ delitem Mora_Coin,1;
+ getitem Army_Padding,1;
mes "[Master Tailor]";
mes "Here it is.";
mes "It's very nice and fluffy. Please come back.";
@@ -1586,7 +1586,7 @@ mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
mes "The villagers keep me busy enough.";
close;
case 2:
- if (countitem(6380) < 5 || countitem(15024) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Army_Padding) == 0) {
mes "[Master Tailor]";
mes "It looks like you don't have everything you need.";
next;
@@ -1611,7 +1611,7 @@ mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
}
mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -1619,7 +1619,7 @@ mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
mes "You are carrying too much weight to do that. Reduce the weight and try again.";
close;
}
- if (countitem(6380) < 5 || countitem(2858) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Pendant_Of_Guardian) == 0) {
mes "[Pendant Crafter]";
mes "My job is to polish the stone in a Guardian's Pendant, and then carve a symbol with special power on it.";
next;
@@ -1658,7 +1658,7 @@ mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
mes "Come back when you're not in a hurry. I always have a lot of time on my hands.";
close;
case 2:
- if (countitem(6380) < 5 || countitem(2858) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Pendant_Of_Guardian) == 0) {
mes "[Pendant Crafter]";
mes "It looks like you don't have everything you need.";
next;
@@ -1667,7 +1667,7 @@ mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
close;
}
if (callfunc("F_Mora_Enchant",2858) == 0) {
- getitem 2858,1; //Pendant_Of_Guardian
+ getitem Pendant_Of_Guardian,1;
mes "[Pendant Crafter]";
mes "What~!!";
mes "What on earth is wrong with it!!";
@@ -1681,7 +1681,7 @@ mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
}
mora,134,166,4 script Bulberry Westhood#pa0829 4_ELEPHANT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -1689,7 +1689,7 @@ mora,134,166,4 script Bulberry Westhood#pa0829 4_ELEPHANT,{
mes "You are carrying too much weight to do that. Reduce the weight and try again.";
close;
}
- if (countitem(6380) < 5 || countitem(2568) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Muffler_Of_Roki) == 0) {
mes "[Bulberry Westhood]";
mes "I'm Bulberry Westhood, keeping the tradition of quality hoods alive.";
next;
@@ -1739,7 +1739,7 @@ mora,134,166,4 script Bulberry Westhood#pa0829 4_ELEPHANT,{
mes "You say 'later' when you can have the best quality item right away? Well, have it your own way.";
close;
case 2:
- if (countitem(6380) < 5 || countitem(2568) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Muffler_Of_Roki) == 0) {
mes "[Bulberry Westhood]";
mes "It looks like you don't everything you need.";
next;
@@ -1748,7 +1748,7 @@ mora,134,166,4 script Bulberry Westhood#pa0829 4_ELEPHANT,{
close;
}
if (callfunc("F_Mora_Enchant",2568) == 0) {
- getitem 2568,1; //Muffler_Of_Roki
+ getitem Muffler_Of_Roki,1;
mes "[Bulberry Westhood]";
mes "Aaarrgghh, this is impossible!";
mes "My! My Loki's Scarf!....";
diff --git a/npc/re/merchants/enchan_upg.txt b/npc/re/merchants/enchan_upg.txt
index e8ba1c274..67ad2c773 100644
--- a/npc/re/merchants/enchan_upg.txt
+++ b/npc/re/merchants/enchan_upg.txt
@@ -35,7 +35,7 @@
prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You are carrying too many items, please reduce it and come back again!";
close;
}
@@ -65,7 +65,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
mes "Else, I will not enchant for you....";
close;
case 2:
- if (!countitem(6484)) {
+ if (!countitem(Enchant_Book)) {
mes "[Devil Enchant Master]";
mes "Are you listening to me? I will only do for you if you bring the Enchant Book!";
close;
@@ -109,7 +109,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
.@equip_refine = getequiprefinerycnt(.@part);
if (.@select == 1) {
- if (!countitem(6484)) {
+ if (!countitem(Enchant_Book)) {
mes "Are you listening to me? I will only do for you if you bring the Enchant Book!";
close;
}
@@ -231,7 +231,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
mes "This item has been enchanted!";
close;
}
- if (!countitem(6484)) {
+ if (!countitem(Enchant_Book)) {
mes "Are you listening to me? I will only do for you if you bring the Enchant Book!";
close;
}
@@ -244,7 +244,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
specialeffect EF_REPAIRWEAPON;
mes "The slot ^9900004^000000 has been enchanted!";
}
- delitem 6484,1; //Enchant_Book
+ delitem Enchant_Book,1;
delequip .@part;
// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@enchant
diff --git a/npc/re/merchants/flute.txt b/npc/re/merchants/flute.txt
index 254c10bd9..9a2736fb1 100644
--- a/npc/re/merchants/flute.txt
+++ b/npc/re/merchants/flute.txt
@@ -74,7 +74,7 @@
close;
}
if (Zeny >= .@price) {
- if (countitem(12848) >= 1) {
+ if (countitem(Falcon_Flute) >= 1) {
mes "[Falcon Flute Trader]";
mes "As I can see you already have a Falcon Flute!";
mes "Don't worry, my young friend, once you've purchased the Falcon Flute you won't need to do so again";
@@ -85,7 +85,7 @@
mes "Here, take this flute.";
mes "With it you can whistle for your Falcon from anywhere.";
Zeny -= .@price;
- getitem 12848,1; //Falcon_Flute
+ getitem Falcon_Flute,1;
next;
mes "[Falcon Flute Trader]";
mes "Just a reminder.";
@@ -110,7 +110,7 @@ pay_arche,91,134,3 duplicate(fflute) Falcon Flute Trader#fft2 1_M_BARD
tur_dun01,89,170,5 script Expert Flute Crafter 1_M_ORIENT01,{
if (Class == Job_Ranger || Class == Job_Ranger_T || Class == Job_Baby_Ranger) {
- if (countitem(6124)) {
+ if (countitem(Wolf's_Flute)) {
mes "[Expert Flute Crafter]";
mes "The Wolf Flute you have is crafted by myself, with wood.";
mes "You can come back here and find me if you lose your Wolf flute!";
@@ -126,7 +126,7 @@ tur_dun01,89,170,5 script Expert Flute Crafter 1_M_ORIENT01,{
next;
switch(select("Please give me a new Wolf Flute.:No.")) {
case 1:
- if (countitem(7150) && Zeny >= 100000) {
+ if (countitem(Bamboo_Cut) && Zeny >= 100000) {
mes "[Expert Flute Crafter]";
mes "Have you brought all the materials?";
mes "Wow! All your materials are not bad!";
@@ -135,9 +135,9 @@ tur_dun01,89,170,5 script Expert Flute Crafter 1_M_ORIENT01,{
mes "[Expert Flute Crafter]";
mes "Here's the new Wolf Flute.";
mes "Hope you are ready to use it.";
- delitem 7150,1; //Bamboo_Cut
+ delitem Bamboo_Cut,1;
Zeny -= 100000;
- getitem 6124,1; //Wolf's_Flute
+ getitem Wolf's_Flute,1;
close;
}
mes "[Expert Flute Crafter]";
diff --git a/npc/re/merchants/ninja_craftsman.txt b/npc/re/merchants/ninja_craftsman.txt
index d49ea7256..79f4be69e 100644
--- a/npc/re/merchants/ninja_craftsman.txt
+++ b/npc/re/merchants/ninja_craftsman.txt
@@ -128,7 +128,7 @@ L_Menu:
mes "Looks like you need more time to decide.";
close;
}
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Hold on!! -";
mes "- You cannot receive items -";
mes "- because you carry too much. -";
@@ -298,7 +298,7 @@ L_Menu:
mes "Think carefully~~";
close;
}
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Hold on!! -";
mes "- You cannot receive items -";
mes "- because you carry too much. -";
diff --git a/npc/re/merchants/quivers.txt b/npc/re/merchants/quivers.txt
index 51bea1092..03957962b 100644
--- a/npc/re/merchants/quivers.txt
+++ b/npc/re/merchants/quivers.txt
@@ -35,7 +35,7 @@
//=========================================================================
mora,106,117,3 script Quiver Maker#mora 4_M_RAFLE_GR,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Quiver Maker]";
mes "You have too many things with you.";
mes "Make some space in your inventory and come back. I'll tell you something interesting.";
diff --git a/npc/re/merchants/refine.txt b/npc/re/merchants/refine.txt
index ce64063b7..db42f01cf 100644
--- a/npc/re/merchants/refine.txt
+++ b/npc/re/merchants/refine.txt
@@ -349,7 +349,7 @@ function script refinenew {
//== Ori/Elu to Carnium/Bradium Refiners ===================
- script Austri#ref -1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
diff --git a/npc/re/merchants/ticket_refiner.txt b/npc/re/merchants/ticket_refiner.txt
index 3242c0405..bfa983b98 100644
--- a/npc/re/merchants/ticket_refiner.txt
+++ b/npc/re/merchants/ticket_refiner.txt
@@ -37,9 +37,9 @@
prontera,184,177,6 script Refine Master 4_M_REPAIR,{
disable_items;
- if (countitem(6238) || countitem(6228) || countitem(6229) || countitem(6230) || countitem(6231) || countitem(6456))
+ if (countitem(Guarantee_Weapon_11Up) || countitem(Guarantee_Weapon_9Up) || countitem(Guarantee_Weapon_8Up) || countitem(Guarantee_Weapon_7Up) || countitem(Guarantee_Weapon_6Up) || countitem(Guarantee_Weapon_5Up))
.@bWeaponUp = 1;
- if (countitem(6239) || countitem(6232) || countitem(6233) || countitem(6234) || countitem(6235) || countitem(6457))
+ if (countitem(Guarantee_Armor_11Up) || countitem(Guarantee_Armor_9Up) || countitem(Guarantee_Armor_8Up) || countitem(Guarantee_Armor_7Up) || countitem(Guarantee_Armor_6Up) || countitem(Guarantee_Armor_5Up))
.@bArmorUp = 1;
if (!.@bWeaponUp && !.@bArmorUp) {
mes "[Refine Master]";
diff --git a/npc/re/quests/cupet.txt b/npc/re/quests/cupet.txt
index 8db51c110..36ad2dbb3 100644
--- a/npc/re/quests/cupet.txt
+++ b/npc/re/quests/cupet.txt
@@ -36,9 +36,9 @@
- script CPM1 4_M_ALCHE_C,{
.@npc$ = "[Cute Pet Manager]";
- setarray .@tame_id[0],619,620,622,623,624,627,628,629,630;
+ setarray .@tame_id[0],Unripe_Apple,Orange_Juice,Rainbow_Carrot,Earthworm_The_Dude,Rotten_Fish,Sweet_Milk,Well_Dried_Bone,Singing_Flower,Dew_Laden_Moss;
setarray .@tame_amount[0],3,3,3,3,3,3,3,3,3;
- setarray .@hunt_id[0],909,909,705,916,935,919,919,940,921;
+ setarray .@hunt_id[0],Jellopy,Jellopy,Clover,Feather_Of_Birds,Shell,Animal's_Skin,Animal's_Skin,Grasshopper's_Leg,Mushroom_Spore;
setarray .@hunt_amount[0],500,600,500,500,500,500,600,500,500;
setarray .@mob_id[0],1002,1113,1063,1049,1011,1167,1107,1052,1014;
.@tame_gets = 3;
@@ -64,9 +64,9 @@
- script CPM2 4_M_ALCHE_C,{
.@npc$ = "[Cute Pet Manager]";
- setarray .@tame_id[0],621,625,632,631,633,634,635,636,659,637,639,640;
+ setarray .@tame_id[0],Bitter_Herb,Lusty_Iron,Fatty_Chubby_Earthworm,Deadly_Noxious_Herb,Baked_Yam,Tropical_Banana,Horror_Of_Tribe,No_Recipient,Heart_Of_Her,Old_Broom,Armlet_Of_Obedience,Shining_Stone;
setarray .@tame_amount[0],2,2,2,2,2,2,2,2,2,2,2,2;
- setarray .@hunt_id[0],938,935,925,7033,945,942,931,901,1094,1021,936,1035;
+ setarray .@hunt_id[0],Sticky_Mucus,Shell,Bill_Of_Birds,Poison_Spore,Raccoon_Leaf,Yoyo_Tail,Orcish_Voucher,Danggie,Short_Daenggie,Dokkaebi_Horn,Scales_Shell,Dragon_Canine;
setarray .@hunt_amount[0],500,600,500,300,500,500,500,500,500,500,500,500;
setarray .@hunt_item_count[0],1,1,1,1,1,1,1,1,1;
setarray .@mob_id[0],1031,1042,1019,1077,1056,1057,1023,1026,1188,1110,1029;
@@ -93,11 +93,11 @@
- script CPM3 4_M_ALCHE_C,{
.@npc$ = "[Cute Pet Manager]";
- setarray .@tame_id[0],638,626,641,661,660,642;
+ setarray .@tame_id[0],Silver_Knife_Of_Chaste,Monster_Juice,Contracts_In_Shadow,Sway_Apron,Prohibition_Red_Candle,Book_Of_Devil;
setarray .@tame_amount[0],1,1,1,1,1,1;
- setarray .@hunt_id[0],1020,943,1038,7047,1970,923;
+ setarray .@hunt_id[0],Long_Hair,Solid_Shell,Petite_DiablOfs_Horn,Alice's_Apron,Queen's_Whip,Evil_Horn;
setarray .@hunt_amount[0],600,600,600,500,1,100;
- setarray .@hunt_id2[0],0,0,0,0,7017,0;
+ setarray .@hunt_id2[0],0,0,0,0,Executioner's_Mitten,0;
setarray .@hunt_amount2[0],0,0,0,0,20,0;
setarray .@mob_id[0],1170,1035,1109,1275,1200,1101;
.@tame_gets = 1;
@@ -187,7 +187,7 @@ function script cute_pet_manager {
dispbottom "Hunt ID2: " + .@hunt_id2;
dispbottom "Hunt Amount2: " + .@hunt_amount2;
if (.@hunt_id2) { .@hunt2_count = countitem(.@hunt_id2); }
- if (countitem(.@hunt_id) >= .@hunt_amount && countitem(6083) > 0 && .@hunt2_count >= .@hunt_amount2) {
+ if (countitem(.@hunt_id) >= .@hunt_amount && countitem(Dolly_Capsule) > 0 && .@hunt2_count >= .@hunt_amount2) {
mes "[Cute Pet Manager]";
mes "Ah, you have gathered all items";
mes "with your friends. You can now";
diff --git a/npc/re/quests/eden/11-25.txt b/npc/re/quests/eden/11-25.txt
index 1dee3275b..a4d376650 100644
--- a/npc/re/quests/eden/11-25.txt
+++ b/npc/re/quests/eden/11-25.txt
@@ -35,7 +35,7 @@
//=========================================================================
moc_para01,36,38,3 script Mission [11 - 25]#Tuto 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "- You need to have an -";
mes "- ^4d4dff'Eden Group Mark'^000000 -";
mes "- to receive these missions. -";
diff --git a/npc/re/quests/eden/26-40.txt b/npc/re/quests/eden/26-40.txt
index ec32d91e0..f106eb059 100644
--- a/npc/re/quests/eden/26-40.txt
+++ b/npc/re/quests/eden/26-40.txt
@@ -35,7 +35,7 @@
//=========================================================================
moc_para01,38,38,3 script Mission [26 - 40] 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "You are not a qualified member. You can not use the bulletin board.";
close;
}
@@ -118,7 +118,7 @@ L_Quest:
}
geffen,103,42,5 script Sponiac 4W_M_03,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Sponiac]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -168,7 +168,7 @@ L_Quest:
next;
mes "[Sponiac]";
mes "Here it is. Thank you very much. God bless you!";
- getitem 569,getarg(4); //Novice_Potion
+ getitem Novice_Potion,getarg(4);
getexp getarg(2),getarg(3);
erasequest getarg(0);
close;
@@ -198,7 +198,7 @@ L_Quest:
}
moc_ruins,173,55,3 script Dieshin Man 4_M_ORIENT02,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Dieshin Man]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -240,7 +240,7 @@ L_Quest:
mes "Please check your Quest Window by pressing 'alt + u'.";
close;
}
- if (countitem(6218) > 0) {
+ if (countitem(Disin_Delivery_Box) > 0) {
mes "[Dieshin Man]";
mes "Wait, but you already have a delivery box.";
next;
@@ -277,12 +277,12 @@ L_Quest:
next;
mes "[Dieshin Man]";
mes "If you forgot where to make the delivery, then please check the Quest Window by pressing 'alt + u'.";
- getitem 6218,1; //Disin_Delivery_Box
+ getitem Disin_Delivery_Box,1;
close;
}
pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Zoologist]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -312,7 +312,7 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{
mes "I am waiting for a special delivery.";
close;
}
- if (countitem(6218) > 0) {
+ if (countitem(Disin_Delivery_Box) > 0) {
mes "[Zoologist]";
mes "Oh ho! Yes! That one!";
next;
@@ -328,9 +328,9 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{
next;
mes "[Zoologist]";
mes "Well done. Good Job! Thank you so much! Here is a little gift for you.";
- delitem 6218,1; //Disin_Delivery_Box
+ delitem Disin_Delivery_Box,1;
erasequest 8271;
- getitem 569,100; //Novice_Potion
+ getitem Novice_Potion,100;
getexp 1000,0;
close;
}
@@ -347,7 +347,7 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{
}
prt_fild03,30,254,3 script Entomologist 4_M_01,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Entomologist]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -377,7 +377,7 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{
mes "I am waiting for a special delivery.";
close;
}
- if (countitem(6218) > 0) {
+ if (countitem(Disin_Delivery_Box) > 0) {
mes "[Entomologist]";
mes "Oh ho! Yes! That one!";
next;
@@ -393,9 +393,9 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{
next;
mes "[Entomologist]";
mes "Well done. Good Job! Thank you so much! Here is a little gift for you.";
- delitem 6218,1; //Disin_Delivery_Box
+ delitem Disin_Delivery_Box,1;
erasequest 8272;
- getitem 569,100; //Novice_Potion
+ getitem Novice_Potion,100;
getexp 1000,0;
close;
}
@@ -412,7 +412,7 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{
}
xmas_fild01,92,57,3 script Biologist 4W_M_01,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Biologist]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -442,7 +442,7 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{
mes "I am waiting for a special delivery.";
close;
}
- if (countitem(6218) > 0) {
+ if (countitem(Disin_Delivery_Box) > 0) {
mes "[Biologist]";
mes "Oh ho! Yes! That one!";
next;
@@ -458,9 +458,9 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{
next;
mes "[Biologist]";
mes "Well done. Good Job! Thank you so much! Here is a little gift for you.";
- delitem 6218,1; //Disin_Delivery_Box
+ delitem Disin_Delivery_Box,1;
erasequest 8273;
- getitem 569,100; //Novice_Potion
+ getitem Novice_Potion,100;
getexp 1000,0;
close;
}
@@ -477,7 +477,7 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{
}
payon,179,66,3 script Dashia 4_M_RACHMAN1,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Dashia]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -507,10 +507,10 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
switch(select("Gather Bones:Gather Animal Skin:Gather Peelings:Gather Tails:Gather Cookies:Gather Mustaches")) {
case 1:
callsub L_Quest,8274;
- if (countitem(932) > 9) {
+ if (countitem(Skel_Bone) > 9) {
callsub L_Reward;
- delitem 932,10; //Skel_Bone
- getitem 569,100; //Novice_Potion
+ delitem Skel_Bone,10;
+ getitem Novice_Potion,100;
getexp 1000,100;
erasequest 8274;
close;
@@ -530,11 +530,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 2:
callsub L_Quest,8275;
- if ((countitem(948) > 9) && (countitem(919) > 4)) {
+ if ((countitem(Bear's_Foot) > 9) && (countitem(Animal's_Skin) > 4)) {
callsub L_Reward;
- getitem 569,100; //Novice_Potion
- delitem 948,10; //Bear's_Foot
- delitem 919,5; //Animal's_Skin
+ getitem Novice_Potion,100;
+ delitem Bear's_Foot,10;
+ delitem Animal's_Skin,5;
getexp 1000,100;
erasequest 8275;
close;
@@ -555,11 +555,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 3:
callsub L_Quest,8276;
- if ((countitem(955) > 19) && (countitem(910) > 19)) {
+ if ((countitem(Worm_Peelings) > 19) && (countitem(Garlet) > 19)) {
callsub L_Reward;
- delitem 955,20; //Worm_Peelings
- delitem 910,20; //Garlet
- getitem 569,100; //Novice_Potion
+ delitem Worm_Peelings,20;
+ delitem Garlet,20;
+ getitem Novice_Potion,100;
getexp 1000,100;
erasequest 8276;
close;
@@ -582,12 +582,12 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 4:
callsub L_Quest,8277;
- if ((countitem(942) > 9) && (countitem(1026) > 9) && (countitem(945) > 9)) {
+ if ((countitem(Yoyo_Tail) > 9) && (countitem(Acorn) > 9) && (countitem(Raccoon_Leaf) > 9)) {
callsub L_Reward;
- delitem 942,10; //Yoyo_Tail
- delitem 1026,10; //Acorn
- delitem 945,10; //Raccoon_Leaf
- getitem 569,150; //Novice_Potion
+ delitem Yoyo_Tail,10;
+ delitem Acorn,10;
+ delitem Raccoon_Leaf,10;
+ getitem Novice_Potion,150;
getexp 1000,200;
erasequest 8277;
close;
@@ -611,11 +611,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 5:
callsub L_Quest,8278;
- if ((countitem(538) > 4) && (countitem(539) > 0)) {
+ if ((countitem(Well_Baked_Cookie) > 4) && (countitem(Piece_Of_Cake) > 0)) {
callsub L_Reward;
- delitem 538,5; //Well_Baked_Cookie
- delitem 539,1; //Piece_Of_Cake
- getitem 569,150; //Novice_Potion
+ delitem Well_Baked_Cookie,5;
+ delitem Piece_Of_Cake,1;
+ getitem Novice_Potion,150;
getexp 1000,200;
erasequest 8278;
close;
@@ -637,11 +637,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 6:
callsub L_Quest,8279;
- if ((countitem(1017) > 4) && (countitem(1018) > 2)) {
+ if ((countitem(Moustache_Of_Mole) > 4) && (countitem(Nail_Of_Mole) > 2)) {
callsub L_Reward;
- delitem 1017,5; //Moustache_Of_Mole
- delitem 1018,3; //Nail_Of_Mole
- getitem 569,150; //Novice_Potion
+ delitem Moustache_Of_Mole,5;
+ delitem Nail_Of_Mole,3;
+ getitem Novice_Potion,150;
getexp 1000,200;
erasequest 8279;
close;
diff --git a/npc/re/quests/eden/41-55.txt b/npc/re/quests/eden/41-55.txt
index 5eaf56a62..625189c7b 100644
--- a/npc/re/quests/eden/41-55.txt
+++ b/npc/re/quests/eden/41-55.txt
@@ -35,11 +35,11 @@
//=========================================================================
moc_para01,40,38,3 script Mission [41 - 55] 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "You are not an Eden group member. You are not qualified to access the bulletin board.";
close;
}
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 1000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 1000) {
mes "^008800Wait a sec!!";
mes "You cannot receive any more items because you're carrying too many items. Please try again after you lighten up.^000000";
close;
diff --git a/npc/re/quests/eden/56-70.txt b/npc/re/quests/eden/56-70.txt
index 4c77e1a25..01f28c8c1 100644
--- a/npc/re/quests/eden/56-70.txt
+++ b/npc/re/quests/eden/56-70.txt
@@ -36,7 +36,7 @@
//=========================================================================
moc_para01,42,38,3 script Mission [56 - 70] 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "To get these missions, I need to Join the Eden Group first. I must find Secretary Lime Evenor and become a member.";
close;
}
diff --git a/npc/re/quests/eden/71-85.txt b/npc/re/quests/eden/71-85.txt
index c4f75c122..36108afec 100644
--- a/npc/re/quests/eden/71-85.txt
+++ b/npc/re/quests/eden/71-85.txt
@@ -35,7 +35,7 @@
//=========================================================================
moc_para01,44,38,3 script Mission [71 - 85] 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "- Only members of the -";
mes "- Eden Group can read -";
mes "- this bulletin board. -";
@@ -74,7 +74,7 @@ moc_para01,44,38,3 script Mission [71 - 85] 4_BOARD3,{
if (questprogress(.@quests[.@i],HUNTING) == 2)
.@complete[getarraysize(.@complete)] = .@quests[.@i];
}
- if (questprogress(5057) && countitem(7187) >= 30)
+ if (questprogress(5057) && countitem(Festival_Mask) >= 30)
.@complete[getarraysize(.@complete)] = 5057;
if (getarraysize(.@complete)) {
mes "You have quests in progress.";
@@ -194,7 +194,7 @@ L_Quest:
mes "'"+.@name$+"' completed. Do you want to turn it in and receive your reward?";
next;
if(select("Turn in quest.:Cancel.") == 1) {
- if (.@quest == 5057) delitem 7187,30; //Festival_Mask
+ if (.@quest == 5057) delitem Festival_Mask,30;
erasequest .@quest;
getexp .@exp,0;
mes "You've received EXP for finishing the quest.";
@@ -207,7 +207,7 @@ L_Quest:
// Quest 5057 is the only collection quest, so separate conditions are unnecessary.
if (!questprogress(5057))
.@hunting = 0;
- else if (countitem(7187) >= 30)
+ else if (countitem(Festival_Mask) >= 30)
.@hunting = 2;
} else {
.@hunting = questprogress(.@quest,HUNTING);
@@ -221,7 +221,7 @@ L_Quest:
mes "You have completed the quest.";
next;
if(select("Turn in quest.:Cancel.") == 1) {
- if (.@quest == 5057) delitem 7187,30; //Festival_Mask
+ if (.@quest == 5057) delitem Festival_Mask,30;
erasequest .@quest;
getexp .@exp,0;
mes "You've received EXP for finishing the quest.";
diff --git a/npc/re/quests/eden/86-90.txt b/npc/re/quests/eden/86-90.txt
index ac1adabd8..14f8a56f2 100644
--- a/npc/re/quests/eden/86-90.txt
+++ b/npc/re/quests/eden/86-90.txt
@@ -41,7 +41,7 @@
//=========================================================================
moc_para01,48,175,3 script 86-90 Mission Board 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "Wait a minute!";
mes "-You need to have an-";
mes "-^4d4dff'Eden Group Mark'^000000-";
diff --git a/npc/re/quests/eden/91-99.txt b/npc/re/quests/eden/91-99.txt
index 23e4a2b21..e5c82022d 100644
--- a/npc/re/quests/eden/91-99.txt
+++ b/npc/re/quests/eden/91-99.txt
@@ -41,7 +41,7 @@
//=========================================================================
moc_para01,48,177,3 script 91-99 Mission Board 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "Wait a minute!";
mes "-You need to have an-";
mes "-^4d4dff'Eden Group Mark'^000000-";
diff --git a/npc/re/quests/eden/eden_common.txt b/npc/re/quests/eden/eden_common.txt
index e539dbebb..da3974cd7 100644
--- a/npc/re/quests/eden/eden_common.txt
+++ b/npc/re/quests/eden/eden_common.txt
@@ -36,7 +36,7 @@
//=========================================================================
moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -67,7 +67,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
next;
break;
case 2:
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "[Lime Evenor]";
mes "You can be a Eden's member by simply registering with me.";
mes "Would you like to join Eden Group?";
@@ -106,7 +106,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
next;
mes "[Lime Evenor]";
mes "Hopefully you can do great work as an Eden's member.";
- getitem 6219,1; //Para_Team_Mark
+ getitem Para_Team_Mark,1;
next;
break;
case 2:
@@ -179,7 +179,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
}
break;
case 4:
- if (countitem(6219) > 0) {
+ if (countitem(Para_Team_Mark) > 0) {
mes "[Lime Evenor]";
mes "Would like to try some missions as an Eden member?";
next;
@@ -306,7 +306,7 @@ OnTouch:
}
moc_para01,47,39,3 script #warp_2_pass HIDDEN_NPC,{
- if (countitem(6219) > 0) {
+ if (countitem(Para_Team_Mark) > 0) {
mes "[Lime Evenor]";
mes "Oh, it is an exclusive place only for Eden's members.";
mes "If you are a member, you can come whenever you want!";
diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt
index f7b8cb0f9..062c05d9c 100644
--- a/npc/re/quests/eden/eden_iro.txt
+++ b/npc/re/quests/eden/eden_iro.txt
@@ -124,7 +124,7 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{
mes "[Phelix]";
mes "Alright, let's see what ya got...";
next;
- if (countitem(909) < 3) {
+ if (countitem(Jellopy) < 3) {
mes "[Phelix]";
mes "Hmm, look dude, I said 3 Jellopies for 1 Carrot... got it?";
close;
@@ -135,10 +135,10 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{
next;
switch(select("As many as I can get, please.:I want to choose.:Never mind, I like my Jellopy.")) {
case 1:
- .@amount = countitem(909) / 3;
+ .@amount = countitem(Jellopy) / 3;
break;
case 2:
- .@available = countitem(909) / 3;
+ .@available = countitem(Jellopy) / 3;
mes "[Phelix]";
mes "How many do you want?";
mes "^ff0000You have enough for up to " + .@available + " Carrots.^000000";
@@ -161,7 +161,7 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{
mes "Don't bother me if you don't want to trade.";
close;
}
- if (checkweight(515,.@amount) == 0) {
+ if (checkweight(Carrot,.@amount) == 0) {
mes "[Phelix]";
mes "You are overweight.";
close;
@@ -169,8 +169,8 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{
mes "[Phelix]";
mes "There you go~! As I promised.";
mes "Try not to stuff yer face.";
- delitem 909,.@amount*3; //Jellopy
- getitem 515,.@amount; //Carrot
+ delitem Jellopy,.@amount*3;
+ getitem Carrot,.@amount;
end;
}
@@ -250,13 +250,13 @@ moc_para01,163,51,7 script Izaac#edco 4_M_04,{
mes "to an adventurer like you?";
close;
}
- if (checkweight(501,.@amount) == 0) { //custom check
+ if (checkweight(Red_Potion,.@amount) == 0) { //custom check
mes "[Izaac]";
mes "You are overweight.";
close;
}
delitem .@item,.@trade_amount;
- getitem 501,.@amount; //Red_Potion
+ getitem Red_Potion,.@amount;
mes "[Izaac]";
mes "There you go!";
mes "Check how many "+.@item$;
@@ -342,9 +342,9 @@ moc_para01,50,39,4 script Eve Natalia 4_F_SITDOWN,{
for(.@i = 0; .@i<.@amount; ++.@i) {
// Note: iRO lists item 6235 as "Safe to 7 Headgear Certificate", but it's Guarantee_Armor_6Up in our database.
if (rand(2))
- getitem 6230,1; //Guarantee_Weapon_7Up
+ getitem Guarantee_Weapon_7Up,1;
else
- getitem 6234,1; //Guarantee_Armor_7Up
+ getitem Guarantee_Armor_7Up,1;
}
close;
case 3:
@@ -389,7 +389,7 @@ moc_para01,48,184,2 script Gum & Manual Exchanger 2_DROP_MACHINE,{
mes "[Trader Machine]";
mes "I can give you 1 Battle Manual X3 for 1 Costume Corsair.";
next;
- if (countitem(19619) == 0) {
+ if (countitem(C_Corsair) == 0) {
mes "[Trader Machine]";
mes "You don't have a Costume Corsair hat to make that trade.";
close;
@@ -403,8 +403,8 @@ moc_para01,48,184,2 script Gum & Manual Exchanger 2_DROP_MACHINE,{
next;
mes "[Trader Machine]";
mes "The Machine has given you an item in return!";
- delitem 19619,1; //C_Corsair
- getitem 14545,1; //Battle_Manual_X3
+ delitem C_Corsair,1;
+ getitem Battle_Manual_X3,1;
close;
case 6:
close;
diff --git a/npc/re/quests/eden/eden_service.txt b/npc/re/quests/eden/eden_service.txt
index 433689d67..a4b1a8439 100644
--- a/npc/re/quests/eden/eden_service.txt
+++ b/npc/re/quests/eden/eden_service.txt
@@ -50,7 +50,7 @@
mes "3.Cabinet fee is";
mes " ^4d4dff500 zeny^000000!";
next;
- if (countitem(6219) > 0) {
+ if (countitem(Para_Team_Mark) > 0) {
mes "You need to insert zeny to use the cabinet.";
mes "Cost : 500 Zeny ";
mes "Would you like to use it?";
diff --git a/npc/re/quests/eden/eden_tutorial.txt b/npc/re/quests/eden/eden_tutorial.txt
index 6d7e91380..3abffc534 100644
--- a/npc/re/quests/eden/eden_tutorial.txt
+++ b/npc/re/quests/eden/eden_tutorial.txt
@@ -168,7 +168,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
setquest 9168;
close;
} else if (questprogress(9168) == 1) {
- if (checkweight(607,1) == 0) {
+ if (checkweight(Yggdrasilberry,1) == 0) {
if (MaxWeight - Weight < getiteminfo(607,6)) {
mes "[Tutorial Instructor]";
mes "You seemed to be sluggish with a lot of items";
@@ -259,7 +259,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
mes "come find and talk to me again.";
close;
} else if (questprogress(9169) == 1) {
- if (countitem(12580) == 0) {
+ if (countitem(Vending_Search_Scroll) == 0) {
mes "[Tutorial Instructor]";
mes "Hmm? So I noticed that";
mes "you haven't gone and picked up a";
@@ -302,7 +302,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
setquest 9170;
close;
} else if (questprogress(9170) == 1) {
- if (countitem(12580)) {
+ if (countitem(Vending_Search_Scroll)) {
mes "[Tutorial Instructor]";
mes "Hmm... It seems that you still have";
mes "the ^006400Universal Silver Catalog^000000 in your inventory.";
@@ -341,7 +341,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
setquest 9171;
close;
} else if (questprogress(9171) == 1) {
- if (countitem(909) < 10) {
+ if (countitem(Jellopy) < 10) {
mes "[Tutorial Instructor]";
mes "It seems you didn't bring";
mes "enough materials. Did you forget";
@@ -370,7 +370,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
close;
}
}
- if (checkweight(607,6) == 0) {
+ if (checkweight(Yggdrasilberry,6) == 0) {
if (MaxWeight - Weight < getiteminfo(607,6)) {
mes "[Tutorial Instructor]";
mes "Your inventory seems to be really full";
@@ -408,12 +408,12 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
next;
mes "[Tutorial Instructor]";
mes "There. The Enchant is done. You can't understand the the process by just watching me, so I'll let you look at the items themselves.";
- delitem 909,10; //Jellopy
+ delitem Jellopy,10;
completequest 9171;
setquest 9172;
getitem2 15033,1,1,0,0,0,0,0,4702; //Tutorial_Mattle[Strength3]
- getitem 15033,1; //Tutorial_Mattle
- getitem 15034,1; //Tutorial_Mattle_
+ getitem Tutorial_Mattle,1;
+ getitem Tutorial_Mattle_,1;
next;
mes "[Tutorial Instructor]";
mes "Those items cannot be";
@@ -423,7 +423,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
mes "give them back to me.";
close;
} else if (questprogress(9172) == 1) {
- if (countitem(15033) == 0 || countitem(15034) == 0) {
+ if (countitem(Tutorial_Mattle) == 0 || countitem(Tutorial_Mattle_) == 0) {
mes "[Tutorial Instructor]";
mes "What did you do with the Enchanted";
mes "items I lent to you to look at?";
@@ -589,7 +589,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
}
moc_para01,32,179,4 script Tutorial Goal 4_F_KHELLY,{
- if (checkweight(608,7) == 0) {
+ if (checkweight(Seed_Of_Yggdrasil,7) == 0) {
if (MaxWeight - Weight < getiteminfo(608,7)) {
mes "[Tutorial Goal]";
mes "You seem to be overweight with items. Go put some stuff away then come back.";
@@ -637,10 +637,10 @@ moc_para01,32,179,4 script Tutorial Goal 4_F_KHELLY,{
mes "[Tutorial Goal]";
mes "I think it'll be useful to you during your adventures. I wish you luck on your future adventures~";
completequest 4166;
- getitem 510,5; //Blue_Herb
- getitem 511,5; //Green_Herb
- getitem 504,5; //White_Potion
- getitem 608,1; //Seed_Of_Yggdrasil
+ getitem Blue_Herb,5;
+ getitem Green_Herb,5;
+ getitem White_Potion,5;
+ getitem Seed_Of_Yggdrasil,1;
close;
} else if (questprogress(4166) == 2) {
mes "[Tutorial Goal]";
diff --git a/npc/re/quests/homun_s.txt b/npc/re/quests/homun_s.txt
index f0e8a70e6..708334731 100644
--- a/npc/re/quests/homun_s.txt
+++ b/npc/re/quests/homun_s.txt
@@ -36,7 +36,7 @@
//== Main NPCs =============================================
job3_gen01,12,44,3 script Viorel#job3_gen01 4_M_ALCHE_E,{
- if (countitem(6415)) {
+ if (countitem(Strange_Embryo)) {
if (Class == Job_Genetic || Class == Job_Genetic_T || Class == Job_Baby_Genetic) {
disable_items;
if (!questprogress(4159) && !questprogress(4160)) {
@@ -51,10 +51,10 @@ job3_gen01,12,44,3 script Viorel#job3_gen01 4_M_ALCHE_E,{
setquest 4154;
setquest 4159;
morphembryo;
- if (countitem(6415) == 0)
- getitem 6415,1; //Strange_Embryo
- else if (countitem(6415) > 1)
- delitem 6415, (countitem(6415) - 1); //Strange_Embryo
+ if (countitem(Strange_Embryo) == 0)
+ getitem Strange_Embryo,1;
+ else if (countitem(Strange_Embryo) > 1)
+ delitem Strange_Embryo, (countitem(Strange_Embryo) - 1);
warp "que_house_s",63,41;
end;
}
@@ -69,7 +69,7 @@ job3_gen01,12,44,3 script Viorel#job3_gen01 4_M_ALCHE_E,{
mes "Come back after you become a ^005DFFGenetic^000000 and have obtained a ^0000FFBioethics^000000.";
close;
} else {
- delitem 6415, countitem(6415); //Strange_Embryo
+ delitem Strange_Embryo, countitem(Strange_Embryo);
mes "[Viorel]";
mes "Wait, that embryo you have seems a little strange.";
next;
@@ -695,7 +695,7 @@ que_house_s,80,42,3 script Jeyna#homun_s 4_F_ALCHE_A,{
mes "In order to revert the process now, I need the Homunculus in its embryo form.";
next;
callsub L_CheckHomunculus;
- if (checkweight(6415,1) == 0) {
+ if (checkweight(Strange_Embryo,1) == 0) {
mes "[Jeyna]";
mes "But,";
mes "You don't have enough space to carry an ^0000FFembryo^000000.";
diff --git a/npc/re/quests/magic_books.txt b/npc/re/quests/magic_books.txt
index cf6a8a183..a9c2ece8d 100644
--- a/npc/re/quests/magic_books.txt
+++ b/npc/re/quests/magic_books.txt
@@ -35,7 +35,7 @@
//=========================================================================
geffen_in,176,105,4 script Master Velofos 1_M_WIZARD,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You're carrying too many items. Please make some room in your bag first.";
close;
}
@@ -289,7 +289,7 @@ geffen_in,176,105,4 script Master Velofos 1_M_WIZARD,{
}
geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You're carrying too many items. Please make some room in your bag first.";
close;
}
@@ -333,7 +333,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Your life is more important than anything else, you know?";
close;
}
- if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(1006) > 1) || (.@Payment == 3 && countitem(1097) > 49)) {
+ if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(Old_Magic_Book) > 1) || (.@Payment == 3 && countitem(Worn_Out_Page) > 49)) {
mes "What kind of Magic Book do you want?";
next;
.@i = select("Let me think.:Magic Book (Fire Bolt):Magic Book (Cold Bolt):Magic Book (Lightning Bolt)")-1;
@@ -349,14 +349,14 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Don't you know how many others would want the book you already have? It's a bit selfish to want more than one, you know.";
close;
}
- if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(1006) > 1) || (.@Payment == 3 && countitem(1097) > 49)) {
+ if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(Old_Magic_Book) > 1) || (.@Payment == 3 && countitem(Worn_Out_Page) > 49)) {
mes "The book's return date is written on the lending card on the back cover of the book.";
next;
mes "[Lea]";
mes "Please try not to lose or damage the book to avoid paying any extra charges.";
if (.@Payment == 1) Zeny -= 10000;
- else if (.@Payment == 2) delitem 1006,2; //Old_Magic_Book
- else delitem 1097,50; //Worn_Out_Page
+ else if (.@Payment == 2) delitem Old_Magic_Book,2;
+ else delitem Worn_Out_Page,50;
getitem 6188+.@i,1; //Magic_Book_FB, Magic_Book_CB, Magic_Book_LB
close;
}
@@ -377,7 +377,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Eluniums can be obtained from Hyeguns, Zombie Prisoners, Teddy Bears, Obsedians, and Loli Ruris. Or you can refine Rough Eluniums to Eluniums at the Forge in town, and that may be easier.";
close;
}
- if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(603) > 1) || (.@Payment == 3 && countitem(985) > 8)) {
+ if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(Old_Blue_Box) > 1) || (.@Payment == 3 && countitem(Elunium) > 8)) {
mes "What kind of Magic Book do you want?";
next;
.@i = select("Let me think.:Magic Book (Storm Gust):Magic Book (Lord of Vermillion):Magic Book (Meteor Storm):Magic Book (Thunderstorm):Magic Book (Jupitel Thunder):Magic Book (Water Ball):Magic Book (Heaven's Drive):Magic Book (Earth Spike)")-1;
@@ -394,14 +394,14 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Don't you know how many others would want the book you already have? It's a bit selfish to want more than one, you know.";
close;
}
- if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(603) > 1) || (.@Payment == 3 && countitem(985) > 8)) {
+ if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(Old_Blue_Box) > 1) || (.@Payment == 3 && countitem(Elunium) > 8)) {
mes "Thank you for your deposit. The book's return date is written on the lending card on the back cover of the book. Please try not to lose or damage the book and avoid paying compensation.";
next;
mes "[Lea]";
mes "The Intermediate and Superior Magic Books must be returned upon borrowing the Ultimate Magic Book. Remember that you're just borrowing them, so make sure you take good care of those books.";
if (.@Payment == 1) Zeny -= 50000;
- else if (.@Payment == 2) delitem 603,2; //Old_Blue_Box
- else delitem 985,9; //Elunium
+ else if (.@Payment == 2) delitem Old_Blue_Box,2;
+ else delitem Elunium,9;
getitem .@Books[.@i-1],1; //Magic_Book_SG, Magic_Book_LOV, Magic_Book_MS, Magic_Book_TS, Magic_Book_JT, Magic_Book_WB, Magic_Book_HD, Magic_Book_ES
close;
}
@@ -450,7 +450,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
}
mes "[Lea]";
}
- if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(7094) > 11) || (.@Payment == 3 && countitem(984) > 6) || (.@Payment == 4 && countitem(617))))) {
+ if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(Mystery_Piece) > 11) || (.@Payment == 3 && countitem(Oridecon) > 6) || (.@Payment == 4 && countitem(Old_Violet_Box))))) {
mes "What kind of Magic Book do you want?";
next;
.@i = select("Let me think.:Magic Book (Earth Strain):Magic Book (Chain Lightning):Magic Book (Crimson Rock):Magic Book (Drain Life)")-1;
@@ -466,15 +466,15 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Don't you know how many others would want the book you already have? It's a bit selfish to want more than one, you know.";
close;
}
- if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(7094) > 11) || (.@Payment == 3 && countitem(984) > 6) || (.@Payment == 4 && countitem(617))))) {
+ if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(Mystery_Piece) > 11) || (.@Payment == 3 && countitem(Oridecon) > 6) || (.@Payment == 4 && countitem(Old_Violet_Box))))) {
mes "Thank you for your deposit. The book's return date is written on the lending card on the back cover of the book. Please try not to lose or damage the book and avoid paying compensation.";
next;
mes "[Lea]";
mes "The Intermediate and Superior Magic Books must be returned upon borrowing the Ultimate Magic Book. Remember that you're just borrowing them, so make sure you take good care of those books.";
if (.@Payment == 1) Zeny -= 200000;
- else if (.@Payment == 2) delitem 7094,12; //Mystery_Piece
- else if (.@Payment == 3) delitem 984,7; //Oridecon
- else delitem 617,1; //Old_Violet_Box
+ else if (.@Payment == 2) delitem Mystery_Piece,12;
+ else if (.@Payment == 3) delitem Oridecon,7;
+ else delitem Old_Violet_Box,1;
if (.@Payment > 1) Zeny -= 100000;
getitem 6201+.@i,1; //Magic_Book_ES_, Magic_Book_CL, Magic_Book_CR, Magic_Book_DL
close;
@@ -525,7 +525,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
}
mid_camp,255,244,4 script Galfos 4_M_JOB_WIZARD,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You're carrying too many items. Please make some room in your bag first.";
close;
}
@@ -642,7 +642,7 @@ mid_camp,255,244,4 script Galfos 4_M_JOB_WIZARD,{
next;
.@i = select("I've discovered everything about Comet.:I've mastered the zenith of Tetra Vortex.");
mes "[Galfos]";
- if ((.@i == 1 && countitem(6195)) || (.@i == 2 && countitem(6196))) {
+ if ((.@i == 1 && countitem(Magic_Book_CM)) || (.@i == 2 && countitem(Magic_Book_TV))) {
mes "Are you kidding me? You already have the book!";
close;
}
diff --git a/npc/re/quests/pile_bunker.txt b/npc/re/quests/pile_bunker.txt
index 25461e2fb..28dc3787e 100644
--- a/npc/re/quests/pile_bunker.txt
+++ b/npc/re/quests/pile_bunker.txt
@@ -35,12 +35,12 @@
//=========================================================================
yuno,179,174,4 script Gomer 4_M_REPAIR,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "[Gomer]";
mes "You are carrying so much. Drop off some of your luggage and come back to me.";
close;
}
- if (countitem(1549)) {
+ if (countitem(Pilebuncker)) {
mes "[Gomer]";
mes "So how's that Pilebuncker working out for you?";
close;
@@ -105,7 +105,7 @@ yuno,179,174,4 script Gomer 4_M_REPAIR,{
mes "Lastly, finding a Brocca is very hard, but you should be able to do something about it. Haha, go get it!";
close;
case 4:
- if (countitem(999) < 200 || countitem(7325) < 30 || countitem(1415) < 1) {
+ if (countitem(Steel) < 200 || countitem(Tube) < 30 || countitem(Skewer) < 1) {
mes "[Gomer]";
mes "You haven't brought all of the materials that I asked for.";
next;
@@ -132,11 +132,11 @@ yuno,179,174,4 script Gomer 4_M_REPAIR,{
next;
mes "[Gomer]";
mes "Oh, and it turns out that I didn't need all that Steel after all. So here, take most of it back.";
- delitem 999,50; //Steel
- delitem 7325,30; //Tube
- delitem 1415,1; //Skewer
- getitem 1549,1; //Pilebuncker
- getitem 1360,1; //Two_Handed_Axe
+ delitem Steel,50;
+ delitem Tube,30;
+ delitem Skewer,1;
+ getitem Pilebuncker,1;
+ getitem Two_Handed_Axe,1;
close;
}
}
diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt
index cd44598ca..a8f576741 100644
--- a/npc/re/quests/quests_brasilis.txt
+++ b/npc/re/quests/quests_brasilis.txt
@@ -75,8 +75,8 @@ brasilis,297,307,5 script Angelo#br 1_M_04,{
specialeffect2 EF_ASSUMPTIO;
consumeitem 607; //Yggdrasilberry
.@rand = rand(1,10);
- if (.@rand > 4 && .@rand < 9) getitem 504,2; //White_Potion
- else if (.@rand > 8) getitem 608,1; //Seed_Of_Yggdrasil
+ if (.@rand > 4 && .@rand < 9) getitem White_Potion,2;
+ else if (.@rand > 8) getitem Seed_Of_Yggdrasil,1;
close;
}
mes "[Angelo]";
@@ -165,13 +165,13 @@ bra_fild01,176,63,5 duplicate(Puppy#bra) Puppy#d3 4_DOG01
//== Suspicious Beach :: Suspicious_Beach.sc ===============
brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
/* -------------- Hydra Ball -------------------------
- if (countitem(12408) > 0) {
- delitem 12408,1; //Leaf_Cat_Ball
- getitem 12408,1; //Leaf_Cat_Ball
+ if (countitem(Leaf_Cat_Ball) > 0) {
+ delitem Leaf_Cat_Ball,1;
+ getitem Leaf_Cat_Ball,1;
}
- else if (countitem(6221) > 0) {
- delitem 6221,1; //Mystic_Leaf_Cat_Ball
- getitem 6221,1; //Mystic_Leaf_Cat_Ball
+ else if (countitem(Mystic_Leaf_Cat_Ball) > 0) {
+ delitem Mystic_Leaf_Cat_Ball,1;
+ getitem Mystic_Leaf_Cat_Ball,1;
}
--------------------------------------------------- */
if (BaseLevel < 40) {
@@ -194,7 +194,7 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
switch(select("Yes.:No.:^006400What is happening here?^000000")) {
case 1:
setquest 9028;
- getitem 12408,1; //Hydra_Ball
+ getitem Leaf_Cat_Ball,1; //Hydra_Ball
mes "[Lucia]";
mes "Here, take this ^006400Hydra Ball^000000.";
mes "Use it to capture a ^FF0000Strange Hydra^8B4513.^000000";
@@ -231,15 +231,15 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
}
}
else if (.@nQState == 1) {
- if (countitem(6221) > 0) {
+ if (countitem(Mystic_Leaf_Cat_Ball) > 0) {
mes "[Lucia]";
mes "Hello, you really did it!";
- if (checkweight(11502,3)) {
+ if (checkweight(Light_Blue_Pot,3)) {
//mes "I don't have enough ^006400Hydra Ball^000000s to give you."; //Poorly translated by iRO?
mes "I hope you will come";
mes "again to help me.";
mes "Have a nice day~!";
- delitem 6221,1; //Mystic_Leaf_Cat_Ball
+ delitem Mystic_Leaf_Cat_Ball,1;
completequest 9028;
//recall_completequest 9029;
if (questprogress(9029)) erasequest 9029;
@@ -248,7 +248,7 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
consumeitem 12070; //Luk_Dish05
consumeitem 12055; //Vit_Dish05
consumeitem 12065; //Dex_Dish05
- getitem 11502,3; //Light_Blue_Pot
+ getitem Light_Blue_Pot,3;
close;
}
else {
@@ -261,10 +261,10 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
}
else {
mes "[Lucia]";
- if (countitem(12408) < 1) {
+ if (countitem(Leaf_Cat_Ball) < 1) {
mes "Did you need another ^006400Hydra Ball^000000?";
mes "I will give you one more.";
- getitem 12408,1; //Leaf_Cat_Ball
+ getitem Leaf_Cat_Ball,1;
close;
}
else {
@@ -320,7 +320,7 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
switch(select("Yes.:No.:^006400What is happening here?^000000")) {
case 1:
setquest 9028;
- getitem 12408,1; //Leaf_Cat_Ball
+ getitem Leaf_Cat_Ball,1;
mes "[Lucia]";
mes "Here, take this ^006400Hydra Ball^000000.";
mes "Use it to capture a ^FF0000Strange Hydra^8B4513.^000000";
@@ -373,7 +373,7 @@ OnTimer7000:
//== Guarana Quest :: brazil_tre.sc ========================
brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "- You can't start the quest. Please reduce the weight in your inventory. -";
close;
}
@@ -439,11 +439,11 @@ brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{
close;
}
else if (brazil_gua == 10) {
- if (!countitem(6237)) {
+ if (!countitem(Guarana_Fruit)) {
mes "- The guarana that I had has disappeared. -";
close;
}
- delitem 6237,1; //Guarana_Fruit
+ delitem Guarana_Fruit,1;
mes "[Candy Maker]";
mes "Did you get the guarana?";
next;
@@ -465,7 +465,7 @@ brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{
mes "Try to savor its amazing taste hey~ take it easy. hahaha!!";
brazil_gua = 11;
completequest 2200;
- getitem 12414,1; //Guarana_Candy
+ getitem Guarana_Candy,1;
getexp 70000,10000;
close;
}
@@ -487,7 +487,7 @@ brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{
mes "[Candy Maker]";
mes "Here is a delicious guarana candy.";
Zeny -= 4000;
- getitem 12414,1; //Guarana_Candy
+ getitem Guarana_Candy,1;
close;
}
else {
@@ -807,14 +807,14 @@ brasilis,203,64,3 script Strange Kid#bra 4_M_KID1,{
mes "I better find that Candy Maker!";
brazil_gua = 10;
changequest 2199,2200;
- getitem 6237,1; //Guarana_Fruit
+ getitem Guarana_Fruit,1;
close;
}
else if (brazil_gua == 10) {
- if (!countitem(6237)) {
+ if (!countitem(Guarana_Fruit)) {
mes "[Strange Kid]";
mes "He.........";
- getitem 6237,1; //Guarana_Fruit
+ getitem Guarana_Fruit,1;
close;
}
}
@@ -1427,7 +1427,7 @@ bra_in01,145,27,3 script Brasilis Boy#bra 4_M_BRZ_INDIAN,{
}
brasilis,270,145,5 script Brasilis Girl#bra 4_F_BRZ_INDIAN,5,5,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "- wait a second!! -";
mes "- you have too many items -";
mes "- so you can't get any more items. -";
@@ -1683,7 +1683,7 @@ brasilis,270,145,5 script Brasilis Girl#bra 4_F_BRZ_INDIAN,5,5,{
next;
mes "[Jasira]";
mes "I know, I know! I'm the best...";
- delitem 7553,1; //Lotus_Flower
+ delitem Lotus_Flower,1;
brazil_regia = 9;
changequest 2206,2207;
setarray .@card[0],4195,4177,4188; //Leaf_Cat_Card, Dryad_Card, Leib_Olmai_Card
@@ -1758,7 +1758,7 @@ bra_dun02,67,205,5 script Recluse#bra 4_M_BRZ_JACI,3,3,{
mes "This is a gift from Jasira to say sorry for that time.";
mes "She is really sad that can't come here by herself due to private difficulties.";
next;
- if (countitem(513) < 10) {
+ if (countitem(Banana) < 10) {
mes "[Jasi]";
mes "What are you saying?";
next;
@@ -1793,7 +1793,7 @@ bra_dun02,67,205,5 script Recluse#bra 4_M_BRZ_JACI,3,3,{
close;
}
else if (brazil_regia == 6) {
- if (countitem(11515) < 5) {
+ if (countitem(Coconut) < 5) {
mes "[Jasi]";
mes "I forgot what the name of that fruit was...";
close;
@@ -1821,7 +1821,7 @@ bra_dun02,67,205,5 script Recluse#bra 4_M_BRZ_JACI,3,3,{
mes "[Jasi]";
mes "Oh, can you tell that girl Jasira something for me?";
mes "Tell her that I am not the moon from the story, but I want to become the moon to shine only for her.";
- delitem 11515,5; //Coconut
+ delitem Coconut,5;
brazil_regia = 7;
changequest 2205,2206;
close;
@@ -1860,7 +1860,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
mes "["+strcharinfo(0)+"]";
mes "Hey man~ I brought these delicious fruits for you... try it! They are really well matured and fresh bananas.";
next;
- if (countitem(513) < 10) {
+ if (countitem(Banana) < 10) {
mes "[Jasi]";
mes "What are you saying?";
next;
@@ -1914,7 +1914,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
next;
mes "[Jasi]";
mes "If you bring 5 of those things, I will reconsider your suggestion.";
- delitem 513,10; //Banana
+ delitem Banana,10;
brazil_regia = 5;
changequest 2203,2204;
next;
@@ -1933,7 +1933,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
close;
}
else if (brazil_regia == 7) {
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "- wait a second!! -";
mes "- you have too many items -";
mes "- so you can't get any more items. -";
@@ -1943,7 +1943,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
}
mes "- You take a beautiful water lily carefully in your hands. -";
brazil_regia = 8;
- getitem 7553,1; //Lotus_Flower
+ getitem Lotus_Flower,1;
close;
}
}
@@ -2693,7 +2693,7 @@ bra_in01,7,181,5 script Curator#bra 4_M_BRZ_MAN2,{
close;
}
if ((brazil_ghost > 0) && (brazil_ghost < 7)) {
- if (countitem(11515) > 0) {
+ if (countitem(Coconut) > 0) {
mes "[Curator]";
mes "What can I do for you?";
next;
@@ -2724,7 +2724,7 @@ bra_in01,7,181,5 script Curator#bra 4_M_BRZ_MAN2,{
mes "Ok I'll let you through this one time.";
next;
mes "The curator looks around calmly then opens the door.";
- delitem 11515,1; //Coconut
+ delitem Coconut,1;
brazil_ghost = 2;
close2;
warp "bra_in01",138,176;
@@ -2878,7 +2878,7 @@ brasilis,315,334,5 script Shaman#nk 4_F_BRZ_INDOLD,{
mes "Did you bring the materials";
mes "to make the purifying potion?";
next;
- if ((countitem(950) > 19) && (countitem(7172) > 9) && (countitem(1054) > 2)) {
+ if ((countitem(Heart_Of_Mermaid) > 19) && (countitem(Leopard_Talon) > 9) && (countitem(Lip_Of_Ancient_Fish) > 2)) {
mes "[Anori]";
mes "Um... it seems to be okay.";
mes "I'll make you a potion which will";
@@ -2893,10 +2893,10 @@ brasilis,315,334,5 script Shaman#nk 4_F_BRZ_INDOLD,{
erasequest 4133;
setquest 4134;
completequest 4134;
- delitem 950,20; //Heart_Of_Mermaid
- delitem 7172,10; //Leopard_Talon
- delitem 1054,3; //Lip_Of_Ancient_Fish
- getitem 11517,2; //Puri_Potion
+ delitem Heart_Of_Mermaid,20;
+ delitem Leopard_Talon,10;
+ delitem Lip_Of_Ancient_Fish,3;
+ getitem Puri_Potion,2;
mes "[Anori]";
mes "Here, it's completed.";
mes "Take this.";
@@ -3056,7 +3056,7 @@ brasilis,315,334,5 script Shaman#nk 4_F_BRZ_INDOLD,{
}
bra_dun02,157,74,5 script Iara#nk 4_F_BRZ_WOMAN,2,2,{
- if (countitem(11517) > 0) {
+ if (countitem(Puri_Potion) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "Should I use a Purification Potion?";
next;
@@ -3079,7 +3079,7 @@ bra_dun02,157,74,5 script Iara#nk 4_F_BRZ_WOMAN,2,2,{
mes "Ah... Thank you for helping me recover my consciousness for a while.";
mes "But... I think that the curse has been with me too long.";
mes "Get away from me quickly.";
- delitem 11517,1; //Puri_Potion
+ delitem Puri_Potion,1;
percentheal 100,100;
sc_start SC_INCFLEE,3600000,20;
sc_start SC_CRITICALPERCENT,3600000,10;
@@ -3121,7 +3121,7 @@ bra_dun02,157,74,5 script Iara#nk 4_F_BRZ_WOMAN,2,2,{
end;
OnTouch:
- if (countitem(11517) < 1) {
+ if (countitem(Puri_Potion) < 1) {
mes "[Iara]";
mes "Aaaaaaaaaaaaaaaaaaaaaah.";
mes "Eeeeeeeeeeeeeeeeeeeh.";
diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt
index 1e0f97d7e..d29a7dffa 100644
--- a/npc/re/quests/quests_dewata.txt
+++ b/npc/re/quests/quests_dewata.txt
@@ -190,7 +190,7 @@ dew_in01,22,48,3 script Sage Kasyapa#dew 4_M_DEWZATIMAN,{
mes "as a reward for your help.";
mes "Please, it would honor us if you would take it.";
next;
- if (checkweight(6406,1) == 0) {
+ if (checkweight(Cendrawasih_SF,1) == 0) {
if (Weight + getiteminfo(6406,6) > MaxWeight) {
mes "[Sage Kasyapa]";
mes "You are carrying too much weight over the limit.";
@@ -204,7 +204,7 @@ dew_in01,22,48,3 script Sage Kasyapa#dew 4_M_DEWZATIMAN,{
}
}
dew_legend = 8;
- getitem 6406,1; //Cendrawasih_SF
+ getitem Cendrawasih_SF,1;
completequest 9157;
erasequest 9157;
mes "[Sage Kasyapa]";
@@ -321,7 +321,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
setquest 9155;
close;
} else if (dew_legend == 5) {
- if (countitem(6405) < 15) {
+ if (countitem(Cendrawasih_F) < 15) {
mes "[Tribal Chief Paiko]";
mes "It seems that you have yet to find the materials to make the ^006400Jaty Crown^000000.";
next;
@@ -331,7 +331,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
close;
}
dew_legend = 6;
- delitem 6405,15; //Cendrawasih_F
+ delitem Cendrawasih_F,15;
changequest 9155,9156;
mes "[Tribal Chief Paiko]";
mes "Oh! You've found all of them. Look! The feathers you have found are sparkling. Aren't they?";
@@ -397,7 +397,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "You may be tempted by the aroma of our ^006400Satay^000000 and you may eat one but, if you eat more than that you won't be able to share the ^006400Satay^000000";
mes "with our village friends.";
dew_legend = 9;
- getitem 11533,2; //Satay
+ getitem Satay,2;
setquest 9158;
close;
} else if (dew_legend == 9) {
@@ -415,7 +415,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "[Tribal Chief Paiko]";
mes "If you are attracted by the aroma of the ^006400Satay^000000, you may eat one but, if you eat more you won't be able to share ^006400Satay^000000 with our friends.";
dew_legend = 11;
- getitem 11533,2; //Satay
+ getitem Satay,2;
changequest 9159,9160;
close;
} else if (dew_legend == 11) {
@@ -437,7 +437,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "[Tribal Chief Paiko]";
mes "And just like before, don't give into the smell and try not to eat the ^006400Satay^000000.";
dew_legend = 13;
- getitem 11533,2; //Satay
+ getitem Satay,2;
changequest 9161,9162;
close;
} else if (dew_legend == 13) {
@@ -457,7 +457,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "[Tribal Chief Paiko]";
mes "And just like before, don't give into the smell and try not to eat the ^006400Satay^000000.";
dew_legend = 15;
- getitem 11533,2; //Satay
+ getitem Satay,2;
changequest 9163,9164;
close;
} else if (dew_legend == 15) {
@@ -484,7 +484,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "[Tribal Chief Paiko]";
mes "It's not the same as the original, but it has its own specialty. It is my reward to thank you for what you have done.";
next;
- if (checkweight(18520,1) == 0) {
+ if (checkweight(Jaty_C,1) == 0) {
mes "[Tribal Chief Paiko]";
mes "You are carrying too much weight to receive your reward.";
mes "Please reduce your carried weight and come back again.";
@@ -494,8 +494,8 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "Made with our tribe's secret marinade try the ^006400Satay^000000.";
mes "It was made with all our heart, especially for you, but don't forget to share it with friends.";
dew_legend = 17;
- getitem 18520,1; //Jaty_C
- getitem 11533,5; //Satay
+ getitem Jaty_C,1;
+ getitem Satay,5;
completequest 9165;
erasequest 9165;
next;
@@ -540,7 +540,7 @@ dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 4_M_DEWZATIMAN,{
mes "[Jaty Tribe Warrior]";
mes "We revere strength and bravery.";
mes "We are ^FF0000Jaty^000000 Tribe.";
- if (dew_legend != 9 || !countitem(11533))
+ if (dew_legend != 9 || !countitem(Satay))
close;
next;
mes "[Jaty Tribe Warrior]";
@@ -559,7 +559,7 @@ dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 4_M_DEWZATIMAN,{
mes "Also, thank you for the ^006400Satay^000000";
mes "My mouth is already watering thank you.";
mes "There is something I would like to share with you regarding our tribe.";
- delitem 11533,1; //Satay
+ delitem Satay,1;
dew_legend = 10;
changequest 9158,9159;
next;
@@ -577,7 +577,7 @@ dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 4_M_DEWZATIMAN,{
dew_fild01,185,300,6 script Tribe Manager#dew 4_M_DEWZATIMAN,{
mes "[Tribe Manager]";
mes "Keeping our culture and tradition is very important.";
- if (dew_legend != 11 || !countitem(11533)) {
+ if (dew_legend != 11 || !countitem(Satay)) {
if (dew_legend < 11)
mes "Although it is a little boring...";
close;
@@ -600,7 +600,7 @@ dew_fild01,185,300,6 script Tribe Manager#dew 4_M_DEWZATIMAN,{
mes "Thank you for the meal.";
mes "Please give my regards";
mes "to our Tribe Leader.";
- delitem 11533,1; //Satay
+ delitem Satay,1;
dew_legend = 12;
changequest 9160,9161;
next;
@@ -633,7 +633,7 @@ dewata,235,56,4 script Gatekeeper of Krakatau#1 4_M_DEWOLDMAN,{
mes "a very dangerous area";
mes "I cannot allow anyone to go in there.";
next;
- if (dew_legend == 13 && countitem(11533))
+ if (dew_legend == 13 && countitem(Satay))
.@menu$ = ":^0000FFTribal Chief Paiko^000000";
switch(select("Allow me through:I don't want to go in"+.@menu$)) {
case 1:
@@ -670,7 +670,7 @@ dewata,235,56,4 script Gatekeeper of Krakatau#1 4_M_DEWOLDMAN,{
mes "Of course, it's our ^006400Satay^000000!";
mes "I was slightly hungry";
mes "so this should fill me up.";
- delitem 11533,1; //Satay
+ delitem Satay,1;
dew_legend = 14;
changequest 9162,9163;
next;
@@ -717,7 +717,7 @@ dew_dun01,292,164,4 script Gatekeeper of Krakatau#2 4_M_DEWZATIMAN,{
dewata,78,192,6 script Borobudur Temple Manager 4_M_DEWMAN,{
mes "[Borobudur Temple Manager]";
mes "The weather today is so beautiful.";
- if (dew_legend != 15 || !countitem(11533))
+ if (dew_legend != 15 || !countitem(Satay))
close;
next;
mes "[Borobudur Temple Manager]";
@@ -736,7 +736,7 @@ dewata,78,192,6 script Borobudur Temple Manager 4_M_DEWMAN,{
mes "[Borobudur Temple Manager]";
mes "Good~~ This is the same taste I remember.";
mes "To give my thanks I will pass along a story that may interest you";
- delitem 11533,1; //Satay
+ delitem Satay,1;
dew_legend = 16;
changequest 9164,9165;
next;
@@ -763,7 +763,7 @@ dewata,78,192,6 script Borobudur Temple Manager 4_M_DEWMAN,{
//== Help Out the Old Man :: dewata_drink ==================
dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 5000) {
if (dew_drink) {
mes "[Memo]";
mes "Why are you carrying so much? Doesn't that hurt your back?";
@@ -915,7 +915,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
mes "If it is not, wait there and bring ^FF000030 bottles of oil^000000 to me.";
close;
} else if (dew_drink == 7) {
- if (countitem(6401) < 30) {
+ if (countitem(Palm_O) < 30) {
mes "[Memo]";
mes "Oh, didn't I tell you to bring 30 bottles of oil? Did you forget?";
next;
@@ -928,7 +928,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
next;
mes "[Memo]";
mes "Excuse me, but I have an urgent matter to attend to. Can you wait for a while and talk to me when I'm done?";
- delitem 6401,30; //Palm_O
+ delitem Palm_O,30;
changequest 5042,5043;
dew_drink = 8;
close;
@@ -980,7 +980,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
changequest 5043,5044;
dew_drink = 10;
getexp 50000,10000;
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
next;
mes "[Memo]";
mes "Will you help me with my work from time to time?";
@@ -1023,7 +1023,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
else
setarray .@i[0],20,5051,3;
- if (countitem(6401) < .@i[0]) {
+ if (countitem(Palm_O) < .@i[0]) {
mes "[Memo]";
mes "You haven't brought enough oil.";
next;
@@ -1038,10 +1038,10 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
next;
mes "[Memo]";
mes "You must've had a hard time bringing the oil so here take this drink.";
- delitem 6401,.@i[0]; //Palm_O
+ delitem Palm_O,.@i[0];
erasequest .@i[1];
setquest 5044;
- getitem 11534,.@i[2]; //Coco_Juice
+ getitem Coco_Juice,.@i[2];
next;
switch(rand(4)) {
case 0:
@@ -1089,7 +1089,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
}
dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 5000) {
mes "[Lero]";
mes "You're carrying too many things...";
close;
@@ -1194,7 +1194,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "Although he is lazy and rather careless, he is the best worker.";
close;
} else if (questprogress(5039)) {
- if (countitem(6402) < 60) {
+ if (countitem(Oil_Palm_F) < 60) {
mes "[Lero]";
mes "Did you gather the nuts already?";
next;
@@ -1217,7 +1217,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
emotion e_sry;
mes "[Lero]";
mes "It takes some time, so go back to Mr. Memo and tell him the situation. Also tell him that I'm sorry for the delay.";
- delitem 6402,60; //Oil_Palm_F
+ delitem Oil_Palm_F,60;
dew_drink = 5;
changequest 5039,5040;
close;
@@ -1227,7 +1227,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "It takes some time, so go back to Mr. Memo and tell him the situation. Also tell him that I'm sorry for the delay.";
close;
} else if (dew_drink == 6) {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 15000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 15000) {
mes "[Lero]";
mes "You are carrying too much right now to continue.";
close;
@@ -1243,10 +1243,10 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "Oh, tell Mr. Memo that I'm sorry for the late delivery, and explain that it wasn't my fault.";
changequest 5041,5042;
dew_drink = 7;
- getitem 6401,30; //Palm_O
+ getitem Palm_O,30;
close;
} else if (dew_drink == 7) {
- if (questprogress(5042) && countitem(6401) > 29) {
+ if (questprogress(5042) && countitem(Palm_O) > 29) {
mes "[Lero]";
mes "It is heavier than you might think, so be careful when carrying it.";
next;
@@ -1255,8 +1255,8 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "Oh, tell Mr. Memo that I'm sorry for the late delivery, and explain that it wasn't my fault.";
close;
} else {
- .@num = 30 - countitem(6401);
- if (checkweight(6401,.@num) == 0) {
+ .@num = 30 - countitem(Palm_O);
+ if (checkweight(Palm_O,.@num) == 0) {
mes "[Lero]";
mes "You are carrying too much right now to continue.";
close;
@@ -1268,7 +1268,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
emotion e_an;
mes "[Lero]";
mes "This is the palm tree oil which was in short supply. Be careful pease. It was really hard to get this...";
- getitem 6401,.@num; //Palm_O
+ getitem Palm_O,.@num;
close;
}
} else if (dew_drink == 8) {
@@ -1313,12 +1313,12 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
else
setarray .@i[0],40,5050,20,10000;
- if (countitem(6402) < .@i[0]) {
+ if (countitem(Oil_Palm_F) < .@i[0]) {
mes "[Lero]";
mes "Once you bring the "+.@i[0]+" pieces of oil palm nuts, Mr. Memo will exchange them with oil.";
close;
}
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < .@i[3]) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < .@i[3]) {
mes "[Lero]";
mes "You're carrying too much right now to continue.";
close;
@@ -1329,8 +1329,8 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "[Lero]";
mes "Exactly "+.@i[0]+" pieces of oil palm nuts. Let you exchange them with oil right now.";
changequest .@i[1], .@i[1]+1;
- delitem 6402,.@i[0]; //Oil_Palm_F
- getitem 6401,.@i[2]; //Palm_O
+ delitem Oil_Palm_F,.@i[0];
+ getitem Palm_O,.@i[2];
next;
mes "[Lero]";
mes "As I told you before, it is heavier than you might think, so be careful when carrying this.";
@@ -1349,7 +1349,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
}
dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
if (dew_drink > 0) {
mes "[Poby]";
mes "Why are you carrying so much?";
@@ -1411,7 +1411,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
close;
} else if (dew_drink == 4) {
if (questprogress(5039)) {
- if (countitem(6402) > 59) { // Oil_Palm_F
+ if (countitem(Oil_Palm_F) > 59) { // Oil_Palm_F
mes "[Poby]";
mes "You got all the fruits. Bring them to Mr. Lero.";
close;
@@ -1466,19 +1466,19 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
else if (questprogress(5051))
.@count = 20;
if (.@count) {
- if (countitem(6401) >= .@count) {
+ if (countitem(Palm_O) >= .@count) {
// Custom translation
mes "[Poby]";
mes "Good work! Be careful while delivering them~";
close;
}
- .@new_count = .@count-countitem(6401);
+ .@new_count = .@count-countitem(Palm_O);
mes "- You explain the situation. -";
next;
mes "[Poby]";
mes "Right... I owed Memo's grandfather. Wait, I hid some oil around here.";
next;
- if (checkweight(6401,.@new_count) == 0) {
+ if (checkweight(Palm_O,.@new_count) == 0) {
mes "[Poby]";
mes "I have some, but you seem to have too much stuff with you.";
close;
@@ -1487,7 +1487,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
next;
mes "[Poby]";
mes "Ah! Here is another one. Take care not to lose it again. And keep it a secret from Mr. Lero.";
- getitem 6401,.@new_count; //Palm_O
+ getitem Palm_O,.@new_count;
next;
mes "[Poby]";
mes "Please~ "+strcharinfo(0)+".";
@@ -1515,7 +1515,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
}
- script ::DewataPalm -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 5000) {
mes "You are carrying too much.";
close;
}
@@ -1528,7 +1528,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
mes "There's a palm tree";
mes "facing the cool wind.";
close;
- } else if (countitem(6402) >= .@count) {
+ } else if (countitem(Oil_Palm_F) >= .@count) {
mes "The palm tree denies";
mes "your greedy hands.";
close;
@@ -1564,17 +1564,17 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
case 2:
case 3:
mes "a ^FF0000stone^000000 falls out.";
- getitem 7049,1; //Stone
+ getitem Stone,1;
break;
case 6:
case 7:
mes "a ^FF0000Great Leaf^000000 falls out.";
- getitem 7198,1; //Great_Leaf
+ getitem Great_Leaf,1;
break;
case 8:
case 9:
mes "a ^FF0000Worm Peeling^000000 falls out.";
- getitem 955,1; //Worm_Peelings
+ getitem Worm_Peelings,1;
break;
case 4:
case 5:
@@ -1582,7 +1582,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
case 12:
case 13:
mes "an ^0000FFOil Palm Fruit^000000 falls out.";
- getitem 6402,1; //Oil_Palm_F
+ getitem Oil_Palm_F,1;
break;
case 14:
case 16:
@@ -1602,16 +1602,16 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
}
case 10:
case 17:
- if (countitem(6402) <= .@count-5) {
+ if (countitem(Oil_Palm_F) <= .@count-5) {
mes "tons of ^0000FFOil Palm Fruit^000000 crashes down from the tree.";
- getitem 6402,1; //Oil_Palm_F
- getitem 6402,1; //Oil_Palm_F
- getitem 6402,1; //Oil_Palm_F
- getitem 6402,1; //Oil_Palm_F
- getitem 6402,1; //Oil_Palm_F
+ getitem Oil_Palm_F,1;
+ getitem Oil_Palm_F,1;
+ getitem Oil_Palm_F,1;
+ getitem Oil_Palm_F,1;
+ getitem Oil_Palm_F,1;
} else {
mes "an ^0000FFOil Palm Fruit^000000 falls out.";
- getitem 6402,1; //Oil_Palm_F
+ getitem Oil_Palm_F,1;
}
break;
default:
@@ -1683,7 +1683,7 @@ dew_fild01,209,201,0 duplicate(DewataPalm) Palm Tree#drink40 CLEAR_NPC
//== Traditional Weapon Quest :: dewata_weapon =============
dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 10000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 10000) {
mes "- Hold it right there!! -";
mes "- You're carrying too many items and don't have enough inventory space to receive any rewards. -";
mes "- Please make more inventory space available and come back to take this challenge. -";
@@ -1888,7 +1888,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
mes "Oh! And Comodo Dragon is a very powerful monster, so please be careful.";
close;
} else if (dew_weapon == 3) {
- if (countitem(6403) > 99) {
+ if (countitem(Comodo_L) > 99) {
mes "[Gatti]";
mes "By the looks of your walk, you must have brought me 100 Comodo Leather. Hand it over to me.";
delitem 6403,100;
@@ -1897,7 +1897,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
next;
mes "- Gatti takes the Comodo Leather from you. -";
close;
- } else if (countitem(6403)) {
+ } else if (countitem(Comodo_L)) {
mes "[Gatti]";
mes "So, that is the Comodo Leather. But not enough.";
next;
@@ -1969,7 +1969,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
mes "I'll make you a best weapon ever.";
setquest 5054;
dew_weapon = 6;
- getitem 6404,1; //Caress_H
+ getitem Caress_H,1;
next;
mes "[Gatti]";
mes "Oh! I almost forgot. Don't forget to bring the hilt that I just made you.";
@@ -1986,7 +1986,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
mes "[Gatti]";
mes ".... .... ....";
next;
- if (countitem(6403) < 100 || countitem(999) < 20 || countitem(984) < 10 || countitem(6404) < 1) {
+ if (countitem(Comodo_L) < 100 || countitem(Steel) < 20 || countitem(Oridecon) < 10 || countitem(Caress_H) < 1) {
mes "[Gatti]";
mes "Hmm... I need more of those. If my ship didn't get wrecked, I could made it on my own, but...";
next;
@@ -2016,11 +2016,11 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
mes "Now, I learned how to make the weapon, ask me any time if you need it.";
erasequest 5054;
dew_weapon = 7;
- delitem 6403,100; //Comodo_L
- delitem 999,20; //Steel
- delitem 984,10; //Oridecon
- delitem 6404,1; //Caress_H
- getitem 13067,1; //Caress
+ delitem Comodo_L,100;
+ delitem Steel,20;
+ delitem Oridecon,10;
+ delitem Caress_H,1;
+ getitem Caress,1;
close;
} else if (dew_weapon >= 7) {
mes "[Gatti]";
@@ -2034,8 +2034,8 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
close;
case 2:
disable_items;
- if (countitem(6404)) {
- if (countitem(6403) < 70 || countitem(984) < 10 || countitem(999) < 20 || countitem(6404) < 1) {
+ if (countitem(Caress_H)) {
+ if (countitem(Comodo_L) < 70 || countitem(Oridecon) < 10 || countitem(Steel) < 20 || countitem(Caress_H) < 1) {
mes "[Gatti]";
mes "You only have a Hilt. You'll need to bring me 10 Oridecon, 20 Steel, and 70 Comodo Leather.";
next;
@@ -2052,14 +2052,14 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
next;
mes "[Gatti]";
mes "Here is the Caress! Ask me any time.";
- delitem 6403,70; //Comodo_L
- delitem 999,20; //Steel
- delitem 984,10; //Oridecon
- delitem 6404,1; //Caress_H
- getitem 13067,1; //Caress
+ delitem Comodo_L,70;
+ delitem Steel,20;
+ delitem Oridecon,10;
+ delitem Caress_H,1;
+ getitem Caress,1;
close;
} else {
- if (countitem(6403) < 50 || countitem(7201) < 1) {
+ if (countitem(Comodo_L) < 50 || countitem(Log) < 1) {
mes "[Gatti]";
mes "You want me to make one more Caress for you? In that case I need a Hilt. 50 Comodo Leather, and 1 Log. These are what I need to make a Hilt.";
close;
@@ -2072,9 +2072,9 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
next;
mes "[Gatti]";
mes "Here you go. I can make a Caress if you bring me 10 Oridecon, 20 Steel, and 70 Comodo Leather.";
- delitem 6403,50; //Comodo_L
- delitem 7201,1; //Log
- getitem 6404,1; //Caress_H
+ delitem Comodo_L,50;
+ delitem Log,1;
+ getitem Caress_H,1;
close;
}
case 3:
@@ -2108,7 +2108,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
break;
}
- if (countitem(13067) < 1 || Zeny < 100000) {
+ if (countitem(Caress) < 1 || Zeny < 100000) {
mes "[Gatti]";
mes "You don't have all the materials. It's impossible to reinforce if you don't have them all. If you want to reinforce, bring 100,000 zeny and 1 Caress.";
close;
@@ -2219,7 +2219,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
else if (.@j < 3950) .@s4 = 4754; // LUK + 5
else .@s4 = 0;
- delitem 13067,1; //Caress
+ delitem Caress,1;
if (.@s3 == 0 && .@s4 == 0) {
mes "[Gatti]";
mes "Oh my~~ Almost succeeded... But failed. Sorry, sorry...";
diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt
index 3d78de85b..1e8811752 100644
--- a/npc/re/quests/quests_dicastes.txt
+++ b/npc/re/quests/quests_dicastes.txt
@@ -113,7 +113,7 @@ dic_dun01,266,113,5 script Curious Sapha#ep13_3_ 4_MAN_BENKUNI,{
mes "I might be able to use this perfume's reaction to Scarabas and make progress in research.";
close;
case 2:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Curious Sapha]";
mes "You don't seem to have enough space.";
close;
@@ -152,7 +152,7 @@ dic_dun01,266,113,5 script Curious Sapha#ep13_3_ 4_MAN_BENKUNI,{
close;
}
Zeny -= .@deal;
- getitem 6437,.@input; //Scaraba_Perfume
+ getitem Scaraba_Perfume,.@input;
mes "[Curious Sapha]";
mes "Here you go. Scaraba might flock around you so don't use it near Scaraba Hall.";
close;
@@ -194,8 +194,8 @@ sec_in02,16,43,5 script Scaraba Dungeon Entrance 4_MAN_BENKUNI,{
mes "You will be able to go through if the password is correct.";
if (callfunc("F_GM_NPC",1854,0) == 1) {
ep13_3_secret = 6;
- getitem 2782,1; //Ring_Of_Wise_King
- getitem 6437,2; //Scaraba_Perfume
+ getitem Ring_Of_Wise_King,1;
+ getitem Scaraba_Perfume,2;
mes "Setting Complete";
} else
mes "Wrong Password";
@@ -279,7 +279,7 @@ dic_dun01,284,102,5 script Dirty Vigilante#ep13_3 4_MAN_GALTUN,{
mes "Those Scaraba can snatch you away!";
close;
}
- if (countitem(6437)) {
+ if (countitem(Scaraba_Perfume)) {
mes "[Vigilante]";
mes "Do you need something from the cave?";
next;
@@ -289,13 +289,13 @@ dic_dun01,284,102,5 script Dirty Vigilante#ep13_3 4_MAN_GALTUN,{
mes "Be careful. The smell from the Scaraba Secretion was picked up by other Scarabas.";
next;
if (select("Enter after spraying perfume.:Do not enter because it's dangerous.") == 1) {
- if (!countitem(6437)) {
+ if (!countitem(Scaraba_Perfume)) {
mes "- Your Scaraba Perfume disappeared. -";
close;
}
mes "[Vigilante]";
mes "Okay. Then good luck to you. Be careful.";
- delitem 6437,1; //Scaraba_Perfume
+ delitem Scaraba_Perfume,1;
close2;
warp "dic_dun03",101,142;
end;
@@ -493,7 +493,7 @@ function script que_dic {
}
dic_in01,48,263,5 script Hunting Dept. 1 Manager 4_MAN_BENKUNI,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -563,7 +563,7 @@ dic_in01,48,263,5 script Hunting Dept. 1 Manager 4_MAN_BENKUNI,{
}
dic_in01,51,266,6 script Hunting Dept. 2 Manager 4_MAN_BENKUNI,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -632,7 +632,7 @@ dic_in01,51,266,6 script Hunting Dept. 2 Manager 4_MAN_BENKUNI,{
}
dic_in01,51,270,7 script Supply Dept. 1 Manager 4_MAN_BENKUNI,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -703,7 +703,7 @@ dic_in01,51,270,7 script Supply Dept. 1 Manager 4_MAN_BENKUNI,{
}
dic_in01,48,273,1 script Supply Dept. 2 Manager 4_MAN_BENKUNI,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -770,7 +770,7 @@ dic_in01,48,273,1 script Supply Dept. 2 Manager 4_MAN_BENKUNI,{
}
dic_in01,43,273,1 script Transport Dept. 1 Mgr 4_MAN_BENKUNI,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -844,7 +844,7 @@ dic_in01,43,273,1 script Transport Dept. 1 Mgr 4_MAN_BENKUNI,{
}
dic_in01,40,270,2 script Transport Dept. 2 Mgr 4_MAN_BENKUNI,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -912,7 +912,7 @@ dic_in01,40,270,2 script Transport Dept. 2 Mgr 4_MAN_BENKUNI,{
}
dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many items in your inventory.";
close;
}
@@ -942,7 +942,7 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{
else if (.@map_hi == 3) mes "This is the very place where Ancient Sapha forefathers created history";
else mes "The Archive room holds transcendent knowledge beyond that of Midgard and Asgard";
next;
- if (countitem(6308) > 29) {
+ if (countitem(Unidentified_Relic) > 29) {
mes "[Papyrus]";
mes "Oh... You've brought back plenty of unknown relics";
next;
@@ -956,11 +956,11 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{
}
mes "[Papyrus]";
mes "Ok here's your 11 Sapha Certifications.";
- delitem 6308,30; //Unidentified_Relic
- getitem 6304,11; //Sapa_Feat_Cert
+ delitem Unidentified_Relic,30;
+ getitem Sapa_Feat_Cert,11;
close;
}
- if (countitem(6308) > 2) {
+ if (countitem(Unidentified_Relic) > 2) {
mes "[Papyrus]";
mes "Wow~ ";
mes "You've found an Unknown Relic.";
@@ -973,8 +973,8 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{
}
mes "[Papyrus]";
mes "Ok here's your 1 Sapha Certifications.";
- delitem 6308,3; //Unidentified_Relic
- getitem 6304,1; //Sapa_Feat_Cert
+ delitem Unidentified_Relic,3;
+ getitem Sapa_Feat_Cert,1;
close;
}
mes "[Papyrus]";
@@ -1142,7 +1142,7 @@ function script unknown_d {
next;
mes "In addition, you've obtained an unknown relic to report back to the Saphas.";
specialeffect2 EF_STEAL;
- getitem 6308,1; //Unidentified_Relic
+ getitem Unidentified_Relic,1;
}
close;
}
@@ -1295,12 +1295,12 @@ dic_in01,263,193,3 script Diel Guard#ep133_20 4_MAN_GALTUN,{
mes "He is waiting inside.";
mes "Please go in.";
}
- else if (countitem(6304) > 0) {
+ else if (countitem(Sapa_Feat_Cert) > 0) {
mes "[Diel Guard]";
mes "Are you here to meet Ahat?";
mes "You are on the list.";
mes "Please go in.";
- delitem 6304,1; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,1;
}
else {
mes "[Diel Guard]";
@@ -1407,15 +1407,15 @@ dic_in01,294,276,5 script Secret Adjutant#ep133_2 4_M_CATMAN2,{
close2;
}
else if (ep13_3_secret == 17) {
- if (countitem(6306) > 9 && countitem(6305) > 9 && countitem(6307) > 9) {
+ if (countitem(Solid_Bloodstain) > 9 && countitem(Frozen_Skin_Piece) > 9 && countitem(Suspicious_Magic_Stone) > 9) {
mes "[Cheshire]";
mes "..... ..you";
mes "Are useful, aren't you?";
mes "That will be all for today.";
mes "We will need to work little by little so we don't draw attention.";
- delitem 6306,10; //Solid_Bloodstain
- delitem 6305,10; //Frozen_Skin_Piece
- delitem 6307,10; //Suspicious_Magic_Stone
+ delitem Solid_Bloodstain,10;
+ delitem Frozen_Skin_Piece,10;
+ delitem Suspicious_Magic_Stone,10;
ep13_3_secret = 18;
erasequest 7199;
setquest 7200;
@@ -1441,7 +1441,7 @@ dic_in01,294,276,5 script Secret Adjutant#ep133_2 4_M_CATMAN2,{
}
else {
if (ep13_3_ahtdayq == 1) {
- if ((countitem(6306) > 9) && (countitem(6305) > 9) && (countitem(6307) > 9)) {
+ if ((countitem(Solid_Bloodstain) > 9) && (countitem(Frozen_Skin_Piece) > 9) && (countitem(Suspicious_Magic_Stone) > 9)) {
mes "[Cheshire]";
mes "Ok. Confirmed.";
mes "Good.";
@@ -1452,11 +1452,11 @@ dic_in01,294,276,5 script Secret Adjutant#ep133_2 4_M_CATMAN2,{
mes "We will do this again tomorrow.";
mes "Ahat seems to trust you very much.";
mes "Let's do are best.";
- delitem 6306,10; //Solid_Bloodstain
- delitem 6305,10; //Frozen_Skin_Piece
- delitem 6307,10; //Suspicious_Magic_Stone
+ delitem Solid_Bloodstain,10;
+ delitem Frozen_Skin_Piece,10;
+ delitem Suspicious_Magic_Stone,10;
ep13_3_ahtdayq = 2;
- getitem 6304,1; //Sapa_Feat_Cert
+ getitem Sapa_Feat_Cert,1;
getexp 70000,0;
getexp 0,30000;
erasequest 7201;
@@ -1783,7 +1783,7 @@ dic_in01,300,280,5 script Minister Ahat#ep133_21 4_HUMAN_GERUTOO,{
mes "And this is something to reward you for your deeds.";
mes "Nothing much but I hope you like it.";
ep13_3_secret = 19;
- getitem 2790,1; //Bradium_Brooch
+ getitem Bradium_Brooch,1;
close2;
}
else {
@@ -2322,7 +2322,7 @@ dic_in01,158,188,3 script Jarute HesLanta#ep133_2 4_MAN_JERUTOO,{
}
dicastes01,223,190,1 script Calyon#pa8029 4_MAN_NITT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -2495,7 +2495,7 @@ dicastes01,223,190,1 script Calyon#pa8029 4_MAN_NITT,{
}
dicastes01,211,178,2 script Moltuka#pa0829 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -2719,7 +2719,7 @@ dicastes01,211,178,2 script Moltuka#pa0829 4_MAN_NITT,{
}
dicastes01,175,217,5 script Kalipo#pa0829 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -2861,7 +2861,7 @@ dicastes01,175,217,5 script Kalipo#pa0829 4_MAN_NITT,{
}
dicastes01,187,230,5 script Laponte#pa0829 4_MAN_NITT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -3032,7 +3032,7 @@ dicastes01,187,230,5 script Laponte#pa0829 4_MAN_NITT,{
}
dicastes01,208,230,3 script Pura#pa0829 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -3223,7 +3223,7 @@ dicastes01,208,230,3 script Pura#pa0829 4_MAN_NITT,{
}
dicastes01,225,211,3 script Tragis#pa0829 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -3394,7 +3394,7 @@ dicastes01,225,211,3 script Tragis#pa0829 4_MAN_NITT,{
//== Doha's Secret Orders ==================================
mid_campin,168,170,3 script Inspector Doha#ep133 1_M_ORIENT01,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- You can too many items to proceed with the quest. -";
close;
}
@@ -3608,7 +3608,7 @@ mid_campin,168,170,3 script Inspector Doha#ep133 1_M_ORIENT01,{
close;
}
else if (ep13_3_secret == 22) {
- if (countitem(6306) && countitem(6305) && countitem(6307)) {
+ if (countitem(Solid_Bloodstain) && countitem(Frozen_Skin_Piece) && countitem(Suspicious_Magic_Stone)) {
mes "[Doha]";
mes "How is the investigation going?";
mes "Do you have any significant status?";
@@ -3637,11 +3637,11 @@ mid_campin,168,170,3 script Inspector Doha#ep133 1_M_ORIENT01,{
mes "Please have this.";
mes "This is a reward for your services up to now.";
mes "You deserve this for the hardship you are going through in another world.";
- delitem 6306,1; //Solid_Bloodstain
- delitem 6305,1; //Frozen_Skin_Piece
- delitem 6307,1; //Suspicious_Magic_Stone
+ delitem Solid_Bloodstain,1;
+ delitem Frozen_Skin_Piece,1;
+ delitem Suspicious_Magic_Stone,1;
ep13_3_secret = 23;
- getitem 2553,1; //Dragon_Manteau
+ getitem Dragon_Manteau,1;
erasequest 7202;
completequest 7203;
next;
@@ -4647,7 +4647,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "Give an Exploit certification of Sapha to BK.";
close;
}
- if (countitem(6304)) {
+ if (countitem(Sapa_Feat_Cert)) {
mes "[BK]";
mes "Haha.. good, good.";
mes "I don't know anything outside of our race";
@@ -4657,7 +4657,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "I even saw him meet the ^4d4dffnew minister^000000 alone.";
mes "Hu hu...";
mes "Satisfied?";
- delitem 6304,1; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,1;
ep13_3_secret = 7;
next;
mes "- BK says this and takes the exploit certification out of your hand.";
@@ -4703,7 +4703,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "I have nothing to say if you don't give me a certification.";
close;
}
- if (!countitem(6304)) {
+ if (!countitem(Sapa_Feat_Cert)) {
mes "[BK]";
mes "I have nothing to say if you don't give me a certification.";
close;
@@ -4715,7 +4715,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "[BK]";
mes "The new minister was picked up ^4d4dffnear the crack^000000.";
mes "He must be an alien!";
- delitem 6304,1; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,1;
ep13_3_secret = 8;
next;
select("What do you think so?");
@@ -4738,7 +4738,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
close;
}
}
- if (countitem(6304)) {
+ if (countitem(Sapa_Feat_Cert)) {
mes "[BK]";
mes "Because he isn't Sapha!";
next;
@@ -4756,7 +4756,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "[BK]";
mes "Well, I don't understand why because all Saphas";
mes "are beautiful.";
- delitem 6304,1; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,1;
ep13_3_secret = 9;
changequest 7191,7192;
next;
@@ -5089,7 +5089,7 @@ dic_in01,165,104,0 script Frede#13_3_in 4_MAN_PIOM,{
mes "The cats outside gave it to me. It doesn't do much good for Saphas but I heard it's suppose to help you humans.";
ep13_3_bra = 2;
setquest 11171;
- getitem 513,1; //Banana
+ getitem Banana,1;
close;
}
else if (ep13_3_bra == 2) {
@@ -5301,7 +5301,7 @@ dic_in01,165,104,0 script Frede#13_3_in 4_MAN_PIOM,{
close;
}
else if (ep13_3_bra == 8) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Frede]";
mes "You have too many kinds of items.";
mes "Please return after reducing the number of items.";
@@ -5336,7 +5336,7 @@ dic_in01,165,104,0 script Frede#13_3_in 4_MAN_PIOM,{
mes "We may be from different races but we can be great friends.";
completequest 11176;
ep13_3_bra = 9;
- getitem 2788,1; //Bradium_Earing
+ getitem Bradium_Earing,1;
for (.@i = 0; .@i < .@size; ++.@i)
erasequest .@quest_id[.@i];
close;
@@ -6032,7 +6032,7 @@ dic_in01,349,129,5 script Bouy#13_3 4_MAN_BENKUNI,{
close;
}
else if (ep13_3_bra == 6) {
- if (countitem(6319) > 29) {
+ if (countitem(Small_Bradium) > 29) {
mes "[Bouy]";
mes "You've brought back the Bradium.";
mes "I've been waiting for the Galtens to return because I'm not accustomed to battle since I'm Venknick. Thank you very much.";
@@ -6042,7 +6042,7 @@ dic_in01,349,129,5 script Bouy#13_3 4_MAN_BENKUNI,{
next;
mes "[Bouy]";
mes "Please go rest while I get to work.";
- delitem 6319,30; //Small_Bradium
+ delitem Small_Bradium,30;
changequest 11174,11175;
ep13_3_bra = 7;
close;
@@ -6801,7 +6801,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "You can use it to return to El Dicastes whenever you wish.";
next;
ep13_3_invite = 6;
- getitem 2844,1; //El_Dicastes_Light
+ getitem El_Dicastes_Light,1;
completequest 7184;
mes "[Clerk Rhawyne]";
mes "There is a special place for humans located beneath the residential area of Pioms.";
@@ -6827,7 +6827,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "Ravail cannot be met in person even with exploit certifications.";
next;
if (select("Ahat:Another minister") == 1) {
- if (countitem(6304) > 2) {
+ if (countitem(Sapa_Feat_Cert) > 2) {
mes "[Clerk Rhawyne]";
mes "You've really collected 3 exploit certification of Sapha already.";
mes "Alright. I will send a request.";
@@ -6839,7 +6839,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "[Clerk Rhawyne]";
mes "It is a separate elevator that leads to the high minister's office";
mes "You will be guided in front of the office.";
- delitem 6304,3; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,3;
ep13_3_secret = 13;
changequest 7197,7198;
close;
@@ -6979,7 +6979,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "Are you sure you want to do this?";
next;
if(select("No, let me think about it.:Take my Light of El Dicastes.") == 2) {
- if (countitem(2844) == 0 || countitem(6304) < 6) {
+ if (countitem(El_Dicastes_Light) == 0 || countitem(Sapa_Feat_Cert) < 6) {
mes "[Kareka]";
mes "You need to bring the Light of El Dicastes and 6 Sapha Certifications!";
mes "Don't try to cheat me!";
@@ -6991,14 +6991,14 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "Haaap--!";
specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",3;
- delitem 6304,6; //Sapa_Feat_Cert
- delitem 2844,1; //El_Dicastes_Light
- getitem 2844,1; //El_Dicastes_Light
+ delitem Sapa_Feat_Cert,6;
+ delitem El_Dicastes_Light,1;
+ getitem El_Dicastes_Light,1;
ep13_3_ring2 = 0;
}
close;
}
- if (countitem(6304) < 1) {
+ if (countitem(Sapa_Feat_Cert) < 1) {
mes "[Kareka]";
mes "The Exploit Certifications of Sapha that you collect by helping throughout the city has other uses besides meeting the minister.";
next;
@@ -7026,7 +7026,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "But of course, since this is adding spells on top of its original magic, I cannot guarantee that you will get what you want on one try.";
close;
}
- if (countitem(2844) < 1) {
+ if (countitem(El_Dicastes_Light) < 1) {
mes "[Kareka]";
mes "Either you are not wearing or don't have the equipment to upgrade on you.";
close;
@@ -7056,7 +7056,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
else mes "Hmm... This may not be important to you but.";
next;
mes .@n$;
- if (countitem(6304) < 1) {
+ if (countitem(Sapa_Feat_Cert) < 1) {
if (.@re$ == "Brare") {
mes "Oh... no luck on Sapha Certifications?";
next;
@@ -7271,7 +7271,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "Please come back again.";
close;
}
- if (countitem(6304) < .@req) {
+ if (countitem(Sapa_Feat_Cert) < .@req) {
mes .@n$;
mes "But you don't have enough exploit certifications. You need "+.@req+" exploit certification of Sapha for the "+((.@req == 3)?"third":((.@req == 2)?"second":"first"))+" step of upgrade.";
close;
@@ -7382,7 +7382,7 @@ dic_in01,353,37,5 duplicate(dic_enc#main) Kareka#pa0829 4_MAN_PIOM
dic_fild01,228,159,4 script Jahbong#pa0829 4_M_MERCAT2,{
mes "[Jahbong]";
- if (countitem(6304) < 1) {
+ if (countitem(Sapa_Feat_Cert) < 1) {
mes "You haven't received a Sapha Certification yet?";
next;
mes "[Jahbong]";
diff --git a/npc/re/quests/quests_malangdo.txt b/npc/re/quests/quests_malangdo.txt
index a6547168c..28c99962c 100644
--- a/npc/re/quests/quests_malangdo.txt
+++ b/npc/re/quests/quests_malangdo.txt
@@ -44,7 +44,7 @@
//== Utility NPCs :: cat_merchant ==========================
mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
- if (MaxWeight - Weight < 100 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Knife,1) == 0) {
mes "[Investment Cat Helper]";
mes "You have a heavy load. Maybe you're a peddler? No peddlers in this area.";
close;
@@ -81,7 +81,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
while(1) {
switch(select("Open an account:Ask about benefits:Cancel")) {
case 1:
- if (countitem(12636) < 10) {
+ if (countitem(Malang_Sp_Can) < 10) {
mes "[Investment Cat Helper]";
mes "Hmm!";
mes "I'd love to give you account for";
@@ -89,7 +89,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
mes "advertising investers of the trader group, sorry.";
close;
}
- delitem 12636,10; //Malang_Sp_Can
+ delitem Malang_Sp_Can,10;
ep13_yong1 = 10;
mes "[Investment Cat Helper]";
mes "Good!";
@@ -207,7 +207,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
mes "Please check again~";
close;
}
- if (countitem(12636) < .@required) {
+ if (countitem(Malang_Sp_Can) < .@required) {
mes "[Investment Cat Helper]";
mes "Ahhh!";
mes "You don't have enough cans.";
@@ -215,7 +215,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
close;
}
if (ep13_yong1 < 10000) {
- delitem 12636,.@required; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@required;
ep13_yong1 += .@input;
mes "[Investment Cat Helper]";
mes .@input+" accounts were invested in.";
@@ -229,7 +229,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
close;
} else {
if (.@input + ep13_yong1 > 20000) {
- delitem 12636,.@required; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@required;
ep13_yong1 = 20000;
mes "[Investment Cat Helper]";
mes "You can have 20,000 accounts max";
@@ -243,7 +243,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
mes "Thank you so much~";
close;
} else {
- delitem 12636,.@required; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@required;
ep13_yong1 += .@input;
mes "[Investment Cat Helper]";
mes .@input+" accounts have been invested in.";
@@ -304,12 +304,12 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
mes "[Investment Cat Helper]";
mes "The can donation can range from a minimum of 20 to a maximum of 10,000.";
close;
- } else if (countitem(12636) < .@input) { // Malang_Sp_Can
+ } else if (countitem(Malang_Sp_Can) < .@input) { // Malang_Sp_Can
mes "[Investment Cat Helper]";
mes "Hmm? You don't have enough cans.";
close;
} else {
- delitem 12636,.@input; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@input;
mes "[Investment Cat Helper]";
mes "Ohh! Thank you~";
next;
@@ -351,12 +351,12 @@ malangdo,184,139,4 script Storekeeper#mal 4_CAT_ADV2,{
}
switch(.@i) {
case 1:
- if (countitem(12636) < .@cans) {
+ if (countitem(Malang_Sp_Can) < .@cans) {
mes "[Storekeeper]";
mes "You don't have enough cans...";
close;
}
- delitem 12636,.@cans; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@cans;
break;
case 2:
if (Zeny < .@zeny) {
@@ -630,7 +630,7 @@ mal_in02,22,62,3 script Tomas#mal 4_CAT_ADMIRAL,{
mes "Then, as village chief and the admiral of the cat association, I'd like you to get along with me as well!";
ma_tomas = 100;
completequest 11237;
- getitem 6422,30; //Egrade_Coin
+ getitem Egrade_Coin,30;
close2;
cutin "",255;
end;
@@ -945,7 +945,7 @@ mal_in02,174,64,5 script Linguist Devore#mal 4_CAT_MERMASTER,{
emotion e_hlp;
ma_tomas = 35;
changequest 11236,11237;
- getitem 6422,30; //Egrade_Coin
+ getitem Egrade_Coin,30;
close;
} else if (ma_tomas == 35) {
mes "[Linguist Devore]";
@@ -1113,7 +1113,7 @@ mal_in02,179,57,1 script Geologist Mali#mal 4_CAT_ADV1,{
completequest 11224;
setquest 11225;
setquest 11243;
- getitem 6422,20; //Egrade_Coin
+ getitem Egrade_Coin,20;
close;
} else if (ma_tomas > 99) {
if (questprogress(11240) || questprogress(11241)) {
@@ -1126,7 +1126,7 @@ mal_in02,179,57,1 script Geologist Mali#mal 4_CAT_ADV1,{
mes "Ah! Bob complimented you so much on your great job, mew~";
mes "Please help us next time again when you can, mew~";
changequest 11242,11243;
- getitem 6422,4; //Egrade_Coin
+ getitem Egrade_Coin,4;
close;
} else {
if (questprogress(11243,PLAYTIME) == 1) {
@@ -1187,7 +1187,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
mes "Are you here for voluntary service?!";
emotion e_omg;
next;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Bob]";
mes "Ummm... be lightened with your mind and body when doing voluntary service!";
mes "You seem to have too much stuff, so get yourself lightened~";
@@ -1239,7 +1239,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
changequest 11221,11222;
} else
changequest 11240,11241;
- getitem 6434,1; //Fix_Kit
+ getitem Fix_Kit,1;
close;
case 2:
mes "[Bob]";
@@ -1252,7 +1252,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
}
} else if (ma_tomas == 15) {
L_Quest2:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -1271,8 +1271,8 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
mes "[Bob]";
mes "Repairing the cracks is rather simple.";
mes "Anyone can do it easily with just this ^0000FFFix Kit^000000!";
- if (countitem(6434) == 0)
- getitem 6434,1; //Fix_Kit
+ if (countitem(Fix_Kit) == 0)
+ getitem Fix_Kit,1;
next;
mes "[Bob]";
mes "Fill in the part with this mixture of gray and white clay, and fix the cracks with a stapler.";
@@ -1302,8 +1302,8 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
mes "[Bob]";
mes "You did a great job indeed!!!";
mes "I will tell Dr. Mali!";
- if (countitem(6434) > 0)
- delitem 6434,1; //Fix_Kit
+ if (countitem(Fix_Kit) > 0)
+ delitem Fix_Kit,1;
ma_tomas = 17;
changequest 11223,11224;
close;
@@ -1324,7 +1324,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
- script Crack#mal0 -1,{
if (.off) end; // Official script uses a 1-second timer to disable cracks. Added to prevent abuse.
if (ma_tomas == 15 || questprogress(11241)) {
- if (countitem(6434) < 1) {
+ if (countitem(Fix_Kit) < 1) {
mes "- To repair the crack -";
mes "- you need a Fix Kit. -";
close;
@@ -1748,7 +1748,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
close;
}
} else if (ma_tomas == 9) {
- if (countitem(6435) < 30) {
+ if (countitem(Fresh_Fruit) < 30) {
mes "[Rican]";
mes "You can get it on Malangdo Island easily. Bring me about 30.";
mes "Ah! Keep the secret to my son for sure~";
@@ -1778,7 +1778,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
mes "Then would you put it in the machine in front of me?";
close;
} else if (ma_tomas == 11) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -1810,7 +1810,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
mes "If you see my son, please tell him to get back soon~";
mes "And this is for you to buy something delicious with, since you did hard work.";
ma_tomas = 12;
- getitem 6422,20; //Egrade_Coin
+ getitem Egrade_Coin,20;
changequest 11219,11220;
setquest 11239;
close;
@@ -1822,7 +1822,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
close;
} else if (ma_tomas > 99) {
if (questprogress(11238)) {
- if (countitem(6435) < 30) {
+ if (countitem(Fresh_Fruit) < 30) {
mes "[Rican]";
mes "You need exactly 30 to get a set!";
close;
@@ -1830,10 +1830,10 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
mes "[Rican]";
mes "Very reliable!";
mes "Don't you want to do your business with Yggdrasil Berry?";
- delitem 6435,30; //Fresh_Fruit
+ delitem Fresh_Fruit,30;
erasequest 11238;
setquest 11239;
- getitem 6422,5; //Egrade_Coin
+ getitem Egrade_Coin,5;
close;
} else if (questprogress(11239,PLAYTIME) == 1) {
mes "[Rican]";
@@ -1879,7 +1879,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{
if (ma_tomas == 10) {
- if (countitem(6435) < 30) {
+ if (countitem(Fresh_Fruit) < 30) {
mes "[Rican]";
mes "You need exactly 30 to get a set!";
close;
@@ -1892,7 +1892,7 @@ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{
next;
mes "- The machine starts operating -";
mes "- when he presses the button. -";
- delitem 6435,30; //Fresh_Fruit
+ delitem Fresh_Fruit,30;
ma_tomas = 11;
changequest 11218,11219;
close;
@@ -1912,7 +1912,7 @@ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -1920,7 +1920,7 @@ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{
if (rand(1,5) == 4) {
mes "- As I put my hand in the sand -";
mes "- a fresh smell comes out. -";
- getitem 6435,1; //Fresh_Fruit
+ getitem Fresh_Fruit,1;
} else {
mes "- As I put my hand in the sand -";
mes "- I feel like I'm touching -";
@@ -2224,7 +2224,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
L_Quest:
.@i = @mal_bob_q;
@mal_bob_q = 0;
- if (countitem(12624) < 30) {
+ if (countitem(Delicious_Jelly) < 30) {
mes "[Biscuit]";
mes "It's not enough at all~";
mes "I need at least 30 Delicious Jelly.";
@@ -2233,14 +2233,14 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
mes "[Biscuit]";
mes "You got them well.";
mes "There won't be any problem to prepare her meal.";
- delitem 12624,30; //Delicious_Jelly
+ delitem Delicious_Jelly,30;
if (.@i == 1) {
ma_tomas = 27;
changequest 11231,11232;
} else {
erasequest 11244;
setquest 11245;
- getitem 6422,5; //Egrade_Coin
+ getitem Egrade_Coin,5;
}
next;
mes "[Biscuit]";
@@ -2314,7 +2314,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
changequest 11232,11233;
close;
} else if (ma_tomas == 28) {
- if (countitem(6433) && countitem(6432)) {
+ if (countitem(Clean_Brush) && countitem(Full_Bucket)) {
mes "[Biscuit]";
mes "Oh!";
mes "You brought the tools successfully.";
@@ -2323,7 +2323,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
ma_tomas = 29;
changequest 11233,11234;
close;
- } else if (countitem(6433) && countitem(6431)) {
+ } else if (countitem(Clean_Brush) && countitem(Bucket)) {
mes "[Biscuit]";
mes "Oh!";
mes "You brought the tools successfully.";
@@ -2354,7 +2354,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
mes "Right, then from her left leg...!";
close;
} else if (ma_tomas == 33) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -2397,8 +2397,8 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
ma_tomas = 34;
erasequest 11235;
setquest 11236;
- getitem 6422,100; //Egrade_Coin
- getitem 12636,20; //Malang_Sp_Can
+ getitem Egrade_Coin,100;
+ getitem Malang_Sp_Can,20;
close;
} else if (ma_tomas > 99) {
if (questprogress(11244)) {
@@ -2438,7 +2438,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
mal_in02,102,94,3 script Cleaning Staff#mal 4_CAT_SAILOR1,2,2,{
OnTouch:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -2466,7 +2466,7 @@ OnTouch:
mes "[Cleaning Staff]";
mes "Please give the cleaning tool back to any merchant.";
mes "Thanks for coming~";
- getitem 6431,1; //Bucket
+ getitem Bucket,1;
close;
case 2:
mes "[Cleaning Staff]";
@@ -2476,7 +2476,7 @@ OnTouch:
mes "[Cleaning Staff]";
mes "Please give the cleaning tool back to any merchant.";
mes "Thanks for coming~";
- getitem 6433,1; //Clean_Brush
+ getitem Clean_Brush,1;
close;
case 3:
mes "[Cleaning Staff]";
@@ -2487,7 +2487,7 @@ OnTouch:
}
malangdo,246,184,0 script 1st Rate Point HIDDEN_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -2503,7 +2503,7 @@ malangdo,246,184,0 script 1st Rate Point HIDDEN_NPC,{
mes " - and try this again. - ";
close;
}
- if (countitem(6431) == 0) {
+ if (countitem(Bucket) == 0) {
mes "- To get water -";
mes "- you need a ^0000FFBucket^000000. -";
close;
@@ -2515,8 +2515,8 @@ malangdo,246,184,0 script 1st Rate Point HIDDEN_NPC,{
mes "- The bucket gets remarkably -";
mes "- heavy as water fills it up. -";
specialeffect EF_POTION8;
- delitem 6431,1; //Bucket
- getitem 6432,1; //Full_Bucket
+ delitem Bucket,1;
+ getitem Full_Bucket,1;
close;
case 2:
mes "- Didn't get water. -";
@@ -2618,15 +2618,15 @@ mal_dun01,133,125,5 script Star Candy#mal 4_F_STARFISHGIRL,{
mes "- to be so "+.@str$+". -";
close;
}
- if (!countitem(6433) || !countitem(6432)) {
+ if (!countitem(Clean_Brush) || !countitem(Full_Bucket)) {
mes "- You need -";
mes "- a cleaning brush -";
mes "- and a full bucket. -";
close;
}
mes "- Poured water on the "+.@str$+" skin. -";
- delitem 6432,1; //Full_Bucket
- getitem 6431,1; //Bucket
+ delitem Full_Bucket,1;
+ getitem Bucket,1;
next;
if (rand(1,2) == 1)
.@menu$ = "Brush.:Stop.:";
@@ -2713,7 +2713,7 @@ malangdo,190,167,7 script Portali#mal 4_CAT_SAILOR3,{
next;
switch(select("Go.:Don't go.:Prices?")) {
case 1:
- if (countitem(12636) < 4) {
+ if (countitem(Malang_Sp_Can) < 4) {
mes "[Portali]";
mes "Where are you going without canned food...?";
close;
@@ -2754,14 +2754,14 @@ malangdo,190,167,7 script Portali#mal 4_CAT_SAILOR3,{
}
end;
L_Warp:
- if (countitem(12636) < getarg(1)) {
+ if (countitem(Malang_Sp_Can) < getarg(1)) {
mes "[Portali]";
mes "Where are you going without canned food...?";
close;
}
mes "[Portali]";
mes "Then to "+getarg(0)+"~";
- delitem 12636,getarg(1); //Malang_Sp_Can
+ delitem Malang_Sp_Can,getarg(1);
close2;
warp getarg(2),getarg(3),getarg(4);
end;
@@ -2773,7 +2773,7 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -2788,10 +2788,10 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
close;
}
.@fish_ss1$ = "What are you doing?";
- if (countitem(6451) > 29)
+ if (countitem(Unknown_Fish) > 29)
.@fish_ss2$ = "I caught a lot of strange fishes!";
else
- .@fish_ss2$ = (30-countitem(6451))+" of ^bbbbbbUnidentified Fish are required.^000000";
+ .@fish_ss2$ = (30-countitem(Unknown_Fish))+" of ^bbbbbbUnidentified Fish are required.^000000";
if (ma_tomas == 100)
.@fish_ss3$ = "I met an Admiral Tomas...";
mes "[Pipielle]";
@@ -2847,9 +2847,9 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
mes "You can get Unidentified Fish from the Pouring monsters, so please collect 30 of them.";
close;
case 2:
- if (countitem(6451) > 29) {
+ if (countitem(Unknown_Fish) > 29) {
//saveppl Unknown_Fish
- delitem 6451,30; //Unknown_Fish
+ delitem Unknown_Fish,30;
mes "[Pipielle]";
mes "Oh, thank you! I will take these specimens.";
next;
@@ -2892,7 +2892,7 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
mes "[Pipielle]";
mes "And this is a small gift for looking after admiral Tomas.";
ma_tomas = 101;
- getitem 6422,200; //Egrade_Coin
+ getitem Egrade_Coin,200;
mes "^0000ffReceived 200 E Class Coins.^000000";
close;
}
@@ -2900,7 +2900,7 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
//== Help the Bad Cats in Danger :: mal_bad_guys ===========
malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Can't go next step due to having too many items. -";
close;
}
@@ -3010,7 +3010,7 @@ malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{
mes "lack of forbidden bad activity.";
close;
} else if (malang_bad_guys == 7) {
- if (countitem(6426) > 29) {
+ if (countitem(Bad_Can) > 29) {
mes "[Gobonge]";
mes "Was it from raccoon that made us pain in stomach?";
mes "Oh bad raccoon!";
@@ -3023,9 +3023,9 @@ malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{
mes "You can go now!";
erasequest 1151;
malang_bad_guys = 8;
- getitem 12636,20; //Malang_Sp_Can
- delitem 6427,1; //Bad_Can_Sack
- delitem 6426,30; //Bad_Can
+ getitem Malang_Sp_Can,20;
+ delitem Bad_Can_Sack,1;
+ delitem Bad_Can,30;
close;
}
mes "[Gobonge]";
@@ -3086,7 +3086,7 @@ malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{
erasequest 1155;
setquest 1152;
malang_bad_guys = 13;
- getitem 6422,5; //Egrade_Coin
+ getitem Egrade_Coin,5;
close;
} else if (malang_bad_guys == 13) {
mes "[Gobonge]";
@@ -3290,7 +3290,7 @@ malangdo,171,163,3 script Awfully Suspious Dealer 4_MASK_SMOKEY,{
mes "I do not recommend.";
close;
} else if (malang_bad_guys == 6) {
- if (countitem(6427) == 0) {
+ if (countitem(Bad_Can_Sack) == 0) {
mes "[Awfully Suspious Dealer]";
mes "You searched the lounge of ship Navi?";
mes "But still nothing in hand.";
@@ -3390,7 +3390,7 @@ mal_in02,184,72,3 script Gozangee#ml 4_CAT_SAILOR4,{
mal_in02,184,77,0 script #ml3 -1,2,2,{
OnTouch:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items. -";
close;
}
@@ -3411,7 +3411,7 @@ OnTouch:
erasequest 1149;
setquest 1150;
malang_bad_guys = 6;
- getitem 6427,1; //Bad_Can_Sack
+ getitem Bad_Can_Sack,1;
close;
} else if (malang_bad_guys == 6) {
mes "I saw a sack of bad cans.";
@@ -3424,7 +3424,7 @@ OnTouch:
}
malangdo,125,147,3 script Patrol Leader#ml 4_CAT_SAILOR2,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Can't go next step due to having too many items. -";
close;
}
@@ -3557,7 +3557,7 @@ malangdo,3,1,3 script Guidance for quest#ml 4_MASK_SMOKEY,{
case 4:
mes "[Helper]";
mes "Owing?";
- getitem 6426,30; //Bad_Can
+ getitem Bad_Can,30;
close;
case 5:
mes "[Helper]";
@@ -3576,7 +3576,7 @@ malangdo,3,1,3 script Guidance for quest#ml 4_MASK_SMOKEY,{
//== Clean the Ship :: mal_day_qook ========================
mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -3819,7 +3819,7 @@ mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{
mes "So let me see you everyday from provided cat's ship biscuit tomorrow.";
mes "You did good job. This is a token of thanks.";
mal_qook = 6;
- getitem 12636,30; //Malang_Sp_Can
+ getitem Malang_Sp_Can,30;
getexp 80000,80000;
setquest 7267;
close;
@@ -3932,7 +3932,7 @@ mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{
erasequest 7274;
erasequest 7275;
getexp 30000,40000;
- getitem 12636,10; //Malang_Sp_Can
+ getitem Malang_Sp_Can,10;
close;
}
mes "[Cleanyang]";
@@ -3961,7 +3961,7 @@ mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{
}
mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -3998,7 +3998,7 @@ mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{
case 2: monster "mal_in02",29,65,"Quick Dark Shadow",2209,1;
}
setquest 7261;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
next;
if (questprogress(7261) && questprogress(7262) && questprogress(7263)) {
mes "I guess I searched pretty enough.";
@@ -4028,7 +4028,7 @@ mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{
case 2: monster "mal_in02",29,65,"Quick Dark Shadow",2209,1;
}
setquest 7261;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "It used to be habitat of insects because someone left cat's ship biscuit.";
@@ -4040,7 +4040,7 @@ mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{
}
mal_in02,183,49,0 script #MeetingFloor4 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4066,7 +4066,7 @@ mal_in02,183,49,0 script #MeetingFloor4 CLEAR_NPC,{
case 1: monster "mal_in02",184,50,"Quick Dark Shadow",2209,1;
}
setquest 7263;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
if (mal_qook == 1) {
next;
if (questprogress(7261) && questprogress(7262) && questprogress(7263)) {
@@ -4087,7 +4087,7 @@ mal_in02,183,49,0 script #MeetingFloor4 CLEAR_NPC,{
}
mal_in02,103,22,0 script #MalBed5 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4106,7 +4106,7 @@ mal_in02,103,22,0 script #MalBed5 CLEAR_NPC,{
emotion e_omg;
monster "mal_in02",102,23,"Quick Dark Shadow",2209,1;
setquest 7262;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
if (mal_qook == 1) {
next;
if (questprogress(7261) && questprogress(7262) && questprogress(7263)) {
@@ -4132,7 +4132,7 @@ mal_in02,103,22,0 script #MalBed5 CLEAR_NPC,{
}
malangdo,141,178,0 script #Darkweed6 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4151,7 +4151,7 @@ malangdo,141,178,0 script #Darkweed6 CLEAR_NPC,{
emotion e_omg;
monster "malangdo",141,178,"Quick Dark Shadow",2209,1;
setquest 7269;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
case 2:
mes "I searched under the chair in rest area, but I didn't find any problem.";
@@ -4169,7 +4169,7 @@ malangdo,141,178,0 script #Darkweed6 CLEAR_NPC,{
}
malangdo,133,134,0 script Strange Pile of Sand#7 4_SOIL,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4199,7 +4199,7 @@ malangdo,133,134,0 script Strange Pile of Sand#7 4_SOIL,{
getmapxy(.@map$,.@x,.@y,1);
monster .@map$,.@x,.@y,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
}
@@ -4213,7 +4213,7 @@ malangdo,133,134,0 script Strange Pile of Sand#7 4_SOIL,{
malangdo,197,237,0 duplicate(Strange Pile of Sand#7) Strange Pile of Sand#12 4_SOIL
malangdo,232,131,0 script #UnderStairs8 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4232,7 +4232,7 @@ malangdo,232,131,0 script #UnderStairs8 CLEAR_NPC,{
emotion e_omg;
monster "malangdo",231,130,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "Sometimes, someone played with pulling people's ankle under the stairs";
@@ -4247,7 +4247,7 @@ malangdo,232,131,0 script #UnderStairs8 CLEAR_NPC,{
}
mal_in01,74,20,0 script #CornerTower9 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4266,7 +4266,7 @@ mal_in01,74,20,0 script #CornerTower9 CLEAR_NPC,{
emotion e_omg;
monster "mal_in01",73,19,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "We already collected buried cat's ship biscuit.";
@@ -4278,7 +4278,7 @@ mal_in01,74,20,0 script #CornerTower9 CLEAR_NPC,{
}
mal_in01,159,225,0 script #CornerLocker10 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4297,7 +4297,7 @@ mal_in01,159,225,0 script #CornerLocker10 CLEAR_NPC,{
emotion e_omg;
monster "mal_in01",159,225,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "We already collected buried cat's ship biscuit.";
@@ -4309,7 +4309,7 @@ mal_in01,159,225,0 script #CornerLocker10 CLEAR_NPC,{
}
mal_in01,24,72,0 script #FootholdTower11 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4328,7 +4328,7 @@ mal_in01,24,72,0 script #FootholdTower11 CLEAR_NPC,{
emotion e_omg;
monster "mal_in01",24,71,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "There is mark that shows something used to be jammed in gap of foothold in very bottom of cat tower.";
@@ -4342,7 +4342,7 @@ mal_in01,24,72,0 script #FootholdTower11 CLEAR_NPC,{
//== Help Chef Nyas :: mal_day_qook ========================
mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4466,7 +4466,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
mes "Maybe need more time.";
close;
} else if (mal_qook == 4) {
- if (countitem(577) >= 10 && countitem(7454) > 0) {
+ if (countitem(Grain) >= 10 && countitem(Plain_Sauce) > 0) {
mes "[Chef Nyas]";
mes "Finally here. Wow, this land is pretty different.";
mes "That is enough to process.";
@@ -4474,8 +4474,8 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
mes "[Chef Nyas]";
mes "If you are ok, I want to get these food everyday.";
mes "If you don't mind, just come back tomorrow.";
- delitem 577,10; //Grain
- delitem 7454,1; //Plain_Sauce
+ delitem Grain,10;
+ delitem Plain_Sauce,1;
mal_qook = 5;
erasequest 7266;
setquest 7276;
@@ -4613,13 +4613,13 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
setarray .@StartID[0],12061,12091,12041,12071,12056,12086,12051,12081,12046,12076,12066,12096,12429,12434;
.@food = .@StartID[(.@i-1)/5]+((.@i-1)%5);
- if (countitem(577) >= 10 && countitem(7454) > 0 && countitem(.@food) > 0) {
+ if (countitem(Grain) >= 10 && countitem(Plain_Sauce) > 0 && countitem(.@food) > 0) {
mes "[Chef Nyas]";
mes "Great.";
mes "This is that food!";
mes "It will be good reference. Well done.";
- delitem 577,10; //Grain
- delitem 7454,1; //Plain_Sauce
+ delitem Grain,10;
+ delitem Plain_Sauce,1;
delitem .@food,1;
setquest 7276;
mal_food = 0;
@@ -4628,7 +4628,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
// Quantities grouped in 10s repeating.
// [ 3, 3, 6, 6, 9, 9, 12, 12, 15, 18 ]
// Last group [ 61 - 66 ] receives 25 constant.
- getitem 6422, ((.@i < 61)?((.@i%10)?3*(((.@i%10)+1)/2):18):25); //Egrade_Coin
+ getitem Egrade_Coin, ((.@i < 61)?((.@i%10)?3*(((.@i%10)+1)/2):18):25);
getexp 50000,80000;
next;
@@ -4656,7 +4656,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
//== Play with Baby Cats :: mal_nyadventurer ===============
malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) {
mes "- You have too many items to proceed in this quest. -";
close;
}
@@ -4752,7 +4752,7 @@ malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{
mes "Rato seems to be in brown study.";
close;
} else if (nyadven == 13) {
- if (countitem(6430) < 6) {
+ if (countitem(Picture_Piece) < 6) {
mes "You didn't bring the pieces of the painting.";
mes "Please take it with you.";
close;
@@ -4782,9 +4782,9 @@ malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{
mes "[Rato]";
mes "It's very kind of you to play with the kids.";
mes "This is for you.";
- delitem 6430,6; //Picture_Piece
+ delitem Picture_Piece,6;
nyadven = 14;
- getitem 6422,100; //Egrade_Coin
+ getitem Egrade_Coin,100;
completequest 7259;
next;
mes "[Rato]";
@@ -4816,7 +4816,7 @@ malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{
}
malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) {
mes "- You have too many items to proceed in this quest. -";
close;
}
@@ -4853,7 +4853,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
next;
switch(select("I have a spare Glass Bead!:Why are you guys staring at me?")) {
case 1:
- if (countitem(746) == 0) {
+ if (countitem(Glass_Bead) == 0) {
mes "[Roku]";
mes "There is no glass bead.";
mes "Don't lie to us.";
@@ -4887,9 +4887,9 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "you would clear all Nyadventures";
mes "made by the Meow Bravery Team!";
mes "Challenge it whenever you want to!";
- delitem 746,1; //Glass_Bead
+ delitem Glass_Bead,1;
nyadven = 2;
- getitem 12636,30; //Malang_Sp_Can
+ getitem Malang_Sp_Can,30;
close;
case 2:
mes "[Rosy]";
@@ -4933,7 +4933,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "Got Adventure Card from the yellow cat Charo.";
mes "It seems to work if I put this card in the slot in the Beginning Compass.";
nyadven = 3;
- getitem 6428,1; //Bravery_Card_A
+ getitem Bravery_Card_A,1;
changequest 7242,7243;
next;
mes "[Charo]";
@@ -4975,7 +4975,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "Ring the New bell!^000000";
close;
} else if (nyadven == 4) {
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "[Charo]";
mes "Where is your Adventure Card?";
mes "You should bring it with you.";
@@ -5008,7 +5008,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "And this island could explode!";
mes "Oh, you might shut your eyes to the fact.";
mes "Give the Adventure Card back!";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
nyadven = 5;
erasequest 7243;
close;
@@ -5023,9 +5023,9 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "It shouldn't happen that the detective misunderstands you as an enemy!";
next;
mes "- Changed Adventure Card A into Adventure Card B. -";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
nyadven = 6;
- getitem 6429,1; //Bravery_Card_B
+ getitem Bravery_Card_B,1;
setquest 7246;
erasequest 7243;
next;
@@ -5051,7 +5051,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
next;
mes "- Changed Adventure Card A into Adventure Card B. -";
nyadven = 6;
- getitem 6429,1; //Bravery_Card_B
+ getitem Bravery_Card_B,1;
setquest 7246;
next;
mes "[Charo]";
@@ -5077,7 +5077,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "Let me see it quickly!";
mes "Take it out!";
next;
- if (countitem(6430) < 6) {
+ if (countitem(Picture_Piece) < 6) {
mes "[Charo]";
mes "What? You don't have it?";
mes "It can't be true.";
@@ -5215,7 +5215,7 @@ malangdo,214,204,3 script [Meow Team] Rosy#nya_09 4_CAT_ADV1,{
}
malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) {
mes "- You have too many items to proceed in this quest. -";
close;
}
@@ -5245,7 +5245,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
next;
switch(select("Report results of the race.:Challenge the race.:Nothing.")) {
case 1:
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "[Roku]";
mes "Bubi, no confirmation stamps and card.";
mes "You will be in trouble if you are like this.";
@@ -5261,9 +5261,9 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "[Roku]";
mes "Charo likes you so much.";
mes "He will be happy if you come.";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
nyadven02 = 29;
- getitem 6422,3; //Egrade_Coin
+ getitem Egrade_Coin,3;
getexp 20000,20000;
erasequest 7244;
erasequest 7245;
@@ -5273,13 +5273,13 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "Failed...";
mes "...is it too difficult for you?";
mes "But the race is available only once a day.";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
erasequest 7244;
erasequest 7245;
next;
switch(select("Give me one more chance!:Okay.I will try tomorrow.")) {
case 1:
- if (countitem(12636) == 0) {
+ if (countitem(Malang_Sp_Can) == 0) {
mes "[Roku]";
mes "Um... Um... Well...";
mes "If you bring a Malangdo Can,";
@@ -5291,7 +5291,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
next;
switch(select("Exchange for Adventure Card A.:Stop it.")) {
case 1:
- if (countitem(6428)) {
+ if (countitem(Bravery_Card_A)) {
mes "[Roku]";
mes "You have it already?";
close;
@@ -5299,8 +5299,8 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "[Roku]";
mes "Here is your Adventure Card.";
mes "Beginning Compass, start!";
- delitem 12636,1; //Malang_Sp_Can
- getitem 6428,1; //Bravery_Card_A
+ delitem Malang_Sp_Can,1;
+ getitem Bravery_Card_A,1;
nyadven02 = 0;
if (questprogress(7257))
erasequest 7257;
@@ -5334,7 +5334,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "[Roku]";
mes "Is this because of the machine?";
mes "Let's make void for this race.";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
nyadven02 = 0;
erasequest 7244;
erasequest 7245;
@@ -5367,12 +5367,12 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
next;
switch(select("Buy Adventure Card.:Just stop it.")) {
case 1:
- if (countitem(6428)) {
+ if (countitem(Bravery_Card_A)) {
mes "[Roku]";
mes "You have it already?";
close;
}
- if (countitem(12636) == 0) {
+ if (countitem(Malang_Sp_Can) == 0) {
mes "[Roku]";
mes "There is nothing for free.";
mes "You need a Malangdo Can.";
@@ -5381,8 +5381,8 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "[Roku]";
mes "Here is your Adventure Card.";
mes "Beginning Compass, start!";
- delitem 12636,1; //Malang_Sp_Can
- getitem 6428,1; //Bravery_Card_A
+ delitem Malang_Sp_Can,1;
+ getitem Bravery_Card_A,1;
nyadven02 = 0;
close;
case 2:
@@ -5398,7 +5398,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
}
malangdo,212,204,0 script Beginning Compass#nya_02 CLEAR_NPC,{
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "There is a strange machine.";
mes "The kids said this was the ride called Duruduru compass of the Meow Bravery Team.";
close;
@@ -5482,7 +5482,7 @@ L_Viewpoint:
}
- script #malangdo_compass -1,{
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "There is a strange machine.";
mes "This is the Duruduru compass from the Meow Bravery Team.";
close;
@@ -5596,7 +5596,7 @@ malangdo,153,146,0 duplicate(#malangdo_compass) Forest Compass#4 CLEAR_NPC
malangdo,111,178,0 duplicate(#malangdo_compass) Cloud Compass#5 CLEAR_NPC
malangdo,175,163,0 script Meowbell#nya_12 CLEAR_NPC,{
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "There is a fancy bell which doesn't fit in with the ship.";
mes "This bell is used in a game by the Meow Bravery Team.";
viewpoint 2,1,1,0,0xFFFFFF;
@@ -5844,7 +5844,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
next;
switch(select("Buy Adventure Card.:Do not buy.")) {
case 1:
- if (countitem(12636) == 0) {
+ if (countitem(Malang_Sp_Can) == 0) {
mes "[Homnya]";
mes "I said I can exchange Adventure Card with one Malango Can~";
close2;
@@ -5854,9 +5854,9 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
mes "See, this is a scary machine.";
mes "Here is your Adventure Card.";
mes "Stop this machine this time.";
- delitem 12636,1; //Malang_Sp_Can
+ delitem Malang_Sp_Can,1;
nyadven = 7;
- getitem 6429,1; //Bravery_Card_B
+ getitem Bravery_Card_B,1;
close2;
break;
case 2:
@@ -5919,7 +5919,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
mes "Come here right after you find treasure!";
close2;
} else if (nyadven == 11) {
- if (countitem(6430) > 5) {
+ if (countitem(Picture_Piece) > 5) {
mes "[Homnya]";
mes "You've found all the treasure.";
mes "Yes, exactly.";
@@ -5964,7 +5964,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
next;
mes "[Nyangson]";
mes "Go get the treasure again!";
- delitem 6430,countitem(6430); //Picture_Piece
+ delitem Picture_Piece,countitem(Picture_Piece);
erasequest 7251;
erasequest 7252;
erasequest 7253;
@@ -5985,7 +5985,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
mes "It's good to take a break for little bit but now we don't have any spare time.";
close2;
} else {
- if (countitem(6429) > 0) {
+ if (countitem(Bravery_Card_B) > 0) {
mes "[Homnya]";
mes "Stop this noisy machine!";
mes "Insert your Adventure Card, and take a look at the reaction of the machine carefully. Then do the proper action!";
@@ -6033,7 +6033,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
next;
switch(select("Buy Adventure Card B.:Don't buy it.")) {
case 1:
- if (countitem(12636) == 0) {
+ if (countitem(Malang_Sp_Can) == 0) {
mes "[Homnya]";
mes "How many Malangdo Cans for an Adventure Card?";
next;
@@ -6049,8 +6049,8 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
next;
mes "[Nyangson]";
mes "Please do it.";
- delitem 12636,1; //Malang_Sp_Can
- getitem 6429,1; //Bravery_Card_B
+ delitem Malang_Sp_Can,1;
+ getitem Bravery_Card_B,1;
close2;
break;
case 2:
@@ -6123,7 +6123,7 @@ malangdo,174,175,0 script Noisy Machine#nya_13 CLEAR_NPC,{
mes "We also have break time...";
close;
}
- if (countitem(6429) == 0) {
+ if (countitem(Bravery_Card_B) == 0) {
mes "[Homnya]";
mes "You can't try this without Adventure Card B.";
mes "Please bring it with you.";
@@ -6176,9 +6176,9 @@ malangdo,174,175,0 script Noisy Machine#nya_13 CLEAR_NPC,{
nyadven = 9;
erasequest 7247;
}
- delitem 6429,1; //Bravery_Card_B
+ delitem Bravery_Card_B,1;
setquest 7249;
- getitem 6422,3; //Egrade_Coin
+ getitem Egrade_Coin,3;
getexp 20000,20000;
next;
if (nyadven == 9) {
@@ -6283,7 +6283,7 @@ L_ShowLights:
cutin "",255;
mes "Adventure Card B burned off";
mes "with a huge explosion.";
- delitem 6429,1; //Bravery_Card_B
+ delitem Bravery_Card_B,1;
if (nyadven == 7)
nyadven = 8;
close;
@@ -6311,7 +6311,7 @@ L_ShowLights:
// 3 - Player has already found the picture piece.
// null - Success.
function script F_Mal_Picture {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) {
mes "- You have too many items to proceed in this quest. -";
close;
}
@@ -6328,7 +6328,7 @@ function script F_Mal_Picture {
mes getarg(4);
mes "You found a piece of the painting.";
setquest getarg(0);
- getitem 6430,1; //Picture_Piece
+ getitem Picture_Piece,1;
next;
if (questprogress(7251) && questprogress(7252) && questprogress(7253) && questprogress(7254) && questprogress(7255) && questprogress(7256)) {
mes "It looks like you can put these pieces of paintings together.";
@@ -6526,7 +6526,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -6970,7 +6970,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
mes "Heh~";
malang_gamer = 11;
erasequest 5068;
- getitem 6422,100; //Egrade_Coin
+ getitem Egrade_Coin,100;
next;
mes "[Cat Gamers Director]";
mes "Heh~ Please come back if you change your mind.";
@@ -6993,7 +6993,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
malang_gamer = 12;
erasequest 5068;
setquest 5069;
- getitem 6422,100; //Egrade_Coin
+ getitem Egrade_Coin,100;
next;
mes "[Cat Gamers Director]";
mes "Heh~ Ok, "+strcharinfo(0)+". I will see you in an hour. Heh~";
@@ -7062,7 +7062,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
mes "Heh~ Take this and show us what you've got.";
erasequest 5069;
malang_gamer = 20;
- getitem 2872,1; //G_Honor_Certificate
+ getitem G_Honor_Certificate,1;
next;
mes "[Cat Gamers Director]";
mes "Heh~ I may be worrying too much... But, please wear this '^0000FFCat Gamers Certificate^000000', and play the game. Heh~";
@@ -7146,8 +7146,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
if (questprogress(5074,HUNTING)) {
mes "Heh~ It's not like I didn't feed them right... Heh~ I hope it was not too much for you, "+strcharinfo(0)+".";
next;
- if (questprogress(5074,HUNTING) == 2 && countitem(1023) >= 10) {
- delitem 1023,10; //Fish_Tail
+ if (questprogress(5074,HUNTING) == 2 && countitem(Fish_Tail) >= 10) {
+ delitem Fish_Tail,10;
callsub L_CompleteQuest,5074,
"Heh~ So, you brought 30 Phens and 10 Fish Tails, just as ordered.";
} else {
@@ -7158,8 +7158,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5075,HUNTING)) {
mes "Heh~ Hmm, 50 Marses, and 30 Milk Bottles... Heh~";
next;
- if (questprogress(5075,HUNTING) == 2 && countitem(519) >= 30) {
- delitem 519,30; //Milk
+ if (questprogress(5075,HUNTING) == 2 && countitem(Milk) >= 30) {
+ delitem Milk,30;
callsub L_CompleteQuest,5075,
"Heh~ Guess they wanted some healthy food. Heh~ They should have just told me... Let me show you my skills. Heh~";
} else {
@@ -7204,8 +7204,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5079)) {
mes "Heh~ Hmm... let me see... Heh~ That's right, I was worrying about our team getting so nervous before the actual game... But, they won't even talk to me about it.";
next;
- if (countitem(7038) >= 20) {
- delitem 7038,20; //Yarn
+ if (countitem(Yarn) >= 20) {
+ delitem Yarn,20;
callsub L_CompleteQuest,5079,
"Heh~ How could I miss that? I shall give some to my team for sure.";
} else {
@@ -7216,8 +7216,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5080)) {
mes "Heh~ The note says, get me 30 Rat Tails for a snack.";
next;
- if (countitem(1016) >= 30) {
- delitem 1016,30; //Rat_Tail
+ if (countitem(Rat_Tail) >= 30) {
+ delitem Rat_Tail,30;
callsub L_CompleteQuest,5080,
"Heh~ I think I've fed them good snacks... Didn't I? Lately I was little busy, they should have some patience... Heh~ Poor manager...";
} else {
@@ -7228,8 +7228,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5081)) {
mes "Heh~ It says 5 on the note... 5 of what? What?! Lemons?";
next;
- if (countitem(568) >= 5) {
- delitem 568,5; //Lemon
+ if (countitem(Lemon) >= 5) {
+ delitem Lemon,5;
callsub L_CompleteQuest,5081,
"Heh~ Lemon is forbidden before the actual game... heh? They won't eat it at game time, right? Heh~";
} else {
@@ -7240,12 +7240,12 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5082)) {
mes "Heh~ Give us 10 Ice Pieces or 10 Ice Creams!! Heh~ I personally prefer Ice Cream, just so you know.";
next;
- if (countitem(7066) >= 10) {
- delitem 7066,10; //Ice_Piece
+ if (countitem(Ice_Piece) >= 10) {
+ delitem Ice_Piece,10;
callsub L_CompleteQuest,5082,
"Heh~ Oh, you brought Ice Pieces. Heh~ The players will love it.";
- } else if (countitem(536) >= 10) {
- delitem 536,10; //Ice_Cream
+ } else if (countitem(Ice_Cream) >= 10) {
+ delitem Ice_Cream,10;
callsub L_CompleteQuest,5082,
"Heh~ Oh, you brought Ice Creams. Heh~ The players will love it.";
} else {
@@ -7305,7 +7305,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
// callsub L_CompleteQuest,<quest ID>,"<message>";
L_CompleteQuest:
erasequest getarg(0);
- getitem 12636,3; //Malang_Sp_Can
+ getitem Malang_Sp_Can,3;
mes "[Cat Gamers Director]";
mes getarg(1);
next;
@@ -7320,7 +7320,7 @@ malangdo,127,111,4 script Strange Cat#gamer 4_CAT_SAILOR4,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -7612,7 +7612,7 @@ malangdo,161,197,4 script Eryu#gamer 4_CAT,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -7828,7 +7828,7 @@ malangdo,230,197,4 script Stew#gamer 4_CAT_3COLOR,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8057,7 +8057,7 @@ malangdo,244,144,4 script Ketchup#gamer 4_CAT_SAILOR3,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8246,7 +8246,7 @@ malangdo,181,119,7 script Eff#gamer 4_CAT_ADV2,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8507,7 +8507,7 @@ mal_in01,91,216,4 script Ser#gamer 4_CAT_SAILOR1,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8522,7 +8522,7 @@ mal_in01,91,216,4 script Ser#gamer 4_CAT_SAILOR1,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[Ser]";
mes "You seem like a first timer! Where did you get the certificate? Someone lost it, I guess.";
close;
@@ -8681,9 +8681,9 @@ mal_in01,91,216,4 script Ser#gamer 4_CAT_SAILOR1,{
mes "Good bye~ Come back tomorrow for more practice~";
if (.@win == 5) {
mes "Oh! You won all 5 matches. Here are some more extra Cans.";
- getitem 12636,10; //Malang_Sp_Can
+ getitem Malang_Sp_Can,10;
} else
- getitem 12636,5; //Malang_Sp_Can
+ getitem Malang_Sp_Can,5;
setquest 5070;
close;
}
@@ -8851,7 +8851,7 @@ mal_in01,86,222,4 script Paa#gamer 4_CAT_SAILOR1,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8866,7 +8866,7 @@ mal_in01,86,222,4 script Paa#gamer 4_CAT_SAILOR1,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[Paa]";
mes "You seem like a first timer meow! Where did you get the certificate meow? Someone lost it, I guess meow.";
close;
@@ -9013,9 +9013,9 @@ mal_in01,86,222,4 script Paa#gamer 4_CAT_SAILOR1,{
mes "Good bye meow~ Come back tomorrow for more practice meow~";
if (.@win == 5) {
mes "Oh! You won all 5 matches meow. Here are some more extra Cans meow!";
- getitem 12636,10; //Malang_Sp_Can
+ getitem Malang_Sp_Can,10;
} else
- getitem 12636,5; //Malang_Sp_Can
+ getitem Malang_Sp_Can,5;
setquest 5070;
close;
}
@@ -9181,7 +9181,7 @@ mal_in01,91,222,4 script Kuka#gamer 4_M_BABYCAT,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -9196,7 +9196,7 @@ mal_in01,91,222,4 script Kuka#gamer 4_M_BABYCAT,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[Kuka]";
mes "You seem like a first timer yo~ Where did you get the certificate yo~ You better give that back yo~";
close;
@@ -9348,14 +9348,14 @@ mal_in01,91,222,4 script Kuka#gamer 4_M_BABYCAT,{
mes "[Kuka]";
mes "I'll give you 1 random coin pocket as a special present yo~ Well done yo~ Come back tomorrow yo~";
setquest 5071;
- getitem 12636, .@cans; //Malang_Sp_Can
- getitem 12621,1; //Egrade_Pocket
+ getitem Malang_Sp_Can, .@cans;
+ getitem Egrade_Pocket,1;
close;
} else {
mes "[Kuka]";
mes "Congrats yo~ For winning "+.@win+" times I'll give you "+.@cans+" cans yo~ Well done yo~ Come back tomorrow yo~";
setquest 5071;
- getitem 12636, .@cans; //Malang_Sp_Can
+ getitem Malang_Sp_Can, .@cans;
close;
}
}
@@ -9503,7 +9503,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -9515,7 +9515,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[KungKung]";
mes "You are not qualified. Hmm... I am not sure how you got this, but we cannot practice with you. Go back.";
close;
@@ -9755,7 +9755,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{
mes "Hmm... That wasn't necessary, I guess.";
mes "This is for you, Human!";
setquest 5072;
- getitem 12636,5; //Malang_Sp_Can
+ getitem Malang_Sp_Can,5;
next;
mes "[KungKung]";
mes "Come again tomorrow. I will beat you next time.";
@@ -9921,7 +9921,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -9933,7 +9933,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[Leader]";
mes "Not everyone can challenge just because they have the certificate.";
close;
@@ -10242,7 +10242,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{
if (.@you_flag == 1 && .@cat_flags_waved == 0) {
setquest 5073;
if (.@flag_point_cat[1]+.@flag_point_cat[2]+.@flag_point_cat[3]+.@flag_point_cat[4]+.@flag_point_cat[5] < 5) {
- getitem 12636,3; //Malang_Sp_Can
+ getitem Malang_Sp_Can,3;
mes "[Leader]";
mes "Congratulations. You have won the Flag-Waving Game.";
next;
@@ -10256,7 +10256,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{
case 3: .@cans = 15; break;
case 4: .@cans = 20; break;
}
- getitem 12636, .@cans; //Malang_Sp_Can
+ getitem Malang_Sp_Can, .@cans;
mes "[Leader]";
mes "Congratulations. You have won the Flag-Waving Game. "+.@cans+" Canned Foods will be given as the present.";
}
@@ -10525,7 +10525,7 @@ malangdo,234,153,6 script Notice Board#mal 2_BULLETIN_BOARD,{
mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You are carrying too many items, please reduce them and come back!";
close;
}
@@ -10678,7 +10678,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{
mes "Oh... you have unequipped the Archangel Wing!";
close;
}
- if (countitem(6417) < 3) {
+ if (countitem(Silvervine) < 3) {
mes "[Fallen Angel]";
mes "I can't do it if you can't pay!";
close;
@@ -10690,7 +10690,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{
}
.@equip_refine = getequiprefinerycnt(EQI_GARMENT);
setarray .@equip_card[0], getequipcardid(EQI_GARMENT,0),getequipcardid(EQI_GARMENT,1),getequipcardid(EQI_GARMENT,2);
- delitem 6417,3; //Silvervine
+ delitem Silvervine,3;
delequip EQI_GARMENT;
getitem2 2573,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],0; //Archangel_Wing
mes "[Fallen Angel]";
diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt
index bf7fb03d2..b125b4e3a 100644
--- a/npc/re/quests/quests_malaya.txt
+++ b/npc/re/quests/quests_malaya.txt
@@ -42,7 +42,7 @@
//== Cautious Village & Daily Quests :: hi_malaya ==========
malaya,266,76,3 script Rodel the Guard#malaya 4_MAL_SOLDIER,4,4,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -162,9 +162,9 @@ malaya,266,76,3 script Rodel the Guard#malaya 4_MAL_SOLDIER,4,4,{
mes "[Rodel the Guard]";
mes "I think there will be more Jejeling hunts in the future. Please join us again next time.";
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
erasequest 7404;
setquest 7405;
@@ -198,7 +198,7 @@ OnInit:
}
malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -452,7 +452,7 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
setquest 7397;
close;
} else if (malaya_diwata == 3) {
- if ((countitem(6509) < 3) || (countitem(6510) < 3) && (countitem(6511) < 3)) {
+ if ((countitem(Mysterious_Flower) < 3) || (countitem(Elegant_Flower) < 3) && (countitem(Beautiful_Flower) < 3)) {
mes "[Phong in Mumbaki]";
mes "There are ^4d4dff3 Mystic Flowers, 3 Elegant Flowers, 3 Pretty Flowers^000000.";
mes "Do you understand?";
@@ -473,10 +473,10 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
mes "[Phong in Mumbaki]";
mes "Now, deliver this to that child.";
mes "I hope she opens her heart with this and becomes willing to talk to you.";
- delitem 6509, 3; // Mysterious_Flower
- delitem 6510, 3; // Elegant_Flower
- delitem 6511, 3; // Beautiful_Flower
- getitem 6506, 1; // Memorial_Bouquet
+ delitem Mysterious_Flower, 3; // Mysterious_Flower
+ delitem Elegant_Flower, 3; // Elegant_Flower
+ delitem Beautiful_Flower, 3; // Beautiful_Flower
+ getitem Offering_Bouquet, 1; // Memorial_Bouquet
malaya_diwata = 4;
erasequest 7397;
setquest 7398;
@@ -504,14 +504,14 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
mes "A tribute must be sincere. Don't forget that.";
close;
}
- if (countitem(6506) > 0) {
+ if (countitem(Offering_Bouquet) > 0) {
mes "[Phong in Mumbaki]";
mes "Isn't it already made?";
mes "What is that in your hand?";
mes "Why are you standing around here? Go and give out those flowers.";
close;
}
- if ((countitem(6509) < 3) || (countitem(6510) < 3) || (countitem(6511) < 3)) {
+ if ((countitem(Mysterious_Flower) < 3) || (countitem(Elegant_Flower) < 3) || (countitem(Beautiful_Flower) < 3)) {
mes "[Phong in Mumbaki]";
mes "Going to Diwata?";
mes "You need Mysterious Flowers, Elegant Flowers and Beautiful Flowers, 3 of each, okay?";
@@ -525,17 +525,17 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
mes "[Phong in Mumbaki]";
mes "Hey, here's the Bouquet.";
mes "Make offerings with your soul and wish for a fruitful day.";
- delitem 6509, 3; // Mysterious_Flower
- delitem 6510, 3; // Elegant_Flower
- delitem 6511, 3; // Beautiful_Flower
- getitem 6506, 1; // Memorial_Bouquet
+ delitem Mysterious_Flower, 3; // Mysterious_Flower
+ delitem Elegant_Flower, 3; // Elegant_Flower
+ delitem Beautiful_Flower, 3; // Beautiful_Flower
+ getitem Offering_Bouquet, 1; // Memorial_Bouquet
close;
}
}
}
malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -627,7 +627,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
close;
}
} else if (malaya_hi == 21) {
- if ((countitem(6501) < 6) || (countitem(6500) < 6) || (countitem(6502) < 6)) {
+ if ((countitem(Salt_Bag) < 6) || (countitem(Sharp_Bamboo) < 6) || (countitem(Silver_Cross) < 6)) {
mes "[Imelda]";
mes "I'll approve you as worthy if you bring all the materials for the Spiritual Protection!";
next;
@@ -646,9 +646,9 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
mes "Now I'm going through the holy ritual to make a traditional Spiritual Protection.";
mes "Give them to me! And don't bother me during the process!";
malaya_hi = 22;
- delitem 6500, 6; // Sharp_Bamboo
- delitem 6501, 6; // Salt_Bag
- delitem 6502, 6; // Silver_Cross
+ delitem Sharp_Bamboo, 6; // Sharp_Bamboo
+ delitem Salt_Bag, 6; // Salt_Bag
+ delitem Silver_Cross, 6; // Silver_Cross
erasequest 7366;
setquest 7367;
close;
@@ -672,7 +672,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
mes "Took the Spiritual Protection, despite her ridiculous logic and vigor.";
mes "Let's give them to the villagers.";
malaya_hi = 23;
- getitem 6503, 6; // Soul_Protection
+ getitem Soul_Protection, 6; // Soul_Protection
erasequest 7367;
setquest 7368;
setquest 7369;
@@ -715,9 +715,9 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
erasequest 7379;
setquest 7375;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (rand(2))
$malayaNames$[0] = strcharinfo(0);
@@ -731,7 +731,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
switch (select("I'll help you making Spiritual Protections.:Love and Spiritual Protection for all.")) {
case 1:
if (questprogress(7380)) {
- if ((countitem(6501) < 6) || (countitem(6502) < 6) || (countitem(6500) < 6)) {
+ if ((countitem(Salt_Bag) < 6) || (countitem(Silver_Cross) < 6) || (countitem(Sharp_Bamboo) < 6)) {
mes "[Imelda]";
mes "Materials for making a Spiritual Protection are";
mes "Salt Bags, Silver Crosses and Sharpened Bamboos, 6 of each.";
@@ -747,15 +747,15 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
mes "[Imelda]";
mes "It'll be nice if you could help again tomorrow.";
mes "Here's something for your trouble.";
- delitem 6500, 6; // Sharp_Bamboo
- delitem 6501, 6; // Salt_Bag
- delitem 6502, 6; // Silver_Cross
+ delitem Sharp_Bamboo, 6; // Sharp_Bamboo
+ delitem Salt_Bag, 6; // Salt_Bag
+ delitem Silver_Cross, 6; // Silver_Cross
erasequest 7380;
setquest 7381;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
close;
} else {
@@ -821,9 +821,9 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
erasequest 7374;
erasequest 7379;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (rand(2))
$malayaNames$[0] = strcharinfo(0);
@@ -859,7 +859,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
setquest 7371;
setquest 7372;
setquest 7373;
- getitem 6503, 6; // Soul_Protection
+ getitem Soul_Protection, 6; // Soul_Protection
close;
} else {
mes "[Imelda]";
@@ -894,7 +894,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
setquest 7371;
setquest 7372;
setquest 7373;
- getitem 6503, 6; // Soul_Protection
+ getitem Soul_Protection, 6; // Soul_Protection
close;
} else {
mes "[Imelda]";
@@ -912,7 +912,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
}
malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -972,7 +972,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "I'm sorry I ignored you.";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -986,8 +986,8 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "...Peace is always good. Yes.";
next;
mes "- Gave Holy Water and Blue Gemstone to Old Man Nardo.-";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7360;
completequest 7360;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1044,7 +1044,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
close;
case 2:
if (questprogress(7374) && questprogress(7369)) {
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere's no Spiritual Protection to give to the Old Man.^000000";
close;
}
@@ -1054,7 +1054,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "I am always in your and Imelda's debt.";
next;
mes "-Delivered the Spiritual Protection to Old Man Nardo.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7369;
setquest 7383;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1106,7 +1106,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
close;
} else {
if (questprogress(7377)) {
- if (countitem(6503) < 5) {
+ if (countitem(Soul_Protection) < 5) {
mes "[Old Man Nardo]";
mes "Did you deliver the cauldron in one piece?";
mes "Kiko in Mumbaki should have given you a Spiritual Protection. Do you have it?";
@@ -1120,13 +1120,13 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "[Old Man Nardo]";
mes "Please stop by again.";
mes "I always prepare the Cast Iron Cauldron needed at Baryo.";
- delitem 6503, 5; // Soul_Protection
+ delitem Soul_Protection, 5; // Soul_Protection
setquest 7378;
erasequest 7377;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[2] = strcharinfo(0);
@@ -1162,7 +1162,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "This is the Cast Iron Cauldron. They have fine blacksmiths in Malaya.";
mes "Deliver this to Kiko in Mumbaki at the nearby town of Baryo Mahiwaga.";
setquest 7376;
- getitem 6504, 5; // Cast_Iron_Caldron
+ getitem Cast_Iron_Caldron, 5; // Cast_Iron_Caldron
close;
case 3:
mes "[Old Man Nardo]";
@@ -1235,7 +1235,7 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{
mes "but I am braver with them.";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -1252,8 +1252,8 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{
mes "Hey... Could you give some for my daughter as well?";
next;
mes "- Gave Romel the prepared Holy Water and Blue Gemstone.-";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7364;
completequest 7364;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1305,7 +1305,7 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{
mes "I'm okay for now.";
close;
}
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere are no Spiritual Protections to give to Romel.^000000";
close;
}
@@ -1315,7 +1315,7 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{
mes "This Spiritual Protection will also protect us.";
next;
mes "- Delivered Romel his Spiritual Protection.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7373;
setquest 7387;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1386,7 +1386,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
mes "Daddy's braver now and that makes Talah stronger too.";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -1401,8 +1401,8 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
mes "Is this stone going to keep Talah safe?";
next;
mes "- Delivered the Holy Water and Blue Gemstone to Talah. -";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7363;
completequest 7363;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1429,7 +1429,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
close;
}
if (questprogress(7374) && questprogress(7372)) {
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere is no Spiritual Protection to give to Talah.^000000";
close;
}
@@ -1440,7 +1440,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
mes "Daddy likes it too.";
next;
mes "- Delivered new Spiritual Protection to Talah.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7372;
setquest 7386;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1469,7 +1469,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
}
malaya,62,274,0 script Sand Trap#malaya 4_SOIL,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -1477,7 +1477,7 @@ malaya,62,274,0 script Sand Trap#malaya 4_SOIL,{
mes "A device to evaporate sea water is buried in the sand...";
close;
}
- if (countitem(6501) >= 6) {
+ if (countitem(Salt_Bag) >= 6) {
mes "There's enough salt.";
close;
}
@@ -1489,7 +1489,7 @@ malaya,62,274,0 script Sand Trap#malaya 4_SOIL,{
progressbar "0xffff00", 5;
disablenpc strnpcinfo(0);
initnpctimer;
- getitem 6501, 1; // Salt_Bag
+ getitem Salt_Bag, 1; // Salt_Bag
mes "[" + strcharinfo(0) + "]";
mes "This should be enough.";
close;
@@ -1503,7 +1503,7 @@ malaya,66,277,0 duplicate(Sand Trap#malaya) Sand Trap#malaya01 4_SOIL
malaya,70,282,0 duplicate(Sand Trap#malaya) Sand Trap#malaya02 4_SOIL
ma_fild01,178,206,0 script Black Bamboo#malaya CLEAR_NPC,4,4,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -1511,7 +1511,7 @@ ma_fild01,178,206,0 script Black Bamboo#malaya CLEAR_NPC,4,4,{
mes "There's a short and black bamboo tree.";
close;
}
- if (countitem(6500) >= 6) {
+ if (countitem(Sharp_Bamboo) >= 6) {
mes "There's enough Sharpened Bamboos...";
close;
}
@@ -1521,7 +1521,7 @@ ma_fild01,178,206,0 script Black Bamboo#malaya CLEAR_NPC,4,4,{
progressbar "0xffff00", 3;
disablenpc strnpcinfo(0);
initnpctimer;
- getitem 6500, 1; //Sharp_Bamboo
+ getitem Sharp_Bamboo, 1;
mes "[" + strcharinfo(0) + "]";
mes "I knew I could do this!";
close;
@@ -1542,7 +1542,7 @@ ma_fild01,180,273,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya04 CLEAR_N
ma_fild01,179,145,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya05 CLEAR_NPC,4,4
malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -1604,7 +1604,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
mes "Isn't that so?";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -1627,8 +1627,8 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
mes "I'll call for you first when a job opens up for you.";
next;
mes "- Gave Woeon the Holy Water and Blue Gemstone.-";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7362;
completequest 7362;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1651,7 +1651,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
next;
if (select("Give Spiritual Protection.:The Dealer and his Collection") == 1) {
if (questprogress(7374) == 1 && questprogress(7371) == 1) {
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere is no Spiritual Protection to give to Woeon.^000000";
close;
}
@@ -1661,7 +1661,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
mes "I'm thankful to you as well, of course.";
next;
mes "-Delivered Spiritual Protection to Woeon.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7371;
setquest 7385;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1723,7 +1723,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
close;
} else {
if (questprogress(7391) == 1) {
- if (countitem(6498) < 30) {
+ if (countitem(Jejellopy) < 30) {
mes "[Woeon]";
mes "Hmm? I don't think you have enough.";
mes "I asked you for 30 Jejellopys. Business is business I'm afraid.";
@@ -1737,13 +1737,13 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
mes "[Woeon]";
mes "So I have all the Jejellopys...";
mes "Come back again!";
- delitem 6498, countitem(6498); //Jejellopy
+ delitem Jejellopy, countitem(Jejellopy);
setquest 7392;
erasequest 7391;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
.@memo_name = rand(1,3);
if (!rand(3))
@@ -1781,7 +1781,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
}
malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -1846,7 +1846,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "Bu... But, I'm too scared...";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -1860,8 +1860,8 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "Yes... Now that I have some of your spirit, I can rest well at night.";
next;
mes "- Gave Pandoi the Holy Water and Blue Gemstone.-";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7361;
completequest 7361;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1909,7 +1909,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "When it wear's out, I'll ask you for another one!";
close;
}
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere is no Spiritual Protection to give to Pandoi.^000000";
close;
}
@@ -1918,7 +1918,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "It's always good to know that you won't see those black things again!";
next;
mes "-Delivered Spiritual Protection to Pandoi.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7370;
setquest 7384;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1949,7 +1949,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
}
.@hunting = questprogress(7393, HUNTING);
if (.@hunting == 2) {
- if (countitem(6508) < 10) {
+ if (countitem(Silver_Bracelet) < 10) {
mes "[Pandoi]";
mes "Where are the Silver Bracelets?";
mes "I know you're invincible...";
@@ -1972,13 +1972,13 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "[Pandoi]";
mes "It's not much, but here's something for the troubles you went through to get the Silver Bracelets.";
mes "If I fail... I'll ask of you the task again!";
- delitem 6508, 10; //Silver_Bracelet
+ delitem Silver_Bracelet, 10;
setquest 7394;
erasequest 7393;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[1] = strcharinfo(0);
@@ -2076,7 +2076,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
.@amount = 1;
case 2:
if (!.@amount) .@amount = 6;
- if (countitem(6508) < (.@amount * 2)) {
+ if (countitem(Silver_Bracelet) < (.@amount * 2)) {
mes "[Pandoi]";
mes "You need at least " + (.@amount * 2) + " Silver Bracelets to make " + .@amount + " Silver " + ((.@amount == 1) ? "Cross" : "Crosses") + ".";
close;
@@ -2099,7 +2099,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "A maximum of 50 at a time!";
close;
}
- if (countitem(6508) < (2 * .@amount)) {
+ if (countitem(Silver_Bracelet) < (2 * .@amount)) {
mes "[Pandoi]";
mes "To make " + .@amount + " Silver " + ((.@amount == 1) ? "Cross" : "Crosses") + ", I need at least " + (2 * .@amount) + " Silver Bracelets.";
close;
@@ -2116,8 +2116,8 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "Pandoi can do it in a jiffy!";
close2;
progressbar "0xffff00", .@time;
- delitem 6508, .@amount * 2; //Silver_Bracelet
- getitem 6502, .@amount; // Silver_Cross
+ delitem Silver_Bracelet, .@amount * 2;
+ getitem Silver_Cross, .@amount; // Silver_Cross
mes "[Pandoi]";
mes "Look at this!";
mes "Very nice indeed.";
@@ -2129,7 +2129,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
}
malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -2202,7 +2202,7 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
mes "Now's the time to charge into my ship...!";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water.^000000";
close;
}
@@ -2219,8 +2219,8 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
mes "After you're finished with the ghosts here, I'll take on my ship to the end of the world!";
next;
mes "- Gave Pedro the Sailor the Holy Water and Blue Gemstone. -";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7359;
completequest 7359;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -2252,7 +2252,7 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
mes "It's still up for the fight!";
close;
}
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere is no Spiritual Protection to give to Pedro the Sailor.^000000";
close;
}
@@ -2261,7 +2261,7 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
mes "Alright. I'll go at them with this one today.";
next;
mes "-Delivered the Spiritual Protection to Pedro the Sailor.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7368;
setquest 7382;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -2389,9 +2389,9 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
erasequest 7399;
setquest 7401;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[0] = strcharinfo(0);
@@ -2452,9 +2452,9 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
setquest 7401;
erasequest 7403;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[0] = strcharinfo(0);
@@ -2568,7 +2568,7 @@ OnTouch:
warp "malaya", 324, 66;
end;
} else if (malaya_diwata == 4) {
- if (!countitem(6506)) {
+ if (!countitem(Offering_Bouquet)) {
cutin "malaya_diwata01", 2;
mes "- The soul of Little Girl Diwata is looking at me fiercely.";
mes "No Offering Bouquet...!!!";
@@ -2635,7 +2635,7 @@ OnTouch:
mes "[Diwata]";
mes "Now, g... go away!";
malaya_diwata = 5;
- delitem 6506, 1; // Memorial_Boquet
+ delitem Offering_Bouquet, 1; // Memorial_Boquet
erasequest 7398;
setquest 7399;
close;
@@ -2704,7 +2704,7 @@ OnTouch:
warp "malaya", 324, 66;
end;
}
- if (!countitem(6506)) {
+ if (!countitem(Offering_Bouquet)) {
mes "[Diwata]";
mes "What? You want me to wave?";
mes "You didn't bring it?";
@@ -2728,7 +2728,7 @@ OnTouch:
mes "[Diwata]";
mes "Tell Pedro the Sailor!";
mes "Diwata will be a goddess of sea, so set sail in my generosity.";
- delitem 6506, 1; // Memorial_Boquet
+ delitem Offering_Bouquet, 1; // Memorial_Boquet
setquest 7403;
erasequest 7402;
close;
@@ -2738,7 +2738,7 @@ OnTouch:
}
ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -2773,7 +2773,7 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
mes "so deliver it well. Okay? Good.";
close;
}
- if (countitem(6504) < 5) {
+ if (countitem(Cast_Iron_Caldron) < 5) {
mes "[Kiko in Mumbaki]";
mes "Oh, must be the cauldron I ordered.";
mes "But, where is it?";
@@ -2789,8 +2789,8 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
mes "I'll give you this for the cauldron.";
mes "I hear you're having some trouble with souls?";
mes "Take this. It will help you.";
- delitem 6504, 5; // Cast_Iron_Caldron
- getitem 6503, 5; // Soul_Protection
+ delitem Cast_Iron_Caldron, 5; // Cast_Iron_Caldron
+ getitem Soul_Protection, 5; // Soul_Protection
setquest 7377;
erasequest 7376;
close;
@@ -2808,7 +2808,7 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
mes "Quickly now.";
close;
}
- if ((countitem(523) < 10) || (countitem(6507) < 10)) {
+ if ((countitem(Holy_Water) < 10) || (countitem(Evil_Bone) < 10)) {
mes "[Kiko in Mumbaki]";
mes "Purification of the bones the Guard Dog Vantai needs to gnaw on?";
mes "My work here just gets better and better.";
@@ -2833,9 +2833,9 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
mes "[Kiko in Mumbaki]";
mes "Moreover, holding on to Evil Spirit Bones will only do you harm,";
mes "so I'll take them all to purify.";
- delitem 6507, countitem(6507); // Evil_Bone
- delitem 523, 10; //Holy_Water
- getitem 6505, 10; //Purified_Bone
+ delitem Evil_Bone, countitem(Evil_Bone); // Evil_Bone
+ delitem Holy_Water, 10;
+ getitem Purified_Bone, 10;
setquest 7407;
erasequest 7406;
close;
@@ -2849,7 +2849,7 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
}
ma_fild01,239,253,3 script Dhong the Guard 4_MAL_SOLDIER,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -2916,7 +2916,7 @@ ma_fild01,239,253,3 script Dhong the Guard 4_MAL_SOLDIER,{
close;
} else {
if (questprogress(7407) == 1) {
- if (countitem(6505) < 10) {
+ if (countitem(Purified_Bone) < 10) {
mes "[Dhong the Guard]";
mes "Kiko in Mumbaki asked for 10 Purified Spirit Bones.";
mes "He needs to have at least 10 at a time. Which of course does not last a day...";
@@ -2939,13 +2939,13 @@ ma_fild01,239,253,3 script Dhong the Guard 4_MAL_SOLDIER,{
mes "[Dhong the Guard]";
mes "This is your reward.";
mes "It would be very nice if you could help us again tomorrow.";
- delitem 6505, 10; // Purified_Bone
+ delitem Purified_Bone, 10; // Purified_Bone
setquest 7408;
erasequest 7407;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(0, 2))
$malayaNames$[2] = strcharinfo(0);
@@ -2996,7 +2996,7 @@ ma_fild01,238,257,2 script Guard Dog Vantai 4_RUS_DWOLF,{
}
ma_fild01,200,190,3 script Maries#malaya 4_F_BARYO_WOMAN,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -3039,9 +3039,9 @@ ma_fild01,200,190,3 script Maries#malaya 4_F_BARYO_WOMAN,{
setquest 7390;
erasequest 7389;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[2] = strcharinfo(0);
@@ -3116,7 +3116,7 @@ ma_fild01,203,189,3 script Little Girl#malaya 4_F_BARYO_GIRL,{
ma_fild01,251,93,3 script Lost Child#malaya01 4_F_BARYO_GIRL,{
if (questprogress(7388)) {
- if (!countitem(12700)) {
+ if (!countitem(Insideout_Shirt)) {
mes "[Little Kid]";
mes "Sigh. Are you lost too?";
mes "They are so naughty.";
@@ -3146,7 +3146,7 @@ ma_fild01,251,93,3 script Lost Child#malaya01 4_F_BARYO_GIRL,{
mes "She must be worried..!";
mes "I'll go home now!";
mes "Thanks' a lot!";
- delitem 12700, 1; // Insideout_Shirt
+ delitem Insideout_Shirt, 1; // Insideout_Shirt
setquest 7389;
erasequest 7388;
close2;
@@ -3278,9 +3278,9 @@ ma_fild02,241,39,5 script Good Capre Budidai 4_MAL_BUDIDAI,{
setquest 7410;
erasequest 7409;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[1] = strcharinfo(0);
@@ -3355,7 +3355,7 @@ ma_fild02,241,39,5 script Good Capre Budidai 4_MAL_BUDIDAI,{
//== Traders :: malaya_npc =================================
ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{
- if (MaxWeight - Weight < 600 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 600 || checkweight(Knife,1) == 0) {
mes "Cannot proceed because you have too many items in your possession.";
close;
}
@@ -3364,7 +3364,7 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{
next;
switch(select("We need to gather items to fight them off.:Ignore.")) {
case 1:
- if (countitem(6497) >= 3 && Zeny >= 1000) {
+ if (countitem(Lesser_Agimat) >= 3 && Zeny >= 1000) {
mes "[Old Man in Dilemma]";
mes "You don't seem to be strong enough to fight off demons.";
next;
@@ -3372,11 +3372,11 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{
mes "Will you create a Greater Agimat of Ancient Spirit with 3 Lesser Agimats and 1,000 Zeny?";
next;
if(select("Create.:No, thank you.") == 1) {
- if (countitem(6497) >= 3 && Zeny >= 1000) {
+ if (countitem(Lesser_Agimat) >= 3 && Zeny >= 1000) {
specialeffect2 EF_CONE;
specialeffect EF_FORESTLIGHT2;
Zeny -= 1000;
- getitem 12775,1; //Ancient_Spirit_Agimat
+ getitem Ancient_Spirit_Agimat,1;
} else {
mes "[Old Man in Dilemma]";
mes "Short on materials.";
@@ -3429,7 +3429,7 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{
}
ma_fild01,238,198,4 script Tikbalang Expert#malaya 4_M_MALAYA,{
- if (MaxWeight - Weight < 50 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 50 || checkweight(Knife,1) == 0) {
mes "Cannot proceed because you have too many items in your possession.";
close;
}
@@ -3537,7 +3537,7 @@ ma_fild01,238,198,4 script Tikbalang Expert#malaya 4_M_MALAYA,{
mes "[Tikbalang Expert]";
mes "Ha ha ha. Do you now know how great I am?";
next;
- if (countitem(6496) >= 3 && countitem(6497) >= 5) {
+ if (countitem(Tikbalang_Thick_Spine) >= 3 && countitem(Lesser_Agimat) >= 5) {
mes "[Tikbalang Expert]";
mes "Oh! Isn't this material to make 'Tikbalang Belt' used to tame Tikbalangs?";
next;
@@ -3546,8 +3546,8 @@ ma_fild01,238,198,4 script Tikbalang Expert#malaya 4_M_MALAYA,{
next;
switch(select("Yes, Im interested.:No, I can capture one myself.")) {
case 1:
- delitem 6496,3; //Tikbalang_Thick_Spine
- getitem 12699,1; //Tikbalang_Belt
+ delitem Tikbalang_Thick_Spine,3;
+ getitem Tikbalang_Belt,1;
mes "[Tikbalang Expert]";
mes "Yiiiiiiiiiiii! Yap!";
next;
@@ -3754,7 +3754,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{
mes "I will need an light but sturdy armor with an refinement of +9 or greater and 20 Ancient Grudges!!";
close;
}
- if (countitem(6499) < 20) {
+ if (countitem(Ancient_Grudge) < 20) {
mes "[Bayani]";
mes "You said all preparations are done and you give me this?! I need at least 20 Ancient Grudges to refine your item.";
close;
@@ -3832,7 +3832,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{
mes "BAM!!";
next;
- delitem 6499,20; //Ancient_Grudge
+ delitem Ancient_Grudge,20;
delequip .@part;
getitem .@newItem, 1;
@@ -4047,7 +4047,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{
malaya_buwaya = 3;
close;
} else if (malaya_buwaya == 3) {
- if (!countitem(506)) {
+ if (!countitem(Green_Potion)) {
mes "[Totoy]";
mes "Can't talk long. I need to heal my eyes first.";
mes "There should be some ^3131FFGreen Potion^000000 left inside the drawer. Will you get it for me?";
@@ -4062,7 +4062,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{
} else {
mes "[Totoy]";
mes "Gulp, gulp...";
- delitem 506,1; //Green_Potion
+ delitem Green_Potion,1;
malaya_buwaya = 4;
}
close;
@@ -4251,7 +4251,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{
.@amount = 10;
// else
// .@amount = 5;
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait!! -";
mes "- You have too many items on you. -";
mes "- Cannot receive the item. -";
@@ -4275,7 +4275,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{
mes "[Dog]";
mes "Woof woof woof!!!!";
malaya_buwaya = 14;
- getitem 6497,5; //Lesser_Agimat
+ getitem Lesser_Agimat,5;
disablenpc "Dog#buwaya_totoi";
erasequest 2279;
setquest 2280;
@@ -4407,7 +4407,7 @@ malaya,290,152,5 script Master of Hunting#buwaya 4_M_BARYO_MAN,{
setquest 2274;
close;
} else if (malaya_buwaya == 7) {
- if (countitem(6519) < 10) {
+ if (countitem(Collected_Sample) < 10) {
mes "[Master of Hunting]";
mes "Bring me back samples if you want to prove there is a monster with two heads.";
close;
@@ -4416,7 +4416,7 @@ malaya,290,152,5 script Master of Hunting#buwaya 4_M_BARYO_MAN,{
mes "Argh! That's so foul.";
mes "You've really brought back the samples.";
mes "Ho! Leave it there and come back after washing your hands. Even god won't smile down at you with that stench.";
- delitem 6519,10; //Collected_Sample
+ delitem Collected_Sample,10;
malaya_buwaya = 8;
erasequest 2274;
setquest 2275;
@@ -4530,7 +4530,7 @@ OnInit:
}
- script Unknown Trace#buwaya -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait!! -";
mes "- You have too many items on you. -";
mes "- Cannot receive the item. -";
@@ -4539,7 +4539,7 @@ OnInit:
close;
}
if (malaya_buwaya == 7) {
- if (countitem(6519) >= 10) {
+ if (countitem(Collected_Sample) >= 10) {
mes "- You don't have to collect any more samples. -";
close;
}
@@ -4554,7 +4554,7 @@ OnInit:
next;
mes "[" + strcharinfo(0) + "]";
mes "It's warm as a mother's bosom.";
- getitem 6519,1; //Collected_Sample
+ getitem Collected_Sample,1;
disablenpc strnpcinfo(0);
initnpctimer;
close;
@@ -4574,7 +4574,7 @@ ma_fild02,300,98,3 duplicate(Unknown Trace#buwaya) Unknown Trace#buwaya_6 4_SOIL
ma_fild02,100,275,3 duplicate(Unknown Trace#buwaya) Unknown Trace#buwaya_7 4_SOIL
malaya,290,340,3 script Guard Leader#buwaya 4_MAL_CAPTAIN,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait!! -";
mes "- You have too many items on you. -";
mes "- Cannot receive the item. -";
@@ -4712,7 +4712,7 @@ malaya,290,340,3 script Guard Leader#buwaya 4_MAL_CAPTAIN,{
mes "[Guard Leader]";
mes "Good work.";
erasequest 2281;
- getitem 6497, .@amount; //Lesser_Agimat
+ getitem Lesser_Agimat, .@amount;
getexp 0,600000;
} else {
mes "[Guard Leader]";
@@ -5022,7 +5022,7 @@ malaya,272,339,5 script Old Fortune Teller#bako1 4_F_BARYO_OLD,{
}
malaya,285,332,4 script Old Legend Teller#bako1 4_M_BARYO_OLD,{
- if (checkweight(1301,3) == 0) {
+ if (checkweight(Axe,3) == 0) {
mes "You cannot start the conversation. You are carrying too many items. -";
close;
}
@@ -5234,9 +5234,9 @@ malaya,285,332,4 script Old Legend Teller#bako1 4_M_BARYO_OLD,{
erasequest 1179;
malaya_bakona1 = 7;
// if (IsPremiumPcCafe == 10)
- getitem 6499,5; //Ancient_Grudge
+ getitem Ancient_Grudge,5;
// else
-// getitem 6499,3; //Ancient_Grudge
+// getitem Ancient_Grudge,3;
getexp 500000,200000;
close;
}
@@ -5637,7 +5637,7 @@ malaya,276,262,4 script Angry Boy#bako2 4_M_BARYO_BOY,{
}
malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{
- if (checkweight(1301,3) == 0) {
+ if (checkweight(Axe,3) == 0) {
mes "You cannot start the conversation. You are carrying too many items. -";
close;
}
@@ -5754,9 +5754,9 @@ malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{
setquest 1185;
malaya_bakona2 = 6;
// if (IsPremiumPcCafe == 10)
- getitem 12700,7; //Insideout_Shirt
+ getitem Insideout_Shirt,7;
// else
-// getitem 12700,5; //Insideout_Shirt
+// getitem Insideout_Shirt,5;
close;
} else if (malaya_bakona2 == 6) {
mes "[Village Chief]";
@@ -5860,9 +5860,9 @@ malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{
malaya_bakona2 = 15;
getexp 1000000,600000;
// if (IsPremiumPcCafe == 10)
- getitem 6497,7; //Lesser_Agimat
+ getitem Lesser_Agimat,7;
// else
-// getitem 6497,5; //Lesser_Agimat
+// getitem Lesser_Agimat,5;
close;
} else if (malaya_bakona2 == 15) {
mes "[Village Chief]";
@@ -5906,7 +5906,7 @@ OnTimer600000:
OnMyMobDead:
if (mobcount("ma_fild01","malaya_ma_fild01_mon::OnMyMobDead") < 5 && (malaya_bakona2 == 1 || malaya_bakona2 == 2 || malaya_bakona2 == 3 || malaya_bakona2 == 4))
- getitem 6520,1; //Lost_Belongings
+ getitem Lost_Belongings,1;
end;
}
@@ -5923,7 +5923,7 @@ malaya,269,267,5 script Missing Person's Father 4_M_MALAYA,{
mes "He must be around here somewhere.";
close;
} else if (malaya_bakona2 == 1) {
- if (countitem(6520) < 2) {
+ if (countitem(Lost_Belongings) < 2) {
mes "[Missing Person's Father]";
mes "You are looking for two of his ^FF0000Lost Belongings^000000?";
mes "Are you confident that";
@@ -5940,7 +5940,7 @@ malaya,269,267,5 script Missing Person's Father 4_M_MALAYA,{
mes "Let's retrieve them from Tiyanak that roams Baryo Mahiwaga Field,";
mes "seven ^FF0000Lost Belongings^000000";
mes "and deliver them to ^0000FFMissing Person's Friend^000000.";
- delitem 6520,2; //Lost_Belongings
+ delitem Lost_Belongings,2;
erasequest 1180;
setquest 1181;
malaya_bakona2 = 2;
@@ -5978,7 +5978,7 @@ malaya,265,274,5 script Missing Person's Friend 4_M_BARYO_BOY,{
mes "somewhere.";
close;
} else if (malaya_bakona2 == 2) {
- if (countitem(6520) < 7) {
+ if (countitem(Lost_Belongings) < 7) {
mes "[Missing Person's Friend]";
mes "You are looking for seven ^FF0000Lost Belongings^000000";
mes "of my friend?";
@@ -5991,7 +5991,7 @@ malaya,265,274,5 script Missing Person's Friend 4_M_BARYO_BOY,{
mes "of my friend... Where is my friend?";
mes "Bring him here, bring him here now!";
callsub L_Quest;
- delitem 6520,7; //Lost_Belongings
+ delitem Lost_Belongings,7;
erasequest 1181;
setquest 1182;
malaya_bakona2 = 3;
@@ -6028,7 +6028,7 @@ malaya,270,278,4 script Missing Person's Son 4_M_BARYO_MAN,{
mes "Please find my father!";
close;
} else if (malaya_bakona2 == 3) {
- if (countitem(6520) < 3) {
+ if (countitem(Lost_Belongings) < 3) {
mes "[Missing Person's Son]";
mes "You are looking for three ^FF0000Lost Belongings^000000";
mes "of my father? Why lost belongings and not my father?";
@@ -6040,7 +6040,7 @@ malaya,270,278,4 script Missing Person's Son 4_M_BARYO_MAN,{
mes "These are ^FF0000Lost Belongings^000000 of my father.";
mes "Oh dear lord... father!";
callsub L_Quest;
- delitem 6520,3; //Lost_Belongings
+ delitem Lost_Belongings,3;
erasequest 1182;
setquest 1183;
malaya_bakona2 = 4;
@@ -6074,7 +6074,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{
mes "and she still isn't back.";
close;
} else if (malaya_bakona2 == 4) {
- if (countitem(6520) < 5) {
+ if (countitem(Lost_Belongings) < 5) {
mes "[Missing Person's Mother]";
mes "You are looking for five ^FF0000Lost Belongings^000000 of my child?";
mes "What does this mean?";
@@ -6095,7 +6095,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{
mes "A mother that has gone mad...";
mes "Now that I finished finding the missing people,";
mes "I should report back to the Village Chief.";
- delitem 6520,5; //Lost_Belongings
+ delitem Lost_Belongings,5;
erasequest 1183;
setquest 1184;
malaya_bakona2 = 5;
@@ -6117,7 +6117,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{
}
malaya,289,364,4 script Young Fortune Teller 4_F_MALAYA,{
- if (checkweight(1301,3) == 0) {
+ if (checkweight(Axe,3) == 0) {
mes "You cannot start the conversation. You are carrying too many items. -";
close;
}
@@ -6173,9 +6173,9 @@ malaya,289,364,4 script Young Fortune Teller 4_F_MALAYA,{
setquest 1187;
malaya_bakona2 = 8;
// if (IsPremiumPcCafe == 10)
- getitem 12699,7; //Tikbalang_Belt
+ getitem Tikbalang_Belt,7;
// else
-// getitem 12699,5; //Tikbalang_Belt
+// getitem Tikbalang_Belt,5;
close;
} else {
mes "[Young Fortune Teller]";
@@ -6587,7 +6587,7 @@ sec_in02,10,16,5 script Bakonawa Intro Helper 4_MASK_SMOKEY,{
case 4:
mes "[Briquet Scheme]";
mes "Here you go!";
- getitem 6520,17; //Lost_Belongings
+ getitem Lost_Belongings,17;
close;
case 5:
mes "[Briquet Scheme]";
@@ -6745,7 +6745,7 @@ function script F_Malaya_Nurse {
return;
L_Weight:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait !! -";
mes "- You have too many items. -";
mes "- Cannot receive item. -";
@@ -6790,13 +6790,13 @@ L_Warp:
L_Reward:
// if (IsPremiumPcCafe == 10) {
- getitem 6499,5; //Ancient_Grudge
- getitem 6497,10; //Lesser_Agimat
+ getitem Ancient_Grudge,5;
+ getitem Lesser_Agimat,10;
// } else {
-// getitem 6499,3; //Ancient_Grudge
-// getitem 6497,5; //Lesser_Agimat
+// getitem Ancient_Grudge,3;
+// getitem Lesser_Agimat,5;
// }
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
getexp 1000000,0;
return;
@@ -7040,7 +7040,7 @@ malaya,55,72,4 script Nurse#ma_n1 4_F_NURSE,{
end;
}
} else if (malaya_bang == 1) {
- if (countitem(930) > 1) {
+ if (countitem(Rotten_Bandage) > 1) {
mes "[Nurse Las]";
mes "Oh......";
mes "I know they're effective but... Not so tempting.";
@@ -7057,7 +7057,7 @@ malaya,55,72,4 script Nurse#ma_n1 4_F_NURSE,{
mes "[Nurse Las]";
mes "*Squish*";
mes "*Squelch*";
- delitem 930,2; //Rotten_Bandage
+ delitem Rotten_Bandage,2;
malaya_bang = 2;
close2;
cutin "",255;
@@ -7916,7 +7916,7 @@ malaya,53,68,4 script Bushes#ma CLEAR_NPC,{
}
- script Suspicious Wooden Stick::MalayaStick -1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait !! -";
mes "- You have too many items. -";
mes "- Cannot receive item. -";
@@ -7944,13 +7944,13 @@ malaya,53,68,4 script Bushes#ma CLEAR_NPC,{
if (rand(2)) {
malaya_bang = 15;
changequest 11295,11296;
- getitem 6497,1; //Lesser_Agimat
+ getitem Lesser_Agimat,1;
donpcevent "Tent"+replacestr(strnpcinfo(3),"MalayaStick","")+"#ma::OnEnable";
next;
mes "Better show Las the talisman.";
close;
} else {
- getitem 6497,1; //Lesser_Agimat
+ getitem Lesser_Agimat,1;
donpcevent "Tent"+replacestr(strnpcinfo(3),"MalayaStick","")+"#ma::OnEnable";
close;
}
@@ -8414,7 +8414,7 @@ OnDisableNPC:
}
ma_fild01,179,260,2 script Festival Helper Boy#pin 4_M_BARYO_BOY,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "Cannot proceed because you have too many items in your possession.";
close;
}
@@ -8636,7 +8636,7 @@ ma_fild01,179,260,2 script Festival Helper Boy#pin 4_M_BARYO_BOY,{
}
ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "Cannot proceed because you have too many items in your possession.";
close;
}
@@ -8753,25 +8753,25 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
mes "Hope you enjoy the '^7A96E0Pintados Festival^000000'.";
close;
case 2:
- .@tattoo = 2911; //Bangungot_Tattoo
- .@doll = 6517; //Bangungot_Doll
- .@spirit = 6524; //Bangungot_Spirit_Piece
+ .@tattoo = Bangungot_Tattoo;
+ .@doll = Bangungot_Doll;
+ .@spirit = Bangungot_Spirit_Piece;
.@name$ = "Bangungot";
break;
case 3:
- .@tattoo = 2907; //Buwaya_Tattoo
- .@doll = 6518; //Buwaya_Doll
- .@spirit = 6525; //Buwaya_Spirit_Piece
+ .@tattoo = Buwaya_Tattoo;
+ .@doll = Buwaya_Doll;
+ .@spirit = Buwaya_Spirit_Piece;
.@name$ = "Buwaya";
break;
case 4:
- .@tattoo = 2910; //Bakonawa_Tattoo
- .@doll = 6516; //Bakonawa_Doll
- .@spirit = 6523; //Bakonawa_Spirit_Piece
+ .@tattoo = Bakonawa_Tattoo;
+ .@doll = Bakonawa_Doll;
+ .@spirit = Bakonawa_Spirit_Piece;
.@name$ = "Bakonawa";
break;
}
- if (countitem(6499) < 10 || countitem(.@spirit) == 0 || countitem(.@doll) == 0) {
+ if (countitem(Ancient_Grudge) < 10 || countitem(.@spirit) == 0 || countitem(.@doll) == 0) {
mes "[Tattooist]";
mes "I think you are short on materials.";
mes "Need 10 Ancient Grudges, 1 Piece of "+.@name$+"'s Spirit, and 1 "+.@name$+" Doll to create a ^EE1D11"+.@name$+" Agimat Tattoo^000000.";
@@ -8797,7 +8797,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
next;
if(select("Aren't you going to start?:... ... ..") == 1) {
emotion e_an;
- delitem 6499,5; //Ancient_Grudge
+ delitem Ancient_Grudge,5;
mes "[Tattooist]";
mes "Oh no, now you ruined it.";
mes "I cannot draw a Tattoo for someone like you who doesn't understand art. You can take back the remaining materials.";
@@ -8819,7 +8819,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
if(select("Looks good to me.:... ... ..") == 1) {
emotion e_an;
emotion e_ag;
- delitem 6499,5; //Ancient_Grudge
+ delitem Ancient_Grudge,5;
mes "[Tattooist]";
mes "Ergh! I told you not to interrupt!";
next;
@@ -8841,7 +8841,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
if(select("When will it be done?:... ... ..") == 1) {
emotion e_an;
emotion e_ag;
- delitem 6499,5; //Ancient_Grudge
+ delitem Ancient_Grudge,5;
mes "[Tattooist]";
mes "Ergh! I told you not to interrupt!";
next;
@@ -8883,7 +8883,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
mes "The Piece of "+.@name$+"'s Spirit is shattered into powder. The Tattooist's hands are glowing.";
next;
if(select("Why did you break the pieces...:... ... ..") == 1) {
- delitem 6499,5; //Ancient_Grudge
+ delitem Ancient_Grudge,5;
delitem .@spirit,1;
emotion e_an;
emotion e_ag;
@@ -8920,7 +8920,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
mes "[Tattooist]";
mes "Ha ha. It came out great.";
next;
- delitem 6499,10; //Ancient_Grudge
+ delitem Ancient_Grudge,10;
delitem .@spirit,1;
delitem .@doll,1;
getitem .@tattoo,1;
diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt
index f09b20023..d89333583 100644
--- a/npc/re/quests/quests_mora.txt
+++ b/npc/re/quests/quests_mora.txt
@@ -264,7 +264,7 @@ mid_camp,148,222,4 script Theore#ep14_1_bs 4_F_SCIENCE,3,3,{
mes "Or they may have left something behind.";
close;
} else if (ep14_1_bs2 < 7) {
- if (countitem(6390) == 0) {
+ if (countitem(Small_Pocket) == 0) {
mes "[Theore]";
mes "They may have left a clue, can you please look around the area?";
mes "If they were looking through the bushes, they may have been looking for something they've lost.";
@@ -350,7 +350,7 @@ mid_camp,148,222,4 script Theore#ep14_1_bs 4_F_SCIENCE,3,3,{
mes "Oh yeah!!!!";
ep14_1_bs = 19;
getexp 0,200000;
- getitem 6380,5; //Mora_Coin
+ getitem Mora_Coin,5;
close;
} else if (ep14_1_bs > 18) {
mes "[Theore]";
@@ -414,8 +414,8 @@ OnDisable:
OnTouch:
.@i = atoi(charat(strnpcinfo(2),9));
if (ep14_1_bs == .@i+3) {
- if (countitem(6390) == 0) {
- if (checkweight(1201,1) == 0) {
+ if (countitem(Small_Pocket) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Hang on there !! -";
mes " - You are carrying too many kinds of items - ";
mes " - to receive any more items. - ";
@@ -438,7 +438,7 @@ OnTouch:
if (ep14_1_bs2 > 0 && ep14_1_bs2 < 4)
ep14_1_bs2 += 3;
changequest 11184,11185;
- getitem 6390,1; //Small_Pocket
+ getitem Small_Pocket,1;
close;
} else {
mes "- You didn't find anything. -";
@@ -659,7 +659,7 @@ splendide,119,138,4 script Kusmi#ep14_1_bs 4_F_FAIRYKID5,{
mes "And who mayy you be?";
next;
select("Show the pouch.");
- if (countitem(6390) == 0) {
+ if (countitem(Small_Pocket) == 0) {
mes "[Kusmi]";
mes "What is it that you want to show mee?";
close;
@@ -679,7 +679,7 @@ splendide,119,138,4 script Kusmi#ep14_1_bs 4_F_FAIRYKID5,{
mes "[Kusmi]";
mes "Promise me you won't tell anyonee!";
mes "If you can promise, please talk to me againn.";
- delitem 6390,1; //Small_Pocket
+ delitem Small_Pocket,1;
ep14_1_bs = 10;
changequest 11187,11188;
close;
@@ -854,7 +854,7 @@ splendide,304,295,4 script Theodore#ep14_1_bs 4_M_FAIRYKID4,{
mes "Who are you!";
next;
select("Show the pouch.");
- if (countitem(6390) == 0) {
+ if (countitem(Small_Pocket) == 0) {
mes "[Theodore]";
mes "Hmm? What do you mean?";
close;
@@ -874,7 +874,7 @@ splendide,304,295,4 script Theodore#ep14_1_bs 4_M_FAIRYKID4,{
mes "[Theodore]";
mes "If you really want to hear the answer, talk to me again.";
mes "I need time to think.";
- delitem 6390,1; //Small_Pocket
+ delitem Small_Pocket,1;
ep14_1_bs = 10;
changequest 11187,11194;
close;
@@ -1036,7 +1036,7 @@ splendide,168,301,4 script Pauchon#ep14_1_bs 4_F_FAIRYKID4,{
mes "What can I do for you, sir?";
next;
select("Show the pouch.");
- if (countitem(6390) == 0) {
+ if (countitem(Small_Pocket) == 0) {
mes "[Pauchon]";
mes "Huh? Do you see something?";
mes "I don't see anything...";
@@ -1054,7 +1054,7 @@ splendide,168,301,4 script Pauchon#ep14_1_bs 4_F_FAIRYKID4,{
mes "That's not easy for me to answer...";
mes "I do appreciate you finding my pouch.... Hmm...";
mes "Please give me some time to think..";
- delitem 6390,1; //Small_Pocket
+ delitem Small_Pocket,1;
ep14_1_bs = 10;
changequest 11187,11200;
close;
@@ -1383,7 +1383,7 @@ mora,55,124,2 script Jones#ep14_1_bs 4_M_MERCAT1,{
close;
}
} else if (ep14_1_bs == 16) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Jones]";
mes "You have too many kinds of items. Please lighten your load and come back.";
close;
@@ -1397,7 +1397,7 @@ mora,55,124,2 script Jones#ep14_1_bs 4_M_MERCAT1,{
mes "Please take good care of it.";
mes "It's for Daphrer in Splendide.";
ep14_1_bs = 17;
- getitem 6391,1; //Splendid_Supply_Kit
+ getitem Splendid_Supply_Kit,1;
changequest 11207,11208;
close;
} else if (ep14_1_bs == 17) {
@@ -1426,7 +1426,7 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 4_F_FAIRY,{
mes "DRHSfhsdfGSDH FGkkmvoifk DFG DFHshfeksmn fgg FDbbd fjnnvk n skncki dfgd F FHdfkdfjkmv";
close;
}
- if (countitem(6391)) {
+ if (countitem(Splendid_Supply_Kit)) {
mes "[Daphrer]";
mes "Oh....";
mes "I've been waiting for you.";
@@ -1436,14 +1436,14 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 4_F_FAIRY,{
next;
mes "[Daphrer]";
mes "This is probably too small to be a reward, but please accept this as a sign of my gratitude.";
- delitem 6391,1; //Splendid_Supply_Kit
+ delitem Splendid_Supply_Kit,1;
if (ep14_1_bs == 17) {
ep14_1_bs = 18;
completequest 11208;
getexp 0,500000;
- getitem 6380,5; //Mora_Coin
+ getitem Mora_Coin,5;
} else
- getitem 6380,2; //Mora_Coin
+ getitem Mora_Coin,2;
close;
}
if (ep14_1_bs == 17) {
@@ -1458,7 +1458,7 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 4_F_FAIRY,{
ep14_1_bs = 18;
completequest 11208;
getexp 0,200000;
- getitem 6380,2; //Mora_Coin
+ getitem Mora_Coin,2;
close;
}
mes "[Daphrer]";
@@ -1524,7 +1524,7 @@ OnInit:
}
dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- You have too many items to do this quest. -";
close;
}
@@ -1543,7 +1543,7 @@ dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{
mes "You promised to take the box of Bradium to Cheshire, who will be waiting for you near the Crevice of Bifrost.";
erasequest 7208;
setquest 7210;
- getitem 6392,1; //Bradium_Box
+ getitem Bradium_Box,1;
close;
case 2:
mes "You decided to give up delivering the box.";
@@ -1563,7 +1563,7 @@ dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{
mes "You decide to take it to the location shown on the piece of paper.";
completequest 7206;
setquest 7207;
- getitem 6392,1; //Bradium_Box
+ getitem Bradium_Box,1;
close;
}
} else if (questprogress(7207) != 2) {
@@ -1578,13 +1578,13 @@ dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{
}
bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- You have too many items to do this quest. -";
close;
}
cutin "ep13_cheshire",1;
if (questprogress(7209)) {
- if (countitem(6090) < 20) {
+ if (countitem(Purified_Bradium) < 20) {
mes "[Cheshire]";
mes "Bring me 20 pieces of refined Bradium.";
mes "In exchange for the box, which you carelessly and irresponsibly sold to somebody.";
@@ -1604,17 +1604,17 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
mes "You made a mistake of losing the box, you have to be content with this.";
mes "And starting tomorrow, get the box here intact.";
mes "Every day.";
- delitem 6090,20; //Purified_Bradium
+ delitem Purified_Bradium,20;
erasequest 7209;
setquest 7208;
- getitem 6304,1; //Sapa_Feat_Cert
+ getitem Sapa_Feat_Cert,1;
close2;
cutin "",255;
end;
}
callsub L_CheckPlaytime;
if (questprogress(7210)) {
- if (countitem(6392) == 0)
+ if (countitem(Bradium_Box) == 0)
callsub L_LostQuest,7210;
else {
mes "[Cheshire]";
@@ -1628,8 +1628,8 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
mes "Now, leave this place before the Laphines grow suspicious.";
erasequest 7210;
setquest 7208;
- delitem 6392,1; //Bradium_Box
- getitem 6304,1; //Sapa_Feat_Cert
+ delitem Bradium_Box,1;
+ getitem Sapa_Feat_Cert,1;
getexp 50000,40000;
close2;
cutin "",255;
@@ -1707,7 +1707,7 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
end;
}
} else if (questprogress(7207) != 2) {
- if (countitem(6392) == 0)
+ if (countitem(Bradium_Box) == 0)
callsub L_LostQuest,7207;
else {
mes "[Cheshire]";
@@ -1755,10 +1755,10 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
mes "Well, I'll leave the matter to you.";
mes "Try to bring the box to me every day.";
mes "Okay?";
- delitem 6392,1; //Bradium_Box
+ delitem Bradium_Box,1;
completequest 7207;
setquest 7208;
- getitem 6304,1; //Sapa_Feat_Cert
+ getitem Sapa_Feat_Cert,1;
getexp 50000,40000;
next;
mes "[Cheshire]";
@@ -2101,9 +2101,9 @@ mora,117,66,3 script Euridi#pa 4_F_MORAFINE2,{
mes "Let's go show the letter to Pitt.";
changequest 1112,1113;
- //delitem 6383,30; //Clue_Of_Lope
- .@count = countitem(6383);
- if (.@count) delitem 6383,((.@count > 30)?30:.@count); //Clue_Of_Lope
+ //delitem Clue_Of_Lope,30;
+ .@count = countitem(Clue_Of_Lope);
+ if (.@count) delitem Clue_Of_Lope,((.@count > 30)?30:.@count);
ep14_1_rope = 5;
close;
@@ -2148,8 +2148,8 @@ mora,117,66,3 script Euridi#pa 4_F_MORAFINE2,{
changequest 1116,1117;
ep14_1_rope = 10;
- //delitem 6384,1; //Ring_Of_Lope
- if (countitem(6384)) delitem 6384,1; //Ring_Of_Lope
+ //delitem Ring_Of_Lope,1;
+ if (countitem(Ring_Of_Lope)) delitem Ring_Of_Lope,1;
close;
}
@@ -2239,7 +2239,7 @@ mora,115,68,3 script Euridi's Friend#pa 4_F_MORAFINE1,{
mes "Maybe we're responsible";
mes "for what happened.";
next;
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Euridi's Friend]";
mes "You have too many things with you.";
mes "Can you throw out some of them?";
@@ -2251,7 +2251,7 @@ mora,115,68,3 script Euridi's Friend#pa 4_F_MORAFINE1,{
completequest 1117;
ep14_1_rope = 11;
getexp 1000000,2000000;
- getitem 6380,10; //Mora_Coin
+ getitem Mora_Coin,10;
close;
} else if (ep14_1_rope > 10) {
mes "[Euridi's Friend]";
@@ -2296,7 +2296,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{
mes "I hate Laphines!";
close;
} else if (ep14_1_rope == 3) {
- if (countitem(6383) < 30) {
+ if (countitem(Clue_Of_Lope) < 30) {
mes "[Pitt]";
mes "This is all because of";
mes "the stupid guide!";
@@ -2316,7 +2316,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{
mes "So I swallow it like this,";
mes "and voila! Evidence gone!";
mes "Now I can sleep soundly, thank you!";
- delitem 6383,5; //Clue_Of_Lope
+ delitem Clue_Of_Lope,5;
close;
case 2:
mes "[Pitt]";
@@ -2337,7 +2337,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{
mes "This is so totally unfair!";
close;
} else if (ep14_1_rope == 5) {
- if (checkweight(6384,1) == 0) {
+ if (checkweight(Ring_Of_Lope,1) == 0) {
mes "[Pitt]";
mes "What are you, a professional mover?";
mes "Stomping about with a ton of stuff on your back!";
@@ -2390,7 +2390,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{
mes "in whatever form he might be in.";
changequest 1113,1114;
ep14_1_rope = 6;
- getitem 6384,1; //Ring_Of_Lope
+ getitem Ring_Of_Lope,1;
close;
} else if (ep14_1_rope == 6 || ep14_1_rope == 7) {
mes "[Pitt]";
@@ -2528,7 +2528,7 @@ OnTouch:
//== Find the Research Tools :: ep14_1_muk =================
mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
mes "^FF0000- Warning message -";
mes "- Hang on there!! -";
mes "- You have too many items -";
@@ -2681,7 +2681,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
emotion e_paper;
close;
} else if (ep14_1_muk == 1) {
- if (questprogress(5016) && countitem(6385) == 0) {
+ if (questprogress(5016) && countitem(Research_Tool_Bag) == 0) {
mes "[Raffle Researcher]";
mes "You're back? Where are my research tools?";
emotion e_what;
@@ -2716,7 +2716,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "I've always wanted a capable research assistant,";
mes "but it hasn't been easy to find one.";
next;
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Raffle Researcher]";
mes "By the way... Was it that difficult to";
mes "reclaim the research tools?";
@@ -2728,9 +2728,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "It must've been hard work to retrieve the tools.";
mes "Why don't you take this and go to the inn";
mes "and rest up? There's nothing for you to do right now.";
- delitem 6385,1; //Research_Tool_Bag
+ delitem Research_Tool_Bag,1;
ep14_1_muk = 2;
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
erasequest 5016;
close;
} else if (ep14_1_muk == 2) {
@@ -2850,7 +2850,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "You can collect the samples";
mes "from that area.";
next;
- if (MaxWeight - Weight < 100 || checkweight(1092,10) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Empty_Cylinder,10) == 0) {
mes "[Raffle Researcher]";
mes "You are carrying too much weight.";
mes "I can't give you the sample tube.";
@@ -2861,12 +2861,12 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Here is the sample tube for collecting.";
mes "Go and collect 10 samples!";
ep14_1_muk = 7;
- getitem 1092,10; //Empty_Cylinder
+ getitem Empty_Cylinder,10;
erasequest 5018;
setquest 5019;
close;
} else if (ep14_1_muk == 7) {
- if (questprogress(5019) && countitem(6386) < 10) {
+ if (questprogress(5019) && countitem(Bathtub_R_Sample) < 10) {
mes "[Raffle Researcher]";
mes "Have you collected the samples yet?";
mes "Please hurry up.";
@@ -2878,7 +2878,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "from that area.";
close;
}
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Raffle Researcher]";
mes "I know that you've done a lot...";
mes "but you are carrying too many things.";
@@ -2894,8 +2894,8 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "with the bath water samples.";
mes "It usually takes about 24 hours.";
mes "Why don't you come back then?";
- delitem 6386,10; //Bathtub_R_Sample
- getitem 6380,1; //Mora_Coin
+ delitem Bathtub_R_Sample,10;
+ getitem Mora_Coin,1;
ep14_1_muk = 8;
erasequest 5019;
setquest 5020;
@@ -2966,7 +2966,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "As humans say,";
mes "I've been waiting forever for them.";
next;
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Raffle Researcher]";
mes "I know that you've done a lot...";
mes "but you are carrying too many things.";
@@ -2981,7 +2981,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Why don't you go for a walk";
mes "and come back then?";
delitem .@item,10;
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
erasequest .@quest;
setquest 5023;
close;
@@ -3065,7 +3065,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "like you did collecting";
mes "the bath water samples.";
ep14_1_muk = 10;
- getitem 1092,1; //Empty_Cylinder
+ getitem Empty_Cylinder,1;
erasequest 5023;
setquest 5024;
next;
@@ -3077,7 +3077,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
close;
}
} else if (ep14_1_muk == 10) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "[Raffle Researcher]";
mes "You still haven't gone to collect the puddle sample?";
mes "Go to the puddle to the east of the village,";
@@ -3096,9 +3096,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "It's not completely to the west...";
mes "The puddle should be at 7 o'clock";
mes "from the village.";
- delitem 6389,1; //Puddle_R_Sample
+ delitem Puddle_R_Sample,1;
ep14_1_muk = 11;
- getitem 1092,1; //Empty_Cylinder
+ getitem Empty_Cylinder,1;
changequest 5024,5025;
next;
mes "[Raffle Researcher]";
@@ -3106,7 +3106,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Good luck!";
close;
} else if (ep14_1_muk == 11) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "[Raffle Researcher]";
mes "You still haven't gone to collect the puddle sample?";
mes "Go to the puddle to the west of the village,";
@@ -3124,9 +3124,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Get me a sample from the puddle from the south.";
mes "The puddle to the south";
mes "should be... at 6 o'clock from here.";
- delitem 6389,1; //Puddle_R_Sample
+ delitem Puddle_R_Sample,1;
ep14_1_muk = 12;
- getitem 1092,1; //Empty_Cylinder
+ getitem Empty_Cylinder,1;
changequest 5025,5026;
next;
mes "[Raffle Researcher]";
@@ -3135,7 +3135,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "the sample is not damaged.";
close;
} else if (ep14_1_muk == 12) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "You still haven't gone to collect the puddle sample?";
mes "Get me a sample from the puddle from the south.";
mes "The puddle to the south is located";
@@ -3156,9 +3156,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Please get me the sample from the puddle to the north.";
mes "It's not completely to the north.";
mes "it's at 11 o'clock from the village.";
- delitem 6389,1; //Puddle_R_Sample
+ delitem Puddle_R_Sample,1;
ep14_1_muk = 13;
- getitem 1092,1; //Empty_Cylinder
+ getitem Empty_Cylinder,1;
changequest 5026,5027;
next;
mes "[Raffle Researcher]";
@@ -3166,7 +3166,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Be careful.";
close;
} else if (ep14_1_muk == 13) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "[Raffle Researcher]";
mes "You still haven't gone to collect the puddle sample?";
mes "Please get me a sample from the puddle to the north.";
@@ -3185,7 +3185,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "looking at the relationship between";
mes "these puddles and the bath.";
next;
- if (checkweight(6380,4) == 0) {
+ if (checkweight(Mora_Coin,4) == 0) {
mes "[Raffle Researcher]";
mes "I know that you've done a lot...";
mes "but you are carrying too many things.";
@@ -3197,9 +3197,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "If I finish this experiment...";
mes "There's probably nothing else to do. While I run the experiment,";
mes "why don't you go and entertain yourself?";
- delitem 6389,1; //Puddle_R_Sample
+ delitem Puddle_R_Sample,1;
ep14_1_muk = 14;
- getitem 6380,4; //Mora_Coin
+ getitem Mora_Coin,4;
erasequest 5027;
setquest 5028;
next;
@@ -3312,7 +3312,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "But thank you anyhow. I've been researching for a while,";
mes "but I've never met such an excellent research assistant as you.";
next;
- if (MaxWeight - Weight < 100 || checkweight(1092,1) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Empty_Cylinder,1) == 0) {
mes "[Raffle Researcher]";
mes "Hmm? By the way...";
mes "You are carrying too much weight.";
@@ -3329,7 +3329,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
ep14_1_muk = 15;
completequest 5028;
getexp 1000000,4000000;
- getitem 6380,30; //Mora_Coin
+ getitem Mora_Coin,30;
next;
mes "[Raffle Researcher]";
mes "If we happen to run into each other again,";
@@ -3455,7 +3455,7 @@ L_ShowReport:
next;
return;
L_CheckWeight:
- if (MaxWeight - Weight < 100 || checkweight(1092,1) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Empty_Cylinder,1) == 0) {
mes "[Raffle Researcher]";
mes "You are carrying too much weight.";
mes "I can't give you the sample tube.";
@@ -3466,7 +3466,7 @@ L_CheckWeight:
}
mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
mes "^FF0000- Warning message -";
mes "- Hang on there!! -";
mes "- You have too many items -";
@@ -3587,7 +3587,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
mes "You tell me my family do okay.";
close;
} else if (questprogress(5034) == 1) {
- if (MaxWeight - Weight < 100 || checkweight(5792,1) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Fish_Pin,1) == 0) {
mes "[Fishee]";
mes "You have lots.";
mes "I give. To you.";
@@ -3610,7 +3610,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
mes "No. Someone left it.";
mes "... ... Good guy. I give you.";
completequest 5034;
- getitem 5792,1; //Fish_Pin
+ getitem Fish_Pin,1;
close;
} else if (questprogress(5034) == 2) {
mes "[Fishee]";
@@ -3730,11 +3730,11 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
if (.@npc_hp <= 0) {
mes "You won. The unidentified creature is unconscious.";
next;
- if (questprogress(5016) && countitem(6385) == 0) {
+ if (questprogress(5016) && countitem(Research_Tool_Bag) == 0) {
mes "What will you do?";
next;
select("Look for the research tools.");
- if (checkweight(6385,1) == 0) {
+ if (checkweight(Research_Tool_Bag,1) == 0) {
mes "You attempted to look for the research tools,";
mes "but you are carrying too many things.";
mes "You'd better lighten your load";
@@ -3745,7 +3745,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
}
mes "Found Researcher Raffle's ^0000FF Research tool ^000000.";
ep14_1_goki += 1;
- getitem 6385,1; //Research_Tool_Bag
+ getitem Research_Tool_Bag,1;
setquest 5029;
next;
mes "The creature wakes up and disappears into the dark hole.";
@@ -3787,7 +3787,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
end;
}
if (rand(1,30) == 7) {
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "While you were checking the body of the unidentified creature, your fingers touch something. You got lucky, but due to your heavy load you failed to obtain a ^0000FF Mora Coin^000000.";
ep14_1_goki += 1;
setquest 5029;
@@ -3797,7 +3797,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
}
mes "While you were checking the body of the unidentified creature, your fingers touch something. Lucky. Obtained a ^0000FF Mora Coin^000000.";
ep14_1_goki += 1;
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
setquest 5029;
next;
mes "The creature wakes up and disappears into the dark hole.";
@@ -4104,13 +4104,13 @@ OnFullon:
donpcevent strnpcinfo(0)+"::OnDisable";
end;
}
- if (countitem(6386) >= 10) {
+ if (countitem(Bathtub_R_Sample) >= 10) {
mes "You will not need additional samples.";
close2;
donpcevent strnpcinfo(0)+"::OnDisable";
end;
}
- if (countitem(1092) == 0) {
+ if (countitem(Empty_Cylinder) == 0) {
mes "To obtain a sample, you need a sample tube.";
close2;
donpcevent strnpcinfo(0)+"::OnDisable";
@@ -4120,7 +4120,7 @@ OnFullon:
next;
progressbar "ffff00",3;
if (!rand(3)) {
- if (checkweight(6386,1) == 0) {
+ if (checkweight(Bathtub_R_Sample,1) == 0) {
mes "You have so many items";
mes "that it is difficult to collect samples.";
mes "You will have to lighten your load and come back.";
@@ -4129,8 +4129,8 @@ OnFullon:
end;
}
mes "Bath water sample collection complete.";
- delitem 1092,1; //Empty_Cylinder
- getitem 6386,1; //Bathtub_R_Sample
+ delitem Empty_Cylinder,1;
+ getitem Bathtub_R_Sample,1;
} else {
mes "Bath water sample collection failed.";
percentheal 5,5;
@@ -4245,27 +4245,27 @@ mora,118,86,0 duplicate(???#mora) ???#ep14_muk05 CLEAR_NPC,2,2
setarray .@dir$[1],"east","west","south","north";
if (questprogress(.@quest1[.@i])) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "This appears to be the puddle to the "+.@dir$[.@i];
mes "that the researcher talked about.";
mes "Will you collect a sample?";
next;
if(select("Collect a sample.:Don't collect a sample.") == 2)
close;
- if (countitem(1092) == 0) {
+ if (countitem(Empty_Cylinder) == 0) {
mes "You have no empty sample tubes.";
close;
}
progressbar "ffff00",5;
- if (checkweight(6389,1) == 0) {
+ if (checkweight(Puddle_R_Sample,1) == 0) {
mes "You have so many items";
mes "that it is difficult to collect samples.";
mes "You will have to lighten your load and come back.";
close;
}
mes "You have collected a sample from the puddle to the "+.@dir$[.@i]+".";
- delitem 1092,1; //Empty_Cylinder
- getitem 6389,1; //Puddle_R_Sample
+ delitem Empty_Cylinder,1;
+ getitem Puddle_R_Sample,1;
close;
} else {
mes "You already have a sample.";
@@ -4377,7 +4377,7 @@ bif_fild02,113,340,0 duplicate(#mora_puddle) Puddle#ep14_muk04 CLEAR_NPC
//== Mora Daily Quests :: ep14_1_dealer ====================
mora,133,80,6 script Elephantine#pa0829 4_ELEPHANT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -4485,7 +4485,7 @@ mora,133,80,6 script Elephantine#pa0829 4_ELEPHANT,{
}
mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -4548,7 +4548,7 @@ mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{
getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0);
else
getexp 0, ((JobLevel < 70)?JobLevel * JobLevel * (110/100) * 10:0);
- getitem 6380,3; //Mora_Coin
+ getitem Mora_Coin,3;
close;
}
}
@@ -4560,7 +4560,7 @@ mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{
}
mora,119,103,4 script Bow-wow#pa0829 4_M_DOGTRAVELER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -4668,7 +4668,7 @@ mora,119,103,4 script Bow-wow#pa0829 4_M_DOGTRAVELER,{
}
mora,119,118,4 script General Good Dealer#pa0 4_M_RAFLE_GR,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -4749,14 +4749,14 @@ L_CheckQuest:
getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0);
else
getexp 0, ((JobLevel < 70)?JobLevel * JobLevel * (110/100) * 10:0);
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
close;
}
return;
}
mora,124,108,7 script Woof-grrr#pa0829 4_M_DOGTRAVELER2,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -4864,7 +4864,7 @@ mora,124,108,7 script Woof-grrr#pa0829 4_M_DOGTRAVELER2,{
}
mora,127,112,4 script Commodities Dealer#pa08 4_F_RAFLE_PK,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -4945,14 +4945,14 @@ L_CheckQuest:
getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0);
else
getexp 0, ((JobLevel < 70)?JobLevel * JobLevel * (110/100) * 10:0);
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
close;
}
return;
}
mora,170,101,4 script Soul Guide#pa0829 4_F_DOGTRAVELER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -5135,7 +5135,7 @@ function script mora_remains {
next;
mes "You picked up "+getarg(2)+" Mora Coins next to the remains.";
specialeffect2 EF_STEAL;
- getitem 6380,getarg(2); //Mora_Coin
+ getitem Mora_Coin,getarg(2);
}
close;
}
@@ -5179,13 +5179,13 @@ mora,116,165,5 script Knights Boss#mo 4_M_RAFLE_VI,{
close;
} else if (.@playtime == 2)
erasequest 1119;
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Order of the Knights Boss]";
mes "You have a lot of things with you!";
mes "Why not dump some of them in my pocket?";
close;
}
- if (countitem(12561) >= 200) {
+ if (countitem(Mysterious_Seed) >= 200) {
mes "[Order of the Knights Boss]";
mes "So you've brought back";
mes "200 ^FF0000Mysterious Seeds^000000.";
@@ -5198,8 +5198,8 @@ mora,116,165,5 script Knights Boss#mo 4_M_RAFLE_VI,{
mes "You made sure everyone knows";
mes "it's the Order of the Neighborhood Knights's work, right?";
setquest 1119;
- delitem 12561,200; //Mysterious_Seed
- getitem 6380,1; //Mora_Coin
+ delitem Mysterious_Seed,200;
+ getitem Mora_Coin,1;
close;
}
mes "[Order of the Knights Boss]";
@@ -5233,7 +5233,7 @@ mora,116,165,5 script Knights Boss#mo 4_M_RAFLE_VI,{
}
mora,114,163,5 script Knights Head#mo 4_M_RAFLE_OR,{
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Order of the Knights Head]";
mes "You have a lot of things with you!";
mes "Why not dump some of them in my pocket?";
@@ -5300,7 +5300,7 @@ mora,114,163,5 script Knights Head#mo 4_M_RAFLE_OR,{
close;
}
} else if (ep14_1_rope == 12) {
- if (countitem(6383) < 30) {
+ if (countitem(Clue_Of_Lope) < 30) {
mes "[Order of the Knights Head]";
mes "You still haven't gathered";
mes "^0000FFLope's Clues^000000?";
@@ -5329,9 +5329,9 @@ mora,114,163,5 script Knights Head#mo 4_M_RAFLE_OR,{
mes "It's too much for us.";
mes "It's no use trying to do it.";
completequest 1118;
- delitem 6383,30; //Clue_Of_Lope
+ delitem Clue_Of_Lope,30;
ep14_1_rope = 13;
- getitem 6380,2; //Mora_Coin
+ getitem Mora_Coin,2;
getexp 1000000,1000000;
close;
} else if (ep14_1_rope > 12) {
diff --git a/npc/re/woe-fe/invest_main.txt b/npc/re/woe-fe/invest_main.txt
index ac9e486b8..ed02b7d9a 100644
--- a/npc/re/woe-fe/invest_main.txt
+++ b/npc/re/woe-fe/invest_main.txt
@@ -179,7 +179,7 @@ function script F_Invest_Abyss {
mes "Not much but this is a small gift. You can exchange it with items in Malangdo.";
Zeny -= .@zeny;
setd getarg(0), getd(getarg(0)) + .@units;
- getitem 6488,.@units; //Thanks_Invest_Ticket
+ getitem Thanks_Invest_Ticket,.@units;
close;
case 2:
mes getarg(1);
@@ -216,7 +216,7 @@ function script F_Invest_Abyss {
mes "Canceled.";
close;
}
- if (countitem(6489) < .@tickets) {
+ if (countitem(Cats_Invest_Certif) < .@tickets) {
mes getarg(1);
mes "Looks like you have fewer Investment Certificates than you want to submit.";
close;
@@ -225,9 +225,9 @@ function script F_Invest_Abyss {
mes getarg(1);
mes .@tickets+" Investment Certificate"+((.@tickets == 1)?" is":"s are")+" the same as an investment of "+.@units+" units ("+((.@units < 100)?.@units:insertchar(""+.@units,",",1))+"0,000z)"+getarg(2,"")+".";
mes "Not much but this is a small gift. You can exchange it with items in Malangdo.";
- delitem 6489,.@tickets; //Cats_Invest_Certif
+ delitem Cats_Invest_Certif,.@tickets;
setd getarg(0), getd(getarg(0)) + .@units;
- getitem 6488,.@units; //Thanks_Invest_Ticket
+ getitem Thanks_Invest_Ticket,.@units;
close;
case 3:
mes getarg(1);
@@ -882,14 +882,14 @@ OnAgitInvest:
close;
}
case 3:
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- Currently you're carrying -";
mes "- too many items with you. -";
mes "- Please try again after you -";
mes "- lose some weight. -";
close;
}
- if (countitem(6488) >= 4800) {
+ if (countitem(Thanks_Invest_Ticket) >= 4800) {
mes .@n$;
mes "You have too many Thank You Tickets to receive any more.";
mes "Cannot give you any more tickets. Please use your ticket and come back.";
@@ -1126,13 +1126,13 @@ OnAgitInvest:
next;
switch(select("Invest for gate connection:Deepest Layer Dungeon Access:Abyss Gate Access:Cancel")) {
case 1:
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "[Gate Manager]";
mes "You have too many items to receive the Thank You Ticket as a small gift for your investment.";
mes "Please come back after making room in your inventory.";
close;
}
- if (countitem(6488) >= 4800) {
+ if (countitem(Thanks_Invest_Ticket) >= 4800) {
mes "[Gate Manager]";
mes "You have too many Thank You Tickets to receive any more.";
mes "Cannot give you any more tickets. Please use your ticket and come back.";
@@ -1336,7 +1336,7 @@ malangdo,218,126,4 script Cat Paw Merchants Notice 4_BOARD3,{
}
malangdo,218,123,1 script Namis#invest 4_CAT_SAILOR2,4,4,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- Currently you're carrying -";
mes "- too many items with you. -";
mes "- Please try again after you -";
@@ -1461,7 +1461,7 @@ L_Check:
delitem getarg(1),getarg(2);
if (.@items == 2)
delitem getarg(5),getarg(6);
- getitem 6489,1; //Cats_Invest_Certif
+ getitem Cats_Invest_Certif,1;
mes "[Namis]";
mes "Here's your Certificate. Always be grateful to the Merchants for these events!";
close;
@@ -1475,7 +1475,7 @@ OnTouch:
//== Investment Rewards ====================================
malangdo,215,119,4 script Thanks Ticket Machine 2_VENDING_MACHINE1,{
- if (MaxWeight - Weight < 4500 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 4500 || checkweight(Knife,1) == 0) {
mes "- Currently you're carrying -";
mes "- too many items with you. -";
mes "- Please try again after you -";
@@ -1516,11 +1516,11 @@ malangdo,215,119,4 script Thanks Ticket Machine 2_VENDING_MACHINE1,{
case 3:
mes "Red Paw Jelly Bag Button chosen. Need to insert 5 ^FF0000Invest Thanks Ticket^000000 and a random item will appear.";
next;
- if (countitem(6488) < 5) {
+ if (countitem(Thanks_Invest_Ticket) < 5) {
mes "You don't have enough ^FF0000Invest Thanks Ticket^000000 to proceed.";
close;
}
- delitem 6488,5; //Thanks_Invest_Ticket
+ delitem Thanks_Invest_Ticket,5;
.@i = rand(1,10000);
if (.@i <= 100) callsub L_Bag,12531,1; //White_Potion_Box
else if (.@i <= 200) callsub L_Bag,12549,1; //White_Slim_Pot_Box2
@@ -1585,11 +1585,11 @@ malangdo,215,119,4 script Thanks Ticket Machine 2_VENDING_MACHINE1,{
case 4:
mes "Black Paw Jelly Bag Button chosen. Need to insert 50 ^FF0000Invest Thanks Ticket^000000 and a random item will appear.";
next;
- if (countitem(6488) < 50) {
+ if (countitem(Thanks_Invest_Ticket) < 50) {
mes "You don't have enough ^FF0000Invest Thanks Ticket^000000 to proceed.";
close;
}
- delitem 6488,50; //Thanks_Invest_Ticket
+ delitem Thanks_Invest_Ticket,50;
.@i = rand(1,10000);
if (.@i <= 100) callsub L_Bag,12531,1; //White_Potion_Box
else if (.@i <= 200) callsub L_Bag,12549,1; //White_Slim_Pot_Box2
@@ -1664,11 +1664,11 @@ malangdo,215,119,4 script Thanks Ticket Machine 2_VENDING_MACHINE1,{
//callsub L_Purchase,<ticket cost>,<reward ID>,<reward amount>{,<reward name>};
L_Purchase:
- if (countitem(6488) < getarg(0)) {
+ if (countitem(Thanks_Invest_Ticket) < getarg(0)) {
mes "You don't have enough ^FF0000Invest Thanks Ticket^000000 to proceed.";
close;
}
- delitem 6488,getarg(0); //Thanks_Invest_Ticket
+ delitem Thanks_Invest_Ticket,getarg(0);
getitem getarg(1),getarg(2);
mes "- Done! -";
next;
diff --git a/npc/warps/fields/abyss_warper.txt b/npc/warps/fields/abyss_warper.txt
index 74806af3a..204c55842 100644
--- a/npc/warps/fields/abyss_warper.txt
+++ b/npc/warps/fields/abyss_warper.txt
@@ -46,7 +46,7 @@ hu_fild05,168,304,0 script Column#abyss1 HIDDEN_NPC,{
mes "certain dragon body parts";
mes "would fit perfectly into";
mes "the column grooves.^000000";
- if((countitem(1035)) && (countitem(1036)) && (countitem(1037)))
+ if((countitem(Dragon_Canine)) && (countitem(Dragon_Scale)) && (countitem(Dragon_Train)))
{
next;
switch( select( "Insert Dragon Body Parts","Eat Dragon Body Parts" ) )
diff --git a/npc/woe-se/agit_main_se.txt b/npc/woe-se/agit_main_se.txt
index 5941e171a..2c796355e 100644
--- a/npc/woe-se/agit_main_se.txt
+++ b/npc/woe-se/agit_main_se.txt
@@ -986,7 +986,7 @@ OnInit:
mes "^3355FFWork canceled.^000000";
close;
}
- if ((countitem(984) > 0) && (countitem(985) > 0) && (countitem(7049) > 29) && (countitem(717) > 4) && (countitem(715) > 4) && (countitem(716) > 4)) {
+ if ((countitem(Oridecon) > 0) && (countitem(Elunium) > 0) && (countitem(Stone) > 29) && (countitem(Blue_Gemstone) > 4) && (countitem(Yellow_Gemstone) > 4) && (countitem(Red_Gemstone) > 4)) {
mes "^3355FFArrange Stones, Elunium, and";
mes "Oridecon, in that order, in the";
mes "center. Then you must arrange";
@@ -1060,12 +1060,12 @@ OnInit:
mes "^3355FFThe Gemstones have been";
mes "arranged, and the Guardian";
mes "Stone is successfully repaired.^000000";
- delitem 984,1; //Oridecon
- delitem 985,1; //Elunium
- delitem 7049,30; //Stone
- delitem 717,5; //Blue_Gemstone
- delitem 715,5; //Yellow_Gemstone
- delitem 716,5; //Red_Gemstone
+ delitem Oridecon,1;
+ delitem Elunium,1;
+ delitem Stone,30;
+ delitem Blue_Gemstone,5;
+ delitem Yellow_Gemstone,5;
+ delitem Red_Gemstone,5;
close2;
donpcevent "df"+.@num+"#"+strnpcinfo(4)+"::OnEnable";
specialeffect EF_ICECRASH;
@@ -1088,10 +1088,10 @@ OnInit:
mes "It looks like you failed";
mes "to fix the Guardian Stone,";
mes "and lost some materials.^000000";
- delitem 7049,10; //Stone
- delitem 717,2; //Blue_Gemstone
- delitem 715,2; //Yellow_Gemstone
- delitem 716,2; //Red_Gemstone
+ delitem Stone,10;
+ delitem Blue_Gemstone,2;
+ delitem Yellow_Gemstone,2;
+ delitem Red_Gemstone,2;
close;
}
}
@@ -1134,7 +1134,7 @@ OnEnable:
mes "^4D4DFF10 Emveretarcon^000000.";
next;
select("Continue");
- if ((countitem(1019) > 29) && (countitem(999) > 9) && (countitem(1011) > 9) && (countitem(984) > 4)) {
+ if ((countitem(Wooden_Block) > 29) && (countitem(Steel) > 9) && (countitem(Emveretarcon) > 9) && (countitem(Oridecon) > 4)) {
mes "^3355FFYou will need Trunks to";
mes "repair the support frame,";
mes "Oridecon to enhance the";
@@ -1304,10 +1304,10 @@ OnEnable:
if (.@rp_temp == .@ro_of01) {
mes "^3355FFThe Fortress Gate has";
mes "been successfully repaired!^000000";
- delitem 1019,30; //Wooden_Block
- delitem 999,10; //Steel
- delitem 1011,10; //Emveretarcon
- delitem 984,5; //Oridecon
+ delitem Wooden_Block,30;
+ delitem Steel,10;
+ delitem Emveretarcon,10;
+ delitem Oridecon,5;
close2;
donpcevent "RL"+.@num+"#"+strnpcinfo(4)+"::OnEnable";
disablenpc strnpcinfo(0);
@@ -1328,10 +1328,10 @@ OnEnable:
mes "Fortress Gate has failed.";
mes "You lost some of your";
mes "repair resources...^000000";
- delitem 984,2; //Oridecon
- delitem 999,4; //Steel
- delitem 1019,14; //Wooden_Block
- delitem 1011,3; //Emveretarcon
+ delitem Oridecon,2;
+ delitem Steel,4;
+ delitem Wooden_Block,14;
+ delitem Emveretarcon,3;
close;
}
}