StrSheet_Item
StrSheet_Item.xml stores player-facing strings (display name and tooltip text).
Most teams define strings inline on items:
strings: name: "Iron Sword" toolTip: "A basic training weapon."But you can also author strings in a standalone itemStrings section.
What the DSL supports for this file
Section titled “What the DSL supports for this file”Entity: itemStrings
Operations: create, update, delete
Quick recipes
Section titled “Quick recipes”Inline strings on an item (recommended)
Section titled “Inline strings on an item (recommended)”spec: version: "1.0"
items: create: - id: 99002 name: "iron_sword"
strings: name: "Iron Sword" toolTip: "A basic training weapon."Create strings directly
Section titled “Create strings directly”spec: version: "1.0"
itemStrings: create: - id: 99002 name: "Iron Sword" toolTip: "A basic training weapon."Update strings
Section titled “Update strings”spec: version: "1.0"
itemStrings: update: - id: 99002 changes: name: "Tempered Iron Sword" toolTip: "A better crafted blade."Delete strings
Section titled “Delete strings”spec: version: "1.0"
itemStrings: delete: - 99002Full schema reference
Section titled “Full schema reference”Properties
Section titled “Properties”| Property | Type | Required | Description |
|---|---|---|---|
id | int | Yes | Item ID this string entry belongs to |
name | string | Create only | Display name shown to players |
toolTip | string | No | Tooltip text shown on hover |
Inline Usage
Section titled “Inline Usage”ItemStrings are commonly defined inline within item create operations:
items: create: - id: 99001 name: "InternalName" # ... other item properties
strings: name: "Display Name" toolTip: "Item tooltip text"The inline strings block automatically creates a corresponding entry in StrSheet_Item.xml with the same ID as the item.
Standalone Usage
Section titled “Standalone Usage”For updating existing string entries or defining strings separately:
itemStrings: update: - id: 1 changes: name: "Updated Iron Sword" toolTip: "A well-crafted iron blade."Common pitfalls
Section titled “Common pitfalls”- Don’t confuse internal vs display name: item
name(inItemTemplate.xml) is not the player-facing display string - Consistency: treat strings like content — review them, spellcheck them, and keep style consistent