Skip to content

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 IDPurposeParameters
emakistrengthen_rerenderRebuilds the main-hand item's strengthen layer presentation.none
emakistrengthen_set_starSets the main-hand item's star level.star
emakistrengthen_add_starAdds strengthen stars to the main-hand item.amount
emakistrengthen_remove_starRemoves strengthen stars from the main-hand item, floored at 0.amount
emakistrengthen_reset_starSets the main-hand item's star level to 0.none
emakistrengthen_clear_layerClears the main-hand item's strengthen layer.none

Parameters

ParameterTypeRequiredDefaultDescription
starINTEGERRequired by emakistrengthen_set_starCurrent starTarget star level.
amountINTEGERRequired by add/remove actions0 / 1Star 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.