summaryrefslogtreecommitdiff
path: root/npc/003-8
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-09 00:32:15 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-09 00:32:15 -0200
commit826347d6d6a4553769f272c64b6fa37174d2e7d5 (patch)
tree553a26f9fcaa6454a5df58119c14a3f473696d5f /npc/003-8
parent40fefd371e600b3239c3e9bbf0e1c9b9ab516b77 (diff)
downloadserverdata-826347d6d6a4553769f272c64b6fa37174d2e7d5.tar.gz
serverdata-826347d6d6a4553769f272c64b6fa37174d2e7d5.tar.bz2
serverdata-826347d6d6a4553769f272c64b6fa37174d2e7d5.tar.xz
serverdata-826347d6d6a4553769f272c64b6fa37174d2e7d5.zip
These minor changes (mostly comments) shall give more feeling to the game.
Diffstat (limited to 'npc/003-8')
-rw-r--r--npc/003-8/jhedia.txt21
1 files changed, 11 insertions, 10 deletions
diff --git a/npc/003-8/jhedia.txt b/npc/003-8/jhedia.txt
index 9f661fa20..c638d894c 100644
--- a/npc/003-8/jhedia.txt
+++ b/npc/003-8/jhedia.txt
@@ -1,6 +1,7 @@
// TMW2 scripts.
// Author:
// Crazyfefe
+// Note: script works, but one may argue it is not complete
003-8,28,30,0 script Jhedia NPC_ELVEN_FEMALE,{
@@ -12,24 +13,24 @@
function quest_create {
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("How many ingots do you want to make?");
- input .amount;
+ input @amount;
- if (countitem("Iron Ore") >= .amount * 7 && countitem("Coal") >= .amount * 11 && Zeny >= 8500 * .amount)
+ if (countitem("Iron Ore") >= @amount * 7 && countitem("Coal") >= @amount * 11 && Zeny >= 8500 * @amount)
{
- delitem .Item1, .amount * 7;
- delitem .Item2, .amount * 11;
- Zeny = Zeny - .amount * .GP;
- getitem .ItemCreate, .amount;
+ delitem .Item1, @amount * 7;
+ delitem .Item2, @amount * 11;
+ Zeny = Zeny - @amount * .GP;
+ getitem .ItemCreate, @amount;
close;
}
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("You don't have enought quantity.");
+ speech S_FIRST_BLANK_LINE,// | S_LAST_NEXT,
+ l("You don't have enough material.");
close;
}
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Hello do you want to craft @@, for that i will need 7 @@, 11 @@ and @@ gp.", getitemlink(.ItemCreate),getitemlink(.Item1),getitemlink(.Item2),.GP);
+ l("Hello! Do you want to craft @@? For that i will need 7 @@, 11 @@ and @@ gp.", getitemlink(.ItemCreate),getitemlink(.Item1),getitemlink(.Item2),.GP);
do
{
@@ -51,7 +52,7 @@
close;
OnInit:
- .sex = G_MALE;
+ .sex = G_FEMALE;
.distance = 3;
end;
}