Fandom

Freeciv

Event Scripting

706pages on
this wiki
Add New Page
Talk2 Share
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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.