Event scripting

From Freeciv

Jump to: navigation, search
edit

Nations | Editing Rulesets | Editing tilesets | Themes | Sounds | Events
Rulesets and modpacks forum | Art and tilesets forum

Back to Game Mods page | Talk:Game Mods


[edit] Hardcoded game events which are candidates for scripting

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

[edit] Events for a tutorial mode

One of the first goals for event scripting should be to make a tutorial scenario. This should be fairly easy since all we have to do is tell the user some particular text when an event happens. Events include:

  • Starting the game.
  • Moving a unit (e.g., moving a settler unit should tell you if you've found a good city site).
  • Founding a city.
  • Completing a city production (must know which one; lots of special cases here).
  • Making contact with another civ.
  • Declaring war/having war declared on you.
  • Researching a new tech.

[edit] See also

Personal tools
.