summaryrefslogtreecommitdiff
path: root/npc/003-1/oldwell.txt
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-05-29 06:45:18 +0000
committerSaulc <lucashelaine14@gmail.com>2018-05-29 06:45:18 +0000
commitd21990a6956a01cff28ad7e40acb68be3f3e9978 (patch)
tree7375f63e5576477623eaead5a3e876e8b87b41ac /npc/003-1/oldwell.txt
parentc8133b2bc8b9c77655363719a9db91b5e72f8d63 (diff)
downloadserverdata-d21990a6956a01cff28ad7e40acb68be3f3e9978.tar.gz
serverdata-d21990a6956a01cff28ad7e40acb68be3f3e9978.tar.bz2
serverdata-d21990a6956a01cff28ad7e40acb68be3f3e9978.tar.xz
serverdata-d21990a6956a01cff28ad7e40acb68be3f3e9978.zip
Add old well in tulimshar wrong location !
Diffstat (limited to 'npc/003-1/oldwell.txt')
-rw-r--r--npc/003-1/oldwell.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/npc/003-1/oldwell.txt b/npc/003-1/oldwell.txt
new file mode 100644
index 000000000..20fd9cab0
--- /dev/null
+++ b/npc/003-1/oldwell.txt
@@ -0,0 +1,37 @@
+// TMW-2 Script
+// Author:
+// Saulc
+// Jesusalva
+// Description:
+// Free well that give sewer water. a good place for tulim kids to miss school :b
+
+003-1,47,79,0 script Old Well NPC_PLAYER,{
+
+
+ mes col("You found a free well, It's time to plenty some @@!", getitemlink(EmptyBottle)", 9);
+ input .@count;
+
+ if (.@count == 0)
+ close;
+ .@empty = countitem("EmptyBottle");
+
+ if (.@empty < .@count)
+ goto L_NotEnoughBottles;
+ getinventorylist;
+ inventoryplace BottleOfSewerWater, .@count;
+
+ delitem "EmptyBottle", .@count;
+ getitem "BottleOfSewerWater", .@count;
+ close;
+
+L_NotEnoughBottles:
+ mes col("You don't have that many empty bottles!", 9);
+ close;
+
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 3;
+ end;
+}
+