[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Wed Mar 24 12:42:19 CDT 2010


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2010/03/24 12:42
User        : cavehippo
Edit Summary: 

@@ -725,8 +725,15 @@
  Argument:
    * ''string'' to say.
  
  Equivalent to ''Say''.
+ 
+ ==== Split ====
+ This should only be called on stacks of objects (where Object.Quantity is greater than 1)
+ This takes an object with n items in it's stack, and splits it into two objects, returning the new object. This new object contains the number of items specified by the argument, the original object has its Quantity reduced by the same amount.
+ 
+ Argument:
+   * ''Number'' how many of the item should be moved to the new object.
  
  ==== Take ====
  Current object picks up specified object, which will be put in inventory, or in a container, depending on applied containers.
  


IP-Address  : 81.141.60.247
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1264347746
New Revision: http://wiki.metalforge.net/doku.php/cfpython

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list