grist: buff improved build grist, cut out the janky dissolution chamber fluid conversions, fix flour crushing in create

This commit is contained in:
2025-06-15 16:03:10 +02:00
parent dc70ef881d
commit 5a187602c8
4 changed files with 13 additions and 10 deletions

View File

@ -9,7 +9,8 @@ ServerEvents.recipes(event => {
// Vanilla crafting with a hammer gives 0.5x flour per wheat
event.shapeless(flourItem.withCount(1), ['2x #croptopia:flourable', '#alltheores:ore_hammers']);
// Basic tier of grist gives 2x flour per wheat
event.recipes.createCrushing(flourItem.withCount(2), '#croptopia:flourable');
event.recipes.create.crushing(flourItem.withCount(2), '#croptopia:flourable');
event.recipes.create.milling(flourItem.withCount(2), '#croptopia:flourable');
// Late basic gives 4x per wheat
event.recipes.thermal.pulverizer('#croptopia:flourable', [flourItem.withCount(4)]);

View File

@ -83,11 +83,11 @@ ServerEvents.recipes(event => {
grist blend comes from basic + improved primordeal block + sulfur in induction smelter
*/
event.recipes.thermal.crystallizer(
'4x kubejs:grist_build_improved',
['4x minecraft:clay', '2x #kubejs:grist/build/improved', Fluid.of('kubejs:grist_primordeal_improved_fluid', 4500)]
'kubejs:grist_build_improved_block',
['4x minecraft:clay', '#kubejs:grist/build/improved', Fluid.of('kubejs:grist_primordeal_improved_fluid', 4500)]
);
event.recipes.thermal.crystallizer(
'kubejs:grist_build_improved',
'kubejs:grist_build_improved_block',
['32x kubejs:reinforced_grist_ingot', Fluid.of('kubejs:grist_primordeal_improved_fluid', 4000)]
);

View File

@ -51,7 +51,7 @@ ServerEvents.recipes(event => {
event.shapeless(blockID, [`9x ${id}`]);
event.shapeless(`9x ${id}`, [blockID]);
event.custom({
/*event.custom({
type: "industrialforegoing:dissolution_chamber",
input: [],
inputFluid: `{Amount:250,FluidName:\"${fluidID}\"}`,
@ -73,7 +73,7 @@ ServerEvents.recipes(event => {
},
outputFluid: `{Amount:250,FluidName:\"${fluidID}\"}`,
processingTime: 50
});
});*/
});
// Progression along primordeals and universals

View File

@ -308,6 +308,8 @@ ServerEvents.recipes(event => {
// Andesite alloy is the progression item, as it unlocks most of the next tier of create
event.shapeless('create:andesite_alloy', [global.dustItem('tin'), '2x minecraft:andesite']);
let xpNugget = Item.of('create:experience_nugget');
// Andesite age: Crushing wheels to crush, then the crushed ore is smelted normally. Alloys require the create mixer. Ore washing to double crushed ore is unlocked, but fans require invar instead of iron. Gears can be crafted on a crafting table
for (const tier of ['primitive', 'vanilla', 'andesite']) {
for (const [metal, ingredients] of Object.entries(progression[tier])) {
@ -323,8 +325,8 @@ ServerEvents.recipes(event => {
if (rawType.id != 'minecraft:air') {
if (crushedType.id != 'minecraft:air') {
event.recipes.create.crushing([crushedType.withCount(2)], rawType);
event.recipes.create.crushing([crushedType.withCount(18)], rawBlockType);
event.recipes.create.crushing([crushedType.withCount(2), xpNugget.withCount(2).withChance(0.75)], rawType);
event.recipes.create.crushing([crushedType.withCount(18), xpNugget.withCount(18).withChance(0.75)], rawBlockType);
event.recipes.create.milling([crushedType.withCount(2)], rawType);
event.recipes.create.milling([crushedType.withCount(18)], rawBlockType);
event.smelting(ingotType, crushedType);
@ -447,8 +449,8 @@ ServerEvents.recipes(event => {
let rawBlockType = metalForm(`raw_${metal}`, 'storage_blocks', 'block');
if (rawType.id != 'minecraft:air') {
if (crushedType.id != 'minecraft:air') {
event.recipes.thermal.pulverizer([crushedType.withCount(4), crushedType.withChance(0.25)], rawType);
event.recipes.thermal.pulverizer([crushedType.withCount(4 * 9), crushedType.withChance(0.25)], rawBlockType);
event.recipes.thermal.pulverizer([crushedType.withCount(4), crushedType.withChance(0.25), xpNugget.withCount(4).withChance(0.75)], rawType);
event.recipes.thermal.pulverizer([crushedType.withCount(4 * 9), crushedType.withChance(0.25), xpNugget.withCount(4 * 9).withChance(0.75)], rawBlockType);
event.recipes.thermal.centrifuge([dustType.withCount(4), dustType.withChance(0.25)], crushedType);
} else {
console.error(`No ${metal} ore centrifuing available!`);