LARRYY. working on flips

This commit is contained in:
Sam
2024-08-19 21:47:57 +12:00
parent a03f8b1e4b
commit 7e755bbc27
8 changed files with 97 additions and 25 deletions

View File

@@ -17,12 +17,13 @@ async function fetchConfig(className) {
{
type: "dropdown",
property: "selectedFood",
defaultValue: "lettuce",
defaultValue: "joint",
options: [
{ value: "lettuce", label: "Lettuce" },
{ value: "joint", label: "Joint" },
{ value: "apple", label: "Apple" },
{ value: "carrot", label: "Carrot" }
]
],
callback: (instance, newValue) => instance.applyFood(newValue)
},
{
type: "range",
@@ -172,7 +173,8 @@ const hatConfig = {
const foodConfig = {
apple: { sizeMult: 0.25, n: 4 },
carrot: { sizeMult: 0.25, n: 6 },
carrot: { sizeMult: 0.6, n: 6 },
joint: { sizeMult: 0.75, n: 6 },
nothing: { sizeMult: 2, n: 5 },
};