**====== CreateSand ======**
CreateSand(<-x <-y <-sandDef)
===== Description =====
Creates sand at the specified coordinates (x, y) using the provided sand definition (`sandDef`).
===== Examples =====
10 20 1 ->sandDef ->y ->x
CreateSand(<-x <-y <-sandDef)
=== See Also ===
[[IRPL:commands:CreateSandInRoundArea]]
[[IRPL:commands:CreateSandInAreaRand]]
[[IRPL:commands:CreateSandInArea]]
**====== CreateSandInRoundArea ======**
CreateSandInRoundArea(<-rect <-probability <-sandDef)
===== Description =====
Creates sand within a rectangular area defined by a vector (`rect`) containing the bottom-left (x,y) and top-right (x,y) corner coordinates. The `probability` value (between 0 and 1) determines the chance of sand being created at each cell within the area. Sand is created using the specified `sandDef`. The `true` flag indicates that the area is treated as a round area.
===== Examples =====
{0 0 10 10} ->rect
0.5 ->probability
1 ->sandDef
CreateSandInRoundArea(<-rect <-probability <-sandDef)
=== See Also ===
[[IRPL:commands:CreateSand]]
[[IRPL:commands:CreateSandInAreaRand]]
[[IRPL:commands:CreateSandInArea]]
**====== CreateSandInAreaRand ======**
CreateSandInAreaRand(<-rect <-probability <-sandDef)
===== Description =====
Creates sand within a rectangular area defined by a vector (`rect`) containing the bottom-left (x,y) and top-right (x,y) corner coordinates. The `probability` value (between 0 and 1) determines the chance of sand being created at each cell within the area. The distribution of sand is randomized. Sand is created using the specified `sandDef`. The `false` flag indicates that the area is treated as a rectangular area.
===== Examples =====
{0 0 10 10} ->rect
0.5 ->probability
1 ->sandDef
CreateSandInAreaRand(<-rect <-probability <-sandDef)
=== See Also ===
[[IRPL:commands:CreateSand]]
[[IRPL:commands:CreateSandInRoundArea]]
[[IRPL:commands:CreateSandInArea]]
**====== CreateSandInArea ======**
CreateSandInArea(<-rect <-sandDef)
===== Description =====
Creates sand within a rectangular area defined by a vector (`rect`) containing the bottom-left (x,y) and top-right (x,y) corner coordinates. Sand is created at every cell within the area using the specified `sandDef`.
===== Examples =====
{0 0 10 10} ->rect
1 ->sandDef
CreateSandInArea(<-rect <-sandDef)
=== See Also ===
[[IRPL:commands:CreateSand]]
[[IRPL:commands:CreateSandInRoundArea]]
[[IRPL:commands:CreateSandInAreaRand]]