using Godot; namespace MaxEffort.Code.Data; [GlobalClass] public partial class HazardDef : Resource { [Export] public HazardType Type; [Export] public string DisplayName; [Export] public SpriteFrames Animations; [Export] public string IdleAnimName = "default"; [Export] public string WalkAnimName = "walk"; // Optional, if they walk in [Export] public float TimeToFail = 3.0f; // How long before Game Over if ignored [Export] public float SpawnWeight = 1.0f; // Rarity chance [Export] public float MinFocusToSpawn = 0.3f; // Won't spawn if you aren't somewhat focused [Export] public int ClicksToResolve = 1; }