Skip to content

Commit

Permalink
Exempt botany pot recipes from fallback_id
Browse files Browse the repository at this point in the history
Awaiting one or both of these getting merged:

Darkhax-Minecraft/BotanyPots#227
Darkhax-Minecraft/BotanyPots#226
  • Loading branch information
Quezler committed May 18, 2022
1 parent a699746 commit defce92
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ function soils_botany_pots(event, soil) {
display.properties = { moisture: 7 };
}

fallback_id(event.custom({
event.custom({
type: 'botanypots:soil',
input: { item: input },
display: display,
categories: soil.categories,
growthModifier: soil.growthModifier
}), `enigmatica:base/unification/unify_growables/${arguments.callee.name}/`);
});
}

function crops_botany_pots(event, type, crop) {
Expand Down Expand Up @@ -134,14 +134,14 @@ function crops_botany_pots(event, type, crop) {
});
}

fallback_id(event.custom({
event.custom({
type: 'botanypots:crop',
seed: { item: input },
categories: [crop.substrate],
growthTicks: growthTicks * growthModifier,
display: { block: crop.render },
results: outputs
}), `enigmatica:base/unification/unify_growables/${arguments.callee.name}/`);
});
}

function crops_thermal_insolator(event, type, crop) {
Expand Down Expand Up @@ -493,14 +493,14 @@ function trees_botany_pots(event, type, tree) {
growthModifier = 0.5;
}

fallback_id(event.custom({
event.custom({
type: 'botanypots:crop',
seed: { item: input },
categories: [tree.substrate],
growthTicks: growthTicks * growthModifier,
display: { block: input },
results: outputs
}), `enigmatica:base/unification/unify_growables/${arguments.callee.name}/`);
});
}

function trees_thermal_insolator(event, tree) {
Expand Down

0 comments on commit defce92

Please sign in to comment.