# Christmas Decorations

### Adding a Christmas Tree

To add a christmas tree in casino, open file **/rcore\_casino/xmas/xmas\_sv.lua**, and add this piece of code for spawning a christmas tree:

```lua
table.insert(XMAS_TREES, {
    map = 1, -- the map it should be for
    position = vector3(944.8862, 48.21997, 79.9), -- position of the tree
    heading = 40.0, -- heading of the tree
    rewardMin = 100, -- min. amount
    rewardMax = 1000, -- max amount
    rewardChooseFrom = {"casino_chips", "casino_beer"}, -- choose reward randomly from these inventory items
    cooldown = (60 * 60 * 24) -- 24 hours cooldown
})
```

{% hint style="info" %}
Remember to set option **Xmas = true** in config.lua in order to see christmas trees
{% 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://documentation.rcore.cz/paid-resources/rcore_casino/xmas-decorations.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.
