From 4e73bda7d56db627d98608ba7b12711568766b79 Mon Sep 17 00:00:00 2001
From: AnnieRuru <jeankof@ymail.com>
Date: Fri, 21 Mar 2014 04:55:31 +0800
Subject: Fix hunting mission and clarify weight's unit

Fix hunting mission not able to take mission after a character has deleted
http://hercules.ws/board/tracker/issue-8104-hunting-missiontxt-delete-character/
Clarify Weight and MaxWeight unit as in 0.1
http://hercules.ws/board/tracker/issue-7836-weight-and-maxweight/
---
 doc/item_db.txt         | 2 +-
 doc/script_commands.txt | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

(limited to 'doc')

diff --git a/doc/item_db.txt b/doc/item_db.txt
index 30aa845f3..7035ed684 100644
--- a/doc/item_db.txt
+++ b/doc/item_db.txt
@@ -18,7 +18,7 @@ item_db: (
 	Type: Item Type               (int, defaults to 3 = etc item)
 	Buy: Buy Price                (int, defaults to Sell * 2)
 	Sell: Sell Price              (int, defaults to Buy / 2)
-	Weight: Item Weight           (int, defaults to 0)
+	Weight: Item Weight           (int, defaults to 0, units in Weight/10 )
 	Atk: Attack                   (int, defaults to 0)
 	Matk: Magical Attack          (int, defaults to 0, ignored in pre-re)
 	Def: Defense                  (int, defaults to 0)
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index d1175413e..767aa5459 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -522,7 +522,9 @@ JobExp      - Amount of job experience points.
 NextBaseExp - Amount of base experience points needed to reach next level.
 NextJobExp  - Amount of job experience points needed to reach next level.
 Weight      - Amount of weight the character currently carries.
+              Display as in Weight/10.
 MaxWeight   - Maximum weight the character can carry.
+              Display as in MaxWeight/10.
 Sex         - 0 if female, 1 if male.
 Class       - Character's job.
 Upper       - 0 if the character is normal class, 1 if advanced, 2 if baby.
@@ -2376,6 +2378,11 @@ You can also use this command to get stat values.
 	if (readparam(bVit) > 77)
 		mes "Only people with over 77 Vit are reading this!";
 
+Example 3:
+
+	// Display your current weight
+	mes "Your current weight is "+( Weight/10 )+"/"+( MaxWeight/10 );
+
 ---------------------------------------
 
 *getcharid(<type>{,"<character name>"})
-- 
cgit v1.2.3-70-g09d2