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.
18 lines
337 B
18 lines
337 B
|
6 months ago
|
using Godot;
|
||
|
|
using System;
|
||
|
|
using Babushka.scripts.CSharp.Common.Quest;
|
||
|
|
|
||
|
|
public partial class QuestTrigger : Node
|
||
|
|
{
|
||
|
|
[Export]
|
||
|
|
public QuestResource questResource;
|
||
|
|
|
||
|
|
[Export]
|
||
|
|
public QuestStatus.Status toStatus;
|
||
|
|
|
||
|
|
public void Trigger()
|
||
|
|
{
|
||
|
|
QuestManager.Instance.ChangeQuestStatus(questResource, toStatus);
|
||
|
|
}
|
||
|
|
}
|