- 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.