Add weapon database and equipment component resources with associated services

This commit is contained in:
2025-10-29 01:26:45 +01:00
parent 87169b17ae
commit 626f81cd85
16 changed files with 245 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
using Godot;
namespace CryptonymThunder.Code.Resources;
[GlobalClass]
public partial class EquipmentComponentResource : Resource
{
[Export] public Godot.Collections.Array<string> StartingWeapons { get; set; } = [];
}

View File

@@ -0,0 +1 @@
uid://d0osn7rv6mqa0

View File

@@ -0,0 +1,10 @@
using Godot;
using Godot.Collections;
namespace CryptonymThunder.Code.Resources;
[GlobalClass]
public partial class WeaponDatabase : Resource
{
[Export] public Dictionary<string, WeaponResource> WeaponData { get; set; } = new();
}

View File

@@ -0,0 +1 @@
uid://n4m7jn4mysrt