Events, Items & Account

Items

Look up the 331 functional items of the game: resources, currencies, chests, buffs, speedups, and more. Other modules use item ids for their rewards and costs, and this module resolves them.

Cosmetic skins are not here. They are in Skins.


Type

Item

FieldTypeDescription
idstringUnique slug. Several names repeat across categories, so the id is not made from the name alone
namestringDisplay name
imgstringPath to the item icon, relative to images/. Empty for items with no icon yet
categoryItemCategoryOne of 12 categories
speedupItemSpeedup?Set on the 25 speedup items
descriptionstring?What the item does
sourcesstring[]Where the item comes from, such as shops, events, and activities. Can be empty
rewardRatesItemRewardRate[]?Loot table. Only chests carry it, and only 12 of the 60 chests do

ItemSpeedup

FieldTypeDescription
typeSpeedupType'general', 'construction', 'troop', 'research', 'learning', or 'healing'
minutesnumberLength of the speedup in minutes. speedup-general-1h is 60

ItemRewardRate

FieldTypeDescription
rewardstringName of the reward
amountnumberAmount given
probabilityPercentnumberChance of the reward, in percent

Categories

CategoryItems
Chest60
Event58
Others48
Furniture45
Buff31
Speedups25
Hero Items23
Experts17
Gear Materials10
Pet6
Fire Crystal4
Teleporter4

Factory

import { items } from 'whiteout-survival-data'

items() // all 331 items
items(source) // wrap a pre-filtered array

Filters

MethodSignatureDescription
byCategorybyCategory(category: ItemCategory)Filter to items in one category.
import { items } from 'whiteout-survival-data'

items().byCategory('Chest').count() // 60

Terminal methods

MethodReturnsDescription
.get()Item[]All results
.first()Item | undefinedFirst result
.find(id)Item | undefinedFind by id
.findByName(name)Item | undefinedCase-insensitive exact name match
.search(query)Item[]Case-insensitive partial name match
.count()numberNumber of results

Examples

import { items } from 'whiteout-survival-data'

// Look up an item by id
const chest = items().find('arena-star-chest')
chest?.name // 'Arena Star Chest'
chest?.category // 'Chest'

// The first rows of a chest loot table
chest?.rewardRates?.slice(0, 2)
// [
//   { reward: 'Mythic General Hero Shards', amount: 1, probabilityPercent: 4 },
//   { reward: 'Essence Stones', amount: 1, probabilityPercent: 6 },
// ]

// Search by name
items().search('arena').length // 2

// All research speedups
items()
  .get()
  .filter((item) => item.speedup?.type === 'research')
  .map((item) => item.id)
// ['speedup-research-1m', 'speedup-research-5m', 'speedup-research-1h', 'speedup-research-3h']

Notes

Birthday Card entries are skipped, because they are a yearly login gift with no gameplay data.

Five items fit more than one category, all of them involving Chest. Seeker's Chest fits both Chest and Experts. Chest wins in every case because it is the more specific category.

The 25 speedup items cover the lengths that exist in the game. General and troop have 1m, 5m, 1h, 3h, and 8h items. Construction, research, and learning have 1m, 5m, 1h, and 3h items. Healing has 1m, 5m, and 1h items. The game has no other lengths, so there are no items for them.

The Wish Sigil is the currency of the Wish Shop. It is in Others, with the other standing currencies, because the game gives it as a daily reward. Its sources are the Wish Station and the Development Index Daily Reward.

Furniture

The 45 furniture items are the pieces that the nine entertainment buildings need, plus a Blueprint for each building. The Farm, the Climbing Gym, and the Yoga Studio each have their own Blueprint item (farm-blueprint, climbing-gym-blueprint, and yoga-studio-blueprint). The other six buildings share one Blueprint, furniture-blueprint. A piece that several buildings use is one item, such as the Counter and the Table & Chair Set. Its price can differ by building, so pricePerItem stays on the cost of the building and not on the item.


Known gaps

Items without icons or sources

The 17 furniture items of the Farm, the Climbing Gym, and the Yoga Studio have an icon. The other 28 furniture items have none yet, so their img is an empty string.

Only chests carry rewardRates, and only 12 of the 60 chests have it. The other chests describe their rewards in prose only.

The game wording of the Gareth sigil was not found. It uses the same description and sources as the other nine named expert sigils, and its icon is softer than the others.


Next steps

Previous
Event buffs
Next
Skins