<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Setiteminfo</id>
		<title>Setiteminfo - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Setiteminfo"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Setiteminfo&amp;action=history"/>
		<updated>2026-05-02T00:32:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/w/index.php?title=Setiteminfo&amp;diff=527&amp;oldid=prev</id>
		<title>Neqste: Created page with &quot;==Syntax== *'''setiteminfo'''(&lt;item id&gt;,&lt;type&gt;,&lt;value&gt;);  ==Description== This function will set some value of an item. Returns the new value on success, or -1 on fail (item_i...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Setiteminfo&amp;diff=527&amp;oldid=prev"/>
				<updated>2013-06-24T10:28:48Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Syntax== *&amp;#039;&amp;#039;&amp;#039;setiteminfo&amp;#039;&amp;#039;&amp;#039;(&amp;lt;item id&amp;gt;,&amp;lt;type&amp;gt;,&amp;lt;value&amp;gt;);  ==Description== This function will set some value of an item. Returns the new value on success, or -1 on fail (item_i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Syntax==&lt;br /&gt;
*'''setiteminfo'''(&amp;lt;item id&amp;gt;,&amp;lt;type&amp;gt;,&amp;lt;value&amp;gt;);&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This function will set some value of an item.&lt;br /&gt;
Returns the new value on success, or -1 on fail (item_id not found or &lt;br /&gt;
invalid type).&lt;br /&gt;
&lt;br /&gt;
'''Valid types are:'''&lt;br /&gt;
     0 - Buy Price; &lt;br /&gt;
     1 - Sell Price; &lt;br /&gt;
     2 - Item Type;&lt;br /&gt;
     3 - maxchance (Max drop chance of this item e.g. 1 = 0.01% , etc..&lt;br /&gt;
         if = 0, then monsters don't drop it at all (rare or a quest item)&lt;br /&gt;
         if = 10000, then this item is sold in NPC shops only&lt;br /&gt;
     4 - sex; &lt;br /&gt;
     5 - equip; &lt;br /&gt;
     6 - weight; &lt;br /&gt;
     7 - atk; &lt;br /&gt;
     8 - def; &lt;br /&gt;
     9 - range;&lt;br /&gt;
     10 - slot; &lt;br /&gt;
     11 - look; &lt;br /&gt;
     12 - elv; &lt;br /&gt;
     13 - wlv; &lt;br /&gt;
     14 - view id&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
    [[setiteminfo]] 7049,6,9990; // Stone now weighs 999.0&lt;br /&gt;
    [[setiteminfo]] 512,0,3000; // Apple Buy Price is 3000&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[setitemscript]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script Command]]&lt;/div&gt;</summary>
		<author><name>Neqste</name></author>	</entry>

	</feed>