# Collection Fields

***

<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>

Create fields for players to collect just about any item that you would like them to farm for. So far, there are some premade fields but you can add as many as you would like.

***

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

```lua
{
    -- location of farm area
    spawn = vector3(2537.595, 4812.296, 33.806),
    -- prop count / spawn size / label from locale
    count = 15, size = 20, label = 'vegetables',
    -- target sprite / sprite color
    sprite = 'fa-solid fa-carrot', spcolor = '#FF922B',
    -- items to give on progbar completion
    item = {
        'ck_potatoes', 'ck_peppers', 'ck_onions',
        'ck_lettuce', 'ck_tomatoes'
    },
    -- type for animation / min & max amount to give
    type = 'normal', amount = { min = 3, max = 6 },
    -- model to spawn / duration of progbar
    model = 'prop_veg_crop_04_leaf', duration = 5000,
    -- general data for list -! [do not touch] !-
    data = { obj = 0, list = {}, set = nil }
},
```

***


---

# 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/collection-fields.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.
