xhads/source/ai.adb

34 lines
1.4 KiB
Ada
Raw Normal View History

2024-03-22 00:37:54 -04:00
with core, ui, ai;
use ai;
package body ai is
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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
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;
------------------------------------------------------------------------------------------
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;