JSON validator
Validation
Oops, found some issues with your JSON.
Line | Field | Error |
---|---|---|
21 | Changes[0].Entries.MyGemStone.ExtraItems[0] | After parsing a value an unexpected character was encountered: :. Path 'Changes[0].Entries.MyGemStone.ExtraItems[0]', line 21, position 28. |
Content
You can change JSON format () or edit this file.
{
"Format": "2.7.0",
"Changes": [
{
"LogName": "Add ore",
"Action": "EditData",
"Target": "Mods/mistyspring.ItemExtensions/Resources",
"Entries": {
"MyGemStone": {
"SpriteIndex": 2,
"Texture": "Mods\\[CP] Just a Little More to Do\\assets\\minerals_artifacts",
"Health": 8, //every hit reduces (UpgradeLevel + 1) x 0.75 . e.g iridium reduces 4 HP
"Sound": "hammer", //sound made when hitting ore
"BreakingSound": "stoneCrack", //sound made when breaking ore
"ItemDropped": "LMTD_sapphire", //item dropped. doesn't have to be custom- it can be an existing item (and it accepts all item types (e.g big craftables, shirts, etc))
"Tool": "Pickaxe", //tool that damages resource. can be "Any"(tools and weapons), "Tool"(any tool), "Weapon"(any weapon), or a specific type. You can also use "AnyExceptType" (e.g, AnyExceptAxe)
"MinToolLevel": 1, //minimum upgrade. e.g: if less than copper, it'll give a "needs upgrade" message
"MinDrops": 1, //minimum of item to drop
"MaxDrops": 2, //maximum of item to drop
"ExtraItems": [ //optional: extra items to drop ],
"Debris": "stone blue", //debris type and color (that last one is optional)
"MineSpawns": [ //You can spawn ores in the mines, and specify difficulty or conditions.
{
"Floors": "40/-999", // from 1 to infinite. (-999 means no limit)
"SpawnFrequency": 0.1, //10% to spawn
"Type": "All" //on any difficulty
}
//see the full template for other examples
]
}
}
},
{
"LogName": "Add ore's gem",
"Action": "EditData",
"Target": "Data/Objects",
"Entries": {
"MyGem": { //the gem the ore drops
"Name": "LMTD_sapphire",
"Price": 105,
"IsDrink": false,
"Edibility": 30,
"Type": "Minerals", //framework accepts any type/category. gem is an example
"Category": -2,
"ExcludeFromRandomSale": true,
"ExcludeFromShippingCollection": true,
"DisplayName": "Sapphire",
"Description": "A deep blue gemstone. It reminds you of the ocean's depths.",
"SpriteIndex": 0,
"Texture": "Mods\\[CP] More Custom Gems Conversion\\assets\\minerals_artifacts",
"ContextTags": [
"color_blue"
]
}
}
}
]
}