-
Notifications
You must be signed in to change notification settings - Fork 0
cu_register_locale en
mouse114514 edited this page Sep 12, 2026
·
1 revision

Registers Chinese and English localized text for an item, building, or title. The game shows the matching name according to the player's language preference (lang.txt).
| Slot | Type | Description |
|---|---|---|
| TYPE | Dropdown slot | locale type: 物品(item) / 建筑(building) / 标题(title)
|
| ID | String slot (text field) | the target ID (e.g. item ID) |
| ZH | String slot (text field) | Chinese text |
| EN | String slot (text field) | English text |
| Connection | Type | Description |
|---|---|---|
| Top / Bottom | - | no statement connections (declaration block) |
| Option | Value | Description |
|---|---|---|
| Item | item |
register an item's name/description |
| Building | building |
register a building's name/description |
| Title | title |
register a UI title string |
Emits the registration marker //REGISTER_LOCALE:{"Type":...,"Id":...,"Zh":...,"En":...}.
Block ID: cu_register_locale