279 lines
8.9 KiB
HTML
279 lines
8.9 KiB
HTML
|
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
|||
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
|||
|
xmlns:w="urn:schemas-microsoft-com:office:word"
|
|||
|
xmlns="http://www.w3.org/TR/REC-html40">
|
|||
|
|
|||
|
<head>
|
|||
|
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
|
|||
|
<meta name=ProgId content=Word.Document>
|
|||
|
<meta name=Generator content="Microsoft Word 10">
|
|||
|
<meta name=Originator content="Microsoft Word 10">
|
|||
|
<link rel=File-List href="step_if_files/filelist.xml">
|
|||
|
<!--[if gte mso 9]><xml>
|
|||
|
<o:DocumentProperties>
|
|||
|
<o:Author>Boris Boucher</o:Author>
|
|||
|
<o:LastAuthor>Berenguier</o:LastAuthor>
|
|||
|
<o:Revision>86</o:Revision>
|
|||
|
<o:TotalTime>418</o:TotalTime>
|
|||
|
<o:Created>2003-07-18T07:59:00Z</o:Created>
|
|||
|
<o:LastSaved>2006-06-09T10:40:00Z</o:LastSaved>
|
|||
|
<o:Pages>1</o:Pages>
|
|||
|
<o:Words>193</o:Words>
|
|||
|
<o:Characters>1103</o:Characters>
|
|||
|
<o:Company>nevrax</o:Company>
|
|||
|
<o:Lines>9</o:Lines>
|
|||
|
<o:Paragraphs>2</o:Paragraphs>
|
|||
|
<o:CharactersWithSpaces>1294</o:CharactersWithSpaces>
|
|||
|
<o:Version>10.3501</o:Version>
|
|||
|
</o:DocumentProperties>
|
|||
|
</xml><![endif]--><!--[if gte mso 9]><xml>
|
|||
|
<w:WordDocument>
|
|||
|
<w:HyphenationZone>21</w:HyphenationZone>
|
|||
|
<w:Compatibility>
|
|||
|
<w:BreakWrappedTables/>
|
|||
|
<w:SnapToGridInCell/>
|
|||
|
<w:WrapTextWithPunct/>
|
|||
|
<w:UseAsianBreakRules/>
|
|||
|
</w:Compatibility>
|
|||
|
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
|
|||
|
</w:WordDocument>
|
|||
|
</xml><![endif]-->
|
|||
|
<style>
|
|||
|
<!--
|
|||
|
/* Font Definitions */
|
|||
|
@font-face
|
|||
|
{font-family:"MS Mincho";
|
|||
|
panose-1:2 2 6 9 4 2 5 8 3 4;
|
|||
|
mso-font-alt:"\FF2D\FF33 \660E\671D";
|
|||
|
mso-font-charset:128;
|
|||
|
mso-generic-font-family:roman;
|
|||
|
mso-font-format:other;
|
|||
|
mso-font-pitch:fixed;
|
|||
|
mso-font-signature:1 134676480 16 0 131072 0;}
|
|||
|
@font-face
|
|||
|
{font-family:"\@MS Mincho";
|
|||
|
mso-font-charset:128;
|
|||
|
mso-generic-font-family:modern;
|
|||
|
mso-font-pitch:fixed;
|
|||
|
mso-font-signature:-1610612033 1757936891 16 0 131231 0;}
|
|||
|
/* Style Definitions */
|
|||
|
p.MsoNormal, li.MsoNormal, div.MsoNormal
|
|||
|
{mso-style-parent:"";
|
|||
|
margin:0in;
|
|||
|
margin-bottom:.0001pt;
|
|||
|
mso-pagination:widow-orphan;
|
|||
|
font-size:12.0pt;
|
|||
|
font-family:"Times New Roman";
|
|||
|
mso-fareast-font-family:"MS Mincho";}
|
|||
|
h1
|
|||
|
{mso-style-next:Normal;
|
|||
|
margin-top:12.0pt;
|
|||
|
margin-right:0in;
|
|||
|
margin-bottom:3.0pt;
|
|||
|
margin-left:0in;
|
|||
|
mso-pagination:widow-orphan;
|
|||
|
page-break-after:avoid;
|
|||
|
mso-outline-level:1;
|
|||
|
font-size:16.0pt;
|
|||
|
font-family:Arial;
|
|||
|
mso-font-kerning:16.0pt;}
|
|||
|
h2
|
|||
|
{mso-style-next:Normal;
|
|||
|
margin-top:12.0pt;
|
|||
|
margin-right:0in;
|
|||
|
margin-bottom:3.0pt;
|
|||
|
margin-left:0in;
|
|||
|
mso-pagination:widow-orphan;
|
|||
|
page-break-after:avoid;
|
|||
|
mso-outline-level:2;
|
|||
|
font-size:14.0pt;
|
|||
|
font-family:Arial;
|
|||
|
font-style:italic;}
|
|||
|
a:link, span.MsoHyperlink
|
|||
|
{color:blue;
|
|||
|
text-decoration:underline;
|
|||
|
text-underline:single;}
|
|||
|
a:visited, span.MsoHyperlinkFollowed
|
|||
|
{color:purple;
|
|||
|
text-decoration:underline;
|
|||
|
text-underline:single;}
|
|||
|
@page Section1
|
|||
|
{size:8.5in 11.0in;
|
|||
|
margin:1.0in 1.25in 1.0in 1.25in;
|
|||
|
mso-header-margin:35.4pt;
|
|||
|
mso-footer-margin:35.4pt;
|
|||
|
mso-paper-source:0;}
|
|||
|
div.Section1
|
|||
|
{page:Section1;}
|
|||
|
/* List Definitions */
|
|||
|
@list l0
|
|||
|
{mso-list-id:794952725;
|
|||
|
mso-list-template-ids:-1326950744;}
|
|||
|
@list l0:level1
|
|||
|
{mso-level-number-format:bullet;
|
|||
|
mso-level-text:\F0B7;
|
|||
|
mso-level-tab-stop:.5in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;
|
|||
|
mso-ansi-font-size:10.0pt;
|
|||
|
font-family:Symbol;}
|
|||
|
@list l1
|
|||
|
{mso-list-id:1181627390;
|
|||
|
mso-list-type:hybrid;
|
|||
|
mso-list-template-ids:-1572173022 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
|
|||
|
@list l1:level1
|
|||
|
{mso-level-number-format:bullet;
|
|||
|
mso-level-text:\F0B7;
|
|||
|
mso-level-tab-stop:.5in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;
|
|||
|
font-family:Symbol;}
|
|||
|
@list l1:level2
|
|||
|
{mso-level-number-format:bullet;
|
|||
|
mso-level-text:o;
|
|||
|
mso-level-tab-stop:1.0in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;
|
|||
|
font-family:"Courier New";}
|
|||
|
@list l1:level3
|
|||
|
{mso-level-tab-stop:1.5in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;}
|
|||
|
@list l1:level4
|
|||
|
{mso-level-tab-stop:2.0in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;}
|
|||
|
@list l1:level5
|
|||
|
{mso-level-tab-stop:2.5in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;}
|
|||
|
@list l1:level6
|
|||
|
{mso-level-tab-stop:3.0in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;}
|
|||
|
@list l1:level7
|
|||
|
{mso-level-tab-stop:3.5in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;}
|
|||
|
@list l1:level8
|
|||
|
{mso-level-tab-stop:4.0in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;}
|
|||
|
@list l1:level9
|
|||
|
{mso-level-tab-stop:4.5in;
|
|||
|
mso-level-number-position:left;
|
|||
|
text-indent:-.25in;}
|
|||
|
ol
|
|||
|
{margin-bottom:0in;}
|
|||
|
ul
|
|||
|
{margin-bottom:0in;}
|
|||
|
-->
|
|||
|
</style>
|
|||
|
<!--[if gte mso 10]>
|
|||
|
<style>
|
|||
|
/* Style Definitions */
|
|||
|
table.MsoNormalTable
|
|||
|
{mso-style-name:"Table Normal";
|
|||
|
mso-tstyle-rowband-size:0;
|
|||
|
mso-tstyle-colband-size:0;
|
|||
|
mso-style-noshow:yes;
|
|||
|
mso-style-parent:"";
|
|||
|
mso-padding-alt:0in 5.4pt 0in 5.4pt;
|
|||
|
mso-para-margin:0in;
|
|||
|
mso-para-margin-bottom:.0001pt;
|
|||
|
mso-pagination:widow-orphan;
|
|||
|
font-size:10.0pt;
|
|||
|
font-family:"Times New Roman";}
|
|||
|
</style>
|
|||
|
<![endif]-->
|
|||
|
</head>
|
|||
|
|
|||
|
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
|
|||
|
|
|||
|
<div class=Section1>
|
|||
|
|
|||
|
<h1><span style='color:#FF6600'>step_if<o:p></o:p></span></h1>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<p class=MsoNormal>Special step that executes a binary test based on the
|
|||
|
parameters entered. From this point, the script continues on branches based on
|
|||
|
the result of the test. The script then continues on the yes branch if the result
|
|||
|
is positive, or on the no branch if it is negative.</p>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<p class=MsoNormal>More information about mission script structure can be found
|
|||
|
in the <a href="script_guidelines.html">script guidelines</a> reference
|
|||
|
document.</p>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<h2><span style='color:#999999'>Properties :<o:p></o:p></span></h2>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><u>name</u></b> :
|
|||
|
Name of the step, can be used as Jump_to destination and should thus be named
|
|||
|
as a C++ object (no blank, no special character <20>)</p>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><u>condition_type</u></b>
|
|||
|
: Type of condition to be tested.</p>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><u>test_parameters</u></b>
|
|||
|
: Parameters used in the test (skill name and level value, brick name, mission
|
|||
|
name <20>)</p>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<h2><span style='color:#999999'>Conditions Type :<o:p></o:p></span></h2>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<p class=MsoNormal>(Yoyo: I don<6F>t know if there is a doc elsewhere for those
|
|||
|
step ifs, I added only mine here: test_item_in_inv)</p>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<ul style='margin-top:0in' type=disc>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_missions_done</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_skills_level</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_bricks_known</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_sdb</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_faction_point</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_race</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_cult</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_civ</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_guild_cult</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_guild_civ</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_guild_fame</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_no_trial</li>
|
|||
|
<li class=MsoNormal style='mso-list:l1 level1 lfo3;tab-stops:list .5in'>test_item_in_inv:
|
|||
|
array of <i style='mso-bidi-font-style:normal'><<span style='mso-bidi-font-weight:
|
|||
|
bold'>Item> [quantity] [quality]</span></i><span style='mso-bidi-font-weight:
|
|||
|
bold'>. Test if the specified items (of at least quality given and in
|
|||
|
sufficient quantity) exist in the player inventory (bag or mektoubs).
|
|||
|
If<span style='mso-spacerun:yes'><EFBFBD> </span>multiple item line specified,
|
|||
|
the first OK jump to the YES (=> OR)</span><o:p></o:p></li>
|
|||
|
</ul>
|
|||
|
|
|||
|
<p class=MsoNormal><span style='mso-bidi-font-weight:bold'><o:p> </o:p></span></p>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
<p class=MsoNormal><span style='mso-bidi-font-weight:bold'><o:p> </o:p></span></p>
|
|||
|
|
|||
|
<p class=MsoNormal><o:p> </o:p></p>
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
</body>
|
|||
|
|
|||
|
</html>
|