Files
HCI_GazeLab/Assets/GazeLab/Scripts/Data/StationLevelDefinition.cs
T

44 lines
2.1 KiB
C#

using UnityEngine;
namespace GazeLab.Data
{
[CreateAssetMenu(fileName = "StationLevelDefinition", menuName = "GazeLab/Station/Station Level Definition", order = 1)]
public sealed class StationLevelDefinition : ScriptableObject
{
[Header("Tier Identity & Unlock Gate")]
[Range(1, 8)] public int level = 1;
public string title = "Tiny Satellite";
[TextArea(2, 3)] public string description = "Initial orbital reconnaissance satellite with a single manual lock-on hardpoint.";
[Tooltip("Wave number that must be cleared before this station upgrade can be purchased (e.g., Wave 5 Boss unlocks Level 2).")]
[Min(0)] public int requiredWaveCleared = 0;
public ResourceCost upgradeCost = new ResourceCost(30, 0, 0);
[Header("Visuals & Relative World Scaling")]
public Sprite stationSprite;
[Tooltip("Visual scale of the Space Station sprite itself.")]
[Range(0.2f, 1.5f)] public float stationVisualScale = 0.45f;
[Tooltip("Scale multiplier applied to Enemies, Asteroids, Projectiles, and Resources to convey the Station's massive growth (1.0 at LvL 1 down to ~0.38 at LvL 8).")]
[Range(0.25f, 1.25f)] public float worldEntityScaleMultiplier = 1.0f;
[Tooltip("Scale multiplier applied to turrets mounted on the station at this level so higher-level weapons fit the station hull proportionally.")]
[Range(0.25f, 1.5f)] public float mountedTurretScaleMultiplier = 0.85f;
[Header("Defense & Magnet Stats")]
[Min(50f)] public float maxHull = 150f;
[Min(0f)] public float maxShield = 80f;
[Min(0f)] public float shieldRegenPerSec = 8f;
[Min(0.5f)] public float shieldRegenDelay = 3.5f;
[Min(0.5f)] public float passiveMagnetRadius = 2.4f;
public CentroidOpacityProfile shieldCentroidProfile;
[Header("Turret Hardpoint Positions (Local to Station)")]
[Tooltip("Index 0 is the Primary Turret; additional indices unlock autonomous/focus-fire turrets.")]
public Vector2[] turretHardpoints = new Vector2[]
{
new Vector2(0f, 0.45f)
};
}
}