Logo Khaganat
Translations of this page?:

destroy_item

Function used in mission creation.

Action which destroys the items that match the given filters:

  • The item sheet must match.
  • The quality must be at least the one wanted.
  • At max quantity of the items are destroyed.

The system:

  • selects first the lowest quality of the item possible.
  • search in the player inventory (bag or mektoubs).

Properties

name: Action name, only used by the mission designer.

npc_name (Optional): NPC tag name. Used to write in the sys info who destroyed the items.

Item/quantity/quality: Array containing given item description. See item_guidelines for the formatting requirements.

guild (Boolean): This parameter is only for guild missions. If it is set to true the action is done for the guild (not for the players that completed the mission).

Default variables

npc_name (bot): if not specified, the giver name is used in the destruction message in sys info

item_type (item): must be specified

item_quantity (int): 1

item_quality (int): 1

CC Attribution-Share Alike 4.0 International Driven by DokuWiki
en/primitive/mission/destroy_item.txt · Last modified: 2021/12/03 18:19 by 127.0.0.1

Licences Mentions légales Accueil du site Contact