                              Parser : Highlight

 Highlight

You can highlight sectors satisfying  a  certain  condition.
For the correct syntax, see "info: parse/syntax". Some exam-
ples will be given how to use the highlight function.

                     December 10, 1991

                              Parser : Highlight

Invoking highlight

The best way to get the highlight menu is to bind a  certain
key  to  it.  The other way is via the global menu, display,
and the choice "change highlight".

Examples

     starvation
               Highlight those  sectors  where  people  will
               starve.

     etus_per_update * civ * cbrate + civ > 990
               Highlight those sectors that will be  overpo-
               pulated.

                     December 10, 1991

                              Parser : Highlight

     ship (name = "cargo ship")
               Highlight those  sectors  with  at  least  on
               cargo ship in it

     ship (name ~ "cargo" and mob > 0) == 2
               Highlight those sectors that have exactly two
               "cargo*" ships with positive mobility.

     plague_stage != healty
               Highlight those sector which are infected.

     ship (plane (type ~ "fighter"))
               Highlight those sectors with  a  ship  in  it
               that carries at least one fighter.

                     December 10, 1991

                              Parser : Highlight

     resource (iron) > 80 or resource (gold dust) > 80
               Highlight those sectors which have some  min-
               ing or gold resources

     ship (plane (nuke (name = "10 kt fission")))
               Highlight those sectors that have a ship that
               carries  a  plane that is loaded with a 10 kt
               fission nuke war head.

     occupied and (mil < (civ / 20))
               Highlight occupied sectors which  don't  have
               enough militairs

     coast and mil < 10
               Highlight  coast  sectors  with  not   enough

                     December 10, 1991

                              Parser : Highlight

               militairs in it.

     not owned and des = capital
               Pleppen!

     mines > 0
               Highlight water which should be avoided.

                     December 10, 1991

