> For the complete documentation index, see [llms.txt](https://5scripts-1.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://5scripts-1.gitbook.io/docs/assets/5s_gathering/faq.md).

# FAQ

<details>

<summary>I'm using inventory which is not supported by 5s_lib</summary>

Go to <kbd>5s\_gathering/server/editable/inventory.lua</kbd> and replace functions with those from your inventory

For example, core-inventory:

```lua
 function canCarryItem(source, itemName, count)
    return exports.core_inventory:canCarry(source, itemName, count)
end

function addItem(source, itemName, count)
    exports.core_inventory:addItem(source, itemName, count)
end
```

</details>

<details>

<summary>How do I place ores on exact spots, or make them face a direction?</summary>

Add the points to the zone's `forcedCoords`. Use `vec3(x, y, z)` for position only, or `vec4(x, y, z, heading)` to also set the heading in degrees. Set `checkGroundZ = false` so the props keep the exact Z you give. To randomise rotation instead, set `forcedCoordsRandomRotation = true`.

</details>
