2025-05-13 19:22:01 +08:00

35 lines
630 B
C#

using System.Collections.Generic;
using System.ComponentModel;
using Godot;
using Godot.Bridge;
using Godot.Collections;
using Godot.NativeInterop;
[GlobalClass]
[ScriptPath("res://Scripts/Actions/IBehaviour.cs")]
public partial class IBehaviour : Resource
{
public enum Triggers
{
Always,
Interact,
Range
}
[Export(PropertyHint.None, "")]
public Triggers trigger { get; set; }
[Export(PropertyHint.None, "")]
public Array<SaveFile.Flags> needs { get; set; }
[Export(PropertyHint.None, "")]
public Array<SaveFile.Flags> limit { get; set; }
public NPC parent { get; set; }
public virtual void Do()
{
}
}