summaryrefslogtreecommitdiff
path: root/npc/000-2-1
diff options
context:
space:
mode:
authorAlige <aligetmw@hotmail.fr>2012-11-30 10:21:53 +0400
committerAlige <aligetmw@hotmail.fr>2012-11-30 10:21:53 +0400
commite5e41bd924b45d2d15b3175413a3a7a520396dee (patch)
treeb98143b49bd16e9ce32afe95d6b37d4c1667142b /npc/000-2-1
parentecf8da4a5520496e6c678ee600a85b63a7e62a02 (diff)
downloadserverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.tar.gz
serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.tar.bz2
serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.tar.xz
serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.zip
Replaced some item IDs by their names in scripts.
Added missing commands when the NPC gives an item. Fixed some language.
Diffstat (limited to 'npc/000-2-1')
-rw-r--r--npc/000-2-1/alige.txt13
-rw-r--r--npc/000-2-1/arpan.txt14
-rw-r--r--npc/000-2-1/knife.txt17
3 files changed, 33 insertions, 11 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index 571070e6..8267f997 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -169,6 +169,8 @@ l_GiveFood:
l_GiveReward:
if (countitem(@id) < 1) close;
+ getinventorylist;
+ if ((checkweight("Piberries", 3) == 0) || (@inventorylist_count == 100)) goto l_Inventory;
delitem @id, 1;
mes "";
@@ -179,6 +181,15 @@ l_GiveReward:
getitem "Piberries", rand(1,3);
close;
+l_Inventory;
+ mes "";
+ mesn;
+ mesq l("It looks like you can't carry anything else for now.");
+ next;
+ mesq l("You should come back when you'll have some free space.");
+
+ close;
+
l_NoReward:
mes "";
mesn;
@@ -230,7 +241,7 @@ l_IntroMenu:
mesn "Narrator";
mes col(l("You can attack a monster by clicking on it or from your keyboard you can press the A key to select the monster followed by 'Ctrl' to attack it."), 9);
next;
- mes col(l("Once the monster is dead, click with your mouse on the dropped item to add it to your inventory or you can use the Z key to claim the drop as well."), 9);
+ mes col(l("Once the monster is dead, click on the dropped items to add them to your inventory. You can also use the Z key to claim the drops."), 9);
close;
diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt
index 81d52382..a0122913 100644
--- a/npc/000-2-1/arpan.txt
+++ b/npc/000-2-1/arpan.txt
@@ -108,11 +108,11 @@ OnClothNotTaken:
OnEquip:
mesn "Narrator";
- mes col(l("If you would like to open your inventory use the F3 key or use your mouse to select it in the above menu in your client."), 9);
+ mes col(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9);
next;
- mes col(l("Once you're inside of your inventory, you may equip the item by selecting it and clicking 'Equip'. Alternately, you can unequip an item by clicking on 'unequip'."), 9);
+ mes col(l("When your inventory is open, you can equip an item by selecting it and clicking 'Equip'. You can do the same to unequip an item by clicking on 'Unequip'."), 9);
next;
- mes col(l("Certain items perform different effects. Some will heal you, some you may use as weapons or armor, and some can be sold for gold."), 9);
+ mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9);
close;
@@ -153,7 +153,7 @@ l_Where:
next;
mesq l("We will be yaying there in a few days, so we will drop you off there.");
next;
- mesq l("You will see, citizens are polite and you can still ask for help in the warrior guild. They can help find a job for you or maybe help you find out what happened to you out at sea!");
+ mesq l("You will see, citizens are polite and you can still ask for help in the Warrior Guild. They can help find a job for you or maybe help you find out what happened to you out at sea!");
next;
goto l_Menu;
@@ -200,11 +200,11 @@ l_WhatCloth:
next;
mesn "Narrator";
- mes col(lg("To open your inventory, use the F3 key or use your mouse in the above menu of your client."), 9);
+ mes col(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9);
next;
- mes col(lg("When your inventory will be opened, you may equip the item by selecting it and clicking 'Equip'. Alternately, you can unequip an item by selecting 'Unequip' to remove it."), 9);
+ mes col(l("When your inventory is open, you can equip an item by selecting it and clicking 'Equip'. You can do the same to unequip an item by clicking on 'Unequip'."), 9);
next;
- mes col(lg("Items perform different effects. Some will heal you, some you may use as weapons or armor and some can be sold for gold."), 9);
+ mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9);
next;
l_BeforeMenu:
diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt
index 8f570042..71138fac 100644
--- a/npc/000-2-1/knife.txt
+++ b/npc/000-2-1/knife.txt
@@ -25,16 +25,27 @@
close;
l_Give:
+ getinventorylist;
+ if ((checkweight("Knife", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory;
setq ShipQuests_Knife, 1;
getitem "Knife", 1;
mes "";
mesn "Narrator";
- mes col(l("If you would like to open your inventory use the F3 key or use your mouse to select it in the above menu in your client."), 9);
+ mes col(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9);
next;
- mes col(l("Once you're inside of your inventory, you may equip the item by selecting it and clicking 'Equip'. Alternately, you can unequip an item by clicking on 'unequip'."), 9);
+ mes col(l("When your inventory is open, you can equip an item by selecting it and clicking 'Equip'. You can do the same to unequip an item by clicking on 'Unequip'."), 9);
next;
- mes col(l("Items have different effects. Some will heal you, some you may use as weapons or armor, and some can be sold for gold."), 9);
+ mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9);
+
+ close;
+
+l_Inventory;
+ mes "";
+ mesn;
+ mesq l("It looks like you can't carry anything else for now.");
+ next;
+ mesq l("You should come back when you'll have some free space.");
close;