Table des matières

give_item

Function used in mission creation.

Objective: The player has to give specific items to a given NPC.

Properties

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

npc_name (Optional): Tag of the NPC that the player has to give items to.

hide_obj (Boolean): Prevent the step to be displayed in the mission log.

overload_objective: Allow to set a specific a description of the mission. See text guidelines for the formatting requirements.

roleplay_objective (Optional): Allow to add a description to the step.

Item/quantity/quality: Array containing the description of the items that need to be sold. See item_guidelines for the formatting requirements.

Default variables

npc_name (bot): $npc$

For item number X

Variable name Formal expression Example
Item_type (item) $i<X>$ $i1$
Item_quantity (int) $qt<X>$ $qt1$