Stamp Grid/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 3: | Line 3: | ||
<section begin=image/> | <section begin=image/> | ||
[[File:Stamp grid.png|alt=Stamp grid|thumb]] | [[File:Stamp grid.png|alt=Stamp grid|thumb]] | ||
<section end=image/> | <section end=image/><p id="tooltip">Colors one grid square on the terrain in the agent’s current position.</p> | ||
<section begin="name" />'''<code>stamp grid [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer. | <section begin="name" />'''<code>stamp grid [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer. | ||
== Usage== | == Usage== | ||
<code>stamp grid [_]</code> causes the [[agent]] to color one grid square on the [[terrain]] in the agent's current color on the agent's current position. | |||
==Syntax== | |||
<code>stamp grid [Textbox: Color]</code> | <!-- <code>stamp grid [Textbox: Color]</code> --> | ||
<section begin=image/>[[File:Stamp Grid Nums.png|right|alt=The Create Each Do Block|thumb]]<section end=image/> | |||
Inputs: | |||
#a color block | |||
==Common Uses== | ==Common Uses== |
Revision as of 14:54, 8 August 2023
Colors one grid square on the terrain in the agent’s current position.
stamp grid [_]
is a code block part of the Environment drawer.
Usage
stamp grid [_]
causes the agent to color one grid square on the terrain in the agent's current color on the agent's current position.
Syntax
Inputs:
- a color block
Common Uses
This is used to track agents' individual impact on the terrain.