Skip to content

Commit

Permalink
fix: missing recipe for emptying rustic bottles
Browse files Browse the repository at this point in the history
fixes #2157
  • Loading branch information
artdude543 committed Aug 31, 2018
1 parent 000dcc1 commit d433a8d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/config/mputils/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ should not be repairable anyways using this method. (#2925)
* Added recipes for Priaml cosmetic stones (#1672)
* Fixed Pneumaticraft assembly laser recipe to use correct dye.
* Added recipes for missing Natura Grass blocks/slabs/stairs (#3310)
* Fixed missing recipe for emptying rustic bottles (#2157)

Enhancements:
* Disabled more Cyclic Enhancements not needed for this pack.
Expand Down
14 changes: 14 additions & 0 deletions src/scripts/crafttweaker/recipes/mods/rustic.zs
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,18 @@ function init() {

recipeUtil.removeRecipes(removeRecipes);
recipeUtil.removeRecipes(removeRegex);

// Rustic Bottle -> Empty Bottle
recipes.addShapeless("rutic_empting",
<minecraft:glass_bottle>,
[<rustic:fluid_bottle>.marked("bottle")],
function (out, ins, cInfo) {
// Only allow conversion with the bottles which actually contain something.
if (ins.bottle.tag has "Fluid") {
return out;
}
return null;
},
null
);
}

0 comments on commit d433a8d

Please sign in to comment.