mirror of
https://github.com/tonytins/citylimits
synced 2025-06-25 09:24:44 -04:00
News outlet variable
Two possible news outlets: FNN (Furtropolis News Network) or Pawprint Press.
This commit is contained in:
parent
d1da70a099
commit
9dc5956e89
2 changed files with 7 additions and 1 deletions
|
@ -42,6 +42,12 @@ func _random_news(file):
|
|||
var ticker_range = rng.randi_range(0, max_mange)
|
||||
var news = news_keys[ticker_range].text
|
||||
|
||||
if SimData.city_name == "Furtropolis" and "[outlet]" in news:
|
||||
# FNN = Furtropolis News Network
|
||||
news = news.replace("[outlet]", "FNN")
|
||||
elif "[outlet]" in news:
|
||||
news = news.replace("[outlet]", "Pawprint Press")
|
||||
|
||||
if "[city]" in news:
|
||||
news = news.replace("[city]", SimData.city_name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue