Adventure level resource groups and seedpackets
This commit is contained in:
parent
8cfbad01cf
commit
dd154e3cd1
2 changed files with 10 additions and 2 deletions
|
|
@ -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]];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,5 +132,7 @@ standardWaveDelay = 30.0
|
|||
initialWaveDelay = 20.0
|
||||
reward = ExtResource("1_pd3l1")
|
||||
forbiddenPlants = []
|
||||
forbiddenTags = Array[String]([])
|
||||
prepickedPlants = Array[String]([])
|
||||
waves = [SubResource("Resource_qsvr4"), SubResource("Resource_otfbt"), SubResource("Resource_nv3y4"), SubResource("Resource_mt5r8"), SubResource("Resource_kugcf"), SubResource("Resource_oyvhx"), SubResource("Resource_k4k25"), SubResource("Resource_oxbea"), SubResource("Resource_5cdj6")]
|
||||
initialScenes = Array[PackedScene]([null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue