Difference between revisions of "Artifact Format"

From VCMI Project Wiki
Jump to: navigation, search
(Replaced content with "{{Template:MovedToWebpage|https://vcmi.eu/modders/Entities_Format/Artifact_Format/}}")
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
See thread http://forum.vcmi.eu/viewtopic.php?t=558 for discussion
+
{{Template:MovedToWebpage|https://vcmi.eu/modders/Entities_Format/Artifact_Format/}}
 
 
Artifact abilities use [[Bonus Format]].
 
 
 
TODO:
 
* Combined artifacts identified by string
 
* Artifacts growing with Commander level
 
 
 
<pre>
 
{
 
"type": "HERO", //CREATURE, COMMANDER
 
"class": "TREASURE", //MINOR, MAJOR, RELIC, SPECIAL
 
"slot": "HEAD", //SHOULDERS, NECK, RIGHT_HAND, LEFT_HAND, TORSO, RIGHT_RING, LEFT_RING, FEET, MISC1, MISC2, MISC3, MISC4,
 
MACH1, MACH2, MACH3, MACH4, SPELLBOOK, MISC5
 
"value": 12000, //based on ARTRAITS.txt
 
"text":
 
{
 
"name": "Big Sword",
 
"description": "Big sword gived +10 attack to hero",
 
"event": "On your travel, you stumble upon big sword. You dust it off and stick in your backpack"
 
},
 
"graphics":
 
{
 
"image": "BigSword.png",
 
"large": "BigSword_large".png",
 
"iconIndex": 200
 
},
 
"bonuses":
 
{
 
Bonus_1,
 
Bonus_2
 
}
 
}
 
</pre>
 

Latest revision as of 16:24, 16 July 2024

Logo256.png    Page moved to VCMI-Homepage