Skip to content

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 IDPurposeParameters
strengthen_rerenderRebuilds the main-hand item's strengthen layer presentationnone
strengthen_set_starSets the main-hand item's star levelstar
strengthen_add_starAdds strengthen stars to the main-hand itemamount
strengthen_remove_starRemoves strengthen stars from the main-hand item, floored at 0amount
strengthen_reset_starSets the main-hand item's star level to 0none
strengthen_clear_layerClears the main-hand item's strengthen layernone

Parameters ​

ParameterTypeRequiredDefaultRangeDescription
starINTEGERYes (strengthen_set_star)—integer (clamped to the recipe's limits.max_star, floored at 0)Target star level
amountINTEGERYes (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, and has_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