A ruleset describes the complete behaviour of the game. The freeciv server processes the ruleset to determine the attributes of units, cities, buildings, inventions, wonders and much more. There is one main rules file holding a bunch of common rules and a collection of references to more specific rules files.


These are the rulesets as packaged in the official release.


The Civ1 ruleset emulates Civilization I behavior


The Civ2 ruleset emulates Civilization II behavior


The Civ2civ3 ruleset's main purpose is to get a gameplay more similar to civ3, keeping the combat system from civ2.
Reduced micromanagement as much as possible. Don't be afraid by the amount of changes, I think this ruleset is easier to learn than classic rules, and it is designed so there is not a big disadvantage when you do not play optimally.
Removed the rules that allowed a sudden boost: mainly rapture growth, national trade routes, and the big bonuses from some governments.
The result should be a simpler and more linear development of your cities, and a slower paced gameplay. With governments that keep a similar balance along the different ages, and smoother effects of terrains, units, buildings and wonders.
All the new rules have been adapted so AI can play with them, and to avoid possible exploits by human players.


The Classic ruleset is the traditional preferred Freeciv ruleset


The Experimental ruleset tries to use the new features available in freeciv that are not yet in use in default rulesets. It is based on the classic ruleset.
If the changes in this ruleset result in a working game (especially with regard to the AI) they could be included in the default ruleset for next major release.


The Multiplayer ruleset is intended to rectify some game balance issues encountered on multiplayer servers with the classic ruleset. It is based on the 'rewonder' ruleset designed by Madeline Book for Freeciv 2.1.


The Sandbox ruleset is for playing with game engine features, and is not liable to maintain savegame compatibility between even bugfix releases.

Anatomy of a RulesetEdit

Ruleset files define the rules of the game within the hard-coded framework:


Improvements, Wonders, Small Wonders, and Special buildings like Coinage are defined here. See Editing Buildings for more information.


City properties are defined here. See Editing Cities for more information.


Game effects are defined here and its included sub-file, ai_effects.ruleset. See Editing Effects for more information.


Various general game rules, action enablers, and first 32 default player colors are defined here. See Editing Game for more information.


Governments are defined here. See Editing Governments for more information.


Nations are defined here. The list of included nations, nation groups, and nation sets in the included nationlist.ruleset are defined here. See Editing Nations for more information.


Civilization Styles are defined here. See Editing Styles for more information.


Advances and Technology Flags are defined here. See Editing Techs for more information.


Terrain, Special Resources, Roads, and other Extras are defined here. See Editing Terrain for more information.


Unit Classes, Unit Class Flags, Unit Flags, and Units are defined here. See Editing Units for more information.

LUA FileEdit

Script.lua and the included default.lua can have events defined within them. See Event Scripting for more information.

Serv FileEdit

Serv Files contain server commands, especially the rulesetdir that tells the server to load a ruleset's directory. The name.serv file for a given ruleset name are stored in a directory found in the FREECIV_DATA_PATH together with a name sub-directory containing all *.ruleset files and script.lua as listed above.

See also Edit

Game Anatomy & Modding
Event ScriptingEditing RulesetsEditing TilesetsMore RulesetsMore Tilesets
Editing Rulesets
Editing BuildingsEditing CitiesEditing EffectsEditing GameEditing Governments
Editing NationsEditing StylesEditing TechsEditing TerrainEditing Units