35 lines
630 B
C#
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()
|
|
{
|
|
}
|
|
|
|
}
|