Skip to content

Commit

Permalink
fix(recipes): ✏️[Base Upgrade] add alt recipes
Browse files Browse the repository at this point in the history
.. for players who hate crafting elixirs

https://i.imgur.com/MGUli2e.png
  • Loading branch information
Krutoy242 committed Feb 28, 2024
1 parent 373420e commit d003e18
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions scripts/mods/mctsmelteryio.zs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#modloaded mctsmelteryio

import crafttweaker.item.IIngredient;

// Remove unused upgrades
utils.rh(<mctsmelteryio:upgrade:1>);
utils.rh(<mctsmelteryio:upgrade:2>);
Expand All @@ -11,15 +13,22 @@ utils.rh(<mctsmelteryio:upgrade:3>);
// Ice balls
scripts.process.mash(<biomesoplenty:hard_ice>, <mctsmelteryio:iceball> * 8, 'No Exceptions');

// [Base Upgrade]*10 from [Elixir of ][+2]
craft.remake(<mctsmelteryio:upgrade> * 10, ['pretty',
'□ □ □',
'п E п',
'□ □ □'], {
'': <ore:plateLapis>, // Lapis Lazuli Plate
'п': <ore:plateAluminum>, // Aluminum Plate
'E': <rustic:elixir>.withTag({ display: { Name: 'ANY Elixir' } }, false), // Elixir
});
for input, amount in {
<minecraft:glass_bottle>: 1,
<minecraft:potion>.withTag({Potion: "minecraft:water"}): 2,
<minecraft:potion:*>: 3,
<rustic:elixir>.withTag({ display: { Name: 'ANY Elixir' } }, false): 10, // Elixir
} as int[IIngredient]$orderly {
// [Base Upgrade]
craft.remake(<mctsmelteryio:upgrade> * amount, ['pretty',
'□ □ □',
'п E п',
'□ □ □'], {
'': <ore:plateLapis>, // Lapis Lazuli Plate
'п': <ore:plateAluminum>, // Aluminum Plate
'E': input,
});
}

// [Speed Upgrade] from [Base Upgrade][+1]
craft.reshapeless(<mctsmelteryio:upgrade:6>, 'BAA', {
Expand Down

0 comments on commit d003e18

Please sign in to comment.