Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quests and recipe conflicts #248

Merged
merged 4 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Dragons in drygmy farms will now drop eggs, heads, and breath at a reduced rate [(\#218)](https://github.com/EnigmaticaModpacks/Enigmatica10/issues/218)
- Theurgy Creature Salt may be crafted from meat and fish now [(\#221)](https://github.com/EnigmaticaModpacks/Enigmatica10/issues/221)
- Unify EIO's Organic Dyes [(\#239)](https://github.com/EnigmaticaModpacks/Enigmatica10/issues/239)
- More recipes for xp bottles [(\#249)](https://github.com/EnigmaticaModpacks/Enigmatica10/issues/249)

#### 🦟 Bugs Fixed

Expand Down
22 changes: 22 additions & 0 deletions config/ftbquests/quests/chapters/0EFE9E753A92388D.snbt
Original file line number Diff line number Diff line change
Expand Up @@ -279,5 +279,27 @@
x: -0.5d
y: -0.5d
}
{
dependencies: ["6AFCA9F187AE6EB2"]
id: "1272A1D0BD9934AE"
rewards: [{
id: "72813948A0F5A6D4"
item: {
components: {
"patchouli:book": "productivetrees:guide"
}
count: 1
id: "patchouli:guide_book"
}
type: "item"
}]
tasks: [{
id: "2E4DEB3FEE0D15CD"
item: { components: { "ftbfiltersystem:filter": "ftbfiltersystem:item_tag(minecraft:saplings)" }, count: 1, id: "ftbfiltersystem:smart_filter" }
type: "item"
}]
x: 1.0d
y: -1.5d
}
]
}
48 changes: 28 additions & 20 deletions config/ftbquests/quests/chapters/irons_spellbooks.snbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,9 @@
group: "440488E780593120"
icon: {
components: {
"irons_spellbooks:spell_container": {
data: [ ]
maxSpells: 6
mustEquip: 1b
spellWheel: 1b
}
"patchouli:book": "irons_spellbooks:iss_guide_book"
}
id: "irons_spellbooks:iron_spell_book"
id: "patchouli:guide_book"
}
id: "52D510F5F28EA5FE"
order_index: 4
Expand All @@ -27,22 +22,35 @@
id: "ftbquests:custom_icon"
}
id: "01E9BF979ED779AE"
rewards: [{
id: "2936D7B921082E89"
item: {
components: {
"irons_spellbooks:spell_container": {
data: [ ]
maxSpells: 5
mustEquip: 1b
spellWheel: 1b
rewards: [
{
id: "2936D7B921082E89"
item: {
components: {
"irons_spellbooks:spell_container": {
data: [ ]
maxSpells: 5
mustEquip: 1b
spellWheel: 1b
}
}
count: 1
id: "irons_spellbooks:copper_spell_book"
}
count: 1
id: "irons_spellbooks:copper_spell_book"
type: "item"
}
type: "item"
}]
{
id: "089AF77048A97F37"
item: {
components: {
"patchouli:book": "irons_spellbooks:iss_guide_book"
}
count: 1
id: "patchouli:guide_book"
}
type: "item"
}
]
tasks: [{
id: "6E7E348A13CC713C"
item: { count: 1, id: "minecraft:copper_ingot" }
Expand Down
12 changes: 12 additions & 0 deletions config/ftbquests/quests/lang/en_us.snbt
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,14 @@
"When the Coal and Iron are fully engulfed by the goo, they’ll be replaced by a crystal that can be broken to obtain the transmuted materials"
]
quest.11FE0DE653577AFB.quest_desc: ["A humble, but cheap, charging station. It will charge any FE based equipment inserted into it."]
quest.1272A1D0BD9934AE.quest_desc: [
"Looking for some fancy new wood to build with? "
""
"Productive Trees has just about anything you could ask for. "
""
"Working with the mod is straightforward but be sure to check out the Guidebook for an in-depth walkthrough on cross-pollination. "
]
quest.1272A1D0BD9934AE.title: "Productive Trees"
quest.128669F9F6431E0A.quest_desc: [
"The Bio Reactor is a more advanced generator which produces more FE per tick based on the number of items it is burning. "
""
Expand Down Expand Up @@ -1049,6 +1057,7 @@
""
"She’ll automatically pull items from a linked storage to do her crafting and can be instructed what to craft by placing the items on an adjacent Arcane Pedestal. "
]
quest.20C038E5D70CDB52.title: "Wixie Cauldron"
quest.211E0844F3ACD244.quest_desc: [
"Ender IO has a host of important alloys, making the Alloy Smelter one of the most important basic machines to craft. "
""
Expand Down Expand Up @@ -3256,6 +3265,7 @@
""
"Unlike a normal Enchanting Apparatus, the Arcane Pedestals are only used to specify a recipe. She does not need them for ingredients."
]
quest.6242CD0203DCBDC7.title: "Wixie Enchanting Apparatus"
quest.626E31B97CA1F815.quest_desc: [
"While capable of producing enormous power, the allure of Fission Reactors within Mekanism is mostly to process Uranium into more useful materials, like Plutonium and Polonium. "
"&n &r"
Expand Down Expand Up @@ -3750,6 +3760,7 @@
"Making them by hand isn’t particularly difficult, but it can be a little tedious. So, finding a way to automate this process is recommended. "
""
"In short, you’ll need to find some way to start a fire automatically. "
"&n &r"
""
"Start a fire on Deepslate or Bedrock and wait a bit. The fire will go out and some Grains will be generated. "
""
Expand Down Expand Up @@ -4319,6 +4330,7 @@
task.2914EFBE380196D0.title: "Dense Smart Cables"
task.2D436B66D664DACD.title: "Visit The End"
task.2DF31416CB56A844.title: "Sal Ammoniac"
task.2E4DEB3FEE0D15CD.title: "Any Sapling"
task.2E84D0BE1079BF3C.title: "Energy Cubes"
task.3153DDF073D649E4.title: "Divination Rods"
task.328C56BA23A70B8F.title: "Power"
Expand Down
7 changes: 7 additions & 0 deletions kubejs/server_scripts/constants/experience_fluids.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const experience_fluids = [
'enderio:fluid_xp_juice_still',
'industrialforegoing:essence',
'pneumaticcraft:memory_essence',
'sophisticatedcore:xp_still',
'justdirethings:xp_fluid_source'
];
26 changes: 26 additions & 0 deletions kubejs/server_scripts/recipes/actuallyadditions/shaped.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
ServerEvents.recipes((event) => {
const id_prefix = 'enigmatica:actuallyadditions/shaped/';

const recipes = [
{
output: '2x actuallyadditions:rice_dough',
pattern: ['AA', 'A '],
key: {
A: '#c:crops/rice'
},
id: `actuallyadditions:rice_dough`
},
{
output: '3x minecraft:paper',
pattern: ['A ', ' A ', ' A'],
key: {
A: '#c:crops/rice'
},
id: `actuallyadditions:rice_paper`
}
];

recipes.forEach((recipe) => {
event.shaped(recipe.output, recipe.pattern, recipe.key).id(recipe.id);
});
});
2 changes: 1 addition & 1 deletion kubejs/server_scripts/recipes/enderio/sag_milling.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ ServerEvents.recipes((event) => {
id: `${id_prefix}${material.primary}_ore`
},
{
input: { id: AlmostUnified.getTagTargetItem(`c:raw_materials/${material.primary}`).getId() },
input: { tag: `c:raw_materials/${material.primary}` },
outputs: [
{ item: { id: AlmostUnified.getTagTargetItem(`c:dusts/${material.primary}`).getId(), count: 1 } },
{
Expand Down
20 changes: 20 additions & 0 deletions kubejs/server_scripts/recipes/enderio/tank.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ServerEvents.recipes((event) => {
const id_prefix = 'enigmatica:enderio/tank/';

const recipes = [];

experience_fluids.forEach((fluid) => {
recipes.push({
fluid: { id: fluid, amount: 250 },
input: { item: 'minecraft:glass_bottle' },
output: { id: 'minecraft:experience_bottle', count: 1 },
mode: 'fill',
id: `${id_prefix}experience_bottle_from_${fluid.replace(':', '_')}`
});
});

recipes.forEach((recipe) => {
recipe.type = 'enderio:tank';
event.custom(recipe).id(recipe.id);
});
});
5 changes: 4 additions & 1 deletion kubejs/server_scripts/recipes/enigmatica/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ ServerEvents.recipes((event) => {
{ id: /powah:crafting\/cable_(basic|hardened|blazing|niotic|spirited|nitro)$/ },
{ mod: 'cobblegengalore' },
{ id: /actuallyadditions:crushing\/(copper|iron|gold)_ore/ },
{ id: /industrialforegoing:laser_drill_ore.*yellor(ite|ium)/ }
{ id: /industrialforegoing:laser_drill_ore.*yellor(ite|ium)/ },
{ id: `utilitarian:utility/green_dye` },
{ id: `enderio:tank_fill/experience_bottle` },
{ id: `industrialforegoing:dissolution_chamber/xp_bottles` }
];

recipes.forEach((recipe) => {
Expand Down
10 changes: 5 additions & 5 deletions kubejs/server_scripts/recipes/enigmatica/replace_input.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ ServerEvents.recipes((event) => {
filter: [{ mod: 'prettypipes' }, { mod: 'ppfluids' }],
to_replace: '#c:storage_blocks/redstone',
replace_with: '#c:dusts/redstone'
},
{
filter: [{ id: /actuallyadditions:black_quartz_(wall|stair|slab)/ }],
to_replace: 'actuallyadditions:black_quartz_pillar_block',
replace_with: 'actuallyadditions:black_quartz_block'
}
// {
// filter: [{}],
// to_replace: '#c:chests',
// replace_with: '#c:chests/wooden'
// }
];

recipes.forEach((recipe) => {
Expand Down
21 changes: 21 additions & 0 deletions kubejs/server_scripts/recipes/glassential/shaped.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ServerEvents.recipes((event) => {
const id_prefix = 'enigmatica:glassential/shaped/';

const recipes = [];

colors.forEach((color) => {
recipes.push({
output: `2x glassential:${color}_glass_trapdoor`,
pattern: ['BA', 'AB'],
key: {
A: `minecraft:${color}_stained_glass`,
B: 'glassential:glass_slab'
},
id: `glassential:${color}_glass_trapdoor_recipe`
});
});

recipes.forEach((recipe) => {
event.shaped(recipe.output, recipe.pattern, recipe.key).id(recipe.id);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ ServerEvents.recipes((event) => {
}
];

experience_fluids.forEach((fluid) => {
recipes.push({
input: [],
inputFluid: { id: fluid, amount: 250 },
output: { id: 'minecraft:experience_bottle', count: 1 },
processingTime: 5,
id: `${id_prefix}experience_bottle_from_${fluid.replace(':', '_')}`
});
});

recipes.forEach((recipe) => {
recipe.type = 'industrialforegoing:dissolution_chamber';
event.custom(recipe).id(recipe.id);
Expand Down