feat: shared creature root, enemy definitions, defend duty, and player downing
This commit is contained in:
@@ -48,7 +48,12 @@ func get_interaction_position() -> Vector3:
|
||||
|
||||
|
||||
func supports_action(candidate_action_id: StringName) -> bool:
|
||||
return action_id == candidate_action_id
|
||||
if action_id == candidate_action_id:
|
||||
return true
|
||||
return (
|
||||
action_id == SimulationIds.ACTION_PATROL
|
||||
and candidate_action_id == SimulationIds.ACTION_DEFEND
|
||||
)
|
||||
|
||||
|
||||
func _update_presentation() -> void:
|
||||
|
||||
Reference in New Issue
Block a user