# Market

<figure><img src="https://1299364361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0G1aVCtjCokjdoCZ5JBU%2Fuploads%2FjblvKmyUdBoN93hjNdhp%2Fnothing%20to%20sell.png?alt=media&#x26;token=52c3ab58-dd31-4579-9c23-ec72edc18fd5" alt=""><figcaption><p>Fish market without any items in it</p></figcaption></figure>

<figure><img src="https://1299364361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0G1aVCtjCokjdoCZ5JBU%2Fuploads%2FsTE4XajqhyEHVjlzlyY2%2Fmarket%20with%20items.png?alt=media&#x26;token=575833e7-b03b-48a3-add0-f07abac4f2e9" alt=""><figcaption><p>Market with 2 fishes in it</p></figcaption></figure>

**Fish Market** - an in game integration that uses a special value calculating system for all fishes

There are currently **3 arguments** that are used to determine a **final price**:

* **Base Price -** each individual fish has a specific base price set to it. That also means that you can specify extraordinary fishes with stars, or golden variants to be more valuable on the base price![](https://1299364361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0G1aVCtjCokjdoCZ5JBU%2Fuploads%2FDywIVp1xJvxoDzGsrTvX%2Fmullet.png?alt=media\&token=e7182879-931d-4e1d-ae2c-a3b088e21b06)
* **Weight -** a random value from min-weight and max-weight
* **Size -** a random value from min-size and max-size

**FINAL PRICE -** Base Price \* (size + weight)



The market only allows for custom fishes to be sold. If you try to click on an item that is not a custom fish whilst the market inventory is open, a message will be displayed saying "You can't sell this item" and cancel out the click.  ![](https://1299364361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0G1aVCtjCokjdoCZ5JBU%2Fuploads%2F4NJx3DCAUBwMYCi98LlZ%2Fcant%20sell%202.png?alt=media\&token=b2a2477e-33f2-41a6-a67a-a7ba1f47b0d1)

After selling fish in the market you get a message that you have successfully sold fish for X amount. ![](https://1299364361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0G1aVCtjCokjdoCZ5JBU%2Fuploads%2FLZbvpKMd5xJQgSDfJsP2%2Fmarket%20sold.png?alt=media\&token=471662d0-1da7-4365-861c-17a9c91a541d)
