StrSheet_Passivity
Version Support
Section titled “Version Support”| Version | Status |
|---|---|
| v92 | Full |
| v90 | - |
| v86 | - |
StrSheet_Passivity.xml stores player-facing strings: display names and tooltip descriptions for passive abilities.
DSL Support
Section titled “DSL Support”Entity: passivityStrings
Operations: create, update, delete, upsert
Quick Recipes
Section titled “Quick Recipes”Create
Section titled “Create”spec: version: "1.0"
passivityStrings: create: - id: 100001 name: "Critical Damage Boost" tooltip: "Increases critical hit damage by 15%"Create Multiple
Section titled “Create Multiple”spec: version: "1.0"
passivityStrings: create: - id: 100001 name: "Critical Damage Boost" tooltip: "Increases critical hit damage by 15%" - id: 100002 name: "Defense Aura" tooltip: "Increases defense by 100 points" - id: 100003 name: "Speed Boost" tooltip: "Increases movement speed by 10%"Update
Section titled “Update”spec: version: "1.0"
passivityStrings: update: - id: 100001 changes: tooltip: "Increases critical hit damage by 20%"Update Name Only
Section titled “Update Name Only”spec: version: "1.0"
passivityStrings: update: - id: 100001 changes: name: "Enhanced Critical Damage"Upsert
Section titled “Upsert”Creates the entry if it doesn’t exist, or updates it if it does.
spec: version: "1.0"
passivityStrings: upsert: - id: 100004 name: "New Passive Ability" tooltip: "A powerful new passive effect"Delete
Section titled “Delete”spec: version: "1.0"
passivityStrings: delete: - 100001Properties Reference
Section titled “Properties Reference”| Property | Type | Since | Required | Description |
|---|---|---|---|---|
id | int | v92 | Yes | Passivity ID this string entry belongs to |
name | string | v92 | No | Display name shown to players |
tooltip | string | v92 | No | Tooltip description shown on hover |
XML Structure
Section titled “XML Structure”StrSheet_Passivity.xml└── StrSheet_Passivity (root) └── String (0..∞) @id (required) @name? @tooltip?Common Pitfalls
Section titled “Common Pitfalls”- Internal vs display name: The passivity’s
nameproperty inPassivity.xmlis an internal identifier. Player-facing display text belongs here inStrSheet_Passivity.xml. - ID matching: The
idhere should match apassivityIdfrom the Passivity datasheet to properly link strings to abilities. - Optional strings: Both
nameandtooltipare optional. You can create an entry with justidand add strings later via update. - Localization: This file contains the default locale strings. For multi-language support, additional locale-specific StrSheet files may be needed.
- Coordinate updates: When updating passivity values in Passivity, remember to update the corresponding tooltip text here to reflect the new values.
- Inline creation: Passivity string entries can also be created inline via the
passivityStringsblock on Passivity create/update/upsert operations, eliminating the need for a separatepassivityStringssection. See Passivity documentation for details.