Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:primitive:mission:primitivemissiondocbuy [2016/11/13 13:48] – ↷ Liens modifiés en raison d'un déplacement. zatalyz | en:primitive:mission:primitivemissiondocbuy [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== buy ====== | ||
| - | |||
| - | Function used in [[en: | ||
| - | |||
| - | Objective. The player has to buy specific items. It’s possible to force the player to buy from a given NPC by entering its name tag. | ||
| - | |||
| - | ===== Properties ===== | ||
| - | |||
| - | **name:** Action name, only used by the mission designer. | ||
| - | |||
| - | **npc_name (Optional): | ||
| - | |||
| - | **hide_obj (Boolean): | ||
| - | |||
| - | **overload_objective (Optional): | ||
| - | |||
| - | **roleplay_objective (Optional): | ||
| - | |||
| - | **Item/ | ||
| - | |||
| - | |||
| - | ===== Default variables ===== | ||
| - | |||
| - | npc_name (bot): | ||
| - | |||
| - | For item number X | ||
| - | <WRAP column 30%> | ||
| - | Variable name | ||
| - | \\ Item_type (item) | ||
| - | \\ Item_quantity (int) | ||
| - | \\ Item_quality (int) | ||
| - | </ | ||
| - | |||
| - | <WRAP column 30%> | ||
| - | Formal expression | ||
| - | \\ $i< | ||
| - | \\ $qt< | ||
| - | \\ $quality< | ||
| - | </ | ||
| - | |||
| - | <WRAP column 30%> | ||
| - | Example | ||
| - | \\ $i1$ | ||
| - | \\ $qt1$ | ||
| - | \\ $qual1$ | ||
| - | </ | ||
| - | |||
| - | {{tag> | ||





