You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
580 B
23 lines
580 B
using Godot;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using Babushka.scripts.CSharp.Common.Quest;
|
|
using Godot.Collections;
|
|
|
|
public partial class QuestTestingScript : Node
|
|
{
|
|
[Export(PropertyHint.ArrayType)]
|
|
private Array<QuestResource>? _questsToActivate;
|
|
|
|
public override void _EnterTree()
|
|
{
|
|
Debug.Assert(_questsToActivate != null);
|
|
|
|
foreach (var questResource in _questsToActivate)
|
|
{
|
|
QuestManager.Instance!.ChangeQuestStatus(questResource, QuestStatus.Status.Active);
|
|
}
|
|
}
|
|
}
|