Skip to content

Commit 0e80687

Browse files
committed
2 parents bd609e8 + dd099b9 commit 0e80687

File tree

3 files changed

+126
-1
lines changed

3 files changed

+126
-1
lines changed

kubejs/server_scripts/firmalife/recipes.js

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,4 +892,127 @@ const registerFirmaLifeRecipes = (event) => {
892892
setChocolateHeating('white')
893893
setChocolateHeating('milk')
894894
setChocolateHeating('dark')
895+
896+
//fixing the bread unrotting
897+
event.remove({ id: 'firmalife:crafting/oat_slice'})
898+
event.remove({ id: 'firmalife:crafting/wheat_slice'})
899+
event.remove({ id: 'firmalife:crafting/barley_slice'})
900+
event.remove({ id: 'firmalife:crafting/maize_slice'})
901+
event.remove({ id: 'firmalife:crafting/rice_slice'})
902+
event.remove({ id: 'firmalife:crafting/rye_slice'})
903+
904+
event.recipes.tfc.advanced_shapeless_crafting(
905+
TFC.itemStackProvider.of('2x firmalife:food/oat_slice').copyFood(),
906+
[TFC.ingredient.notRotten('tfc:food/oat_bread'), '#forge:tools/knives'], 'tfc:food/oat_bread')
907+
.id(`tfg:crafting/oat_slice`)
908+
event.recipes.tfc.advanced_shapeless_crafting(
909+
TFC.itemStackProvider.of('2x firmalife:food/wheat_slice').copyFood(),
910+
[TFC.ingredient.notRotten('tfc:food/wheat_bread'), '#forge:tools/knives'], 'tfc:food/wheat_bread')
911+
.id(`tfg:crafting/wheat_slice`)
912+
event.recipes.tfc.advanced_shapeless_crafting(
913+
TFC.itemStackProvider.of('2x firmalife:food/barley_slice').copyFood(),
914+
[TFC.ingredient.notRotten('tfc:food/barley_bread'), '#forge:tools/knives'], 'tfc:food/barley_bread')
915+
.id(`tfg:crafting/barley_slice`)
916+
event.recipes.tfc.advanced_shapeless_crafting(
917+
TFC.itemStackProvider.of('2x firmalife:food/maize_slice').copyFood(),
918+
[TFC.ingredient.notRotten('tfc:food/maize_bread'), '#forge:tools/knives'], 'tfc:food/maize_bread')
919+
.id(`tfg:crafting/maize_slice`)
920+
event.recipes.tfc.advanced_shapeless_crafting(
921+
TFC.itemStackProvider.of('2x firmalife:food/rice_slice').copyFood(),
922+
[TFC.ingredient.notRotten('tfc:food/rice_bread'), '#forge:tools/knives'], 'tfc:food/rice_bread')
923+
.id(`tfg:crafting/rice_slice`)
924+
event.recipes.tfc.advanced_shapeless_crafting(
925+
TFC.itemStackProvider.of('2x firmalife:food/rye_slice').copyFood(),
926+
[TFC.ingredient.notRotten('tfc:food/rye_bread'), '#forge:tools/knives'], 'tfc:food/rye_bread')
927+
.id(`tfg:crafting/rye_slice`)
928+
929+
//fixing the cheese curd unrotting
930+
event.remove({ id: 'firmalife:crafting/cheddar_wheel'})
931+
event.remove({ id: 'firmalife:crafting/chevre_wheel'})
932+
event.remove({ id: 'firmalife:crafting/rajya_metok_wheel'})
933+
event.remove({ id: 'firmalife:barrel/gouda'})
934+
event.remove({ id: 'firmalife:barrel/feta'})
935+
event.remove({ id: 'firmalife:barrel/shosha'})
936+
937+
event.recipes.tfc.advanced_shaped_crafting(
938+
TFC.itemStackProvider.of('firmalife:cheddar_wheel').copyFood(), [
939+
'AAA',
940+
'BBB',
941+
'AAA'
942+
], {
943+
A: 'tfc:powder/salt',
944+
B: TFC.ingredient.notRotten('firmalife:food/milk_curd')
945+
}, 0, 0).id('tfg:crafting/cheddar_wheel')
946+
event.recipes.tfc.advanced_shaped_crafting(
947+
TFC.itemStackProvider.of('firmalife:chevre_wheel').copyFood(), [
948+
'AAA',
949+
'BBB',
950+
'AAA'
951+
], {
952+
A: 'tfc:powder/salt',
953+
B: TFC.ingredient.notRotten('firmalife:food/goat_curd')
954+
}, 0, 0).id('tfg:crafting/chevre_wheel')
955+
event.recipes.tfc.advanced_shaped_crafting(
956+
TFC.itemStackProvider.of('firmalife:rajya_metok_wheel').copyFood(), [
957+
'AAA',
958+
'BBB',
959+
'AAA'
960+
], {
961+
A: 'tfc:powder/salt',
962+
B: TFC.ingredient.notRotten('firmalife:food/yak_curd')
963+
}, 0, 0).id('tfg:crafting/rajya_metok_wheel')
964+
event.custom({
965+
"type": "tfc:barrel_sealed",
966+
"input_item": {
967+
"count": 3,
968+
"ingredient": {
969+
"type": "tfc:not_rotten",
970+
"ingredient": { "item": "firmalife:food/milk_curd" }
971+
}
972+
},
973+
"input_fluid": {
974+
"ingredient": "tfc:salt_water",
975+
"amount": 750
976+
},
977+
"output_item": {
978+
"item": "firmalife:gouda_wheel"
979+
},
980+
"duration": 16000
981+
}).id('tfg:barrel/gouda_wheel')
982+
event.custom({
983+
"type": "tfc:barrel_sealed",
984+
"input_item": {
985+
"count": 3,
986+
"ingredient": {
987+
"type": "tfc:not_rotten",
988+
"ingredient": { "item": "firmalife:food/goat_curd" }
989+
}
990+
},
991+
"input_fluid": {
992+
"ingredient": "tfc:salt_water",
993+
"amount": 750
994+
},
995+
"output_item": {
996+
"item": "firmalife:feta_wheel"
997+
},
998+
"duration": 16000
999+
}).id('tfg:barrel/feta_wheel')
1000+
event.custom({
1001+
"type": "tfc:barrel_sealed",
1002+
"input_item": {
1003+
"count": 3,
1004+
"ingredient": {
1005+
"type": "tfc:not_rotten",
1006+
"ingredient": { "item": "firmalife:food/yak_curd" }
1007+
}
1008+
},
1009+
"input_fluid": {
1010+
"ingredient": "tfc:salt_water",
1011+
"amount": 750
1012+
},
1013+
"output_item": {
1014+
"item": "firmalife:shosha_wheel"
1015+
},
1016+
"duration": 16000
1017+
}).id('tfg:barrel/shosha_wheel')
8951018
}

kubejs/server_scripts/minecraft/tags.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ const registerMinecraftItemTags = (event) => {
100100
event.add('forge:smooth_stone_slab', 'minecraft:polished_deepslate_slab')
101101
event.add('forge:smooth_stone_slab', 'minecraft:polished_blackstone_slab')
102102
event.add('forge:smooth_stone_slab', 'minecraft:polished_blackstone_brick_slab')
103+
104+
event.add('tfc:rock/smooth', 'minecraft:smooth_stone')
103105
}
104106

105107
const registerMinecraftBlockTags = (event) => {

kubejs/server_scripts/tfg/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function registerTFGItemSize(event) {
7878

7979
event.itemSize("tfg:trowel", "large", "medium", "trowel");
8080

81-
event.itemSize("tfg:railgun_ammo_shell", "large", "heavy", "trowel");
81+
event.itemSize("tfg:railgun_ammo_shell", "large", "medium", "railgun_ammo_shell");
8282

8383
event.itemSize("tfg:harvest_basket", "large", "medium", "harvest_basket");
8484
event.itemSize("tfg:aluminium_harvest_basket", "large", "medium", "aluminium_harvest_basket");

0 commit comments

Comments
 (0)