Skip to content

Commit

Permalink
Allow using venom buckets or bottles to remove venom
Browse files Browse the repository at this point in the history
Sponges still work, they are cheaper once you have them (no need for a spider farm), but hard to get innitially (raid a ocean monument)
  • Loading branch information
KnightMiner committed Nov 16, 2022
1 parent 6c415f0 commit dfe009c
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"type": "tconstruct:remove_modifier",
"inputs": [
{
"ingredient": [
{
"tag": "tconstruct:venom",
"amount": 1000,
"type": "mantle:fluid_container",
"display": {
"item": "tconstruct:venom_bucket"
}
},
{
"tag": "tconstruct:venom",
"amount": 250,
"type": "mantle:fluid_container",
"display": {
"item": "tconstruct:venom_bottle"
}
}
]
}
],
"leftovers": [
"minecraft:sponge"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -1197,11 +1197,16 @@ private void addModifierRecipes(Consumer<FinishedRecipe> consumer) {
SpecialRecipeBuilder.special(TinkerModifiers.creativeSlotSerializer.get()).save(consumer, modPrefix(slotlessFolder + "creative_slot"));

// removal
// temporary removal recipe until a proper table is added
ModifierRemovalRecipe.Builder.removal()
.addInput(Blocks.WET_SPONGE)
.addLeftover(Blocks.SPONGE)
.save(consumer, modResource(worktableFolder + "remove_modifier"));
.save(consumer, modResource(worktableFolder + "remove_modifier_sponge"));
ModifierRemovalRecipe.Builder.removal()
.addInput(CompoundIngredient.of(FluidContainerIngredient.fromFluid(TinkerFluids.venom, false),
FluidContainerIngredient.fromIngredient(FluidIngredient.of(TinkerFluids.venom.getLocalTag(), FluidValues.BOTTLE),
Ingredient.of(TinkerFluids.venomBottle))))
.addLeftover(Blocks.SPONGE)
.save(consumer, modResource(worktableFolder + "remove_modifier_venom"));
ModifierSortingRecipe.Builder.sorting()
.addInput(Items.COMPASS)
.save(consumer, modResource(worktableFolder + "modifier_sorting"));
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/tconstruct/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -2435,7 +2435,7 @@
"recipe.tconstruct.modifier_set_worktable.empty": "Tool has no applicable modifiers",

"recipe.tconstruct.remove_modifier.title": "Remove Modifiers",
"recipe.tconstruct.remove_modifier.description": "Select a modifier to remove, slots will be returned but any item cost is lost. Sponge will be dried upon removing a modifier.",
"recipe.tconstruct.remove_modifier.description": "Select a modifier to remove, slots will be returned but any item cost is lost. Fluid will be consumed from the input, and the container returned.",
"recipe.tconstruct.remove_modifier.no_modifiers": "Tool does not have any removable modifiers",

"recipe.tconstruct.modifier_sorting.title": "Sort Modifiers",
Expand Down

0 comments on commit dfe009c

Please sign in to comment.