Add tutorial and QoL improvements
This commit is contained in:
@@ -48,6 +48,11 @@ namespace KernelPanic.Run
|
||||
public IReadOnlyList<PackageInstance> EquippedPackages { get; }
|
||||
public int RunSeed { get; }
|
||||
public int DistroVersion { get; }
|
||||
public int TutorialLesson { get; internal set; }
|
||||
public bool IsTutorial => TutorialLesson > 0;
|
||||
|
||||
public static RunConfig ForTutorial(DistroDefinition distro, IReadOnlyList<CardDefinition> deck, int lesson)
|
||||
=> new RunConfig(distro, Language.Python, Language.Haskell, deck, 94100 + lesson, 1) { TutorialLesson = lesson };
|
||||
|
||||
private static IReadOnlyList<PackageInstance> ToInstances(IReadOnlyList<PackageDefinition> packages)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user