This is an old revision of the document!
Table of Contents
Newspaper Editor
This is the random articles for the newspaper editor. This is only used for filler articles. Articles for historical events or player/ai actions are generated in the turn events and in game files respectively.
Files And How It Works
At the start of the game, the NewspaperArticles.xml file is read and stored in the game. Upon generation of a newspaper.html file, if there are not enough articles to fill the paper, the game will randomly select an article within the year range from this list. That article is then displayed in game.
The articles themselves are html. As such you can use html styling when creating the articles.
The Editor
The following picture is of the newspaper editor. Below it we will break down the parts of this editor.
- Ordered List Item
Examples