summaryrefslogtreecommitdiff
path: root/npc/quests/quests_louyang.txt
diff options
context:
space:
mode:
authorEmistry <Equinox1991@gmail.com>2015-10-27 18:31:29 +0800
committerEmistry <Equinox1991@gmail.com>2015-10-27 18:31:29 +0800
commit3bd77ffc0daca508352834add828766490075aee (patch)
treeb6d2b9f8e02c2c993985908a9406ae9f72685f75 /npc/quests/quests_louyang.txt
parent415114467ab6bcac45e66031993e33f1a68a3255 (diff)
downloadhercules-3bd77ffc0daca508352834add828766490075aee.tar.gz
hercules-3bd77ffc0daca508352834add828766490075aee.tar.bz2
hercules-3bd77ffc0daca508352834add828766490075aee.tar.xz
hercules-3bd77ffc0daca508352834add828766490075aee.zip
Replaced parameter type with constant.
constant for gettime( <type> ) constant for Weekday and Month.
Diffstat (limited to 'npc/quests/quests_louyang.txt')
-rw-r--r--npc/quests/quests_louyang.txt52
1 files changed, 26 insertions, 26 deletions
diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt
index 4e59e91cd..8d5113cd5 100644
--- a/npc/quests/quests_louyang.txt
+++ b/npc/quests/quests_louyang.txt
@@ -38,7 +38,7 @@
// Soup Quest :: lou_tre
//============================================================
lou_in02,53,174,7 script Employee#1 4_M_CHNMAN,6,62,{
- if (gettime(3) >= 10 && gettime(3) < 22) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 22) {
mes "[Chang Pai]";
mes "Welcome, welcome!";
mes "We are ready to serve you~!";
@@ -51,7 +51,7 @@ lou_in02,53,174,7 script Employee#1 4_M_CHNMAN,6,62,{
OnTouch:
if (ch_tre == 2 || ch_tre == 3) {
- if (gettime(3) >= 10 && gettime(3) < 14) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 14) {
if (rand(1,10) < 9) {
mes "[Chang Pai]";
mes "Wait, who are you?!";
@@ -64,7 +64,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 14 && gettime(3) < 17) {
+ else if (gettime(HOUR) >= 14 && gettime(HOUR) < 17) {
if (rand(1,10) < 10) {
mes "[Chang Pai]";
mes "Wait, who are you?!";
@@ -77,7 +77,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 17 && gettime(3) < 21) {
+ else if (gettime(HOUR) >= 17 && gettime(HOUR) < 21) {
if (rand(1,10) < 6) {
mes "[Chang Pai]";
mes "Wait, who are you?!";
@@ -113,7 +113,7 @@ OnTouch:
}
lou_in02,76,181,3 script Employee#2 4_M_CHNMAN,2,2,{
- if (gettime(3) >= 10 && gettime(3) < 22) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 22) {
mes "[Huang Jia Xian]";
mes "Welcome~";
mes "Sorry for making you wait. If you wish to rest, please go upstairs.";
@@ -138,7 +138,7 @@ lou_in02,76,181,3 script Employee#2 4_M_CHNMAN,2,2,{
OnTouch:
if (ch_tre == 2 || ch_tre == 3) {
- if (gettime(3) >= 10 && gettime(3) < 14) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 14) {
if (rand(1,10) < 9) {
mes "[Huang Jia Xian]";
mes "What the...?";
@@ -152,7 +152,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 14 && gettime(3) < 17) {
+ else if (gettime(HOUR) >= 14 && gettime(HOUR) < 17) {
if (rand(1,10) < 10) {
mes "[Huang Jia Xian]";
mes "What the...?";
@@ -166,7 +166,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 17 && gettime(3) < 22) {
+ else if (gettime(HOUR) >= 17 && gettime(HOUR) < 22) {
if (rand(1,10) < 6) {
mes "[Huang Jia Xian]";
mes "What the...?";
@@ -203,7 +203,7 @@ OnTouch:
}
lou_in02,61,175,3 script Employee#3 4_F_CHNWOMAN,2,2,{
- if (gettime(3) >= 10 && gettime(3) < 22) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 22) {
if (ch_tre == 5) {
mes "[Ya Hua]";
mes "Welcome, welcome!";
@@ -234,7 +234,7 @@ lou_in02,61,175,3 script Employee#3 4_F_CHNWOMAN,2,2,{
OnTouch:
if (ch_tre == 2 || ch_tre == 3) {
- if (gettime(3) >= 10 && gettime(3) < 14) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 14) {
if (rand(1,10) < 9) {
mes "[Ya Hua]";
mes "What do you think";
@@ -248,7 +248,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 14 && gettime(3) < 17) {
+ else if (gettime(HOUR) >= 14 && gettime(HOUR) < 17) {
if (rand(1,10) < 10) {
mes "[Ya Hua]";
mes "What do you think";
@@ -262,7 +262,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 17 && gettime(3) < 22) {
+ else if (gettime(HOUR) >= 17 && gettime(HOUR) < 22) {
if (rand(1,10) < 6) {
mes "[Ya Hua]";
mes "What do you think";
@@ -367,7 +367,7 @@ lou_in02,62,183,3 script Chef#1-2 4_M_CHNCOOK,2,2,{
OnTouch:
if (ch_tre == 2 || ch_tre == 3) {
- if (gettime(3) >= 10 && gettime(3) < 14) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 14) {
if (rand(1,10) < 9) {
mes "[Wang Shi Long]";
mes "Hey, what do you";
@@ -382,7 +382,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 14 && gettime(3) < 17) {
+ else if (gettime(HOUR) >= 14 && gettime(HOUR) < 17) {
if (rand(1,10) < 10) {
mes "[Wang Shi Long]";
mes "Hey, what do you";
@@ -397,7 +397,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 17 && gettime(3) < 22) {
+ else if (gettime(HOUR) >= 17 && gettime(HOUR) < 22) {
if (rand(1,10) < 6) {
mes "[Wang Shi Long]";
mes "Hey, what do you";
@@ -720,16 +720,16 @@ lou_in02,50,185,5 script Pot#1 HIDDEN_NPC,{
mes "^3131FFYou take a careful look around.";
mes "It wouldn't be wise to steal this now if anyone is watching.^000000";
next;
- if (gettime(3) >= 10 && gettime(3) < 14) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 14) {
mes "^3131FFThe restaurant doesn't seem busy right now, so there's only a few employees and customers.^000000";
}
- else if (gettime(3) >= 14 && gettime(3) < 17) {
+ else if (gettime(HOUR) >= 14 && gettime(HOUR) < 17) {
mes "^3131FFOnly the restaurant";
mes "employees are around,";
mes "and they busy chatting";
mes "amongst each other.^000000";
}
- else if (gettime(3) >= 17 && gettime(3) < 22) {
+ else if (gettime(HOUR) >= 17 && gettime(HOUR) < 22) {
mes "^3131FFThe restaurant is filled";
mes "with customers, and the";
mes "hustle and bustle of the";
@@ -770,7 +770,7 @@ lou_in02,50,185,5 script Pot#1 HIDDEN_NPC,{
mes "^3131FFHowever, it's empty.^000000";
close;
}
- if (gettime(3) >= 10 && gettime(3) < 22) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 22) {
mes "[Chef]";
mes "Ah...!";
mes "Please, do not";
@@ -792,16 +792,16 @@ lou_in02,49,185,5 script Pot#2 HIDDEN_NPC,{
mes "^3131FFYou take a careful look around.";
mes "It wouldn't be wise to steal this now if anyone is watching.^000000";
next;
- if (gettime(3) >= 10 && gettime(3) < 14) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 14) {
mes "^3131FFThe restaurant doesn't seem busy right now, so there's only a few employees and customers.^000000";
}
- else if (gettime(3) >= 14 && gettime(3) < 17) {
+ else if (gettime(HOUR) >= 14 && gettime(HOUR) < 17) {
mes "^3131FFOnly the restaurant";
mes "employees are around,";
mes "and they busy chatting";
mes "amongst each other.^000000";
}
- else if (gettime(3) >= 17 && gettime(3) < 22) {
+ else if (gettime(HOUR) >= 17 && gettime(HOUR) < 22) {
mes "^3131FFThe restaurant is filled";
mes "with customers, and the";
mes "hustle and bustle of the";
@@ -842,7 +842,7 @@ lou_in02,49,185,5 script Pot#2 HIDDEN_NPC,{
mes "an empty pot.^000000";
close;
}
- if (gettime(3) >= 10 && gettime(3) < 22) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 22) {
mes "[Chef]";
mes "Ah...!";
mes "Please, do not";
@@ -894,7 +894,7 @@ lou_in02,58,183,5 script Chef Assistant#lou1 4_M_CHNMONK,5,5,{
OnTouch:
if (ch_tre == 2 || ch_tre == 3) {
- if (gettime(3) >= 10 && gettime(3) < 14) {
+ if (gettime(HOUR) >= 10 && gettime(HOUR) < 14) {
if (rand(1,10) < 9) {
mes "[Jin Wei Ling]";
mes "Wait! Who are you!";
@@ -908,7 +908,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 14 && gettime(3) < 17) {
+ else if (gettime(HOUR) >= 14 && gettime(HOUR) < 17) {
if (rand(1,10) < 10) {
mes "[Jin Wei Ling]";
mes "Wait! Who are you!";
@@ -922,7 +922,7 @@ OnTouch:
close;
}
}
- else if (gettime(3) >= 17 && gettime(3) < 22) {
+ else if (gettime(HOUR) >= 17 && gettime(HOUR) < 22) {
if (rand(1,10) < 6) {
mes "[Jin Wei Ling]";
mes "Wait! Who are you!";