Skip to content

Commit

Permalink
Update example_mod.js
Browse files Browse the repository at this point in the history
  • Loading branch information
slweeb authored May 2, 2024
1 parent 8e84fe5 commit 6c5dfe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example_mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
// Add a basic ingredient using the 'fruit' ingredient as a base
addIngredient("apple",{
color:"#ff1f40", //red
type:"fruit"
type:"fruit" //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("apple",{
addIngredient("finished_apple",{ //ID should be lowercase with underscores
color:"#ff1f40", //red
innerColor:"#ffeda4", //beige
type:"fruit",
type:"apple", ///type can be any other ingredient
shape:"fruit_bipod_stem"
});

Expand Down

0 comments on commit 6c5dfe1

Please sign in to comment.