How to update a lua script from 3.1 to 3.2

This document describes how to convert freeciv-3.1 compatible lua script to one compatible with freeciv-3.2. Please check these carefully to avoid your script mis-behaving, maybe in some rarely reached special case. These are changes to scripting API requiring special attention. Additions to the API that do not affect old scripts are not listed.
==Version functions==
fc_version() method has been deprecated. Replace uses with one of name_version(), comparable_version(), or version_string() depending on what exactly you need.
== See also ==
Category:Event scripting