2025-04-25 18:33:20 +02:00
|
|
|
|
using Cirno.Scripts.Resources.Loot;
|
|
|
|
|
|
using Cirno.Scripts.Resources.Roguelite;
|
2025-04-24 16:40:51 +02:00
|
|
|
|
using Godot;
|
|
|
|
|
|
using Godot.Collections;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Cirno.Scripts.Resources;
|
|
|
|
|
|
|
|
|
|
|
|
[GlobalClass]
|
|
|
|
|
|
public partial class RogueliteMapTheme : Resource
|
|
|
|
|
|
{
|
2025-04-25 18:33:20 +02:00
|
|
|
|
[ExportGroup("Prefabs")]
|
2025-04-24 16:40:51 +02:00
|
|
|
|
[Export] public PackedScene HorizontalDoorPrefab { get; set; }
|
|
|
|
|
|
[Export] public PackedScene HorizontalWallPrefab { get; set; }
|
|
|
|
|
|
[Export] public PackedScene VerticalDoorPrefab { get; set; }
|
|
|
|
|
|
[Export] public PackedScene VerticalWallPrefab { get; set; }
|
|
|
|
|
|
[Export] public PackedScene DoorLockPrefab { get; set; }
|
|
|
|
|
|
[Export] public PackedScene KeyCardPrefab { get; set; }
|
2025-04-25 18:33:20 +02:00
|
|
|
|
[Export] public PackedScene ChestPrefab { get; set; }
|
|
|
|
|
|
[Export] public PackedScene VendingMachinePrefab { get; set; }
|
|
|
|
|
|
[Export] public Array<PackedScene> KeyCardsPrefabs { get; set; }
|
|
|
|
|
|
[Export] public LootItem PointItemResource { get; set; }
|
2025-04-24 16:40:51 +02:00
|
|
|
|
|
2025-04-25 18:33:20 +02:00
|
|
|
|
[ExportGroup("Chances")]
|
|
|
|
|
|
[Export] public double ChestChance { get; set; }
|
|
|
|
|
|
[Export] public float EnemyDropChance { get; set; }
|
|
|
|
|
|
[Export] public LootTable ChestLootTable { get; set; }
|
|
|
|
|
|
[Export] public LootTable ShopLootTable { get; set; }
|
|
|
|
|
|
[Export] public LootTable EnemiesLootTable { get; set; }
|
2025-04-25 19:00:28 +02:00
|
|
|
|
[Export] public LootTable WeaponsLootTable { get; set; }
|
2025-04-25 18:33:20 +02:00
|
|
|
|
|
|
|
|
|
|
[ExportCategory("Rooms")]
|
2025-04-24 16:40:51 +02:00
|
|
|
|
[Export] public Array<RogueliteRoomResource> Rooms { get; set; }
|
|
|
|
|
|
}
|