Skip to content

Commit

Permalink
Update overwrite for Mote Prism
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed Oct 27, 2024
1 parent 8566809 commit f8ed8f7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions updater/update_items.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ const OVERWRITES = {
AMP: {
"Mote Prism": {
components: {
"Cetus Wisp": 1,
"Tear Azurite": 20,
"Pyrotic Alloy": 10,
"Fish Oil": 30
"Cetus Wisp": { count: 1, hash: "0681ca5991" },
"Tear Azurite": { count: 20, hash: "397c0a4ebc" },
"Pyrotic Alloy": { count: 10, hash: "f0abc50ae0" },
"Fish Oil": { count: 30, hash: "74fd9aeeac" }
},
buildTime: 600,
buildPrice: 1000
Expand Down Expand Up @@ -190,7 +190,9 @@ class ItemUpdater {
this.relics[ingredientRawName.replace("Component", "Blueprint")];
if (relics && item.relics) item.relics[ingredientName] = relics;
} else {
const hash = createHash("sha256").update(ingredient.ItemType).digest("hex");
const hash = createHash("sha256")
.update(ingredient.ItemType)
.digest("hex");
ingredientData.hash = hash.slice(0, 10);
}

Expand Down

0 comments on commit f8ed8f7

Please sign in to comment.