# Items Vendors

***

<div><figure><img src="/files/jMn2lR2Ww6LVesdJfvj5" alt=""><figcaption></figcaption></figure> <figure><img src="/files/YRVRaLhS7fxjl1hlyWUH" alt=""><figcaption></figcaption></figure> <figure><img src="/files/ZJnvImTfkwdTZw9hHjCM" alt=""><figcaption></figcaption></figure> <figure><img src="/files/tJGToXjCeMGLBbkbDTUt" alt=""><figcaption></figcaption></figure> <figure><img src="/files/cN4olyb9rEv0Wk3nj85q" alt=""><figcaption></figcaption></figure></div>

Here you can place as many vendors you want to take any item and pay out for any price listed. It takes the total amount of the item in the player's inventory and pays them multiplied by the price you set.

***

*NOTE: Do not touch the data list at the bottom. That is used to count the objects and utilize the list inside it.*

```lua
farmmarket = {
        -- blip active / sprite / color / scale
        blip = true, sprite = 473, color = 24, scale = 0.6,
        -- blip name
        bname = 'Farmer\'s Market',
        -- menu details
        label = 'Farmer\'s Market', icon = 'farm',
        -- location of vendor
        spawn = vec4(1676.142, 4883.424, 42.060, 59.78),
        -- model of vendor / animaiton
        model = 'a_m_m_farmer_01', scen = 'WORLD_HUMAN_CLIPBOARD_FACILITY',
        -- items to be sold
        items = {
            ['ck_potatoes'] =       { label = 'Potatoes',   value = 7 },
            ['ck_peppers'] =        { label = 'Peppers',    value = 9 },
            ['ck_onions'] =         { label = 'Onions',     value = 5 },
            ['ck_lettuce'] =        { label = 'Lettuce',    value = 7 },
            ['ck_tomatoes'] =       { label = 'Tomatoes',   value = 5 },
        },
    },
```

***


---

# 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://mesa-indigo.gitbook.io/midevelopment/m.i.-core/m.i.-world/activities/items-vendors.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.
