diff --git a/isometric-park-fna/Content/grammar.json b/isometric-park-fna/Content/grammar.json --- a/isometric-park-fna/Content/grammar.json +++ b/isometric-park-fna/Content/grammar.json @@ -103,7 +103,7 @@ "Tuvaluan", "Ugandan", "Ukrainian", "Uruguayan", "Uzbek", "Vatican citizen", "Citizen of Vanuatu", "Venezuelan", "Vietnamese", "Vincentian", "Wallisian", "Welsh", "Yemeni", "Zambian", "Zimbabwean" ], - "moral_panic_group": ["millenial", "Generation Z", "Zoomers", "Youth"], + "moral_panic_group": ["millennial", "Generation Z", "Zoomers", "Youth"], "oceans": [ "Pacific", "Atlantic", "Indian", "Southern", "Arctic" ], "seas": [ "Amundsen Gulf" , "Baffin Bay" , "Barents Sea" , "Beaufort Sea" , diff --git a/isometric-park-fna/Content/news_items.yaml b/isometric-park-fna/Content/news_items.yaml --- a/isometric-park-fna/Content/news_items.yaml +++ b/isometric-park-fna/Content/news_items.yaml @@ -3,10 +3,6 @@ source: Wire variables: test: albatross -- hed: "Politicians Debate Stimulus Package" - - contents: "WASHINGTON - Poliicians debate the latest stimulus package, which opponents argue might help some people who don't deserve it. So it's impossible to say whether it's good or bad." - source: "Wire" - hed: "The Rare Subspecies of Spruce Making a Comeback" contents: "Maeve Redding didn't think the #tree1# would ever be seen in Red Harbor again. She was playing #subject_sport#, a personal favorite, when diff --git a/isometric-park-fna/Content/news_items_pregenerated.yaml b/isometric-park-fna/Content/news_items_pregenerated.yaml new file mode 100644 --- /dev/null +++ b/isometric-park-fna/Content/news_items_pregenerated.yaml @@ -0,0 +1,6 @@ +- hed: "Politicians Debate Stimulus Package" + + contents: "WASHINGTON - Poliicians debate the latest stimulus package, + which opponents argue might help some people who don't deserve it. So it's + impossible to say whether it's good or bad." + source: "Wire" diff --git a/isometric-park-fna/FNAGame.cs b/isometric-park-fna/FNAGame.cs --- a/isometric-park-fna/FNAGame.cs +++ b/isometric-park-fna/FNAGame.cs @@ -212,6 +212,10 @@ { this.newsItems.AddRange(NewsItem.FromYaml(sr.ReadToEnd())); } + using (var sr_pregenerated = new StreamReader(@"Content/news_items_pregenerated.yaml")) + { + this.newsItems.AddRange(NewsItem.FromYaml(sr_pregenerated.ReadToEnd())); + } this.newsItems = this.newsItems.Select(s => s.Flatten(this.grammar)).ToList().Shuffle(); this.remainingDialog = new Queue>(); diff --git a/isometric-park-fna/isometric-park-fna.csproj b/isometric-park-fna/isometric-park-fna.csproj --- a/isometric-park-fna/isometric-park-fna.csproj +++ b/isometric-park-fna/isometric-park-fna.csproj @@ -121,6 +121,9 @@ PreserveNewest + + PreserveNewest +