add initial project files and configurations, including EventBus, systems, and resources

This commit is contained in:
2026-01-24 02:47:23 +01:00
commit bba82f64fd
110 changed files with 2735 additions and 0 deletions

17
Code/Data/HazardDef.cs Normal file
View File

@@ -0,0 +1,17 @@
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;
}