Skip to content

Commit

Permalink
fixed: broken Ingredients needed trade, craft it in your inventory to…
Browse files Browse the repository at this point in the history
… recieve the fixed one
  • Loading branch information
Yarden-zamir committed Nov 8, 2024
1 parent fef1496 commit 15b8a5d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
6 changes: 6 additions & 0 deletions kubejs/assets/emi/index/stacks/added_agreements.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@
{
"stack": "item:wares:completed_delivery_agreement{buyerName:{color:\"#409D9B\",text:\"Black Hole Bagels Llc\"},delivered:3,display:{Name:'{\"italic\":false,\"color\":\"gold\",\"text\":\"Black Hole Bagels Llc - Ingredients needed\"}'},id:\"bhbCheese\",isCompleted:1b,message:'{\"text\":\"Hello, we are a new company that is trying to make a new recipe for bagels, we need some ingredients, willing to pay, simple as that\"}',ordered:3,paymentItems:[{Count:16,id:\"minecraft:sugar_cane\"},{Count:2,id:\"botania:mana_pool\"},{Count:1,id:\"botania:mana_spreader\"},{Count:1,id:\"botania:gourmaryllis\"},{Count:1,id:\"minecraft:water_bucket\"},{Count:1,id:\"minecraft:water_bucket\"},{Count:1,id:\"botania:twig_wand\"}],requestedItems:[{Count:64,id:\"kubejs:fermented_blob\"}],revision:1.0d,seal:\"black_hole_bagels_llc\",title:'{\"text\":\"Ingredients needed\"}'}"
},
{
"stack": "item:wares:delivery_agreement{buyerName:{color:\"#409D9B\",text:\"Black Hole Bagels Llc\"},display:{Name:'{\"italic\":false,\"color\":\"gold\",\"text\":\"Black Hole Bagels Llc - Ingredients needed\"}'},id:\"bhbCheese\",message:'{\"text\":\"Hello, we are a new company that is trying to make a new recipe for bagels, we need some ingredients, willing to pay, simple as that\"}',ordered:3.0d,paymentItems:[{Count:16,id:\"minecraft:sugar_cane\"},{Count:2,id:\"botania:mana_pool\"},{Count:1,id:\"botania:mana_spreader\"},{Count:1,id:\"botania:gourmaryllis\"},{Count:1,id:\"minecraft:water_bucket\"},{Count:1,id:\"botania:twig_wand\"}],requestedItems:[{Count:64,TagMatching:\"weak\",id:\"kubejs:fermented_blob\"}],revision:1.0d,seal:\"black_hole_bagels_llc\",title:'{\"text\":\"Ingredients needed\"}'}"
},
{
"stack": "item:wares:completed_delivery_agreement{buyerName:{color:\"#409D9B\",text:\"Black Hole Bagels Llc\"},delivered:3,display:{Name:'{\"italic\":false,\"color\":\"gold\",\"text\":\"Black Hole Bagels Llc - Ingredients needed\"}'},id:\"bhbCheese\",isCompleted:1b,message:'{\"text\":\"Hello, we are a new company that is trying to make a new recipe for bagels, we need some ingredients, willing to pay, simple as that\"}',ordered:3,paymentItems:[{Count:16,id:\"minecraft:sugar_cane\"},{Count:2,id:\"botania:mana_pool\"},{Count:1,id:\"botania:mana_spreader\"},{Count:1,id:\"botania:gourmaryllis\"},{Count:1,id:\"minecraft:water_bucket\"},{Count:1,id:\"botania:twig_wand\"}],requestedItems:[{Count:64,id:\"kubejs:fermented_blob\"}],revision:1.0d,seal:\"black_hole_bagels_llc\",title:'{\"text\":\"Ingredients needed\"}'}"
},
{
"stack": "item:wares:delivery_agreement{buyerName:{color:\"#409D9B\",text:\"Black Hole Bagels Llc\"},display:{Name:'{\"italic\":false,\"color\":\"gold\",\"text\":\"Black Hole Bagels Llc - Lets make some bagels\"}'},id:\"bhbCheeseFixed\",message:'{\"text\":\"Alright, yup, this works. I want more of that cheesy stuff, a lot more. Lets make this a regular thing\"}',ordered:0.0d,paymentItems:[{Count:32,id:\"supplementaries:soap\"}],requestedItems:[{Count:64,TagMatching:\"weak\",id:\"kubejs:fermented_blob\"},{Count:32,TagMatching:\"weak\",id:\"kubejs:fermented_blob\"}],revision:1.0d,seal:\"black_hole_bagels_llc\",title:'{\"text\":\"Lets make some bagels\"}'}"
},
Expand Down
19 changes: 18 additions & 1 deletion kubejs/server_scripts/base/trading/landingTradeIntroLine.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const mlcSandFixed = getAgreement("mlcSandFixed", {
message:
"Alright this is a done deal. Lets have a relationship you and I, lets start a constant thing, lets tell the family. First lets make sure we got solid lines right? Consider us partners forever, you keep sending us your golden dust and we are happy bees",
});
const bhbCheese = getAgreement("bhbCheese", {
const bhbCheeseBroken = getAgreement("bhbCheese", {
paymentItems: [
"16x minecraft:sugar_cane",
"2x botania:mana_pool",
Expand All @@ -157,6 +157,23 @@ const bhbCheese = getAgreement("bhbCheese", {
message:
"Hello, we are a new company that is trying to make a new recipe for bagels, we need some ingredients, willing to pay, simple as that",
});
const bhbCheese = getAgreement("bhbCheese", {
paymentItems: [
"16x minecraft:sugar_cane",
"2x botania:mana_pool",
"botania:mana_spreader",
"1x botania:gourmaryllis",
"1x minecraft:water_bucket",
"botania:twig_wand"
],
requestedItems: ["64x kubejs:fermented_blob"],
title: "Ingredients needed",
orderedAmount: 3,
company: "black_hole_bagels_llc",
message:
"Hello, we are a new company that is trying to make a new recipe for bagels, we need some ingredients, willing to pay, simple as that",
});
addShapeless(bhbCheese.item, bhbCheeseBroken.item);
const bhbCheeseFixed = getAgreement("bhbCheeseFixed", {
paymentItems: ["32x supplementaries:soap"],
requestedItems: ["64x kubejs:fermented_blob", "32x kubejs:fermented_blob"],
Expand Down

0 comments on commit 15b8a5d

Please sign in to comment.