Adventure level resource groups and seedpackets

This commit is contained in:
Rendo 2025-07-29 01:05:43 +05:00
commit dd154e3cd1
2 changed files with 10 additions and 2 deletions

View file

@ -8,11 +8,17 @@ public partial class AdventureLevelResource : Resource
{
[Export] public int startSun = 50;
//[Export] public Array<Conditions> conditions;
[ExportGroup("Wave properties")]
[Export(PropertyHint.Range, "0,1,0.01")] public float wavePercentage;
[Export] public float standardWaveDelay;
[Export] public float initialWaveDelay;
[Export] public RewardResource reward;
[Export] public Array<string> forbiddenPlants;
[Export] public Array<WaveData> waves;
[ExportGroup("Editor-edited properties")]
[ExportSubgroup("Seedpackets")]
[Export] public Array<string> forbiddenPlants = new();
[Export] public Array<string> forbiddenTags = new();
[Export] public Array<string> prepickedPlants = new();
[ExportSubgroup("Waves")]
[Export] public Array<WaveData> waves = new();
[Export] public Array<PackedScene> initialScenes = [.. new PackedScene[45]];
}