Add Bags for Universal Composts (#3016)

* Add universal composts

* Update changelog
This commit is contained in:
Nebby 2026-02-09 15:14:24 -03:00 committed by GitHub
parent 3a3d502265
commit c8af187dcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 93 additions and 0 deletions

View file

@ -15,6 +15,7 @@ If you missed it, [0.11.19](https://github.com/TerraFirmaGreg-Team/Modpack-Moder
- Added soybean + sea water to soy mixture recipe (#2984) @Redeix
- Added optional [Chimes](https://www.curseforge.com/minecraft/mc-mods/chimes) compat. (#2973) @TreyR9
- Added optional [Create: Sound of Steam](https://www.curseforge.com/minecraft/mc-mods/create-sound-of-steam) compat (#2324) @samtsa
- Added Universal Bags of Composts (#3016) @Nebby1999
### Bug fixes
- Fix the Empty Rod T1 that was uncraftable (#3008) @TomPlop
- Fixed fission fuel rods looking for the wrong items to recycle @TomPlop

View file

@ -2197,6 +2197,57 @@
x: 0.0d
y: -12.0d
}
{
dependencies: ["2EFB241490502DB3"]
description: ["{quests.tfg_tips.composter.desc}"]
guide_page: "tfc:field_guide tfc:mechanics/composter"
id: "264D138DFFE13BD0"
subtitle: "{quests.tfg_tips.composter.subtitle}"
tasks: [{
id: "2EE61FD71FE330D3"
item: "tfc:composter"
type: "item"
}]
title: "{quests.tfg_tips.composter.title}"
x: 2.0d
y: -4.0d
}
{
dependencies: ["264D138DFFE13BD0"]
description: ["{quests.tfg_tips.universal_compost.desc}"]
id: "13E4AE4F46A1A1A0"
subtitle: "{quests.tfg_tips.universal_compost.subtitle}"
tasks: [
{
id: "6F3BD81EAD7CC109"
item: {
Count: 1
id: "ftbfiltersystem:smart_filter"
tag: {
"ftbfiltersystem:filter": "or(item(tfg:universal_compost_browns)item(tfg:universal_compost_greens))"
}
}
title: "{quests.tfg_tips.universal_compost.task.1}"
type: "item"
}
{
id: "787E7A402B3162B5"
item: {
Count: 1
id: "ftbfiltersystem:smart_filter"
tag: {
"ftbfiltersystem:filter": "or(item(tfg:universal_compost_browns_bag)item(tfg:universal_compost_greens_bag))"
}
}
optional_task: true
title: "{quests.tfg_tips.universal_compost.task.2}"
type: "item"
}
]
title: "{quests.tfg_tips.universal_compost.title}"
x: 4.0d
y: -4.0d
}
]
subtitle: ["{quests.tfg_tips.subtitle}"]
title: "{quests.tfg_tips}"

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

View file

@ -338,6 +338,10 @@ function registerTFGItemSize(event) {
"medium",
"Molds"
)
//Universal Compost Bags
event.itemSize("tfg:universal_compost_browns_bag", "tiny", "medium")
event.itemSize("tfg:universal_compost_greens_bag", "tiny", "medium")
}
//#endregion

View file

@ -1,5 +1,9 @@
"use strict";
/**
*
* @param {Internal.RecipesEventJS} event
*/
function registerTFGCompostRecipes(event) {
//#region Fertiliser
event.recipes.gtceu.mixer('tfg:fertilizer')
@ -208,4 +212,26 @@ function registerTFGCompostRecipes(event) {
.itemOutputs(Item.of('tfg:universal_compost_browns', 4))
.duration(20)
.EUt(8)
//Universal Brown Compost Bag
event.shapeless(Item.of('tfg:universal_compost_browns_bag', 1),
[
"4x tfg:universal_compost_browns"
]).id('tfg:shapeless/universal_compost_browns_bag')
event.shapeless(Item.of('tfg:universal_compost_browns', 4),
[
"tfg:universal_compost_browns_bag"
]).id("tfg:shapeless/universal_compost_browns_from_bag")
//Universal Green Compost Bag
event.shapeless(Item.of('tfg:universal_compost_greens_bag', 1),
[
"4x tfg:universal_compost_greens"
]).id('tfg:shapeless/universal_compost_greens_bag')
event.shapeless(Item.of('tfg:universal_compost_greens', 4),
[
"tfg:universal_compost_greens_bag"
]).id("tfg:shapeless/universal_compost_greens_from_bag")
}

View file

@ -101,9 +101,20 @@ function registerTFGPrimitiveItems(event) {
// Universal compost items
event.create('tfg:universal_compost_browns')
.tag('tfc:compost_browns_low')
.translationKey('item.tfg.universal_compost_browns')
event.create('tfg:universal_compost_greens')
.tag('tfc:compost_greens_low')
.translationKey('item.tfg.universal_compost_greens')
// Universal compost bag items
event.create('tfg:universal_compost_browns_bag')
.tag('tfc:compost_browns_high')
.translationKey('item.tfg.universal_compost_browns_bag')
event.create('tfg:universal_compost_greens_bag')
.tag('tfc:compost_greens_high')
.translationKey('item.tfg.universal_compost_greens_bag')
// Etched Diamond Etching Tip
event.create('tfg:etching_diamond_tip')