Aller au contenu
Afficher dans l'application

Une meilleure façon de naviguer. En savoir plus.

Asterobot

Une application plein écran sur votre écran d'accueil avec notifications push, badges et plus encore.

Pour installer cette application sur iOS et iPadOS
  1. Appuyez sur Icône de partage dans Safari
  2. Faites défiler le menu et appuyez sur Ajouter à l'écran d'accueil.
  3. Appuyez sur Ajouter dans le coin supérieur droit.
Pour installer cette application sur Android
  1. Appuyez sur le menu à trois points (⋮) dans le coin supérieur droit du navigateur.
  2. Appuyez sur Ajouter à l'écran d'accueil ou Installer l'application.
  3. Confirmez en appuyant sur Installer.

ItemToSellInNpcShop

  • summary: What one item costs in an NPC shop, who may buy it, and how many each character may buy per restock period.
  • area: Game.Common

What one item costs in an NPC shop, who may buy it, and how many each character may buy per restock period.

Kind struct · Area Game.Common

The sale terms of one item on an NPC shop's shelf. The item itself (template and effects) is in the enclosing ItemMinimalInformation.

CHECK ItemToSellInNpcShop.buy_criterion AND THE PURCHASE ALLOWANCE BEFORE YOU BUY. The client treats an item whose allowance is used up as not buyable, and its "only show possible purchases" filter hides an item whose criterion the character fails.

The allowance:

- ItemToSellInNpcShop.total_buyable of zero or less means there is no limit. - Otherwise the character may still buy total_buyable - already_bought (never less than zero) until the allowance restocks; ItemToSellInNpcShop.restock_recurrence says when.

The price is per unit, in the shop's currency: kamas, unless ExchangeNpcShopStartedEvent.token_id names a token item.

Not sent on its own — it is only ever reached as ItemMinimalInformation.item_to_sell_in_npc_shop, inside ExchangeNpcShopStartedEvent.objects. proven

Used by

Fields

#FieldTypeMeaningYou set it
1priceint64The price of one unit. (kamas, or units of the token item when ExchangeNpcShopStartedEvent.token_id is non-zero)
Observed: 40
never
2buy_criterionstringThe condition the character must meet to buy the item, in the game's item-criterion syntax.
The client parses it with its item-criterion parser. With the shop's "only show possible purchases" filter on, an item is shown only if the character meets it (and, in a token shop, holds at least the price in tokens).
never
3total_buyableint32How many of this item one character may buy per restock period.
Range: <= 0 means unlimited
Observed: -1
Named after the client property that receives it (TradeStockItemData.totalBuyable).
The client shows 'remaining/total' beside the item only when this is positive.
never
5already_boughtint32How many of this item the character has already bought in the current restock period.
Named after the client field that receives it (TradeStockItemData.alreadyBought).
Remaining allowance = max(total_buyable - already_bought, 0); it only matters when total_buyable is positive.
never
6restock_recurrencetype not documented yetHow often the purchase allowance resets.
Named after the client property that receives it (TradeStockItemData.restockRecurrence).
1 resets daily: the client draws a one-day calendar beside the allowance. It draws a seven-day calendar for every other value, so 0 and 2 cannot be told apart from the client; 2 is probably weekly.
never

Compte

Navigation

Recherche

Recherche

Configurer les notifications push du navigateur

Chrome (Android)
  1. Appuyez sur l'icône de cadenas à côté de la barre d'adresse.
  2. Tap Autorisations → Notifications.
  3. Ajustez vos préférences.
Chrome (Desktop)
  1. Cliquez sur l'icône représentant un cadenas dans la barre d'adresse..
  2. Select Paramètres du site.
  3. Find Notifications et ajustez vos préférences.