24 lines
896 B
C#
24 lines
896 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;
|
|
[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;
|
|
[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]];
|
|
}
|