Decoupling more hardcoded data

- Created a json helper to streamline decoupling of hardcoded data
- Removed non-existent VR bridge reference
- News ticker files are no longer hardcoded to the game.
- Removed hardcoded city and mayor names using Json helper
This commit is contained in:
Tony Bark 2022-08-08 16:10:14 -04:00
parent f8a0f97767
commit 65cc08fab6
13 changed files with 309 additions and 417 deletions

4
json/saves/defualt.json Normal file
View file

@ -0,0 +1,4 @@
{
"city": "Metropolis",
"mayor": "Defacto"
}

View file

@ -4,4 +4,4 @@ With the exception of certain policies, the majority of the lore in City Limits
## Extra Lore
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 ``if_caseyverse()`` function (which checks for that json file, at the moment) and any future related functions that deal with events.
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.

View file

@ -1,8 +1,8 @@
{
"ticker": [
"This Space For Rent.",
"[outlet]: Don't Blame Us If You're Not Paying Attention",
"[outlet]: Information With As Few Words As Possible.",
"This Space For Rent.",
"[outlet]: Properly Spelled Words From Beginning To End.",
"[outlet]: Journalistic Integrity Without All The Advertising.",
"[outlet]: No Advertisements Since Before The Beginning."

View file

@ -1,11 +1,12 @@
{
"competing_outlet": "Citizen Telegram",
"ticker": [
"Some cats look to [other_outlet] for answers behind Kitty Kibble shortage.",
"Some cats look to [competing_outlet] for answers behind Kitty Kibble shortage.",
"Kit Welsh awarded for his medical breakthroughs in [city].",
"Ishard has frozen another one of Big Boston's numbers racket.",
"Can Ishard solve the Kitty Kibble shortage?",
"Who is Ishard? And where did he come from?",
"Big Boston gets frozen in his tracks again thanks to Ishard."
"Big Boston gets frozen in his tracks again thanks to Ishard.",
"[competing_outlet] suggests that Ishard is a fraud.",
"[competing_outlet] supports Kitty Kibble hoax theory, despite lack of evidence."
]
}

11
json/ticker/meta.json Normal file
View file

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