[Broken] Removed news branding

- Ticker files are no longer baked into the game
- Removed secondary outlet
- News window uses outlet name from Json name
- Lowered maximum amount of news items
This commit is contained in:
Tony Bark 2022-08-08 18:29:56 -04:00
parent 40e68bb7e5
commit 5de5a0c315
7 changed files with 42 additions and 95 deletions

View file

@ -2,6 +2,22 @@
With the exception of certain policies, the majority of the lore in City Limits comes from the news ticker. During regular gameplay (when there isn't any disasters or financial problems), the news ticker provides fictional turn of events that happen in the city, such as the Kitty Kibble shortage from SimCity 3000.
## Extra Lore
## Configuration
Additionally, I've added my own turn of events with the ``extra_lore.json`` file. Internally, this is known as "Caseyverse" and has a global node of the same name. That node is designed so the game can function without it through the use of the ``is_caseyverse()`` function (which checks for that json file, at the moment) and any future related functions that deal with events.
The news ticker is completely configurable. News can be added or removed from the game without having to touch the code. The configuration is stored in the `config.json` file.
```json
{
"outlet": "Pawprint Press",
"competing_outlet": "Citizen Telegram",
"ticker_files": [
"adverts.json",
"sammy.json",
"kittykibble.json",
"citylife.json",
"extra_lore.json"
]
}
```
The ``outlet`` is the city's news brand, the ``competing_outlet`` is part of the optional ``extra_lore.json`` file, and ```ticker_files``` is an array of filenames that contain the news itself.

View file

@ -1,11 +1,11 @@
{
"primary_outlet": "Pawprint Press",
"secondary_outlet": "FNN",
"outlet": "Pawprint Press",
"competing_outlet": "Citizen Telegram",
"ticker_files": [
"adverts.json",
"sammy.json",
"kittykibble.json",
"citylife.json"
"citylife.json",
"extra_lore.json"
]
}