create_store_blueprint
Create a .utm store blueprint with custom pricing, inventory, and gold for placement and scripted opening.
Instructions
Create a new store blueprint (.utm) with custom pricing and inventory. Place with place_store and open via script (OpenStore).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resref": "<resref>",
"tag": "<tag>",
"name": "<name>"
},
"name": "create_store_blueprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Store tag | |
| name | Yes | Store display name | |
| markUp | No | Buy markup percentage (100 = no markup, 120 = 20% markup, default 100) | |
| resref | Yes | New store resref | |
| markDown | No | Sell markdown percentage (100 = no markdown, 80 = 20% markdown, default 100) | |
| inventory | No | JSON array of inventory items: [{resref: 'nw_it_mpotion001', infinite?: true, category?: 0}]. Category: 0=Armor, 1=Weapons, 2=Potions/Scrolls, 3=Wands/Magic, 4=Misc (default 4). Items are resolved from module or base game. | |
| storeGold | No | Gold on hand (-1 = unlimited, default -1) | |
| maxBuyPrice | No | Max buy price (0 = unlimited, default 0) | |
| sourceResref | No | Base store to clone from (e.g. existing UTM resref) | |
| identifyPrice | No | Identification cost (default 100) |