Added skill descriptions and drawing...
This commit is contained in:
parent
6501f22fb0
commit
67a593d59b
@ -101,13 +101,13 @@ begin
|
||||
--
|
||||
attribute.menu (300, 200, false);
|
||||
skill.menu (600, 300, true);
|
||||
resource.menu (300, 500, false);
|
||||
unit.menu (300, 500, true);
|
||||
--~resource.menu (300, 500, false);
|
||||
--~unit.menu (300, 500, true);
|
||||
--
|
||||
unit.stat (unit.griffin, 0, 0, true);
|
||||
unit.stat (unit.halberdier, 0, 0, true);
|
||||
unit.stat (unit.spirit, 0, 0, true);
|
||||
unit.stat (unit.power_lich, 0, 0, true);
|
||||
--~unit.stat (unit.griffin, 0, 0, true);
|
||||
--~unit.stat (unit.halberdier, 0, 0, true);
|
||||
--~unit.stat (unit.spirit, 0, 0, true);
|
||||
--~unit.stat (unit.power_lich, 0, 0, true);
|
||||
--
|
||||
--~might.menu (0, 0, true);
|
||||
--~magic.menu (0, 0, true);
|
||||
|
@ -37,7 +37,7 @@ package body skill is
|
||||
--
|
||||
for index in codex
|
||||
loop
|
||||
ui.draw_icon ("", move_x + offset, move_y + offset + codex'pos (index) * core.icon);
|
||||
ui.draw_icon (trait (index).text, move_x + offset, move_y + offset + codex'pos (index) * core.icon);
|
||||
draw (index, move_x + offset, move_y + offset + codex'pos (index) * core.icon);
|
||||
core.write (trait (index).name, move_x + offset + core.icon, move_y + offset + codex'pos (index) * core.icon);
|
||||
end loop;
|
||||
|
@ -4,6 +4,31 @@ package skill is
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
--~Archery: Improves the effectiveness of ranged attacks.
|
||||
--~Offense: Enhances the damage dealt in combat.
|
||||
--~Armourer: Better at maintaining and repairing equipment.
|
||||
--~Resistance: Provides protection against various types of magic.
|
||||
--~Tactics: Enhances tactical decisions in battles.
|
||||
--~First Aid: Ability to heal wounded units on the battlefield.
|
||||
--~Logistics: Increases movement speed on the map.
|
||||
--~Path Finding: Improves travel speed and reduces chances of ambush.
|
||||
--~Navigation: Better at traveling by sea, improving sea voyages.
|
||||
--~Scouting: Increases visibility range on the map.
|
||||
--~Leadership: Allows for the command of larger armies.
|
||||
--~Scholar: Improves learning from various sources of knowledge.
|
||||
--~Fire Magic: Focuses on spells related to fire elements.
|
||||
--~Water Magic: Mastery over spells involving water elements.
|
||||
--~Air Magic: Command over spells related to air and wind.
|
||||
--~Earth Magic: Manipulation of spells involving earth and nature.
|
||||
--~Mysticism: Enhances magical energy and resource management.
|
||||
--~Necromancy: Ability to raise and control undead units.
|
||||
--~Sorcery: Mastery over a wide range of magical spells.
|
||||
--~Wisdom: Increases overall knowledge and understanding.
|
||||
--~Intelligence: Enhances magical prowess and spellcasting ability.
|
||||
--~Learning: Speeds up the rate of acquiring new skills.
|
||||
--~Diplomacy: Improves relationships with other factions.
|
||||
--~Estates: Manages and grows your domain, relations and wealth.
|
||||
|
||||
type codex is (
|
||||
archery, offense, armourer, resistance, tactics, first_aid,
|
||||
logistics, path_finding, navigation, scouting, leadership, scholar,
|
||||
@ -17,8 +42,9 @@ package skill is
|
||||
|
||||
type information is
|
||||
record
|
||||
name : core.short_string;
|
||||
base : base_limit;
|
||||
name : core.short_string;
|
||||
base : base_limit;
|
||||
text : core.long_string;
|
||||
end record;
|
||||
|
||||
type trait_array is array (codex) of information;
|
||||
@ -32,30 +58,30 @@ package skill is
|
||||
count : constant natural := codex'pos (codex'last) + 1;
|
||||
|
||||
trait : constant trait_array := (
|
||||
("Archery ", 0),
|
||||
("Offense ", 0),
|
||||
("Armourer ", 0),
|
||||
("Resistance ", 0),
|
||||
("Tactics ", 0),
|
||||
("First Aid ", 0),
|
||||
("Logistics ", 0),
|
||||
("Path Finding ", 0),
|
||||
("Navigation ", 0),
|
||||
("Scouting ", 0),
|
||||
("Leadership ", 0),
|
||||
("Scholar ", 0),
|
||||
("Fire Magic ", 0),
|
||||
("Water Magic ", 0),
|
||||
("Air Magic ", 0),
|
||||
("Earth Magic ", 0),
|
||||
("Mysticism ", 0),
|
||||
("Necromancy ", 0),
|
||||
("Sorcery ", 0),
|
||||
("Wisdom ", 0),
|
||||
("Intelligence ", 0),
|
||||
("Learning ", 0),
|
||||
("Diplomacy ", 0),
|
||||
("Estates ", 0)
|
||||
("Archery ", 0, "Archery: Improves the effectiveness of ranged attacks. "),
|
||||
("Offense ", 0, "Offense: Enhances the damage dealt in combat. "),
|
||||
("Armourer ", 0, "Armourer: Better at maintaining and repairing equipment. "),
|
||||
("Resistance ", 0, "Resistance: Provides protection against various types of magic. "),
|
||||
("Tactics ", 0, "Tactics: Enhances tactical decisions in battles. "),
|
||||
("First Aid ", 0, "First Aid: Ability to heal wounded units on the battlefield. "),
|
||||
("Logistics ", 0, "Logistics: Increases movement speed on the map. "),
|
||||
("Path Finding ", 0, "Path Finding: Improves travel speed and reduces chances of ambush. "),
|
||||
("Navigation ", 0, "Navigation: Better at traveling by sea, improving sea voyages. "),
|
||||
("Scouting ", 0, "Scouting: Increases visibility range on the map. "),
|
||||
("Leadership ", 0, "Leadership: Allows for the command of larger armies. "),
|
||||
("Scholar ", 0, "Scholar: Improves learning from various sources of knowledge. "),
|
||||
("Fire Magic ", 0, "Fire Magic: Focuses on spells related to fire elements. "),
|
||||
("Water Magic ", 0, "Water Magic: Mastery over spells involving water elements. "),
|
||||
("Air Magic ", 0, "Air Magic: Command over spells related to air and wind. "),
|
||||
("Earth Magic ", 0, "Earth Magic: Manipulation of spells involving earth and nature. "),
|
||||
("Mysticism ", 0, "Mysticism: Enhances magical energy and resource management. "),
|
||||
("Necromancy ", 0, "Necromancy: Ability to raise and control undead units. "),
|
||||
("Sorcery ", 0, "Sorcery: Mastery over a wide range of magical spells. "),
|
||||
("Wisdom ", 0, "Wisdom: Increases overall knowledge and understanding. "),
|
||||
("Intelligence ", 0, "Intelligence: Enhances magical prowess and spellcasting ability. "),
|
||||
("Learning ", 0, "Learning: Speeds up the rate of acquiring new skills. "),
|
||||
("Diplomacy ", 0, "Diplomacy: Improves relationships with other factions. "),
|
||||
("Estates ", 0, "Estates: Manages and grows your domain, relations and wealth. ")
|
||||
);
|
||||
|
||||
------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user