diff --git a/example_mod.js b/example_mod.js index 20f78af..d58310d 100644 --- a/example_mod.js +++ b/example_mod.js @@ -1,25 +1,25 @@ // More info about enabling, testing, and submitting mods: https://R74ncom.github.io/InfiniteChef-Mods/ // Add a basic ingredient using the 'fruit' ingredient as a base -addIngredient("apple",{ - color:"#ff1f40", //red - type:"fruit" //will inherit all properties of the 'fruit' ingredient +addIngredient("computer",{ + color:"#c2c8d1", //grey + type:"electronics" //will inherit all properties of the 'fruit' ingredient }); // Add a detailed ingredient with custom Shape and other properties // All Shape IDs can be found here: https://R74n.com/shapes/ // A list of properties can be found at the top of: https://R74n.com/cook/foodData.js -addIngredient("finished_apple",{ //ID should be lowercase with underscores - color:"#ff1f40", //red - innerColor:"#ffeda4", //beige - type:"apple", ///type can be any other ingredient - shape:"fruit_bipod_stem" +addIngredient("broken_computer",{ //ID should be lowercase with underscores + color:"#c2c8d1", //red + innerColor:"#c2c8d1", //beige + type:"computer", ///type can be any other ingredient + shape:"rectangle_inner_black_rectangle" }); // Add ingredient with reactions addIngredient("water",{ type:"liquid", - color:"#bfd8df", + color:"#fce700", reactions: { meat: { set1:"broth" }, vegetable: { set1:"broth", tempMin:60 } @@ -27,21 +27,21 @@ addIngredient("water",{ }); // Change attributes of existing ingredients -editIngredient("apple",{ +editIngredient("computer",{ color:"#06b000" //green }); // Add a simple recipe -addRecipe("batter+sugar","cake"); +addRecipe("oil+glass","computer"); // Add a recipe only in Stack Mode -addRecipe("&stack:batter+sugar","pancake"); +addRecipe("&stack:metal+oil","computer"); // Add a recipe that can't have any other ingredients -addRecipe("=bread+bread","nothing sandwich"); +addRecipe("=computer+computer","double computer"); // Add a recipe with an optional ingredient -addRecipe("cake+sprinkles?+chocolate","chocolate cake"); +addRecipe("computer+oil?+ink","printer pc"); // Add a simple tool to interact with ingredients addTool("red_dyer", {