Bläddra i källkod

Added some information and documentation for cash shop.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12268 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf 17 år sedan
förälder
incheckning
ceb2dce73f
5 ändrade filer med 18 tillägg och 1 borttagningar
  1. 2 0
      Changelog-Trunk.txt
  2. 2 0
      conf/Changelog.txt
  3. 2 0
      conf/charhelp.txt
  4. 2 0
      conf/help.txt
  5. 10 1
      doc/script_commands.txt

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2008/02/29
+	* Rev. 12268 Added documentation for Cash shop NPC heading. [L0ne_W0lf]
 2008/02/28
 	* Added cash shop support [Zephyrus]
 2008/02/27

+ 2 - 0
conf/Changelog.txt

@@ -1,5 +1,7 @@
 Date	Added
 
+2008/02/27
+	* Rev. 12268 Added information for cash related @ and # commands. [L0ne_W0lf]
 2008/02/27
 	* Disabled idle_no_autoloot setting (bugreport:1051)
 2008/02/14

+ 2 - 0
conf/charhelp.txt

@@ -11,6 +11,8 @@
  60:#jlvl <#> <nickname> - Change a characters job level.
  60:#job/#jobchange <job ID> <char name> - Changes target characters job.
  60:#zeny <amount> <name> - Give/take a players Zeny
+ 60:#cash <amount> <name> - Give/take a player cash points
+ 60:#points <amount> <name> - Give/take a player Kafra points
  60:#stpoint <amount> <name> - Give/take a players stat points
  60:#skpoint <amount> <name> - give/take a players skill points
  60:#skreset <charname> - Reset skills of a character.

+ 2 - 0
conf/help.txt

@@ -131,6 +131,8 @@
  60:@stpoint <number of points> - Gives you the desired number of stat points.
  60:@skpoint <number of points> - Gives you the desired number of skill points.
  60:@zeny <amount> - Gives you desired amount of Zeny.
+ 60:@cash <amount> - Gives you the specified amount of cash points.
+ 60:@points <amount> - Gives you the specified amount of Kafra Points.
  60:@str,@agi,@vit,@int,@dex,@luk <amount> - Adds desired amount to any stat. For example "@str 10" raises your str by 10
  60:@statall/@statsall/@allstats/@allstat [value] - Adds value in all stats (maximum if no value).
  60: @addwarp <map name> <x coord> <y coord>

+ 10 - 1
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>}