JSON validator

Validation

No errors found! See format documentation for more info.

Content

You can change JSON format () or edit this file.
{
  "Format": "2.8.0",
  "Changes": [
    {
      "Action": "EditData",
      "LogName": "Joja Machines Object Data",
      "Target": "Data/Objects",
      "Entries": {
        "Adam.Joja_Wine": {
          "Name": "Adam.Joja_Wine",
          "DisplayName": "Joja Wine",
          "Description": "It's wine, but I can't tell what it tastes like?",
          "Type": "Basic",
          "Category": -26,
          "Price": 200,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "0",
          "Edibility": 20,
          "IsDrink": true,
          "Buffs": [
            {
              "Id": "Tipsy",
              "BuffId": "17",
              "IconSpriteIndex": 0,
              "Duration": 0
            }
          ],
          "ContextTags": [
            "color_blue",
            "alcohol_item",
            "use_reverse_name_for_sorting",
            "drink_item"
          ]
        },
        "Adam.Joja_Juice": {
          "Name": "Adam.Joja_Juice",
          "DisplayName": "Joja Juice",
          "Description": "It's juice, but I can't tell what it tastes like?",
          "Type": "Basic",
          "Category": -26,
          "Price": 75,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "1",
          "Edibility": 30,
          "IsDrink": true,
          "ContextTags": [
            "color_blue",
            "juice_item",
            "use_reverse_name_for_sorting",
            "drink_item"
          ]
        },
        "Adam.Joja_Jelly": {
          "Name": "Adam.Joja_Jelly",
          "DisplayName": "Joja Jelly",
          "Description": "It's jelly, but I can't tell what it tastes like?",
          "Type": "Basic",
          "Category": -26,
          "Price": 80,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "2",
          "Edibility": 50,
          "ContextTags": [
            "color_blue",
            "jelly_item",
            "use_reverse_name_for_sorting"
          ]
        },
        "Adam.Joja_Pickles": {
          "Name": "Adam.Joja_Pickles",
          "DisplayName": "Joja Pickles",
          "Description": "They're pickles, but I can't tell what they taste like?",
          "Type": "Basic",
          "Category": -26,
          "Price": 50,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "3",
          "Edibility": 50,
          "IsDrink": false,
          "ContextTags": [
            "color_blue",
            "pickle_item"
          ]
        },
        "Adam.Joja_Roe": {
          "Name": "Adam.Joja_Roe",
          "DisplayName": "Joja Aged Roe",
          "Description": "Isn't aged roe supposed to taste better than this?",
          "Type": "Basic",
          "Category": -26,
          "Price": 250,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "4",
          "Edibility": 40,
          "IsDrink": false,
          "ContextTags": [
            "color_blue",
            "use_reverse_name_for_sorting"
          ]
        },
        "Adam.Joja_Caviar": {
          "Name": "Adam.Joja_Caviar",
          "DisplayName": "Aged Joja Caviar",
          "Description": "I thought caviar was supposed to be nice?",
          "Type": "Basic",
          "Category": -26,
          "Price": 50,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "11",
          "Edibility": 70,
          "IsDrink": false,
          "ContextTags": [
            "color_blue"
          ]
        },
        "Adam.Joja_Beer": {
          "Name": "Adam.Joja_Beer",
          "DisplayName": "Joja Beer",
          "Description": "It's beer, but I don't know if I should drink this?",
          "Type": "Basic",
          "Category": -26,
          "Price": 100,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "5",
          "Edibility": 20,
          "IsDrink": true,
          "Buffs": [
            {
              "Id": "Tipsy",
              "BuffId": "17",
              "IconSpriteIndex": 0,
              "Duration": 0
            }
          ],
          "ContextTags": [
            "color_blue",
            "alcohol_item"
          ]
        },
        "Adam.Joja_Vinegar": {
          "Name": "Adam.Joja_Vinegar",
          "DisplayName": "Joja Vinegar",
          "Description": "It's vinegar, but I don't know if I should cook with this?",
          "Type": "Basic",
          "Category": 0,
          "Price": 50,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "6",
          "Edibility": 5,
          "IsDrink": true,
          "ContextTags": [
            "color_blue",
            "placeable"
          ]
        },
        "Adam.Joja_Coffee": {
          "Name": "Adam.Joja_Coffee",
          "DisplayName": "Joja Coffee",
          "Description": "I love coffee, but even I don't think that I'll drink this.",
          "Type": "Basic",
          "Category": 0,
          "Price": 75,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "7",
          "Edibility": 1,
          "IsDrink": true,
          "Buffs": [
            {
              "Id": "Drink",
              "IconSpriteIndex": 0,
              "Duration": 120,
              "CustomAttributes": {
                "Speed": 1.0
              }
            }
          ],
          "ContextTags": [
            "color_blue",
            "coffee_item"
          ]
        },
        "Adam.Joja_BlueTea": {
          "Name": "Adam.Joja_BlueTea",
          "DisplayName": "Joja Blue Tea",
          "Description": "Green tea is healthy, but I'm not sure what blue tea will do to me?",
          "Type": "Basic",
          "Category": -26,
          "Price": 50,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "8",
          "Edibility": 5,
          "IsDrink": true,
          "Buffs": [
            {
              "Id": "Drink",
              "IconSpriteIndex": 0,
              "Duration": 360,
              "CustomAttributes": {
                "MaxStamina": 30.0
              }
            }
          ],
          "ContextTags": [
            "color_blue"
          ]
        },
        "Adam.Joja_Mead": {
          "Name": "Adam.Joja_Mead",
          "DisplayName": "Joja Mead",
          "Description": "It's mead, but I don't know if I should drink this?",
          "Type": "Basic",
          "Category": -26,
          "Price": 150,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "9",
          "Edibility": 30,
          "IsDrink": true,
          "Buffs": [
            {
              "Id": "Tipsy",
              "BuffId": "17",
              "IconSpriteIndex": 0,
              "Duration": 0
            }
          ],
          "ContextTags": [
            "color_blue",
            "alcohol_item"
          ]
        },
        "Adam.Joja_PaleAle": {
          "Name": "Adam.Joja_PaleAle",
          "DisplayName": "Joja Pale Ale",
          "Description": "It's pale ale, but I don't know if I should drink this?",
          "Type": "Basic",
          "Category": -26,
          "Price": 150,
          "Texture": "{{InternalAssetKey: assets/jojaproducts.png}}",
          "SpriteIndex": "10",
          "Edibility": 20,
          "IsDrink": true,
          "Buffs": [
            {
              "Id": "Tipsy",
              "BuffId": "17",
              "IconSpriteIndex": 0,
              "Duration": 0
            }
          ],
          "ContextTags": [
            "color_blue",
            "alcohol_item"
          ]
        }
      }
    },
    {
      "LogName": "Add the keg",
      "Action": "EditData",
      "Target": "Data/BigCraftables",
      "Entries": {
        "Adam.Joja_Keg": {
          "Name": "Adam.Joja_Keg",
          "DisplayName": "Joja Keg",
          "Description": "Make your own artisan products at home with a new and improved keg design from Joja! Now faster than ever before!",
          "Texture": "{{InternalAssetKey: assets/jojamachines.png}}",
          "SpriteIndex": "0"
        }
      }
    },
    {
      "LogName": "Add the jar",
      "Action": "EditData",
      "Target": "Data/BigCraftables",
      "Entries": {
        "Adam.Joja_PreservesJar": {
          "Name": "Adam.Joja_PreservesJar",
          "DisplayName": "Joja Preserves Jar",
          "Description": "Make your own artisan products at home with a new and improved preserves jar design from Joja! Now faster than ever before!",
          "Texture": "{{InternalAssetKey: assets/jojamachines.png}}",
          "SpriteIndex": "1"
        }
      }
    },
    {
      "LogName": "Create keg recipe.",
      "Action": "EditData",
      "Target": "Data/CraftingRecipes",
      "Entries": {
        "Adam.Joja_Keg": "335 2 390 20 725 1/Home/Adam.Joja_Keg/true/none/"
      }
    },
    {
      "LogName": "Create jar recipe.",
      "Action": "EditData",
      "Target": "Data/CraftingRecipes",
      "Entries": {
        "Adam.Joja_PreservesJar": "335 2 390 20 382 10/Home/Adam.Joja_PreservesJar/true/none/"
      }
    },
    {
      "Action": "EditData",
      "Target": "Data/Shops",
      "TargetField": [
        "Joja",
        "Items"
      ],
      "Entries": {
        "Adam.Joja_Keg": {
          "Price": 5000,
          "AvailableStock": -1,
          "AvoidRepeat": false,
          "Condition": "PLAYER_FARMING_LEVEL current 2",
          "Id": "(BC)Adam.Joja_Keg (Recipe)",
          "ItemId": "(BC)Adam.Joja_Keg",
          "IsRecipe": true
        },
        "Adam.Joja_PreservesJar": {
          "Price": 5000,
          "AvailableStock": -1,
          "AvoidRepeat": false,
          "Condition": "PLAYER_FARMING_LEVEL current 2",
          "Id": "(BC)Adam.Joja_PreservesJar (Recipe)",
          "ItemId": "(BC)Adam.Joja_PreservesJar",
          "IsRecipe": true
        }
      }
    },
    {
      "LogName": "Add keg rules",
      "Action": "EditData",
      "Target": "Data/Machines",
      "Entries": {
        "(BC)Adam.Joja_Keg": {
          "OutputRules": [
            {
              "Id": "Wheat",
              "Triggers": [
                {
                  "Id": "Adam.Joja_Keg",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": "(O)262",
                  "RequiredCount": 1
                }
              ],
              "OutputItem": [
                {
                  "Id": "Joja Beer",
                  "ItemId": "(O)Adam.Joja_Beer",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 800
            },
            {
              "Id": "Hops",
              "Triggers": [
                {
                  "Id": "Adam.Joja_Keg",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": "(O)304",
                  "RequiredCount": 1
                }
              ],
              "OutputItem": [
                {
                  "Id": "Joja Pale Ale",
                  "ItemId": "(O)Adam.Joja_PaleAle",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 1000
            },
            {
              "Id": "Tea Leaves",
              "Triggers": [
                {
                  "Id": "Adam.Joja_Keg",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": "(O)815",
                  "RequiredCount": 1
                }
              ],
              "OutputItem": [
                {
                  "Id": "Joja Blue Tea",
                  "ItemId": "(O)Adam.Joja_BlueTea",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 70
            },
            {
              "Id": "Coffee Beans",
              "Triggers": [
                {
                  "Id": "Adam.Joja_Keg",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": "(O)433",
                  "RequiredCount": 5
                }
              ],
              "OutputItem": [
                {
                  "Id": "Joja Coffee",
                  "ItemId": "(O)Adam.Joja_Coffee",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 50
            },
            {
              "Id": "Honey",
              "Triggers": [
                {
                  "Id": "Adam.Joja_Keg",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": "(O)340",
                  "RequiredCount": 1
                }
              ],
              "OutputItem": [
                {
                  "Id": "Joja Mead",
                  "ItemId": "(O)Adam.Joja_Mead",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 250
            },
            {
              "Id": "Rice",
              "Triggers": [
                {
                  "Id": "Adam.Joja_Keg",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": "(O)423",
                  "RequiredCount": 1
                }
              ],
              "OutputItem": [
                {
                  "Id": "Joja Vinegar",
                  "ItemId": "(O)Adam.Joja_Vinegar",
                  "MinStack": 2,
                  "MaxStack": 2
                }
              ],
              "MinutesUntilReady": 250
            },
            {
              "Id": "Juice",
              "Triggers": [
                {
                  "Id": "Adam.Joja_Keg_vegetable",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": null,
                  "RequiredTags": [
                    "category_vegetable"
                  ],
                  "RequiredCount": 1
                },
                {
                  "Id": "Adam.Joja_Keg_forage",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": null,
                  "RequiredTags": [
                    "category_greens"
                  ],
                  "RequiredCount": 1,
                  "Condition": "!ITEM_CONTEXT_TAG Input edible_mushroom, ITEM_EDIBILITY Input 1"
                }
              ],
              "OutputItem": [
                {
                  "CopyPrice": true,
                  "PreserveId": "DROP_IN_PRESERVE",
                  "PriceModifiers": [
                    {
                      "Modification": "Multiply",
                      "Amount": 1.5
                    }
                  ],
                  "Id": "Joja Juice",
                  "ItemId": "(O)Adam.Joja_Juice",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 2500
            },
            {
              "Id": "Wine",
              "Triggers": [
                {
                  "Id": "Adam.Joja_Keg",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": null,
                  "RequiredTags": [
                    "category_fruits"
                  ],
                  "RequiredCount": 1
                }
              ],
              "OutputItem": [
                {
                  "CopyPrice": true,
                  "PreserveId": "DROP_IN_ID",
                  "PriceModifiers": [
                    {
                      "Modification": "Multiply",
                      "Amount": 1.75
                    }
                  ],
                  "Id": "Joja Wine",
                  "ItemId": "(O)Adam.Joja_Wine",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 4000
            }
          ],
          "LoadEffects": [
            {
              "Id": "Default",
              "Condition": null,
              "Sounds": [
                {
                  "Id": "Ship",
                  "Delay": 0
                },
                {
                  "Id": "bubbles",
                  "Delay": 0
                }
              ]
            }
          ]
        }
      }
    },
    {
      "LogName": "Add jar rules",
      "Action": "EditData",
      "Target": "Data/Machines",
      "Entries": {
        "(BC)Adam.Joja_PreservesJar": {
          "OutputRules": [
            {
              "Id": "Sturgeon Roe",
              "Triggers": [
                {
                  "Id": "Adam.Joja_PreservesJar",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": "(O)812",
                  "RequiredTags": [
                    "preserve_sheet_index_698"
                  ],
                  "RequiredCount": 1
                }
              ],
              "OutputItem": [
                {
                  "Id": "Joja Caviar",
                  "ItemId": "(O)Adam.Joja_Caviar",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 2500
            },
            {
              "Id": "Roe",
              "Triggers": [
                {
                  "Id": "Adam.Joja_PreservesJar",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": "(O)812",
                  "RequiredCount": 1
                }
              ],
              "OutputItem": [
                {
                  "CopyPrice": true,
                  "PreserveId": null,
                  "PriceModifiers": [
                    {
                      "Modification": "Multiply",
                      "Amount": 1.5
                    }
                  ],
                  "Id": "Joja Aged Roe",
                  "ItemId": "FLAVORED_ITEM AgedRoe DROP_IN_ID DROP_IN_PRESERVE",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 1500
            },
            {
              "Id": "Pickles",
              "Triggers": [
                {
                  "Id": "Adam.Joja_PreservesJar_vegetable",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": null,
                  "RequiredTags": [
                    "category_vegetable"
                  ],
                  "RequiredCount": 1
                },
                {
                  "Id": "Adam.Joja_PreservesJar_forage",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredTags": [
                    "category_greens"
                  ],
                  "Condition": "ITEM_EDIBILITY Input 1"
                }
              ],
              "OutputItem": [
                {
                  "CopyPrice": true,
                  "PreserveId": "DROP_IN_ID",
                  "PriceModifiers": [
                    {
                      "Modification": "Multiply",
                      "Amount": 1.5
                    }
                  ],
                  "Id": "Adam.Joja_Pickles",
                  "ItemId": "FLAVORED_ITEM Pickle DROP_IN_ID",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 1500
            },
            {
              "Id": "Jelly",
              "Triggers": [
                {
                  "Id": "Adam.Joja_PreservesJar",
                  "Trigger": "ItemPlacedInMachine",
                  "RequiredItemId": null,
                  "RequiredTags": [
                    "category_fruits"
                  ],
                  "RequiredCount": 1
                }
              ],
              "OutputItem": [
                {
                  "CopyPrice": true,
                  "PreserveId": "DROP_IN_PRESERVE",
                  "PriceModifiers": [
                    {
                      "Modification": "Multiply",
                      "Amount": 1.5
                    }
                  ],
                  "Id": "Adam.Joja_Jelly",
                  "ItemId": "FLAVORED_ITEM Jelly DROP_IN_ID",
                  "MinStack": -1,
                  "MaxStack": -1
                }
              ],
              "MinutesUntilReady": 1500
            }
          ],
          "LoadEffects": [
            {
              "Id": "Default",
              "Condition": null,
              "Sounds": [
                {
                  "Id": "Ship",
                  "Delay": 0
                }
              ]
            }
          ]
        }
      }
    }
  ]
}