Event Scripting

703pages on
this wiki
Add New Page
Add New Page Talk2
Game mods | Editing rulesets | Nations | Scenarios | Editing tilesets | Sounds | Event scripting

Start with Event Scripting at the Events Tutorial

Freeciv supports Event Scripting in rulesets and scenarios since version 2.1, using the Lua language. The tutorial is implemented as a scripted scenario.

Hardcoded game events which are candidates for scripting Edit

  • Entering village huts. (implemented)
  • Partisan generation on conquering city. (implemented)
  • Darwin free techs on build, and Philosophy free tech to first player who discovers it.
  • Marco Polo gives embassies.
  • Building a spaceship "building" gives no building but rather a spaceship part.

See also Edit

Also on Fandom

Random Wiki