Bug Closed · Resolved

<item.name>

#6884 opened by Unknown 7 months ago

Unknownreported this bug

SUGGESTION:

Please add the placeholder <item.name> which returns the value of the name of the item triggering the skill

This WOULD include the name of the item if it gets renamed in an anvil

Unknowncommented

Can already be accomplished using traditional item variables.

MyCoolItem:
  Display: 'My Really Cool Special Item'
  Skills:
  - skill:GetItemName @self ~onUse
GetItemName:
  Skills:
  - setvar{var=ItemName;type=ITEM;val=<target.item.itemstack.HAND>}
  - message{m="Currently Holding<&co> <skill.var.ItemName.name>"}
Sign in to join the discussion.