xhads/source/effect.ads

32 lines
1023 B
Ada
Raw Normal View History

-- Copyright (c) 2024 - Ognjen 'xolatile' Milan Robovic
--
-- GNU General Public Licence (version 3 or later)
2024-02-15 21:03:09 -05:00
package effect is
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2024-05-31 07:14:00 -04:00
type enumeration is (
2024-05-28 06:08:45 -04:00
idle,
2024-05-31 07:14:00 -04:00
modify_attribute,
modify_skill,
modify_resource,
modify_material
);
2024-02-15 21:03:09 -05:00
------------------------------------------------------------------------------------------
type information is record
kind : enumeration := enumeration'first;
2024-06-05 08:29:55 -04:00
modifier : integer := 0;
amount : integer := 0;
permanent : boolean := false;
duration : natural := 0;
end record;
2024-06-05 08:29:55 -04:00
none : constant information := (others => <>);
2024-02-15 21:03:09 -05:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
end effect;