newlon/addons/pvzadventure/AdventureLevelResource.cs
2025-07-22 03:23:46 +05:00

17 lines
591 B
C#

using Godot;
using Godot.Collections;
[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]];
}