Minefield Properties

The following properties are available for searching and printing, and in scripts using the `Minefield()' function and the `ForEach Minefield' command.

PCC records minefield information, and keeps it during turns. Minefields you scanned once are managed by PCC even if you don't currently see them. The information you get here is approximated by PCC, by assuming the minefield was left there undisturbed, subject only to natural decay. The `LastScan' property can tell you how old the minefield is, decide for yourself if you want to trust it or not.

Id

Id number of minefield. 1 to 500 (1 to 10000 in latest PHost)

LastScan

Turn when this object was last scanned

Loc.X

X coordinate of center

Loc.Y

Y coordinate of center

Owner

Owner of mine field, short name (20 characters)

Owner$

Player number who owns the mine field

Owner.Adj

Owner of mine field, adjective (12 characters)

Radius

Radius in light years

Scanned

How this minefield was last scanned:

0unknown reason, e.g. minefield loaded from history database
1the minefield was just laid
2the minefield was just swept
3the minefield was just scanned
Type

One of "Web Mines", "Mines"

Type$

`True' for web mines, `False' for normal mines

Units

Number of mine units. The radius is the square root of the number of units in a minefield. Mine sweeping and minefield decay happens in terms of mine units


[ << Previous | Up | Next >> ]

Stefan Reuther <Streu@gmx.de>