Walkthrough: Taco Stand
Taco Stand (swofty.taco-stand) is the sample level content addon, in games/overcooked_2/examples/taco-stand. It uses only the public Content API and has one of every kind of content.

| Content | Kind | What it does |
|---|---|---|
| Tortilla | ingredient | own model, icon and crate; toasted on the comal |
| Avocado | ingredient | own model, icon and crate; chopped on the game's boards |
| Comal | station | a griddle on a counter that toasts tortillas in six seconds |
| Taco | recipe | toasted tortilla, fried meat, chopped lettuce |
| Veggie Taco | recipe | toasted tortilla, chopped avocado, chopped tomato |
| Fish Taco | recipe | toasted tortilla, chopped fish, chopped avocado: for sushi kitchens |
| Hot Sauce | pickup | 60% faster and dashes twice as often for five seconds |
| Salsa Spill | surface | slippery floor |
| Taco Cheer | animation | hop, spin and hop when any of the three tacos is served |
| Salsa Dance | animation | emote on key 1 |
The folder
examples/taco-stand/
├── swofty.json "level_content": true
├── TacoStand.csproj net35 against the std lib
├── src/TacoStand.cs the content
├── icon.png 512x512, the addon's icon in the launcher
├── icons/ order, crate and palette icons, 256x256
├── models/ OBJ: tortilla, avocado, chopped avocado, comal, hot-sauce bottle
├── textures/ PNG over the models' UVs
└── art/ the sources: SVG drawings, render.sh, models.pyThe art is generated: art/models.py writes the OBJ models from a few shapes (a disc, a lathe, boxes) and art/render.sh renders every SVG to PNG with ImageMagick. Draw your own in any tool that saves OBJ and PNG.
Foods
Content.Ingredient("tortilla")
.Name("Tortilla")
.Icon("icons/tortilla.png")
.Model("models/tortilla.obj", "textures/tortilla.png")
.PreparedModel("toasted", "models/tortilla.obj", "textures/tortilla-toasted.png")
.Crate()
.Preps("toasted");
Content.Ingredient("avocado")
.Name("Avocado")
.Icon("icons/avocado.png")
.Model("models/avocado.obj", "textures/avocado.png")
.PreparedModel("chopped", "models/avocado-chopped.obj", "textures/avocado.png")
.Crate()
.Preps("chopped");"tortilla" is the addon's own id here, not the game's tortilla: own ids come first. The toasted tortilla is the same disc with a browner texture. The avocado is chopped on the kitchen's boards like any vegetable, and turns into the cubes model.
The comal
Content.Station("comal")
.Name("Comal")
.Icon("icons/comal.png")
.On(StationBase.Hob)
.Prep("toasted", "Toasted")
.Time(6f)
.Model("models/comal.obj", "textures/comal.png", 0.9f)
.Accepts("tortilla");On a hob it cooks by itself. The comal model sits on the counter's worktop, so the station reads as a griddle.

Orders
Content.Recipe("taco")
.Name("Taco")
.Icon("icons/taco.png")
.Part("tortilla", "toasted")
.Part("Meat", "fried")
.Part("Lettuce", "chopped")
.Score(40)
.Time(70);
Content.Recipe("veggie-taco")
.Name("Veggie Taco")
.Icon("icons/veggie-taco.png")
.Part("tortilla", "toasted")
.Part("avocado", "chopped")
.Part("Tomato", "chopped")
.Score(36)
.Time(70);
Content.Recipe("fish-taco")
.Name("Fish Taco")
.Icon("icons/fish-taco.png")
.Part("tortilla", "toasted")
.Part("SushiFish", "chopped")
.Part("avocado", "chopped")
.Score(38)
.Time(70);Meat, Lettuce, Tomato and SushiFish are the game's. A Taco needs a kitchen with meat and lettuce crates, a pan and a board; a Fish Taco only boards, so it works in the sushi kitchens. The editor's recipe builder says when something is missing.
Movement
Content.Movement("hot-sauce")
.Name("Hot Sauce")
.Icon("icons/hot-sauce.png")
.Pickup(5f, "models/hot-sauce.obj", "textures/hot-sauce.png", 2f)
.Respawn(12f)
.Speed(1.6f)
.DashCooldown(0.5f)
.Glow("#ff3a1a")
.PlayAnimation("salsa-dance");
Content.Movement("salsa-spill")
.Name("Salsa Spill")
.Icon("icons/salsa-spill.png")
.Surface("#e2563f", "textures/salsa-spill.png")
.Grip(0.15f)
.Speed(1.1f);Animations
Content.Animation("taco-cheer")
.Name("Taco Cheer")
.Icon("icons/cheer.png")
.Hop(0f, 0.5f, 0.6f)
.Spin(0.5f, 0.5f)
.Hop(1.0f, 0.4f, 0.35f)
.OnServe("taco", "veggie-taco", "fish-taco");
Content.Animation("salsa-dance")
.Name("Salsa Dance")
.Icon("icons/dance.png")
.Wiggle(0f, 1.6f, 18f, 4)
.Key(0f, AnimationChannel.OffsetY, 0f)
.Key(0.4f, AnimationChannel.OffsetY, 0.12f)
.Key(0.8f, AnimationChannel.OffsetY, 0f)
.Key(1.2f, AnimationChannel.OffsetY, 0.12f)
.Key(1.6f, AnimationChannel.OffsetY, 0f)
.Emote(1);Build and publish
games/overcooked_2/build.shThe build writes examples/taco-stand/dist/swofty.taco-stand/ and swofty.taco-stand-1.1.2.zip beside it, with the manifest at the zip's root. Publish the zip like any addon, with the icon and a few in-game screenshots.
In a level
In the level editor, add Taco Stand to the level's addons. Its content shows in the palette under Taco Stand: place tortilla and avocado crates, a comal, hot-sauce bottles and salsa spills, then add the tacos the kitchen can make to the level's recipes. The level lists swofty.taco-stand 1.1.2. Players without it install it from Discover or from the level's description; the level doesn't play until they have.