Add battle stuff
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
@tool
|
||||
class_name Entity extends CharacterBody3D
|
||||
const UUID = preload("res://util/UUID.gd")
|
||||
|
||||
enum MovementType {
|
||||
NONE,
|
||||
@@ -9,8 +11,14 @@ enum MovementType {
|
||||
enum InteractType {
|
||||
NONE,
|
||||
CONVERSATION,
|
||||
TEST_BATTLE
|
||||
};
|
||||
|
||||
@export_category("Identification")
|
||||
@export var entityId:String = UUID.uuidv4()
|
||||
@export_tool_button("Regenerate ID")
|
||||
var button := func():
|
||||
entityId = UUID.uuidv4()
|
||||
|
||||
# Movement settings
|
||||
@export_category("Movement")
|
||||
@@ -20,3 +28,6 @@ enum InteractType {
|
||||
@export_category("Interactions")
|
||||
@export var interactType:InteractType = InteractType.NONE
|
||||
@export var conversation:Array[ConversationElement] = []
|
||||
|
||||
# TEST BATTLE
|
||||
@export_category("Test Battle")
|
||||
|
||||
Reference in New Issue
Block a user