メインコンテンツまでスキップ

Give Mmoitem Action

Give MMOItem

フィールド

フィールド型デフォルト説明
itemsList<MMOItemSelection>emptyList of MMOItems to give
MMOItemSelection(2)
フィールド型デフォルト説明
itemVar<MMOItemIdentifier>—The MMOItem to select (type and id)
MMOItemIdentifier(1)
フィールド型デフォルト説明
typeVar<MMOItemType>—MMOItems type (e.g., SWORD, ARMOR)
amountInt1Amount of items
itemVar<MMOItemIdentifier>—The MMOItem to give (used if items list is empty)
MMOItemIdentifier(1)
フィールド型デフォルト説明
typeVar<MMOItemType>—MMOItems type (e.g., SWORD, ARMOR)
amountInt1Amount of items to give if using single item
factRef<ReadableFactEntry>—Select a fact that provides items (e.g., MMOItems Count Fact, MMOInventory Check Item Fact)
groupRef<GroupEntry>—Optional group to give items to all members. If empty, only the triggering player receives items.
TypeWriter 共通フィールド(criteria, modifiers, triggers)
フィールド型デフォルト説明
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Pick what to give in one of three ways:

  • One item — leave items empty and fill item (type and id), plus amount.
  • Several items — fill items. Each line has its own item and amount; item and amount at the top are then ignored.
  • From a fact — link fact to an MMOItems Count Fact. The action gives the items listed in that fact, using the action's amount. If item has a type filled, only the matching items of the fact are given.

Set group to give the items to every member of the triggering player's group. The items are given with the console command mmoitems give <type> <id> <player> <amount>, so an unknown type is skipped.