English
CoreLib Actions
EmakiStrengthen registers these stages into the CoreLib action registry, with each stage's purpose and parameters. Prerequisite: EmakiStrengthen is enabled; once enabled it adds main-hand strengthen-layer stages, every stage operates on the target player's main-hand item, and the stage rebuilds or modifies the strengthen layer through EmakiStrengthen services
NOTE
Only the stages registered by EmakiStrengthen are covered. 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: if the target is not a player, the stage is 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 | Range | Description |
|---|---|---|---|---|---|
star | INTEGER | Yes (strengthen_set_star) | — | integer (clamped to the recipe's limits.max_star, floored at 0) | Target star level |
amount | INTEGER | Yes (strengthen_add_star, strengthen_remove_star) | — | integer (negatives treated as 0; result floored at 0) | Star delta |
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
- Prerequisite: the player must be holding an item; the stage is skipped when the main hand is empty
- Result: the updated item is written back to the player's main hand; if the strengthen service cannot rebuild the item, the stage fails
- Verification: on success the stage reports
old_star,new_star, andhas_layer, so the debug output shows the star level before and after the change - Note: these stages are direct admin/pipeline modification entry points. They do not simulate a full strengthen attempt flow