This script contains functions that are used both in the Tribal Encyclopedia
and the Editor help. To get descriptions see:
Return the localized name of the given unit description as a hyperlink pointing to its encyclopedia entry.
descr – The unit description to linkify.
Richtext markup for the hyperlink.
Returns list of trees that is most likely to grow on the given terrain, sorted in descending order by probability.
Returns list of terrains that the given immovable is most likely to grow on, sorted in descending order by probability.
Returns a formatted help string for the terrains that the given immovable is most likely to grow on.
ImmovableDescription) – The immovable type that we want the information for.
a richtext-formatted list of terrain images, terrain names and probabilities.