<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.spherecommunity.net/index.php?action=history&amp;feed=atom&amp;title=%40ItemBuy</id>
		<title>@ItemBuy - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.spherecommunity.net/index.php?action=history&amp;feed=atom&amp;title=%40ItemBuy"/>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@ItemBuy&amp;action=history"/>
		<updated>2026-05-04T21:31:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@ItemBuy&amp;diff=412&amp;oldid=prev</id>
		<title>MrSugarCube: Created page with '==Description== This trigger fires when a character buys an item from a vendor. The trigger fires once for each item that is bought in the transaction.   Fires on: * [[Characters...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@ItemBuy&amp;diff=412&amp;oldid=prev"/>
				<updated>2009-06-16T22:19:21Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;==Description== This trigger fires when a character buys an item from a vendor. The trigger fires once for each item that is bought in the transaction.   Fires on: * [[Characters...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when a character buys an item from a vendor. The trigger fires once for each item that is bought in the transaction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[Characters]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || The [[Items|item]] being bought.&lt;br /&gt;
|-&lt;br /&gt;
| [[ARGO]] || The [[Characters#NPCs|vendor]] the item is being bought from.&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] buying the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || I || The amount of the item being bought.&lt;br /&gt;
|-&lt;br /&gt;
| ARGN2 || I || The cost of the item.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.TOTALCOST || I || The total cost for the transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the character from buying the item (blocks the entire transaction).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>MrSugarCube</name></author>	</entry>

	</feed>