added logger to character creation, default character setup, gameplay flow and textmeshpro stuff

This commit is contained in:
Sebastian Bularca
2026-04-05 21:48:06 +02:00
parent bb75524cd8
commit c2bbf30a73
300 changed files with 73925 additions and 184 deletions

View File

@@ -1,6 +1,7 @@
using Jovian.Logger;
using System;
using System.Collections.Generic;
using System.Linq;
using ZLinq;
using UnityEngine;
@@ -23,12 +24,16 @@ namespace Nox.Game {
public sealed class PerkDefinition : IPerk {
[field: SerializeField] public string Name { get; set; }
[field: SerializeField] public ModifiersData Modifiers { get; set; }
public Guid Id { get; set; }
public Guid Id { get; set; } = Guid.NewGuid();
}
[Serializable]
public sealed class PerksData {
public List<PerkDefinition> perks = new ();
public override string ToString() {
return $"Perks: {string.Join(", ", perks.Select(perk => $"{perk.Name}"))}";
}
}
public sealed class PerkFactory : IPerkFactory {