CoreLib Actions
When EmakiStrengthen is enabled, it adds main-hand strengthen-layer stages to the CoreLib action registry. Each stage operates on the target player's main-hand item and rebuilds or modifies the strengthen layer through EmakiStrengthen services.
NOTE
This page documents only the stages registered by EmakiStrengthen. CoreLib built-in stages are documented in CoreLib Actions. Current stage IDs use only the canonical names below; historical aliases are no longer registered. The old emakistrengthen_set_star is now written strengthen_set_star, and the others follow the same rule.
Stage IDs
All six stages declare REQUIRED_ENTITY, and non-player targets are skipped.
| Stage ID | Purpose | Parameters |
|---|---|---|
strengthen_rerender | Rebuilds the main-hand item's strengthen layer presentation. | none |
strengthen_set_star | Sets the main-hand item's star level. | star |
strengthen_add_star | Adds strengthen stars to the main-hand item. | amount |
strengthen_remove_star | Removes strengthen stars from the main-hand item, floored at 0. | amount |
strengthen_reset_star | Sets the main-hand item's star level to 0. | none |
strengthen_clear_layer | Clears the main-hand item's strengthen layer. | none |
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
star | INTEGER | Yes (strengthen_set_star) | — | Target star level. |
amount | INTEGER | Yes (strengthen_add_star, strengthen_remove_star) | — | Star delta. On removal, negative values are treated as 0 and the result is floored at 0. |
strengthen_rerender, strengthen_reset_star, and strengthen_clear_layer read no parameters.
Examples
yaml
actions:
- 'self | strengthen_rerender'
- 'self | strengthen_set_star star=8'
- 'self | strengthen_add_star amount=1'
- 'self | strengthen_remove_star amount=2'
- 'self | strengthen_reset_star'
- 'self | strengthen_clear_layer'Notes
- The player must be holding an item. The stage is skipped when the main hand is empty.
- The updated item is written back to the player's main hand. If the strengthen service cannot rebuild the item, the stage fails.
- On success the stage reports
old_star,new_star, andhas_layer, so the debug output shows the star level before and after the change. - These stages are direct admin/pipeline modification entry points. They do not simulate a full strengthen attempt flow.