Create: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
[[Category:Agents]] | [[Special:MyLanguage/Category:Agents]] | ||
<section begin=image/>[[File:Create Block.png|alt=The create block|thumb]]<section end=image/> | <section begin=image/>[[File:Create Block.png|alt=The create block|thumb]]<section end=image/> | ||
{{#vardefine:create|<code>create [_] [▼](s)</code>}} | {{#vardefine:create|<code>create [_] [▼](s)</code>}} | ||
<section begin=name/>'''<code>create [_] [▼](s)</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | <section begin=name/>'''<code>create [_] [▼](s)</code>'''<section end=name/> is a [[Special:MyLanguage/code block]] part of the [[Special:MyLanguage/agents]] drawer. | ||
</translate> | </translate> | ||
Line 14: | Line 14: | ||
<translate> | <translate> | ||
<p id="tooltip"><code>create [_] [▼](s)</code> is used to populate [[Spaceland]] with [[agent]]s.</p> | <p id="tooltip"><code>create [_] [▼](s)</code> is used to populate [[Special:MyLanguage/Spaceland]] with [[Special:MyLanguage/agent]]s.</p> | ||
</translate> | </translate> | ||
Line 30: | Line 30: | ||
<translate> | <translate> | ||
An important difference between {{#var:create}} and {{#vardefineecho:cedol|<code>[[Create Each Do|create [_] [▼](s) each do</code>]]}} is that {{#vardefineecho:cedo|<code>create [_] [▼](s) each do</code>}} allows a section of code to run individually for each [[agent]] that is created. {{#var:create}} only creates agents with the default [[trait]]s in the center of [[Spaceland]]. | An important difference between {{#var:create}} and {{#vardefineecho:cedol|<code>[[Special:MyLanguage/Create Each Do|create [_] [▼](s) each do</code>]]}} is that {{#vardefineecho:cedo|<code>create [_] [▼](s) each do</code>}} allows a section of code to run individually for each [[Special:MyLanguage/agent]] that is created. {{#var:create}} only creates agents with the default [[Special:MyLanguage/trait]]s in the center of [[Special:MyLanguage/Spaceland]]. | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
{{#var:cedol}} can be useful for [[randomizing traits]] and [[scattering agents without effecting others]]. | {{#var:cedol}} can be useful for [[Special:MyLanguage/randomizing traits]] and [[Special:MyLanguage/scattering agents without effecting others]]. | ||
</translate> | </translate> | ||
Line 48: | Line 48: | ||
<translate> | <translate> | ||
==Relevant Activities== | ==Relevant Activities== | ||
[[Category:Code Block]] | [[Special:MyLanguage/Category:Code Block]] | ||
</translate> | </translate> |
Revision as of 19:06, 16 May 2023
Special:MyLanguage/Category:Agents
create [_] [▼](s)
is a Special:MyLanguage/code block part of the Special:MyLanguage/agents drawer.
Usage
create [_] [▼](s)
is used to populate Special:MyLanguage/Spaceland with Special:MyLanguage/agents.
Syntax
create [Textbox: Number] [Dropdown: Type of Agent](s)
Nuances
An important difference between create [_] [▼](s)
and create [_] [▼](s) each do
is that create [_] [▼](s) each do
allows a section of code to run individually for each Special:MyLanguage/agent that is created. create [_] [▼](s)
only creates agents with the default Special:MyLanguage/traits in the center of Special:MyLanguage/Spaceland.
create [_] [▼](s) each do
can be useful for Special:MyLanguage/randomizing traits and Special:MyLanguage/scattering agents without effecting others.