summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-29 05:44:26 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-29 05:44:26 +0000
commit5cf415fe79143e46f95369df131b3ece5d0ead8e (patch)
tree342473deeb4e5ba984400ca7c84ba626836eccad /doc/script_commands.txt
parentb4446fe25bb94d21ec0eec391e755ae9c32cd37d (diff)
downloadhercules-5cf415fe79143e46f95369df131b3ece5d0ead8e.tar.gz
hercules-5cf415fe79143e46f95369df131b3ece5d0ead8e.tar.bz2
hercules-5cf415fe79143e46f95369df131b3ece5d0ead8e.tar.xz
hercules-5cf415fe79143e46f95369df131b3ece5d0ead8e.zip
Added some information and documentation for cash shop.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12268 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index bc5bbd1e3..4783a1d20 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -4,7 +4,7 @@
//= A reference manual for the eAthena scripting language.
//= Commands are sorted depending on their functionality.
//===== Version ===========================================
-//= 3.14.20080211
+//= 3.16.20080229
//=========================================================
//= 1.0 - First release, filled will as much info as I could
//= remember or figure out, most likely there are errors,
@@ -101,6 +101,8 @@
//= Updated 'input' (new arguments and return value). [FlavioJS]
//= 3.15.20080227
//= Updated 'checkweight' description slightly. [L0ne_W0lf]
+//= 3.16.20080229
+//= Updated 'Shop' NPC type description to include cashshop. [L0ne_W0lf]
//=========================================================
This document is a reference manual for all the scripting commands and functions
@@ -383,6 +385,13 @@ to -1, the 'buy price' given in the item database will be used. Otherwise, the
price you gave will be used for this item, which is how you create differing
prices for items in different shops.
+Since trunk r12264 you can alernatively use "cashshop" in place of "shop"
+so use the Cash Shop interface, allowing you to buy items with special points
+(currently stored as account vars in global_reg #CASHPOINTSand and #FREEPOINTS.)
+This type of shop will not allow you to sell items at it, you may only
+purchase items here. The layout used to define sale items still count, and
+"<price>" referes to how many points will be spent purchasing the them.
+
** Define a function object
function%TAB%script%TAB%<function name>%TAB%{<code>}