[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:cavesomething:guide_to_quest_dialogs

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Tue Mar 23 14:54:50 CDT 2010


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

Date        : 2010/03/23 14:54
User        : 
Edit Summary: 

@@ -247,8 +247,18 @@
  The name should be the name of the item to be given, or money. The number may be omitted, if so it is treated as 1.
  
  Note that items which are given away are in the NPCs inventory, so if the NPC is killed, they will drop. 
  If you **don't** want to be able to acquire these items through killing the NPC, then you should create an NPC_Gift_Box item in the NPCs inventory, and put the items in there. This is checked before the rest of the NPCs inventory is.
+ 
+ == givecontents ==
+ 
+ This is like giveitem, except that it gives whatever is in the container specified, rather than the container.
+ 
+ You should use this when: 
+   * There are a lot of items you want to give at the same time
+   * You want to use a treasure list to create an item, you won't know what items will be generated exactly, but by putting it in a container, you can give the player whatever is in there.
+ 
+ **Warning:** You probably //Don't// want to use a treasure list that contains monsters, it'll sort of work, but don't do it.
  
  == takeitem ==
  
  Removes the given number of an item from the inventory of the player.


IP-Address  : 81.141.60.247
Old Revision: http://wiki.metalforge.net/doku.php/user:cavesomething:guide_to_quest_dialogs?rev=1269370442
New Revision: http://wiki.metalforge.net/doku.php/user:cavesomething:guide_to_quest_dialogs

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




More information about the crossfire-wiki mailing list