This commit is contained in:
2024-09-05 20:31:38 +02:00
parent 60a9727112
commit 86b355862e

88
main.go
View File

@@ -16,60 +16,68 @@ type ingredient struct {
const ( const (
bakingPowder = 92 bakingPowder = 92
beans = 100 beans = 100
beetroot = 43
butter = 774 butter = 774
butter2 = 630 // Cake butter thing that's not real butter butter2 = 630 // Cake butter thing that's not real butter
carrot = 35
chickenBreast = 98
cocoa = 363
egg = 150
flour = 338
hotdogs = 250
meatRoll = 210
olives = 151
pastaSauce = 84
peas = 84
postCheese = 78 // Posni sir
potato = 86
fatPork = 393
onion = 23
cabbage = 25 cabbage = 25
sugar = 387 carrot = 35
sunflowerOil = 828 cherry = 63
tomatoPassata = 21 chickenBreast = 98
tomatoPaste = 82 chinamix = 64
chocolate = 516
cocoa = 363
cornstarch = 346
cream = 232
egg = 150
fatPork = 393
flour = 338
haluskymix = 355
ham = 98
hardCheese = 330 hardCheese = 330
porkLean = 143 hotdogs = 250
rice = 130
water = 0
skyr = 62
vegetableMix = 50
mustard = 30
beetroot = 43
ketchup = 92 ketchup = 92
sausage = 300 lentil = 116
meatRoll = 210
mexicomix = 59 mexicomix = 59
milk = 64 milk = 64
yeast = 185
tofu = 76
sourcream = 70
cherry = 63
lentil = 116
cream = 232
cornstarch = 346
zucchini = 21
chocolate = 516
mistakemeat = 230 mistakemeat = 230
haluskymix = 355 mustard = 30
olives = 151
onion = 23
pasta = 175
pastaSauce = 84
peas = 84
porkLean = 143
postCheese = 78 // Posni sir
potato = 86
rice = 130
sausage = 300
skyr = 62
sourcream = 70
starch = 400
sugar = 387
sunflowerOil = 828
tofu = 76
tomatoPassata = 21
tomatoPaste = 82
turkey = 111
vegetableMix = 50
water = 0
yeast = 185
zucchini = 21
jam = 278
) )
// tomato 96 // tomato 96
// olives 50 // olives 50
func main() { func main() {
var ingredients = []ingredient{ var ingredients = []ingredient{
{253, postCheese}, {280, chocolate},
{400, haluskymix}, {150, butter},
{400, water}, {400, sugar},
{50, egg}, {300, egg},
{280, flour},
{200, jam},
} }
var totalWeight int64 var totalWeight int64