User Tools

Site Tools


remove_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
remove_item [2017/05/01 14:00] justinremove_item [2018/03/16 09:47] justin
Line 3: Line 3:
  
 Removes the specified item from the player's inventory. Only one instance is removed if the player has more than one of the item. Removes the specified item from the player's inventory. Only one instance is removed if the player has more than one of the item.
 +
 +====Signature:====
 <code python> <code python>
 remove_item(item_name) remove_item(item_name)
Line 8: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|item_name|Name of the item to remove (as defined in the [[Item Editor]])|[[String]]|Yes|+|item_name|Name of the item to remove (as defined in the [[Item Editor]]).|[[String]]|Yes|
  
 ====Example:==== ====Example:====
Line 17: Line 19:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Remove Item** function when turning in a quest item for an NPC or opening a container with a key that is only good for one use.+Use the **Remove Item** function when turning in a quest item for an NPC or opening a container with a key that'only good for one use.
 </WRAP> </WRAP>
  
remove_item.txt · Last modified: 2023/04/26 12:22 by justin