Stackable items

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to navigation Jump to search

Stackable items are items that only take up one space in the inventory but are not in note form. The number of items in a stack is given by a value displayed on top of the item icon. Most items that can be stored in the bank stack even if they do not stack in the inventory, but several exceptions exist, including all augmented items, brawling gloves, satchels, and morphic tools. Stackable items do not have weight. Stackable items cannot be withdrawn from the bank as a note.

Stackable items include bait, charms, runes, all arrows, all seeds, notes, and coins. An exhaustive list of stackable items can be found here.

Players cannot pick up another item if they already have the maximum stack in the backpack. [source needed]

Stackable items that change icons[edit | edit source]

While most items stack without having a change of inventory icon, the following items appear differently based on the amount held:

Name Image Changes at
10th anniversary candles 1, 2, 3, 4, 5
Arrows[Notes 1] 1, 2, 3, 4, 5
Arrowheads 1, 2, 3, 4, 5
Arrow shafts 1, 2, 3, 4, 5
Holy biscuits 1, 2, 3, 4, 5, 10, 25, 100
Bolts[Notes 2] 1, 2, 3, 4, 5
Celebration candles 1, 2, 3, 4, 5
Chaotic spikes 1, 2, 3, 4, 5
Charm slices 1, 2, 3, 4, 5
Coins 1, 2, 3, 4, 5, 25, 100, 250, 1000, 10000
Divine energy[Notes 3] 1, 10, 100, 500, 1000
Eagle feathers 1, 2, 3, 4
Ecto-tokens 1, 2, 3
Firecracker 1, 3, 5
Grenwall spikes 1, 2, 3, 4, 5
Headless arrows 1, 2, 3, 4, 5
Ogleroots 1, 2, 3, 4, 5
Pieces of eight 1, 2, 3
Purple sweets 1, 2, 3, 4, 5, 10, 25, 100
Runecrafting guild tokens 1, 2, 3, 4, 5
Rune dust (Runespan) 1, 25, 75, 125, 175
Rune essence[Notes 4] 1, 100, 250
Rusty coins 1, 2, 3, 4, 5, 25, 100, 250, 1000, 10000
Seeds[Notes 5] 1, 2, 3, 4, 5
Stardust 1, 25, 75, 125, 175
Tokkul 1, 2, 3, 4, 5, 25
Trading sticks 1, 10, 100, 1000
Unfinished bolts 1, 2, 3, 4, 5
Warrior guild tokens[Notes 6] 1, 2, 3, 4, 5
Woad leaf 1, 2, 3, 4, 5
Zemomark 1, 2, 3, 4, 5, 25, 100, 250, 1000, 10000
  1. ^ Excluding Cannonballs.
  2. ^ Excluding Kebbit bolts, Long kebbit bolts, Mithril grapples and Handcannon shots.
  3. ^ Each type of divine energy has a unique colour palette, but besides this stacks of divine energy of identical amounts are identical.
  4. ^ Only applies in Dungeoneering.
  5. ^ Excluding Gout tuber, Jade vine seed, and White tree shoot.
  6. ^ Removed from game.

Limit of a stack[edit | edit source]

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 integer, i.e. 231 - 1.

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 all item quantities. Using longs would enable up to 9,223,372,036,854,775,807 items in a stack.

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.

In a question and answer session with Andrew Gower, he stated that Jagex wouldn't switch to longs because there are too many lines of code to change. [source needed]

Truncation convention[edit | edit source]

An example of truncation.

When referring to numbers, truncation is the removal of less significant digits from the end of a number. In RuneScape, stacks of items have their quantity truncated to reduce the number of characters required to show the quantity of an item in a stack.

For stacks of items containing less than 100,000, the amount is rendered precisely, such as "31633", 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:

Range Text colour Suffix Multiplier Example
From To Amount Image
1 99,999 Yellow N/A 1 99,999
100,000 9,999,999 White K 1,000 9,999,999
10,000,000 9,999,999,999 Green M 1,000,000 999,999,999
10,000,000,000 9,999,999,999,999 Blue B 1,000,000,000 999,999,999,999
10,000,000,000,000 9,999,999,999,999,999 Purple T 1,000,000,000,000 999,999,999,999,999
10,000,000,000,000,000 2,147,483,649,147,483,647 Orange Q 1,000,000,000,000,000 999,999,999,999,999,999

Update history[edit | edit source]

This information has been compiled as part of the update history project. Some updates may not be included – see here for how to help out!
  • patch 23 November 2020 (Update):
    • Stackable items can now be crafted even if there's no empty spaces in your Backpack.
  • patch 17 September 2018 (Update):
    • Offering stackable items or offering-X items in a trade will no longer offer the entire stack.