Skip to content

Commit

Permalink
fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
SlashScreen committed Apr 25, 2024
1 parent 1665b0f commit 5c4804d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions scripts/ai/ai_module.gd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@tool
class_name AIModule
extends Resource
## Base class for AI Packages for NPCs.
Expand Down
1 change: 1 addition & 0 deletions scripts/components/npc_component.gd
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func _ready():
n.link(self)
n._initialize()
ai_modules.append(n)
print(ai_modules)
# FIXME: Parent entity can be instantiated called BEFORE this.


Expand Down
6 changes: 3 additions & 3 deletions tools/npc_data_inspector.gd
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ const RELATIONSHIP_EDITOR = preload("relationship_editor.tscn")
const COVEN_RANK_EDITOR = preload("coven_rank_data_editor.tscn")

@onready var add_module:Button = $NPC/panels/AIModule/VBoxContainer/New/Add
@onready var load_module_button:Button = $NPC/panels/AIModule/VBoxContainer/LoadModule
@onready var load_module_file:FileDialog = $NPC/panels/AIModule/VBoxContainer/New/LoadModule
@onready var load_module_button:Button = $NPC/panels/AIModule/VBoxContainer/New/LoadModule
@onready var load_module_file:FileDialog = $NPC/panels/AIModule/VBoxContainer/New/LoadModule/FileDialog
@onready var module_list:ItemList = $NPC/panels/AIModule/VBoxContainer/ItemList
@onready var mod_class_selection:OptionButton = $NPC/panels/AIModule/VBoxContainer/New/ModuleSelection

@onready var goap_class_selection:OptionButton = $NPC/panels/GOAPModules/VBoxContainer/New/GoapSelection
@onready var add_goap:Button = $NPC/panels/GOAPModules/VBoxContainer/New/Add
@onready var load_goap_button:Button = $NPC/panels/GOAPModules/VBoxContainer/New/LoadGoap
@onready var load_goap_file:FileDialog = $NPC/panels/GOAPModules/VBoxContainer/LoadGoap/FileDialog
@onready var load_goap_file:FileDialog = $NPC/panels/GOAPModules/VBoxContainer/New/LoadGoap/FileDialog
@onready var goap_list:ItemList = $NPC/panels/GOAPModules/VBoxContainer/ItemList

@onready var relationship_list:Control = $NPC/panels/PanelContainer/VBox/Relationships/ScrollContainer/VBoxContainer
Expand Down

0 comments on commit 5c4804d

Please sign in to comment.