Difference between revisions of "Buy EN"

From Ryzom Forge Wiki

Jump to: navigation, search
(Creation)
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{migrated to|:en:Mission/Buy}}
 
{{K_Big| buy }}
 
{{K_Big| buy }}
Function used for [[Mission documentation | mission creation]].
+
Function used for [[Documentation sur les missions | mission creation]].
  
 
Purpose: The player must purchase specific items. It is possible to require the player to buy from a given NPC by entering his or her name tag.
 
Purpose: The player must purchase specific items. It is possible to require the player to buy from a given NPC by entering his or her name tag.
Line 12: Line 13:
 
'''hide_obj (Boolean):''' Prevents the step from appearing in the mission log.  
 
'''hide_obj (Boolean):''' Prevents the step from appearing in the mission log.  
  
'''overload_objective (Optional):''' Allows to set a specific description for the mission. Refer to [[text_guidelines | Reference document for texts]] for formatting constraints.
+
'''overload_objective (Optional):''' Allows to set a specific description for the mission. Refer to [[text_guidelines | reference document for texts]] for formatting constraints.
  
 
'''roleplay_objective (Optional):''' Allows to add a description of the step.  
 
'''roleplay_objective (Optional):''' Allows to add a description of the step.  
Line 23: Line 24:
  
 
{| class="wikitable centre"
 
{| class="wikitable centre"
|+Pour item numéro X
+
|+For item number X
 
|-
 
|-
 
!Variable name
 
!Variable name

Latest revision as of 09:45, 16 June 2018

Migration

Please use the migrated document at URL shown below.

Migrated to en:Mission/Buy at 2018-06-16

buy

Function used for mission creation.

Purpose: The player must purchase specific items. It is possible to require the player to buy from a given NPC by entering his or her name tag.

Properties

name: The name of the action, used only by the mission creator.

npc_name (Optional): Tag of the NPC to whom the player have to make his purchase.

hide_obj (Boolean): Prevents the step from appearing in the mission log.

overload_objective (Optional): Allows to set a specific description for the mission. Refer to reference document for texts for formatting constraints.

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

Item/quantity/quality: Field containing the description of the objects to be sold. Refer to the complex object statement for formatting constraints.


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$

Item_quality (int)

$quality<X>$

$qual1$


←Khaganat

Ryzom Wiki: Ryzom Commons | DE • EN • ESFRRU | Ryzom Forge