SMAPI
About SMAPI
Modding docs
Tools
Mod compatibility
Log parser
JSON validator
JSON validator
Upload a JSON file
Choose the JSON format:
None
SMAPI: manifest
SMAPI: translations (i18n)
Content Patcher
Drag the file onto this textbox
(or
choose a 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" ] } } } ] }
Click this button: