2024-03-22 00:37:54 -04:00
|
|
|
with core, ui, ai;
|
|
|
|
|
|
|
|
use ai;
|
|
|
|
|
|
|
|
package body ai is
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
2024-03-24 08:07:42 -04:00
|
|
|
function agent_is_thirsty (index : in natural) return boolean is begin return (agent (index).mind and thirst) = thirst; end agent_is_thirsty;
|
|
|
|
function agent_is_hungry (index : in natural) return boolean is begin return (agent (index).mind and hunger) = hunger; end agent_is_hungry;
|
|
|
|
|
2024-03-22 00:37:54 -04:00
|
|
|
procedure configure is
|
|
|
|
begin
|
2024-03-22 11:08:37 -04:00
|
|
|
core.echo (core.failure, "No AI yet folk!");
|
2024-03-22 00:37:54 -04:00
|
|
|
end configure;
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------------------
|
|
|
|
|
2024-03-24 07:46:56 -04:00
|
|
|
procedure synchronize is
|
|
|
|
begin
|
|
|
|
core.echo (core.failure, "No AI yet folk!");
|
|
|
|
end synchronize;
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------------------
|
|
|
|
|
2024-03-22 11:08:37 -04:00
|
|
|
procedure action_none is begin null; end action_none;
|
|
|
|
procedure action_walk is begin null; end action_walk;
|
|
|
|
procedure action_talk is begin null; end action_talk;
|
|
|
|
procedure action_find is begin null; end action_find;
|
|
|
|
|
2024-03-22 00:37:54 -04:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
end ai;
|