newlon/addons/pvzadventure/AdventureLevelResource.cs
2025-07-25 18:48:49 +05:00

18 lines
615 B
C#

using Godot;
using Godot.Collections;
using Newlon.Resources;
[GlobalClass]
[Tool]
public partial class AdventureLevelResource : Resource
{
[Export] public int startSun = 50;
//[Export] public Array<Conditions> conditions;
[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;
[Export] public Array<PackedScene> initialScenes = [.. new PackedScene[45]];
}