Add actual ASCII-Art for distros, add first three distros and being able to choose a starting-distro. Update UI to fix multiple small bugs.

This commit is contained in:
2026-07-04 00:12:03 +02:00
parent 36ddc8fa1c
commit 00e990ac18
36 changed files with 1421 additions and 13 deletions
+18
View File
@@ -1,4 +1,6 @@
using System;
using System.Collections.Generic;
using KernelPanic.Data;
namespace KernelPanic.Meta
{
@@ -7,7 +9,23 @@ namespace KernelPanic.Meta
/// </summary>
public sealed class GachaService
{
private readonly List<DistroDefinition> bannerPool = new();
public int PullTokens => 0; // TODO: Replace with the real pull-token wallet when that meta system exists.
public IReadOnlyList<DistroDefinition> BannerPool => bannerPool;
public event Action BannerPoolChanged;
public void AddToBannerPool(DistroDefinition distro)
{
if (distro == null || bannerPool.Contains(distro))
{
return;
}
bannerPool.Add(distro);
BannerPoolChanged?.Invoke();
}
public GachaPullResult PerformPull(EntropyWallet wallet, int cost)
{