Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/NillerMedDild/Enigmatica6
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
NielsPilgaard committed Jan 3, 2021
2 parents 2fb9f50 + 070b25d commit be9e81f
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion config/jaopca/main.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#Configurations related to recipes.
[recipes]
#List of recipes that should not be added.
blacklist = ["jaopca:mekanism.material_to_dust.prismarine", "jaopca:mekanism.ore_to_material.dimensional"]
blacklist = ["jaopca:mekanism.material_to_dust.prismarine", "jaopca:mekanism.ore_to_material.dimensional", "jaopca:thermal_expansion.ore_to_material.aluminum"]

#Configurations related to loot tables.
[lootTables]
Expand Down
2 changes: 1 addition & 1 deletion config/serverconfigupdater-common.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

["Add New Version"]
#ModID's of the ServerConfigs that will be deleted when a world with a version lower than this version is loaded the first time. Comma Separated list. (ServerConfig without -server.toml)
toDelete = "rftoolsutility, immersiveengineering, astralsorcery, rftoolsbase"
toDelete = "rftoolsutility, immersiveengineering, astralsorcery, rftoolsbase, refinedstorage"
#Version Number. VersionNumbers are simple Integers. Use a number larger than the last version.
#Range: > 0
newVersion = 1
Expand Down
6 changes: 3 additions & 3 deletions defaultconfigs/refinedstorage-server.toml
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@
[wirelessTransmitter]
#The energy used by the Wireless Transmitter
#Range: > 0
usage = 8
usage = 20
#The base range of the Wireless Transmitter
#Range: > 0
baseRange = 16
baseRange = 32
#The additional range per Range Upgrade in the Wireless Transmitter
#Range: > 0
rangePerUpgrade = 8
rangePerUpgrade = 24

[storageMonitor]
#The energy used by the Storage Monitor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ function bloodmagic_ore_processing_arc(event, material) {
return;
}

var data;
var data = {
recipes: []
};

var gemTag = ingredient.of('#forge:gems/' + material);
var gem = getPreferredItemInTag(gemTag).id;

Expand All @@ -85,17 +88,13 @@ function bloodmagic_ore_processing_arc(event, material) {
var dust = getPreferredItemInTag(dustTag).id;

if (gem != air) {
data = {
recipes: [
{
input: 'forge:ores/' + material,
output: gem,
count: 5,
bonus: [],
tool: 'bloodmagic:arc/cuttingfluid'
}
]
};
data.recipes.push({
input: 'forge:ores/' + material,
output: gem,
count: 5,
bonus: [],
tool: 'bloodmagic:arc/cuttingfluid'
});
} else if (dust != air) {
data.recipes.push({
input: 'forge:ores/' + material,
Expand Down
1 change: 1 addition & 0 deletions kubejs/startup_scripts/functions.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//TODO: Remove
// //priority: 1000

// function material(n, c, i, b) {
Expand Down
1 change: 1 addition & 0 deletions kubejs/startup_scripts/global_constants.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//TODO: Remove
// const disabledItems = [
// 'aquaculture:wooden_fillet_knife',
// 'aquaculture:stone_fillet_knife',
Expand Down
1 change: 1 addition & 0 deletions kubejs/startup_scripts/materialsystem.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//TODO: Remove
// //priority: 999

// var oreBlock = blockWithProperties('ore', block.material.rock, TOOL_TYPE_PICKAXE, 1, 3.0, 20.0);
Expand Down
5 changes: 5 additions & 0 deletions kubejs/startup_scripts/worldgen/remove.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
events.listen('worldgen.remove', (event) => {
event.removeOres((ores) => {
ores.blocks = ['minecraft:granite', 'minecraft:diorite'];
});
});

0 comments on commit be9e81f

Please sign in to comment.