mirror of
https://github.com/tonytins/citylimits
synced 2025-06-26 01:44:42 -04:00
FNN and Central Tower
If the Central Tower is present, change Pawprint Press to FNN.
This commit is contained in:
parent
9dc5956e89
commit
cc4747ab65
4 changed files with 25 additions and 4 deletions
|
@ -20,6 +20,8 @@ func _load_news():
|
|||
return dialogue
|
||||
|
||||
func _ready():
|
||||
SimData.city_name = SimData.city_name.capitalize()
|
||||
SimData.mayor_name = SimData.mayor_name.capitalize()
|
||||
SimEvents.connect("send_alert", self, "_start_alert")
|
||||
SimEvents.connect("resume_news", self, "_resume_ticker")
|
||||
_random_news("res://dialog/ticker.json")
|
||||
|
@ -42,8 +44,8 @@ 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
|
||||
if SimData.has_ctower and "[outlet]" in news:
|
||||
# FNN = Furtropolis/Furry News Network
|
||||
news = news.replace("[outlet]", "FNN")
|
||||
elif "[outlet]" in news:
|
||||
news = news.replace("[outlet]", "Pawprint Press")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue