<?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=%40Smelt</id>
		<title>@Smelt - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.spherecommunity.net/index.php?action=history&amp;feed=atom&amp;title=%40Smelt"/>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@Smelt&amp;action=history"/>
		<updated>2026-04-10T20:16:48Z</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=@Smelt&amp;diff=8070&amp;oldid=prev</id>
		<title>Darksun84: Created page with &quot;==Description== This trigger is fired when an item is being smelt nearby a forge or by using the SMELT command.   Fires on: * Characters   ==References== The following obj...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@Smelt&amp;diff=8070&amp;oldid=prev"/>
				<updated>2023-01-05T20:11:06Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Description== This trigger is fired when an item is being smelt nearby a forge or by using the SMELT command.   Fires on: * &lt;a href=&quot;/index.php?title=Characters&quot; title=&quot;Characters&quot;&gt;Characters&lt;/a&gt;   ==References== The following obj...&amp;quot;&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 is fired when an item is being smelt nearby a forge or by using the SMELT command.&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;
| [[I]] || The item being smelt.&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] ||The character smelting the item..&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 || IO || Mining skill of the character (adjusted value, base skill + stat bonuses).&lt;br /&gt;
|-&lt;br /&gt;
| ARGN2 || I || The total amount of different resources the item being smelted has.(For example a mace is made of iron  ingots and logs, so the number of different resources is 2,  for t_ore item the values is always 1.&lt;br /&gt;
|-&lt;br /&gt;
| local.resource.''n''.ID|| IO ||  The ID of the itemdef that will be created if the smelting check is succesfull, n starts at 0.&lt;br /&gt;
|-&lt;br /&gt;
| local.resource.''n''.amount|| IO ||  The amount value that will set on that particular resource if the smelting check is succesfull, n starts at 0.&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 || Fails the smelting attempt and block default smelting behaviour..&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>Darksun84</name></author>	</entry>

	</feed>