summaryrefslogtreecommitdiff
path: root/npc/000-2-1
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-01-04 18:14:17 +0100
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-01-04 18:14:17 +0100
commit32f4c3aa401fa2da11393f800431e8dc2fd81af1 (patch)
tree3dcf9de9f790e6cf6c5ded36bbc55170a39482f9 /npc/000-2-1
parent857a37ed3697b4e58178771ddb6f604108b60928 (diff)
downloadserverdata-32f4c3aa401fa2da11393f800431e8dc2fd81af1.tar.gz
serverdata-32f4c3aa401fa2da11393f800431e8dc2fd81af1.tar.bz2
serverdata-32f4c3aa401fa2da11393f800431e8dc2fd81af1.tar.xz
serverdata-32f4c3aa401fa2da11393f800431e8dc2fd81af1.zip
Random code cleanup. Removed tabs. Fixed identation. Removed trailing spaces.
Diffstat (limited to 'npc/000-2-1')
-rw-r--r--npc/000-2-1/alige.txt13
-rw-r--r--npc/000-2-1/arpan.txt2
-rw-r--r--npc/000-2-1/peter.txt11
3 files changed, 9 insertions, 17 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index 173d0ae9..caef58de 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -58,10 +58,9 @@
close;
l_NeedHelp:
-
mesn l("Hidden person");
mesq l("Good, good! ") + " " + l("Could you help me please? ") + " " + l("I beg you, please, pleeeease... ");
-
+
menu
l("Why not... but, who are you?") + l(" And what kind of help do you need?"), l_CanHelp;
l("Sorry but I have no time for this."), -;
@@ -71,20 +70,18 @@
close;
l_CanHelp:
-
mesn;
mesq l("I'm called Alige, and I'm hiding here for few weeks.") + l("All that I had to eat were these berries... Berries... Berries...") + l("I'm losing my mind, I need something else to eat!");
- next;
+ next;
mesn;
mesq l("Can you bring me something which isn't a vegetable?") + l("And please, no berries. No more!");
-
+
menu
l("Okay, but what do you offer me?"), l_AboutReward,
l("Why are you hiding? ") + " " + l("Why not going outside to talk?"), -;
l_ExplainHiding:
-
mesn;
mesq l("No, I'm not, I just wanted to travel across the seas for fun.") + " " + l("In this cave, you see, I have lots of fun.");
next;
@@ -103,13 +100,11 @@
goto l_Accept;
l_AboutReward:
-
mesn;
mesq l("I'll share my berries with you, if you help me.");
next;
l_Accept:
-
menu
l("Ok, I'll help you."), l_Accepted,
l("What is Artis?"), l_Artis,
@@ -124,7 +119,6 @@
goto l_Accept;
l_Accepted:
-
seta2 ShipQuests, ShipQuests_Alige, 2;
mesn;
mesq l("Perfect, which food did you get for me today?");
@@ -132,7 +126,6 @@
goto l_GiveFood;
l_GiveFood:
-
menu
rif(countitem(502, 1), l(getitemname(502))), 502,
rif(countitem(503, 1), l(getitemname(503))), 503,
diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt
index c98fd46d..76c0d76c 100644
--- a/npc/000-2-1/arpan.txt
+++ b/npc/000-2-1/arpan.txt
@@ -71,7 +71,7 @@ l_EquipDone:
if (@q > 1) goto l_Empty;
mes l("This box is locked.");
close;
-
+
l_Give:
mes l("You see some items in the box. Pick them up?");
menu
diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt
index 5de0fb2a..f0eec4f9 100644
--- a/npc/000-2-1/peter.txt
+++ b/npc/000-2-1/peter.txt
@@ -38,16 +38,15 @@
}
000-2-1.gat,60,35,0,1 script Peter 303,{
-
set @q_julia, geta2(ShipQuests, ShipQuests_Julia);
if (@q_julia == 0) goto l_TalkToJulia;
if (BaseLevel < 5) goto OnTooWeak;
-
+
mesn;
mesq g(l("Hey, girl!"), l("Hey, man!"));
next;
-
+
set @q, geta4(ShipQuests, ShipQuests_Peter);
// If player is here but has not finished the quest he aborted it since he
@@ -103,7 +102,7 @@
OnCheck:
stopnpctimer;
-
+
mesn;
mesq l("Let me see your work...");
next;
@@ -128,7 +127,7 @@
l("What? This reward is too small!"), l_Close;
if ($@RAT_SAILOR_HELPER != "") goto OnDontNeedHelp;
seta4 ShipQuests, ShipQuests_Peter, 2;
- goto l_Start;
+ goto l_Start;
l_Task:
if ($@RAT_SAILOR_HELPER != "") goto OnDontNeedHelp;
@@ -159,7 +158,7 @@
l_KillHelper:
set $@RAT_SAILOR_HELPER$, "";
- close;
+ close;
l_Reward:
mesn;