summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-09 12:50:24 +0000
committerKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-09 12:50:24 +0000
commit5cca96bf950bcd9586ab04f0e0f2b5d9a556c5e0 (patch)
tree1f546bf12a99017b41ae2fd90e0ac452f97b0282 /doc
parentb4208257ea0906e375024f811d8e51208d539d35 (diff)
downloadhercules-5cca96bf950bcd9586ab04f0e0f2b5d9a556c5e0.tar.gz
hercules-5cca96bf950bcd9586ab04f0e0f2b5d9a556c5e0.tar.bz2
hercules-5cca96bf950bcd9586ab04f0e0f2b5d9a556c5e0.tar.xz
hercules-5cca96bf950bcd9586ab04f0e0f2b5d9a556c5e0.zip
* Merged changes from trunk [14688:14739/trunk].
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14740 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt41
1 files changed, 39 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index edca5e037..6afc94444 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.35.20110106
+//= 3.37.20110306
//=========================================================
//= 1.0 - First release, filled will as much info as I could
//= remember or figure out, most likely there are errors,
@@ -155,6 +155,10 @@
//= Spellcheck. [Ai4rei]
//= 3.35.20110106
//= Removed bug warning from 'deletearray'. [Ai4rei]
+//= 3.36.20110219
+//= Added 'buyingstore' command. [Ai4rei]
+//= 3.37.20110306
+//= Added 'searchstores' command. [Ai4rei]
//=========================================================
This document is a reference manual for all the scripting commands and functions
@@ -4424,6 +4428,39 @@ Example(s):
autoequip 1104,0;
---------------------------------------
+
+*buyingstore <slots>;
+
+Invokes buying store preparation window like the skill 'Open Buying Store',
+without the item requirement. Amount of slots is limited by the server to
+a maximum of 5 slots by default.
+
+Example:
+
+ // Gives the player oppurtunity to buy 4 different kinds of items.
+ buyingstore 4;
+
+---------------------------------------
+
+*searchstores <uses>,<effect>;
+
+Invokes the store search window, which allows to search for both vending
+and buying stores. Parameter uses indicates, how many searches can be
+started, before the window has to be reopened. Effect value affects,
+what happens, when a result item is double-clicked and can be one of the
+following:
+
+ 0 = Shows the store's position on the mini-map and highlights the
+ shop sign with yellow color, when the store is on same map
+ as the invoking player.
+ 1 = Directly opens the shop, regardless of distance.
+
+Example:
+
+ // Item Universal_Catalog_Gold (10 uses, effect: open shop)
+ searchstores 10,1;
+
+---------------------------------------
//
4,1.- End of item-related commands
//
@@ -6098,7 +6135,7 @@ illustration without displaying a new one, an empty file name and position 255
must be used.
// Displays the Comodo Kafra illustration in lower right corner.
- cutin "kafra_7",2;
+ cutin "kafra_07",2;
// Typical way to end a script, which displayed an illustration during a
// dialog with a player.