Additional entries in future artifacts.xml fileI would like to make the player can buy/sell artifacts in buildings in some castles, but not in all castles, and the heroes, but not all of them, can buy/sell artifacts in locations on the adventure map.
The player can also "magically craft" artifacts in buildings in some castles, but not in all castles, and the heroes, certainly all of them, can demand to "magically craft" artifacts in locations on the adventure map.
So, the artifacts need entries for the "Cost" (the player can buy/sell them in buildings in castles and in locations on the adventure map), and for the "Magical Craft Cost" (they can be "magically crafted" in buildings in castles and in locations on the adventure map; and there is also an artifact that allows to "magically craft" an artifact in the hero inventory).
The "Cost" for the artifacts is in Gold only.
Ex:
"Cost" "1000"
The "Magical Craft Cost" is in resources (Sulfur, Gems, Crystal, Mercury, Wood, Ore) and Gold, it can also be in creatures (the Necromancer can magically craft artifacts with only Skeletons).
Ex:
"Magical Craft Cost" "resources ("Sulfur, 5", "Gems, 5", "Crystal, 5", "Mercury, 10", "Wood, 5", "Ore, 10", "Gold, 3000")",
or "creatures ("Skeleton, 100)"
Basically, it's not complicated, the artifacts have a "Cost" in gold to being able to buy/sell them, the "Magical Craft Cost" is just another way to "buy" them, the difference is the artifacts are randomly generated in buildings and map locations so the player can buy them, the "Cost" is used here, and when the artifacts are "magically crafted" the player chooses the artifact he wants, but the cost is much higher, the "Magical Craft Cost" is used here.
There is also a specific rule for the "magical crafting": Each artifact can be reproduced only once per player in the same scenario (ex: each player can "magically craft" the Armored Gauntlets of Protection one time).
*
We also need more levels for the artifacts.
Level 1 to level 7.
Level 1 to 3 for the in game artifacts already present in the original version of Heroes 2.
Level 4 and 5 will be for additional artifacts, all the news artifacts created and not present in the original version of Heroes 2, 2 levels should be enough.
Level 6 will be for the Artifacts Sets, ex: Battle Garb (Sword of Anduran + Breastplate of Anduran + Hemlet of Anduran).
Level 7 will be for the Cursed Artifacts.
The Cursed Artifacts need also entries for the "Remove Cost" (they will have different costs when removed at the Alchemist's Tower), and for the "Amelioration Cost" (it will be possible to "enhance" them at the Alchemist's Tower).
The "Remove Cost" and the "Amelioration Cost" are in Gold only.
Ex:
"Remove Cost" "1000", "Amelioration Cost" "3000"
*
We also need specific objets for this in the map editor.
Currently there is:
yellow sphere --> random artifact level 1 to 3
yellow sphere ART 1 --> random artifact level 1 only
yellow sphere ART 2 --> random artifact level 2 only
yellow sphere ART 3 --> random artifact level 3 only
purple sphere Ult ART -- > random Ultimate Artefact
We also need something like this for more flexibility:
yellow sphere ART 4 --> random artifact level 4 only
yellow sphere ART 5 --> random artifact level 5 only
yellow sphere ART 6 --> random artifact set only
yellow sphere ART 7 --> random cursed artifact only
yellow sphere ART 4-5 --> random artifact level 4 to 5
yellow sphere ART 4-6 --> random artifact level 4 to 6
*
Is all of this feasible, or is it just a dream?