# MERSpawn

This custom module is designed to control the spawning behavior of a custom item, allowing for detailed configuration regarding its placement and instantiation within the game world. It supports specifying whether an item can spawn in lockers, replace existing primitives, and defines the schematic and object names to use for its representation.

### Configuration

| Value              | Description                                                                                 |
| ------------------ | ------------------------------------------------------------------------------------------- |
| `LockerSpawning`   | A boolean value indicating whether the custom item can spawn inside lockers.                |
| `ReplacePrimitive` | A boolean value determining if a primitive object should be replaced when this item spawns. |
| `SchematicName`    | The name of the schematic to be used when spawning this custom item.                        |
| `ObjectName`       | The name of the game object to be used when spawning this custom item.                      |

### Example

Here's an example of how to configure the `MERSpawn` module within your `custom_modules` YAML configuration:

```yaml
custom_modules:
  MERSpawn:
  - LockerSpawning: true
    ReplacePrimitive: false
    SchematicName: 'MyWeaponSchematic'
    ObjectName: 'SpecialWeaponModel'
```


---

# 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://docs.uci.ucserver.it/uncomplicatedcustomitems/prerelease-content/custommodules/merspawn.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.
