CoreLib Actions
When EmakiStrengthen is enabled, it adds main-hand strengthen-layer actions to the CoreLib action registry. Each action operates on the current player's main-hand item and rebuilds or modifies the strengthen layer through EmakiStrengthen services.
This page documents only CoreLib actions registered by EmakiStrengthen. CoreLib built-in actions are documented in CoreLib Actions. Current action IDs use only the canonical names below; historical aliases are no longer registered.
Action IDs
| Action ID | Purpose | Parameters |
|---|---|---|
emakistrengthen_rerender | Rebuilds the main-hand item's strengthen layer presentation. | none |
emakistrengthen_set_star | Sets the main-hand item's star level. | star |
emakistrengthen_add_star | Adds strengthen stars to the main-hand item. | amount |
emakistrengthen_remove_star | Removes strengthen stars from the main-hand item, floored at 0. | amount |
emakistrengthen_reset_star | Sets the main-hand item's star level to 0. | none |
emakistrengthen_clear_layer | Clears the main-hand item's strengthen layer. | none |
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
star | INTEGER | Required by emakistrengthen_set_star | Current star | Target star level. |
amount | INTEGER | Required by add/remove actions | 0 / 1 | Star delta. Remove actions treat negative values as 0. |
Examples
yaml
actions:
- 'emakistrengthen_rerender'
- 'emakistrengthen_set_star star=8'
- 'emakistrengthen_add_star amount=1'
- 'emakistrengthen_remove_star amount=2'
- 'emakistrengthen_reset_star'
- 'emakistrengthen_clear_layer'Notes
- Every action on this page requires a player context and a non-empty main-hand item.
- The updated item is written back to the player's main hand. If the strengthen service cannot rebuild the item, the action fails.
- These actions are direct admin/action-chain modification entry points. They do not simulate a full strengthen attempt flow.