# NPC Shop

## What is the NPC Shop?

* The NPC Shop is a place where you can buy or sell supplies needed for your adventure through merchant NPCs.
* These NPCs can be found all over the Harran continent and offer a wide range of goods.
* You can buy all kinds of necessary items and sell the items you don't need to make money.

## Shop Details

* When you interact with a merchant NPC, the Shop window will appear.
* From there, you can buy items that the NPCs have in stock, or sell items from your inventory.
* The inventory list in the shop menu will only show items that can be sold.

<figure><img src="https://3691960152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWdDnf42mALLEMqf3vHpr%2Fuploads%2F2vj3htrLPtjePYYDD1uw%2Fimage.png?alt=media&#x26;token=1ac148f6-32f9-4cbc-898e-11cd9b495e17" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="1) NPC Shop List" %}

* This appears upon interacting with a merchant NPC.
* You can buy or sell items.
  {% endtab %}

{% tab title="2) Inventory List" %}

* You can view the items that can be sold from your inventory.
  {% endtab %}
  {% endtabs %}

## Purchasing Items

* Click the Purchase button and a menu to set the quantity for purchase will appear.
* The cost of the item will automatically adjust to reflect the quantity you set. If it is only a single item, the quantity control button will be disabled.

<figure><img src="https://3691960152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWdDnf42mALLEMqf3vHpr%2Fuploads%2FocB0UkTfS9z1lbyB2v6h%2Fimage.png?alt=media&#x26;token=cd3e522b-2f8e-4142-9fa2-95c69d209713" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="1) Item/Quantity Settings" %}

* You can see the name and icon of the item to purchase.
* You can set the quantity.
  {% endtab %}

{% tab title="2) Quantity/Price" %}

* You can view the total price of the selected items.
  {% endtab %}

{% tab title="3) Purchase" %}

* You can make a purchase by clicking on the "Purchase" button.
* The Purchase button will be disabled if you do not have enough currency to purchase the selected items.
  {% endtab %}
  {% endtabs %}

## Selling Items

* You can sell items from your inventory to NPCs at a fixed price.
* You can select which items to sell and set the quantity.
* The sales price of the item will automatically adjust to reflect the quantity you set. If it is only a single item, the quantity control button will be disabled.

<figure><img src="https://3691960152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWdDnf42mALLEMqf3vHpr%2Fuploads%2FruuNQjaZCw13dUeT3JrN%2Fimage.png?alt=media&#x26;token=9d0f8e39-069b-4b0b-97c2-c682c4f7ef19" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="1) Item/Quantity Settings" %}

* ou can see the name and icon of the item to purchase.
* You can set the quantity.
  {% endtab %}

{% tab title="2) Quantity/Sales Price" %}

* You can view the total sales price of the selected items above.
  {% endtab %}

{% tab title="3) Add to Sales List" %}

* You can have the item added to the sales list by clicking on the "Add to Sales List" button.
  {% endtab %}
  {% endtabs %}

## Using the Sales List

* After setting the quantity, the item will be added to the sales list.
* To remove listed items from the sales list and return them to your inventory, click on either the "Cancel" or "Empty" button.
* The total amount earned from selling items will be displayed in the "Sales Amount" section.&#x20;
* Note that if you don't register your items for sale, they won't be available for purchase.

<figure><img src="https://3691960152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWdDnf42mALLEMqf3vHpr%2Fuploads%2FKTAkw1zueGzMQeKN8ZhG%2Fimage.png?alt=media&#x26;token=d5f8ff2f-79fd-46c8-bb03-d66409f87b79" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="1) Cancel Item" %}

* This will cancel a single item currently registered for sale.
  {% endtab %}

{% tab title="2) Sales Amount" %}

* You can check the total amount earned from selling all the listed items.
  {% endtab %}

{% tab title="3) Sell" %}

* You can make a final decision on the sale of items.
  {% endtab %}

{% tab title="4) Empty" %}

* This will empty the sales list and return all the listed items to your inventory.
  {% endtab %}
  {% endtabs %}

{% hint style="warning" %}

#### This document was updated on April 27, 2023. Some elements may differ from the game.

{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.klaykingdoms.com/en/guide/gameplay/items/npc-shop.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
