<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Stackable_items</id>
	<title>Stackable items - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Stackable_items"/>
	<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Stackable_items&amp;action=history"/>
	<updated>2026-07-17T09:02:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.darkan.org/index.php?title=Stackable_items&amp;diff=37219&amp;oldid=prev</id>
		<title>imported&gt;Atheist723: /* Limit of a stack */</title>
		<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Stackable_items&amp;diff=37219&amp;oldid=prev"/>
		<updated>2012-07-28T12:19:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Limit of a stack&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right; padding:10px; width: 100px;&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|align=center|[[File:Trading sticks.png]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Trading sticks]] stacking in the inventory.&lt;br /&gt;
|}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Stackable items&amp;#039;&amp;#039;&amp;#039; are items that only take up one space in a player&amp;#039;s [[inventory]] not being carried in [[note]] form. When multiple stackable items are carried in the inventory, a number is shown on the item&amp;#039;s picture to indicate the quantity of items in the stack. Most items stored in the [[bank]] will stack, even if they don&amp;#039;t stack in a player&amp;#039;s [[inventory]]. A few exceptions would be [[brawling gloves]], [[satchels]], and the various forms of the [[morphic tool]]. Stackable items do not [[Weight|weigh]] anything, and cannot be withdrawn from the [[bank]] as a note.&lt;br /&gt;
&lt;br /&gt;
Stackable items include [[bait]], [[charms]], [[runes]], [[:Category:Ammunition|all arrows]], [[:Category:Seeds|all seeds]], [[note]]s, and [[coins]]. Other stackable items include [[biscuit]]s, [[bolt]]s, [[bolt tips]], [[dart]]s, [[dart tip]]s, [[nail]]s, [[arrowtip]]s, [[Throwing knife|throwing knives]], [[cannonballs]], [[javelin]]s, [[thrownaxe]]s, [[feather]]s, [[arrow shaft]]s, [[needle]]s, [[thread]], [[Purple Sweets]] , [[summoning scroll|scrolls]], [[skewer stick]]s, [[woad leaves]], [[Teleport scrolls|teleport scrolls]], [[Teleport tablet|teleport tablets]], and [[proboscis]]es. Also, [[swamp tar]] and anything made from swamp tar (such as [[swamp paste]] or [[guam tar]]) is always stackable.&lt;br /&gt;
&lt;br /&gt;
You cannot pick up another item if you already have the maximum stack in your inventory.&lt;br /&gt;
&lt;br /&gt;
==Limit of a stack==&lt;br /&gt;
&lt;br /&gt;
The maximum number of an item that a player can hold in a stack is 2,147,483,647, as limited by a signed (positive and negative) 32-bit [[wikipedia:Integer|integer]], i.e. 2&amp;lt;sup&amp;gt;31&amp;lt;/sup&amp;gt; - 1.&lt;br /&gt;
&lt;br /&gt;
[[Jagex]] would only be able to expand this if 64-bit integers were used instead, as unsigned (positive only) integers do not exist as a primitive data type in [[Java]]. This would be problematic to implement, however, as it would require doubling the amount of storage space used for &amp;#039;&amp;#039;all&amp;#039;&amp;#039; item quantities. Using longs would enable up to 9,223,372,036,854,775,807 items in a stack.&lt;br /&gt;
&lt;br /&gt;
Despite [[Java]]&amp;#039;s lacking native support for unsigned arithmetic, a quick search through a computer&amp;#039;s memory while it is playing RuneScape finds a 32-bit unsigned integer attached to every object in one&amp;#039;s inventory that controls the amount of that object in the [[inventory]] slot. But, these variables are for local use only to draw the object, and changing them has no effect after the game updates the player&amp;#039;s inventory.&lt;br /&gt;
&lt;br /&gt;
It should also be noted that a player can own more than this amount of gold, but can only hold that many in a single stack. For instance, a player could hold 2,147,483,647 in an inventory and another 2,147,483,647 in his bank, so long as the two stacks are never combined.&lt;br /&gt;
&lt;br /&gt;
In a recent question and answer session with [[Andrew Gower]], he stated that they wouldn&amp;#039;t switch to longs because there are too many lines of code to change in the RuneScape program.&lt;br /&gt;
&lt;br /&gt;
If the value of items displayed in the [[Price Checker]] window exceeds the value, then all that will be displayed is &amp;#039;----&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==Truncation convention==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; padding:10px;&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|align=center|[[File:Truncation.png]]&lt;br /&gt;
|-&lt;br /&gt;
|An example&amp;lt;br /&amp;gt;of truncation.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
When referring to numbers, &amp;#039;&amp;#039;&amp;#039;truncation&amp;#039;&amp;#039;&amp;#039; is the removal of less [[wikipedia:Significant figures|significant digits]] from the end of a number. In &amp;#039;&amp;#039;[[RuneScape]]&amp;#039;&amp;#039;, stacks of items have their quantity truncated to reduce the number of characters required to show the quantity of an item in a stack.&lt;br /&gt;
&lt;br /&gt;
For stacks of items containing less than 100,000, the amount is rendered precisely, such as &amp;quot;31633&amp;quot;, and the examine text is that of an individual item. For stacks of 100,000 or more, the examine text displays the exact number of items in the stack. The following conventions are used to display the quantity in a bank or inventory slot:&lt;br /&gt;
&lt;br /&gt;
It should be noted that these truncation conventions are also applied to items other than [[coins]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Range&lt;br /&gt;
!rowspan=&amp;quot;2&amp;quot;|Text Colour&lt;br /&gt;
!rowspan=&amp;quot;2&amp;quot;|Suffix&lt;br /&gt;
!rowspan=&amp;quot;2&amp;quot;|Multiplier&lt;br /&gt;
!rowspan=&amp;quot;2&amp;quot;|Example&lt;br /&gt;
|-&lt;br /&gt;
!from&lt;br /&gt;
!to&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|99,999&lt;br /&gt;
|Yellow&lt;br /&gt;
|None&lt;br /&gt;
|1&lt;br /&gt;
|99,999 displayed as &amp;quot;&amp;lt;span style=&amp;quot;color: yellow; background-color:black;padding:2.5px;&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;99999&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|100,000&lt;br /&gt;
|9,999,999&lt;br /&gt;
|White&lt;br /&gt;
|K&lt;br /&gt;
|1,000&lt;br /&gt;
|9,999,999 displayed as &amp;quot;&amp;lt;span style=&amp;quot;color: white; background-color:black;padding:2.5px;&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;9999K&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|10,000,000&lt;br /&gt;
|2,147,483,647&lt;br /&gt;
|Green&lt;br /&gt;
|M&lt;br /&gt;
|1,000,000&lt;br /&gt;
|999,999,999 displayed as &amp;quot;&amp;lt;span style=&amp;quot;color: #00EE74; background-color:black;padding:2.5px;&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;999M&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;quot;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[de:Stapelbar]]&lt;br /&gt;
[[nl:Stackable items]]&lt;br /&gt;
[[Category:Mechanics]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Atheist723</name></author>
	</entry>
</feed>