Skip to content

Commit

Permalink
balance recipes and add pumpkin soup
Browse files Browse the repository at this point in the history
  • Loading branch information
terrainwax committed Dec 16, 2023
1 parent 99c9266 commit 9f1a4c3
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 11 deletions.
29 changes: 26 additions & 3 deletions resources/[qb]/qb-core/shared/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14881,7 +14881,7 @@ QBShared.Items = {
['clafoutis_grappe'] = {
['name'] = 'clafoutis_grappe',
['label'] = 'Clafoutis aux raisins',
['weight'] = 300,
['weight'] = 500,
['type'] = 'food',
['durability'] = 14,
['unique'] = false,
Expand All @@ -14904,7 +14904,7 @@ QBShared.Items = {
['gingerbread'] = {
['name'] = 'gingerbread',
['label'] = 'Pain d\'épice aux fruits confits',
['weight'] = 300,
['weight'] = 500,
['type'] = 'food',
['durability'] = 14,
['unique'] = false,
Expand Down Expand Up @@ -14955,7 +14955,7 @@ QBShared.Items = {
['tartiflette'] = {
['name'] = 'tartiflette',
['label'] = 'Tartiflette',
['weight'] = 300,
['weight'] = 800,
['type'] = 'food',
['durability'] = 14,
['unique'] = false,
Expand All @@ -14975,4 +14975,27 @@ QBShared.Items = {
},
['illustrator'] = '.Terrainwax',
},
['pumpkin_cheese_soup'] = {
['name'] = 'pumpkin_cheese_soup',
['label'] = 'Soupe de citrouille gratinée',
['weight'] = 800,
['type'] = 'food',
['unique'] = false,
['useable'] = true,
['shouldClose'] = false,
['durability'] = 14,
['combinable'] = nil,
['description'] = "Éruption de citrouille dans un océan de fromage fondant !",
['nutrition'] = {
['hunger'] = 50,
['thirst'] = 50,
['stamina'] = 0,
['fiber'] = 2,
['lipid'] = 0,
['sugar'] = 1,
['protein'] = 1,
['alcohol'] = 0,
},
['illustrator'] = '.Terrainwax'
},
}
Binary file not shown.
31 changes: 23 additions & 8 deletions resources/[soz]/soz-core/src/shared/job/food.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const FoodCraftsLists: Record<string, CraftCategory> = {
},
},
Patisseries: {
duration: 6000,
duration: 8000,
icon: '🥐',
event: 'job_cm_food_craft',
recipes: {
Expand All @@ -187,7 +187,7 @@ export const FoodCraftsLists: Record<string, CraftCategory> = {
semi_skimmed_milk: { count: 1 },
grape1: { count: 2 }
},
amount: 2,
amount: 4,
},
gingerbread: {
inputs: {
Expand All @@ -196,7 +196,21 @@ export const FoodCraftsLists: Record<string, CraftCategory> = {
orange: { count: 1 },
lemon: { count: 1 }
},
amount: 2,
amount: 4,
},
},
},
Plats : {
duration: 8000,
icon: '🍲',
event: 'job_cm_food_craft',
recipes: {
pumpkin_cheese_soup: {
inputs: {
pumpkin: { count: 2 },
cheese1: { count: 3 },
},
amount: 8,
},
},
},
Expand Down Expand Up @@ -274,7 +288,7 @@ export const FoodCraftsLists: Record<string, CraftCategory> = {
},
Hiver: {
feature: Feature.Winter,
duration: 5000,
duration: 8000,
icon: '❄️',
event: 'job_cm_food_craft',
recipes: {
Expand All @@ -289,11 +303,12 @@ export const FoodCraftsLists: Record<string, CraftCategory> = {
},
tartiflette: {
inputs: {
potato: { count: 2 },
cheese7: { count: 1 },
viande: { count: 1 }
potato: { count: 5 },
cheese3: { count: 3 },
viande: { count: 2 },
wine3: { count: 1 }
},
amount: 1,
amount: 8,
},
},
},
Expand Down

0 comments on commit 9f1a4c3

Please sign in to comment.