Skip to content

Commit

Permalink
Credits: part engine, part game.
Browse files Browse the repository at this point in the history
  • Loading branch information
nightblade9 committed Nov 21, 2024
1 parent 7774399 commit 3089d0a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 7 additions & 6 deletions source/TextBlade.Core/Commands/ShowCreditsCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TextBlade.Core.Characters;
using TextBlade.Core.Game;

Expand All @@ -8,12 +7,14 @@ public class ShowCreditsCommand : ICommand
{
public IEnumerable<string> Execute(IGame game, List<Character> party)
{
var toReturn = new List<string>
var creditsFilePath = Path.Join("Content", "Credits.txt");
var toReturn = new List<string>();
if (File.Exists(creditsFilePath))
{
"All programming, content, etc. created by NightBlade!",
"Shout out to the following people for providing free resources:",
" Seagulls close-up.wav by juskiddink -- https://freesound.org/s/100724/ -- License: Attribution 4.0"
};
toReturn.Add(File.ReadAllText(creditsFilePath));
}

toReturn.Add("TextBlade text JRPG engine: programming by NightBlade.");
return toReturn;
}
}
4 changes: 4 additions & 0 deletions source/VoidWalker.Main/Content/Credits.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VoidWalker programming and prose written by NightBlade!

Shout out to the following people for providing free resources:
Seagulls close-up.wav by juskiddink -- https://freesound.org/s/100724/ -- License: Attribution 4.0

0 comments on commit 3089d0a

Please sign in to comment.