Refactor hut tier definitions to use images and scales instead of scene paths; add moddable visual component

This commit is contained in:
2025-08-23 15:41:57 +02:00
parent 8efbc9cc6e
commit 608bcc552d
15 changed files with 204 additions and 15 deletions

View File

@@ -5,7 +5,8 @@ namespace ParasiticGod.Scripts.Core;
[GlobalClass]
public partial class TierDefinition : Resource
{
[Export] public PackedScene Scene { get; set; }
[Export] public Texture2D Texture { get; set; }
[Export] public long Threshold { get; set; }
[Export] public Follower.FollowerTier TierEnum { get; set; }
[Export] public Vector2 Scale { get; set; } = Vector2.One;
}