2023-10-15 09:08:31 -04:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2023 - Ognjen 'xolatile' Milan Robovic
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Xabina is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either
-- version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
with core ;
package monster is
------------------------------------------------------------------------------------------
2023-10-15 13:52:26 -04:00
type list is (
2023-10-15 12:56:21 -04:00
goblin_slave , goblin_worker , goblin_warrior , goblin_boar_rider , goblin_shaman , goblin_chief , goblin_king , goblin_ogre
2023-10-15 09:08:31 -04:00
) ;
2023-10-15 13:52:26 -04:00
type mark is mod 72 ;
2023-10-15 09:08:31 -04:00
------------------------------------------------------------------------------------------
2023-10-15 13:52:26 -04:00
type constant_type is new core . constant_type with
2023-10-15 09:08:31 -04:00
record
2023-10-15 14:31:43 -04:00
attack_range : natural := 0 ;
2023-10-15 09:08:31 -04:00
end record ;
2023-10-15 13:52:26 -04:00
type variable_type is new core . variable_type with
2023-10-15 09:08:31 -04:00
record
2023-10-15 14:31:43 -04:00
soul : core . soul_type ;
health : core . health_type ;
mana : core . mana_type ;
2023-10-15 09:08:31 -04:00
end record ;
2023-10-15 14:31:43 -04:00
type constant_list is array ( list ) of constant_type ;
type variable_list is array ( mark ) of variable_type ;
2023-10-15 09:08:31 -04:00
------------------------------------------------------------------------------------------
2023-10-15 14:31:43 -04:00
constant_data : constant constant_list := (
( core . monster , "Goblin Slave " , ' S ' , core . colour . green , core . effect . bold , 2 ) ,
( core . monster , "Goblin Worker " , ' R ' , core . colour . green , core . effect . bold , 3 ) ,
( core . monster , "Goblin Warrior " , ' W ' , core . colour . green , core . effect . bold , 5 ) ,
( core . monster , "Goblin Boar Rider " , ' B ' , core . colour . green , core . effect . bold , 11 ) ,
( core . monster , "Goblin Shaman " , ' H ' , core . colour . green , core . effect . bold , 3 ) ,
( core . monster , "Goblin Chief " , ' C ' , core . colour . green , core . effect . bold , 7 ) ,
( core . monster , "Goblin King " , ' K ' , core . colour . green , core . effect . bold , 13 ) ,
( core . monster , "Goblin Ogre " , ' O ' , core . colour . green , core . effect . bold , 23 )
) ;
variable_data : variable_list ;
2023-10-15 09:08:31 -04:00
------------------------------------------------------------------------------------------
end monster ;