Now with 78% more junk
Used to make sandwiches. Oh and also murder ducks
Try using it near bread and other ingredients
Bread | Cheese | Cucamber | Lettuce | Tomato |
---|---|---|---|---|
Note: Please don't do this, I thought it would be a cool feature but it's currently really useless
This mod can support registering custom ingredients from other mods.
- Register the mod as a depedency
<Mod>
<HardDependencies>sandwich_simulator</HardDependencies>
</Mod>
- Add the
Ingredient
attribute along with the sprite that will appear in the sandwich to each class you want to be an ingredient
[(new Sprite(GetPath("sandwich/vinegar")))]
class Vinegar : Gun, Ingredient {
public Sprite GetSandwichSprite() {
return new Sprite(GetPath("sandwich/vinegar"));
}
[...]
}
- You can also add sandwich effects if you want to for some reason
Sandwich.AddEffect(delegate(Sandwich dave) {
// Gives dave a 9 inch duck
dave.duck.scale = new Vec2(9f, 9f);
});
(yes, I have the {
on the same line fight me)
If you have any questions about duck game or modding duck game, join the Duck Game Discord Server.
If you have any bug reports/questions/suggestion, open an issue in the repo, and if you need to contact me directly my discord is bbb651#3370
.