New art assets, work on implementing more adventurer behavior and making them work better together, and steps towards completing the first quest loop.
This commit is contained in:
7
ai/tasks/conditions/has_quest.gd
Normal file
7
ai/tasks/conditions/has_quest.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends BTCondition
|
||||
var invert : bool
|
||||
func _tick(delta: float) -> Status:
|
||||
if agent.data and ((agent.data.quest == null) == invert):
|
||||
return SUCCESS
|
||||
else:
|
||||
return FAILURE
|
||||
1
ai/tasks/conditions/has_quest.gd.uid
Normal file
1
ai/tasks/conditions/has_quest.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://xom38ohdwfms
|
||||
7
ai/tasks/conditions/is_unregistered.gd
Normal file
7
ai/tasks/conditions/is_unregistered.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends BTCondition
|
||||
|
||||
func _tick(delta: float) -> Status:
|
||||
if agent.data and !Guild.has_guild_member(agent.data):
|
||||
return SUCCESS
|
||||
else:
|
||||
return FAILURE
|
||||
1
ai/tasks/conditions/is_unregistered.gd.uid
Normal file
1
ai/tasks/conditions/is_unregistered.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bcbfnm21rtkuo
|
||||
Reference in New Issue
Block a user