Compare commits

...
Author SHA1 Message Date
Martin Robertz dcfa448af3 Merge pull request #37 from Quantumlyy/drainer-energistics
Add Thaumic Energistics support to the Apimancers drainer
2024-01-28 19:55:12 +01:00
Martin Robertz 786cb01b94 Merge pull request #35 from kamenskyi/add_ru_lang_file
Update ru_RU.lang
2024-01-28 18:38:11 +01:00
Quantumlyy f6f4a988af move theapi init to postinit 2024-01-28 18:13:39 +01:00
kamenskyi 5a823658ea Update ru_RU.lang
fix ru mistakes
2024-01-28 20:04:58 +03:00
Quantumlyy 8770492524 register drainer with ThEApi 2024-01-28 18:00:38 +01:00
Martin Robertz 322203ac6a Merge branch 'master' into drainer-energistics 2024-01-28 11:34:14 +01:00
Quantumlyy 1e5c8db826 sa 2024-01-28 11:30:17 +01:00
Quantumlyy ef47b1863a call normal updateentity 2024-01-28 11:18:16 +01:00
Martin Robertz c3dac80d44 update deps 2024-01-28 11:12:31 +01:00
Quantumlyy f2beaae45c this should make it work with TE now 2024-01-28 11:03:49 +01:00
Martin Robertz 3a4e4dce04 Merge pull request #34 from Quantumlyy/bring-closer-to-forestry
Add Apimancers Drainer
2024-01-28 09:39:48 +01:00
Alastors 99c3cb68eb minor cleanup 2024-01-28 02:49:57 -05:00
Alastors 38bc8a151c fixing the block side 2024-01-28 02:38:26 -05:00
Quantumlyy a64bd5f437 check that block side is not top 2024-01-27 11:36:09 +01:00
Quantumlyy fb43f46bb8 fix: check for gtnh coremod to determine drainer functionality 2024-01-27 11:22:20 +01:00
Quantumlyy 9d2c667c35 the grand rename 2024-01-21 21:01:57 +01:00
Quantumlyy 67dfeb7daa requested changes 2024-01-21 20:55:21 +01:00
Quantumlyy e2080bc542 sa 2024-01-21 20:55:01 +01:00
Quantumlyy b0116884f1 GTu no transitive 2024-01-21 20:47:26 +01:00
Quantumlyy a9948fcf26 sa 2024-01-21 20:37:50 +01:00
Quantumlyy 828231c3c4 Merge branch 'bring-closer-to-forestry' of https://github.com/Quantumlyy/MagicBees into bring-closer-to-forestry 2024-01-21 20:35:45 +01:00
Quantumlyy aed51fbd9a add infusion recipe 2024-01-21 20:35:40 +01:00
Alastors 9bae32761c Update build.gradle 2024-01-21 14:33:30 -05:00
Alastors 25c04cedcb Update dependencies.gradle 2024-01-21 14:32:54 -05:00
Martin Robertz cfe1cad9e8 Merge branch 'master' into bring-closer-to-forestry 2024-01-12 19:01:54 +01:00
Martin Robertz 766a440429 update bs+deps 2024-01-12 18:58:10 +01:00
Raven Szewczyk 428bfb04f8 [ci skip] upgraded build system 2024-01-08 21:27:14 +00:00
Quantumlyy 9fb5e3d8fb reword 2023-12-31 15:08:34 +01:00
Quantumlyy 3da4083bba localize 2023-12-31 15:04:53 +01:00
Quantumlyy 9d36165259 cursed shit 2023-12-31 15:03:38 +01:00
Nejc Drobnič 573c089b96 Merge pull request #1 from GTNewHorizons/dev
update
2023-12-31 14:46:55 +01:00
Martin Robertz b82ce5e15f update 2023-12-31 14:44:27 +01:00
kamenskyi 12f8ed9435 Update ru_RU.lang
add ru lang file
2023-12-24 21:06:26 +03:00
18 changed files with 212 additions and 192 deletions

No files matched your search

+40 -24
View File
@@ -1,4 +1,4 @@
//version: 1701530445
//version: 1705357285
/*
DO NOT CHANGE THIS FILE!
Also, you may replace this file at any time if there is an update available.
@@ -31,8 +31,7 @@ buildscript {
maven {
// GTNH RetroFuturaGradle and ASM Fork
name "GTNH Maven"
url "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
allowInsecureProtocol = true
url "https://nexus.gtnewhorizons.com/repository/public/"
}
mavenLocal()
}
@@ -49,12 +48,12 @@ plugins {
id 'org.ajoberstar.grgit' version '4.1.1' // 4.1.1 is the last jvm8 supporting version, unused, available for addon.gradle
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
id 'com.palantir.git-version' version '3.0.0' apply false
id 'de.undercouch.download' version '5.4.0'
id 'de.undercouch.download' version '5.5.0'
id 'com.github.gmazzo.buildconfig' version '3.1.0' apply false // Unused, available for addon.gradle
id 'com.diffplug.spotless' version '6.13.0' apply false // 6.13.0 is the last jvm8 supporting version
id 'com.modrinth.minotaur' version '2.+' apply false
id 'com.matthewprenger.cursegradle' version '1.4.0' apply false
id 'com.gtnewhorizons.retrofuturagradle' version '1.3.24'
id 'com.gtnewhorizons.retrofuturagradle' version '1.3.27'
}
print("You might want to check out './gradlew :faq' if your build fails.\n")
@@ -118,11 +117,12 @@ propertyDefaultIfUnset("forceEnableMixins", false)
propertyDefaultIfUnset("channel", "stable")
propertyDefaultIfUnset("mappingsVersion", "12")
propertyDefaultIfUnset("usesMavenPublishing", true)
propertyDefaultIfUnset("mavenPublishUrl", "http://jenkins.usrv.eu:8081/nexus/content/repositories/releases")
propertyDefaultIfUnset("mavenPublishUrl", "https://nexus.gtnewhorizons.com/repository/releases/")
propertyDefaultIfUnset("modrinthProjectId", "")
propertyDefaultIfUnset("modrinthRelations", "")
propertyDefaultIfUnset("curseForgeProjectId", "")
propertyDefaultIfUnset("curseForgeRelations", "")
propertyDefaultIfUnset("versionPattern", "")
propertyDefaultIfUnset("minimizeShadowedDependencies", true)
propertyDefaultIfUnset("relocateShadowedDependencies", true)
// Deprecated properties (kept for backwards compat)
@@ -371,6 +371,7 @@ catch (Exception ignored) {
// Pulls version first from the VERSION env and then git tag
String identifiedVersion
String versionOverride = System.getenv("VERSION") ?: null
boolean checkVersion = false
try {
// Produce a version based on the tag, or for branches something like 0.2.2-configurable-maven-and-extras.38+43090270b6-dirty
if (versionOverride == null) {
@@ -389,6 +390,8 @@ try {
}
} else if (isDirty) {
identifiedVersion += "-${branchName}+${gitDetails.gitHash}-dirty"
} else {
checkVersion = true
}
} else {
identifiedVersion = versionOverride
@@ -410,6 +413,8 @@ ext {
if (identifiedVersion == versionOverride) {
out.style(Style.Failure).text('Override version to ').style(Style.Identifier).text(modVersion).style(Style.Failure).println('!\7')
} else if (checkVersion && versionPattern && !(identifiedVersion ==~ versionPattern)) {
throw new GradleException("Invalid version: '$identifiedVersion' does not match version pattern '$versionPattern'")
}
group = "com.github.GTNewHorizons"
@@ -429,18 +434,31 @@ minecraft {
for (f in replaceGradleTokenInFile.split(',')) {
tagReplacementFiles.add f
}
out.style(Style.Info).text('replaceGradleTokenInFile is deprecated! Consider using generateGradleTokenClass.').println()
}
if (gradleTokenModId) {
injectedTags.put gradleTokenModId, modId
if (replaceGradleTokenInFile) {
injectedTags.put gradleTokenModId, modId
} else {
out.style(Style.Failure).text('gradleTokenModId is deprecated! The field will no longer be generated.').println()
}
}
if (gradleTokenModName) {
injectedTags.put gradleTokenModName, modName
if (replaceGradleTokenInFile) {
injectedTags.put gradleTokenModName, modName
} else {
out.style(Style.Failure).text('gradleTokenModName is deprecated! The field will no longer be generated.').println()
}
}
if (gradleTokenVersion) {
injectedTags.put gradleTokenVersion, modVersion
}
if (gradleTokenGroupName) {
injectedTags.put gradleTokenGroupName, modGroup
if (replaceGradleTokenInFile) {
injectedTags.put gradleTokenGroupName, modGroup
} else {
out.style(Style.Failure).text('gradleTokenGroupName is deprecated! The field will no longer be generated.').println()
}
}
if (enableGenericInjection.toBoolean()) {
injectMissingGenerics.set(true)
@@ -573,13 +591,15 @@ afterEvaluate {
repositories {
maven {
name 'Overmind forge repo mirror'
url 'https://gregtech.overminddl1.com/'
name = "GTNH Maven"
url = "https://nexus.gtnewhorizons.com/repository/public/"
// Links for convenience:
// Simple HTML browsing: https://nexus.gtnewhorizons.com/service/rest/repository/browse/releases/
// Rich web UI browsing: https://nexus.gtnewhorizons.com/#browse/browse:releases
}
maven {
name = "GTNH Maven"
url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
allowInsecureProtocol = true
name 'Overmind forge repo mirror'
url 'https://gregtech.overminddl1.com/'
}
maven {
name 'sonatype'
@@ -613,7 +633,7 @@ repositories {
}
maven {
name = "ic2"
url = getURL("https://maven.ic2.player.to/", "https://maven2.ic2.player.to/")
url = getURL("https://maven2.ic2.player.to/", "https://maven.ic2.player.to/")
content {
includeGroup "net.industrial-craft"
}
@@ -672,6 +692,8 @@ configurations.all {
substitute module('com.github.GTNewHorizons:SpongePoweredMixin') using module(mixinProviderSpecNoClassifer) withClassifier("dev") because("Unimixins replaces other mixin mods")
substitute module('com.github.GTNewHorizons:SpongeMixins') using module(mixinProviderSpecNoClassifer) withClassifier("dev") because("Unimixins replaces other mixin mods")
substitute module('io.github.legacymoddingmc:unimixins') using module(mixinProviderSpecNoClassifer) withClassifier("dev") because("Our previous unimixins upload was missing the dev classifier")
substitute module('org.scala-lang:scala-library:2.11.1') using module('org.scala-lang:scala-library:2.11.5') because('To allow mixing with Java 8 targets')
}
}
@@ -783,7 +805,7 @@ dependencies {
java17Dependencies("com.github.GTNewHorizons:lwjgl3ify:${lwjgl3ifyVersion}")
}
if (modId != 'hodgepodge') {
java17Dependencies('com.github.GTNewHorizons:Hodgepodge:2.3.35')
java17Dependencies('com.github.GTNewHorizons:Hodgepodge:2.4.4')
}
java17PatchDependencies("com.github.GTNewHorizons:lwjgl3ify:${lwjgl3ifyVersion}:forgePatches") {transitive = false}
@@ -958,8 +980,7 @@ if (usesShadowedDependencies.toBoolean()) {
configurations.runtimeElements.outgoing.artifact(tasks.named("shadowJar", ShadowJar))
configurations.apiElements.outgoing.artifact(tasks.named("shadowJar", ShadowJar))
tasks.named("jar", Jar) {
enabled = false
finalizedBy(tasks.shadowJar)
archiveClassifier.set('dev-preshadow')
}
tasks.named("reobfJar", ReobfuscatedJar) {
inputJar.set(tasks.named("shadowJar", ShadowJar).flatMap({it.archiveFile}))
@@ -968,11 +989,6 @@ if (usesShadowedDependencies.toBoolean()) {
javaComponent.withVariantsFromConfiguration(configurations.shadowRuntimeElements) {
skip()
}
for (runTask in ["runClient", "runServer", "runClient17", "runServer17"]) {
tasks.named(runTask).configure {
dependsOn("shadowJar")
}
}
}
ext.publishableDevJar = usesShadowedDependencies.toBoolean() ? tasks.shadowJar : tasks.jar
ext.publishableObfJar = tasks.reobfJar
@@ -1176,7 +1192,7 @@ publishing {
if (usesMavenPublishing.toBoolean() && System.getenv("MAVEN_USER") != null) {
maven {
url = mavenPublishUrl
allowInsecureProtocol = mavenPublishUrl.startsWith("http://") // Mostly for the GTNH maven
allowInsecureProtocol = mavenPublishUrl.startsWith("http://")
credentials {
username = System.getenv("MAVEN_USER") ?: "NONE"
password = System.getenv("MAVEN_PASSWORD") ?: "NONE"
+7 -6
View File
@@ -1,13 +1,14 @@
// Add your dependencies here
dependencies {
compile('com.github.GTNewHorizons:ForestryMC:4.7.1:dev')
compile('com.github.GTNewHorizons:ForestryMC:4.8.2:dev')
compileOnly('com.github.GTNewHorizons:BloodMagic:1.4.3:dev')
compileOnly('com.github.GTNewHorizons:ThaumicHorizons:1.4.2:dev')
compileOnly('com.github.GTNewHorizons:Baubles:1.0.3:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:Botania:1.10.3-GTNH:api') {transitive = false}
compileOnly('com.github.GTNewHorizons:BloodMagic:1.5.1:dev')
compileOnly('com.github.GTNewHorizons:ThaumicHorizons:1.5.1:dev')
compileOnly('com.github.GTNewHorizons:Baubles:1.0.4:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:Botania:1.10.5-GTNH:api') {transitive = false}
compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.07:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.43:dev')
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.6.1-GTNH:dev')
}
Binary file not shown.
+1
View File
@@ -2,5 +2,6 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Vendored
+13 -9
View File
@@ -83,7 +83,8 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@@ -130,10 +131,13 @@ location of your Java installation."
fi
else
JAVACMD=java
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi
# Increase the maximum file descriptors if we can.
@@ -141,7 +145,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
@@ -149,7 +153,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
@@ -198,11 +202,11 @@ fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
+4 -5
View File
@@ -4,10 +4,9 @@ pluginManagement {
maven {
// RetroFuturaGradle
name "GTNH Maven"
url "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
allowInsecureProtocol = true
url "https://nexus.gtnewhorizons.com/repository/public/"
mavenContent {
includeGroup("com.gtnewhorizons.retrofuturagradle")
includeGroupByRegex("com\\.gtnewhorizons\\..+")
}
}
gradlePluginPortal()
@@ -17,8 +16,8 @@ pluginManagement {
}
plugins {
id 'com.diffplug.blowdryerSetup' version '1.6.0'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0' // Provides java toolchains
id 'com.diffplug.blowdryerSetup' version '1.7.1'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0' // Provides java toolchains
}
blowdryerSetup {
@@ -61,9 +61,8 @@ public class MagicApiaryInventory implements IApiaryInventory {
if (all) {
return countAdded == product.stackSize;
} else {
return countAdded > 0;
}
return countAdded > 0;
}
public int getSizeInventory() {
@@ -76,7 +75,6 @@ public class MagicApiaryInventory implements IApiaryInventory {
public void setInventorySlotContents(int i, ItemStack itemStack) {
items[i] = itemStack;
if (itemStack != null && itemStack.stackSize > getInventoryStackLimit()) {
itemStack.stackSize = getInventoryStackLimit();
}
@@ -85,13 +83,12 @@ public class MagicApiaryInventory implements IApiaryInventory {
public int[] getAccessibleSlotsFromSide(int side) {
if (side == 0 || side == 1) {
return new int[] { SLOT_QUEEN, SLOT_DRONE };
} else {
int[] slots = new int[SLOT_PRODUCTS_COUNT];
for (int i = 0, slot = SLOT_PRODUCTS_START; i < SLOT_PRODUCTS_COUNT; ++i, ++slot) {
slots[i] = slot;
}
return slots;
}
int[] slots = new int[SLOT_PRODUCTS_COUNT];
for (int i = 0, slot = SLOT_PRODUCTS_START; i < SLOT_PRODUCTS_COUNT; ++i, ++slot) {
slots[i] = slot;
}
return slots;
}
public boolean canInsertItem(int slot, ItemStack itemStack, int side) {
@@ -113,7 +110,6 @@ public class MagicApiaryInventory implements IApiaryInventory {
public Collection<IHiveFrame> getFrames() {
Collection<IHiveFrame> hiveFrames = new ArrayList<IHiveFrame>(SLOT_FRAME_COUNT);
for (int i = SLOT_FRAME_START; i < SLOT_FRAME_START + SLOT_FRAME_COUNT; i++) {
ItemStack stackInSlot = magicApiary.getStackInSlot(i);
if (stackInSlot == null) {
@@ -125,42 +121,34 @@ public class MagicApiaryInventory implements IApiaryInventory {
hiveFrames.add((IHiveFrame) itemInSlot);
}
}
return hiveFrames;
}
public void wearOutFrames(IBeeHousing beeHousing, int amount) {
IBeekeepingMode beekeepingMode = BeeManager.beeRoot.getBeekeepingMode(magicApiary.getWorldObj());
int wear = Math.round(amount * beekeepingMode.getWearModifier());
for (int i = MagicApiaryInventory.SLOT_FRAME_START; i
< MagicApiaryInventory.SLOT_FRAME_START + MagicApiaryInventory.SLOT_FRAME_COUNT; i++) {
ItemStack hiveFrameStack = magicApiary.getStackInSlot(i);
if (hiveFrameStack == null) {
continue;
}
Item hiveFrameItem = hiveFrameStack.getItem();
if (!(hiveFrameItem instanceof IHiveFrame)) {
continue;
}
IHiveFrame hiveFrame = (IHiveFrame) hiveFrameItem;
ItemStack queenStack = magicApiary.getBeeInventory().getQueen();
IBee queen = BeeManager.beeRoot.getMember(queenStack);
ItemStack usedFrame = hiveFrame.frameUsed(magicApiary, hiveFrameStack, queen, wear);
magicApiary.setInventorySlotContents(i, usedFrame);
}
}
public void writeToNBT(NBTTagCompound compound) {
NBTTagList itemsNBT = new NBTTagList();
for (int i = 0; i < items.length; i++) {
ItemStack itemStack = items[i];
if (itemStack != null) {
NBTTagCompound item = new NBTTagCompound();
item.setByte("Slot", (byte) i);
@@ -173,11 +161,9 @@ public class MagicApiaryInventory implements IApiaryInventory {
public void readFromNBT(NBTTagCompound compound) {
NBTTagList items = compound.getTagList("Items", Constants.NBT.TAG_COMPOUND);
for (int i = 0; i < items.tagCount(); i++) {
NBTTagCompound item = items.getCompoundTagAt(i);
int slot = item.getByte("Slot");
if (slot >= 0 && slot < getSizeInventory()) {
setInventorySlotContents(slot, ItemStack.loadItemStackFromNBT(item));
}
@@ -15,20 +15,21 @@ import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import magicbees.main.CommonProxy;
import magicbees.main.utils.TabMagicBees;
import magicbees.tileentity.TileEntityApiamancersDrainerCommon;
import magicbees.tileentity.TileEntityApiamancersDrainerGT;
import magicbees.tileentity.TileEntityApimancersDrainerCommon;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.IEssentiaContainerItem;
public class BlockApiamancersDrainer extends BlockContainer {
public class BlockApimancersDrainer extends BlockContainer {
@SideOnly(Side.CLIENT)
private IIcon[] icons;
public BlockApiamancersDrainer() {
public static Class<? extends TileEntity> drainer = TileEntityApimancersDrainerCommon.class;
public BlockApimancersDrainer() {
super(Material.rock);
this.setCreativeTab(TabMagicBees.tabMagicBees);
this.setBlockName("apiamancersDrainer");
this.setBlockName("apimancersDrainer");
this.setHardness(1f);
this.setResistance(1.5f);
this.setHarvestLevel("pickaxe", 0);
@@ -36,18 +37,21 @@ public class BlockApiamancersDrainer extends BlockContainer {
@Override
public TileEntity createNewTileEntity(World world, int metadata) {
return TileEntityApiamancersDrainerGT.isGTLoaded ? new TileEntityApiamancersDrainerGT()
: new TileEntityApiamancersDrainerCommon();
try {
return drainer.newInstance();
} catch (Exception e) {
return null;
}
}
@Override
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int par6, float par7,
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float par7,
float par8, float par9) {
if (world.isRemote) {
return false;
} else {
TileEntity tile = world.getTileEntity(x, y, z);
if (tile instanceof TileEntityApiamancersDrainerCommon) {
if (tile instanceof TileEntityApimancersDrainerCommon && side != 1) {
ItemStack tItemStack = player.getHeldItem();
if (tItemStack != null) {
Item tItem = tItemStack.getItem();
@@ -56,21 +60,19 @@ public class BlockApiamancersDrainer extends BlockContainer {
&& ((IEssentiaContainerItem) tItem).getAspects(player.getHeldItem()).size() > 0) {
Aspect tLocked = ((IEssentiaContainerItem) tItem).getAspects(player.getHeldItem())
.getAspects()[0];
((TileEntityApiamancersDrainerCommon) tile).setAspect(tLocked);
((TileEntityApimancersDrainerCommon) tile).setAspect(tLocked);
// TODO: improve text
player.addChatMessage(
new ChatComponentTranslation("Producing " + tLocked.getLocalizedDescription()));
}
} else {
((TileEntityApiamancersDrainerCommon) tile).setAspect(null);
// TODO: improve text
((TileEntityApimancersDrainerCommon) tile).setAspect(null);
player.addChatMessage(new ChatComponentTranslation("Cleared production specifier"));
}
world.markBlockForUpdate(x, y, z);
return true;
} else return false;
}
return false;
}
}
@@ -84,9 +86,8 @@ public class BlockApiamancersDrainer extends BlockContainer {
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister register) {
icons = new IIcon[4];
for (int i = 0; i < icons.length; i++) {
icons[i] = register.registerIcon(CommonProxy.DOMAIN + ":apiamancersdrainer." + i);
icons[i] = register.registerIcon(CommonProxy.DOMAIN + ":apimancersdrainer." + i);
}
}
}
+26 -13
View File
@@ -14,13 +14,14 @@ import net.minecraftforge.common.config.Property;
import net.minecraftforge.oredict.OreDictionary;
import cpw.mods.fml.client.event.ConfigChangedEvent;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.event.FMLInterModComms;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import forestry.api.apiculture.BeeManager;
import forestry.api.storage.BackpackManager;
import forestry.api.storage.EnumBackpackType;
import magicbees.block.BlockApiamancersDrainer;
import magicbees.block.BlockApimancersDrainer;
import magicbees.block.BlockEffectJar;
import magicbees.block.BlockEnchantedEarth;
import magicbees.block.BlockHive;
@@ -57,12 +58,12 @@ import magicbees.main.utils.VersionInfo;
import magicbees.main.utils.compat.BotaniaHelper;
import magicbees.main.utils.compat.ThaumcraftHelper;
import magicbees.storage.BackpackDefinition;
import magicbees.tileentity.TileEntityApiamancersDrainerCommon;
import magicbees.tileentity.TileEntityApiamancersDrainerGT;
import magicbees.tileentity.TileEntityApimancersDrainerGT;
import magicbees.tileentity.TileEntityEffectJar;
import magicbees.tileentity.TileEntityMagicApiary;
import magicbees.tileentity.TileEntityManaAuraProvider;
import magicbees.tileentity.TileEntityVisAuraProvider;
import thaumicenergistics.api.ThEApi;
/**
* A class to hold some data related to mod state & functions.
@@ -118,7 +119,7 @@ public class Config {
public static BlockEffectJar effectJar;
public static BlockHive hive;
public static BlockMagicApiary magicApiary;
public static BlockApiamancersDrainer apiamancersDrainer;
public static BlockApimancersDrainer apimancersDrainer;
public static BlockManaAuraProvider manaAuraProvider;
public static BlockVisAuraProvider visAuraProvider;
@@ -163,6 +164,11 @@ public class Config {
// ----- Config State info ----------------------------------
public static Configuration configuration;
// ---- Loaded mods -----------------------------------------
public static boolean isGTLoaded = Loader.isModLoaded("gregtech");
public static boolean isGTNHCoreModLoaded = Loader.isModLoaded("gregtech") && Loader.isModLoaded("dreamcraft");
public static boolean isThaumicEnergisticsLoaded = Loader.isModLoaded("thaumicenergistics");
public Config(File configFile) {
configuration = new Configuration(configFile);
configuration.load();
@@ -222,6 +228,15 @@ public class Config {
setupMiscForestryItemHooks();
}
public void setupThaumicEnergistics() {
if (isThaumicEnergisticsLoaded) {
try {
Class c = BlockApimancersDrainer.drainer;
ThEApi.instance().transportPermissions().addAspectStorageTileToExtractPermissions(c);
} catch (Exception ignored) {}
}
}
private void processConfigFile() {
// Pull config from Forestry via reflection
Field f;
@@ -343,7 +358,7 @@ public class Config {
CATEGORY_GENERAL,
"drainerTimeBetween",
200,
"The time in ticks between Apiamancer's Drainer essentia generation",
"The time in ticks between Apimancer's Drainer essentia generation",
1,
32767);
drainerTimeBetween = p.getInt(200);
@@ -351,7 +366,7 @@ public class Config {
CATEGORY_GENERAL,
"drainerAmount",
1,
"The amount that the Apiamancer's Drainer generates on every round",
"The amount that the Apimancer's Drainer generates on every round",
1,
32767);
drainerAmount = p.getInt(1);
@@ -359,7 +374,7 @@ public class Config {
CATEGORY_GENERAL,
"drainerCapacity",
512,
"The amount that the Apiamancer's Drainer can hold of each aspect",
"The amount that the Apimancer's Drainer can hold of each aspect",
1,
32767);
drainerCapacity = p.getInt(512);
@@ -504,12 +519,10 @@ public class Config {
GameRegistry.registerBlock(visAuraProvider, "visAuraProvider");
GameRegistry.registerTileEntity(TileEntityVisAuraProvider.class, "visAuraProvider");
apiamancersDrainer = new BlockApiamancersDrainer();
GameRegistry.registerBlock(apiamancersDrainer, "apiamancersDrainer");
GameRegistry.registerTileEntity(
TileEntityApiamancersDrainerGT.isGTLoaded ? TileEntityApiamancersDrainerGT.class
: TileEntityApiamancersDrainerCommon.class,
"apiamancersDrainer");
if (isGTNHCoreModLoaded) BlockApimancersDrainer.drainer = TileEntityApimancersDrainerGT.class;
apimancersDrainer = new BlockApimancersDrainer();
GameRegistry.registerBlock(apimancersDrainer, "apimancersDrainer");
GameRegistry.registerTileEntity(BlockApimancersDrainer.drainer, "apimancersDrainer");
}
}
@@ -73,6 +73,7 @@ public class MagicBees {
proxy.registerRenderers();
this.modConfig.saveConfigs();
this.modConfig.setupThaumicEnergistics();
CraftingManager.setupCrafting();
CraftingManager.registerLiquidContainers();
@@ -33,6 +33,7 @@ import thaumcraft.api.crafting.InfusionRecipe;
import thaumcraft.api.research.ResearchCategories;
import thaumcraft.api.research.ResearchItem;
import thaumcraft.api.research.ResearchPage;
import thaumcraft.common.config.ConfigBlocks;
public class ThaumcraftHelper implements IModHelper {
@@ -85,7 +86,7 @@ public class ThaumcraftHelper implements IModHelper {
private static Object visAuraProvider;
private static Object voidScoop;
private static Object voidGrafter;
private static InfusionRecipe apiamancersDrainer;
private static InfusionRecipe apimancersDrainer;
public static boolean isActive() {
return isThaumcraftPresent;
@@ -292,13 +293,20 @@ public class ThaumcraftHelper implements IModHelper {
'T',
new ItemStack(miscResource, 1, MiscResource.VOID_INGOT.ordinal()));
apiamancersDrainer = ThaumcraftApi.addInfusionCraftingRecipe(
"MB_ApiamancersDrainer",
new ItemStack(Config.apiamancersDrainer),
ItemStack centrifuge = new ItemStack(ConfigBlocks.blockTube);
centrifuge.setItemDamage(2);
apimancersDrainer = ThaumcraftApi.addInfusionCraftingRecipe(
"MB_ApimancersDrainer",
new ItemStack(Config.apimancersDrainer),
6,
new AspectList().add(Aspect.ELDRITCH, 10).add(Aspect.EXCHANGE, 20).add(Aspect.VOID, 15),
Config.propolis.getStackForType(PropolisType.UNSTABLE),
new ItemStack[] { input, input, in2 });
new AspectList().add(Aspect.MAGIC, 40).add(Aspect.HARVEST, 20).add(Aspect.EXCHANGE, 20)
.add(Aspect.ELDRITCH, 20),
new ItemStack(ConfigBlocks.blockEssentiaReservoir),
new ItemStack[] { centrifuge, Config.pollen.getStackForType(PollenType.UNUSUAL),
Config.pollen.getStackForType(PollenType.PHASED),
Config.miscResources.getStackForType(ResourceType.DIMENSIONAL_SINGULARITY),
Config.pollen.getStackForType(PollenType.UNUSUAL),
Config.pollen.getStackForType(PollenType.PHASED) });
}
private static void setupResearch() {
@@ -544,16 +552,17 @@ public class ThaumcraftHelper implements IModHelper {
.setParentsHidden("VISPOWER").registerResearchItem();
new ResearchItem(
"MB_ApiamancersDrainer",
"MB_ApimancersDrainer",
category,
new AspectList().add(Aspect.ELDRITCH, 1).add(Aspect.HARVEST, 1).add(Aspect.MAGIC, 1)
.add((Aspect) aspectTime, 1),
-3,
5,
4,
new ItemStack(Config.apiamancersDrainer))
.setPages(getResearchPage("MB_ApiamancersDrainer.1"), new ResearchPage(apiamancersDrainer))
.setParentsHidden("VOIDMETAL", "ESSENTIARESERVOIR").setConcealed().registerResearchItem();
new ItemStack(Config.apimancersDrainer))
.setPages(getResearchPage("MB_ApimancersDrainer.1"), new ResearchPage(apimancersDrainer))
.setParentsHidden("VOIDMETAL", "ESSENTIARESERVOIR").setParents("MB_EssenceUnstable")
.setConcealed().registerResearchItem();
}
@@ -7,6 +7,7 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.util.ForgeDirection;
import cpw.mods.fml.common.Optional;
import forestry.api.apiculture.EnumBeeType;
import forestry.api.apiculture.IAlleleBeeSpecies;
import forestry.api.apiculture.IBee;
@@ -22,8 +23,12 @@ import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.AspectList;
import thaumcraft.api.aspects.IAspectContainer;
import thaumcraft.api.aspects.IEssentiaTransport;
import thaumicenergistics.api.storage.IAspectStorage;
public class TileEntityApiamancersDrainerCommon extends TileEntity implements IAspectContainer, IEssentiaTransport {
@Optional.InterfaceList({
@Optional.Interface(iface = "thaumicenergistics.api.storage.IAspectStorage", modid = "thaumicenergistics") })
public class TileEntityApimancersDrainerCommon extends TileEntity
implements IEssentiaTransport, IAspectContainer, IAspectStorage {
public Aspect aspect;
public AspectList essentia = new AspectList();
@@ -38,6 +43,7 @@ public class TileEntityApiamancersDrainerCommon extends TileEntity implements IA
@Override
public void updateEntity() {
super.updateEntity();
// If there's no stored aspect we shouldn't even check for the above block.
// We also don't need to run all the logic if the cabinet is full.
if (aspect == null || essentia.visSize() == maxAmount) return;
@@ -51,21 +57,16 @@ public class TileEntityApiamancersDrainerCommon extends TileEntity implements IA
// This performs all the checks to see if the bee is a living queen and if the species conditions
// are met.
if (!canWork(beeHousing, above)) return;
// The beeRoot.isMember call will treat null the same as EnumBeeType.NONE which leads getSpecies to
// return null.
ItemStack queenStack = getQueen(beeHousing, above);
IAlleleBeeSpecies queenSpecies = BeeGenome.getSpecies(queenStack);
if (queenSpecies == null) return;
if (BeeManager.beeRoot.getType(queenStack) != EnumBeeType.QUEEN) return;
if (Objects.equals(queenSpecies.getUID(), BeeSpecies.TC_ESSENTIA.getSpecies().getUID())) {
IBeeModifier modifier = BeeManager.beeRoot.createBeeHousingModifier(beeHousing);
IBee queen = BeeManager.beeRoot.getMember(queenStack);
int amount = Config.drainerAmount * getProductionMultiplier(modifier, queen, above);
addToContainer(aspect, amount);
drainQueen(beeHousing, modifier, queen);
}
@@ -93,20 +94,30 @@ public class TileEntityApiamancersDrainerCommon extends TileEntity implements IA
IBeeGenome queenGenome = queen.getGenome();
float productionMultiplier = modifier.getProductionModifier(queenGenome, 1.0F);
float minimum = Math.max(productionMultiplier, 1.0F);
return (int) Math.ceil(minimum);
}
private void drainQueen(IBeeHousing housing, IBeeModifier modifier, IBee queen) {
float lifespanModifier = modifier.getLifespanModifier(queen.getGenome(), queen.getMate(), 1.0f);
queen.age(housing.getWorld(), lifespanModifier);
// Write the changed queen back into the item stack.
NBTTagCompound nbttagcompound = new NBTTagCompound();
queen.writeToNBT(nbttagcompound);
housing.getBeeInventory().getQueen().setTagCompound(nbttagcompound);
}
@Override
@Optional.Method(modid = "thaumicenergistics")
public int getContainerCapacity() {
return maxAmount;
}
@Override
@Optional.Method(modid = "thaumicenergistics")
public boolean doesShareCapacity() {
return true;
}
@Override
public AspectList getAspects() {
return this.essentia;
@@ -125,13 +136,11 @@ public class TileEntityApiamancersDrainerCommon extends TileEntity implements IA
@Override
public int addToContainer(Aspect tag, int am) {
int toAdd = Math.min(maxAmount - essentia.visSize(), am);
if (aspect.equals(tag) && toAdd > 0) {
essentia.add(aspect, toAdd);
markDirty();
return am - toAdd;
}
markDirty();
return am;
}
@@ -211,14 +220,11 @@ public class TileEntityApiamancersDrainerCommon extends TileEntity implements IA
int total = this.essentia.getAmount(aspect);
this.essentia.reduce(aspect, total);
return total;
} else {
this.essentia.reduce(aspect, amount);
return amount;
}
} else {
return 0;
this.essentia.reduce(aspect, amount);
return amount;
}
return 0;
}
@Override
@@ -274,7 +280,6 @@ public class TileEntityApiamancersDrainerCommon extends TileEntity implements IA
@Override
public void readFromNBT(NBTTagCompound compound) {
super.readFromNBT(compound);
this.essentia.readFromNBT(compound);
if (this.essentia.visSize() > this.maxAmount) {
this.essentia = new AspectList();
@@ -6,7 +6,6 @@ import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumChatFormatting;
import cpw.mods.fml.common.Loader;
import forestry.api.apiculture.IBee;
import forestry.api.apiculture.IBeeHousing;
import forestry.api.apiculture.IBeeModifier;
@@ -15,11 +14,9 @@ import gregtech.api.interfaces.tileentity.IGregTechDeviceInformation;
import gregtech.api.metatileentity.BaseMetaTileEntity;
import gregtech.common.tileentities.machines.basic.GT_MetaTileEntity_IndustrialApiary;
public class TileEntityApiamancersDrainerGT extends TileEntityApiamancersDrainerCommon
public class TileEntityApimancersDrainerGT extends TileEntityApimancersDrainerCommon
implements IGregTechDeviceInformation {
public static boolean isGTLoaded = Loader.isModLoaded("gregtech");
@Override
public boolean isGivingInformation() {
return true;
@@ -35,25 +32,18 @@ public class TileEntityApiamancersDrainerGT extends TileEntityApiamancersDrainer
+ e.getValue())
.collect(Collectors.joining(EnumChatFormatting.RESET + ", " + EnumChatFormatting.RESET));
return new String[] { //
EnumChatFormatting.DARK_PURPLE + "Apiamancer's Drainer" + EnumChatFormatting.RESET, //
aspect != null ? "Attuned: " + aspect.getName() : "Not attuned", //
"Stored Essentia:", //
aspects //
};
return new String[] { EnumChatFormatting.DARK_PURPLE + "Apimancer's Drainer" + EnumChatFormatting.RESET,
aspect != null ? "Attuned: " + aspect.getName() : "Not attuned", "Stored Essentia:", aspects };
}
@Override
protected IBeeHousing beeHousing(TileEntity above) {
IBeeHousing regularCheck = super.beeHousing(above);
if (regularCheck != null) return regularCheck;
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(above);
if (GTMetaTileEntity != null) {
IMetaTileEntity underlyingMetaTileEntity = GTMetaTileEntity.getMetaTileEntity();
if (!(underlyingMetaTileEntity instanceof GT_MetaTileEntity_IndustrialApiary)) return null;
return (IBeeHousing) underlyingMetaTileEntity;
}
@@ -63,7 +53,6 @@ public class TileEntityApiamancersDrainerGT extends TileEntityApiamancersDrainer
@Override
protected boolean canWork(IBeeHousing beeHousing, TileEntity te) {
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(te);
return GTMetaTileEntity != null ? GTMetaTileEntity.isActive() : super.canWork(beeHousing, te);
}
@@ -71,7 +60,6 @@ public class TileEntityApiamancersDrainerGT extends TileEntityApiamancersDrainer
protected ItemStack getQueen(IBeeHousing beeHousing, TileEntity te) {
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(te);
GT_MetaTileEntity_IndustrialApiary industrialApiary = getGTIndustrialApiary(GTMetaTileEntity);
return industrialApiary != null ? industrialApiary.getUsedQueen() : super.getQueen(beeHousing, te);
}
@@ -79,9 +67,7 @@ public class TileEntityApiamancersDrainerGT extends TileEntityApiamancersDrainer
protected int getProductionMultiplier(IBeeModifier modifier, IBee queen, TileEntity te) {
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(te);
GT_MetaTileEntity_IndustrialApiary industrialApiary = getGTIndustrialApiary(GTMetaTileEntity);
int housingProductionMultiplier = super.getProductionMultiplier(modifier, queen, te);
return industrialApiary != null
? housingProductionMultiplier * (int) Math.ceil(Math.sqrt(industrialApiary.mSpeed))
: housingProductionMultiplier;
@@ -89,7 +75,6 @@ public class TileEntityApiamancersDrainerGT extends TileEntityApiamancersDrainer
private BaseMetaTileEntity getGTTileEntity(TileEntity te) {
boolean isGTMetaTileEntity = te instanceof BaseMetaTileEntity;
return isGTMetaTileEntity ? (BaseMetaTileEntity) te : null;
}
@@ -97,7 +82,6 @@ public class TileEntityApiamancersDrainerGT extends TileEntityApiamancersDrainer
if (bmte != null) {
IMetaTileEntity underlyingMetaTileEntity = bmte.getMetaTileEntity();
if (!(underlyingMetaTileEntity instanceof GT_MetaTileEntity_IndustrialApiary)) return null;
return (GT_MetaTileEntity_IndustrialApiary) underlyingMetaTileEntity;
}
return null;
@@ -38,7 +38,7 @@ item.beeRing.name=Collector's Bee Ring
tile.effectJar.name=Bee Collector's Jar
tile.magicApiary.name=Magic Apiary
tile.visAuraProvider.name=Vis Apiary Booster
tile.ApiamancersDrainer.name=Apiamancer's Drainer
tile.apimancersDrainer.name=Apimancer's Drainer
tile.manaAuraProvider.name=Mana Apiary Booster
tile.hive.curious.name=Curious Hive
tile.hive.unusual.name=Unusual Hive
@@ -685,9 +685,9 @@ tc.research_name.MB_VisAuraProvider=Vis Apiary Booster
tc.research_text.MB_VisAuraProvider=Vis? What about Bis?
tc.research_page.MB_VisAuraProvider.1=Infusing Unusual Pollen with vis and combining it with gold creates an unusual crystal that, when fed centivis from an aura node, creates an energizing aura that bees are naturally attracted to when attuned to the environment within a Magic Apiary.<LINE>§3Aqua§0 CV will double mutation rate<BR>§8Perditio§0 CV will halve lifespan<BR>§6Aer§0 CV will double production rate
tc.research_name.MB_ApiamancersDrainer=Apiamancer's Drainer
tc.research_text.MB_ApiamancersDrainer=How long will your queen last?
tc.research_page.MB_ApiamancersDrainer.1=
tc.research_name.MB_ApimancersDrainer=Apimancer's Drainer
tc.research_text.MB_ApimancersDrainer=How long will your queen last?
tc.research_page.MB_ApimancersDrainer.1=The Apimancer's Drainer is an innovative device in the field of Apimancy, designed to extract essentia from the life force of bees. It is placed beneath an apiary, establishing a direct connection with the apiary above.<BR>To determine the type of essentia it produces, the Drainer is attuned by tapping it with the desired essentia.<BR>Once attuned, the Drainer converts the life energy of the queen into the selected essentia...
tc.research_name.MB_ScoopVoid=Void Scoop
tc.research_text.MB_ScoopVoid=The dark net
@@ -296,14 +296,14 @@ magicbees.speciesApatite=Апатитовая
magicbees.speciesApatite.description=День и ночь жужжат. Я забаррикадировал окна и спрятался в подвале, но пронзительный шум апатин пчёл проникал в стены и доводил меня до безумия.|Beekeeping 101
magicbees.speciesMutable=Изменчивая
magicbees.speciesMutable.description=Changeable in nature, mercurial in personality.|Apinomicon
magicbees.speciesMutable.description=Изменчивая по натуре, непостоянная по характеру.|Apinomicon
magicbees.speciesTransmuting=Трансмутирующая
magicbees.speciesTransmuting.description="I could've sworn this was made out of stone yesterday!"|Sengir, Mad Apiarist
magicbees.speciesTransmuting.description="Я мог бы поклясться, что вчера это было сделано из камня!"|Sengir, Mad Apiarist
magicbees.speciesCrumbling=Разрушающая
magicbees.speciesCrumbling.description=They have a corrosive effect on their surroundings, rapidly aging them.|Apinomicon
magicbees.speciesCrumbling.description=Они оказывают разъедающее воздействие на окружающую среду, быстро старея.|Apinomicon
magicbees.speciesInvisible=Невидимая
magicbees.speciesInvisible.description=Easy to miss, their glassy body is difficult to spot in the countryside.|Apinomicon
magicbees.speciesInvisible.description=Их легко не заметить, их стекловидное тело трудно заметить в сельской местности.|Apinomicon
magicbees.speciesTCAir=Аура
magicbees.speciesTCAir.description="Они работают так быстро, что это захватывает дух."|Sengir, Mad Apiarist
@@ -312,7 +312,7 @@ magicbees.speciesTCFire.description=Внимание: содержание ул
magicbees.speciesTCWater=Аква
magicbees.speciesTCWater.description="Я пытался размножить их однажды, но я получил мыло."|MysteriousAges, Apprentice Thaumaturge
magicbees.speciesTCEarth=Солим
magicbees.speciesTCEarth.description="You're really gonna dig these bees, but watch out - they bore quite easily."|MysteriousAges, Apprentice Comedian
magicbees.speciesTCEarth.description="Ты действительно собираешься выкопать этих пчел, но будь осторожен - они довольно легко размножаются".|MysteriousAges, Apprentice Comedian
magicbees.speciesTCOrder=Праекантатио
magicbees.speciesTCOrder.description=Пчеловодство это магия!|Apinomicon, Preface
magicbees.speciesTCChaos=Абсолютные
@@ -326,7 +326,7 @@ magicbees.speciesTCFlux.description="Я думал, что они помогут
magicbees.speciesTCAttractive=Привлекательные
magicbees.speciesTCAttractive.description=Претерпев странную мутацию, эти пчёлы в настоящее время привлекают магию к себе.|Apinomicon
magicbees.speciesTCRejuvenating=Rejuvenating
magicbees.speciesTCRejuvenating.description=The hum of the hive is magical, and over time is absorbed by nearby nodes.|Apinomicon
magicbees.speciesTCRejuvenating.description=Гул улья волшебный, и со временем он поглощается близлежащими узлами.|Apinomicon
magicbees.speciesTCBrainy=Умные
magicbees.speciesTCBrainy.description=Их соты могут быть вонючими и плохо пахнуть, но их интеллект хорошо развит.|Apinomicon
magicbees.speciesTCWispy=Виспи
@@ -341,40 +341,40 @@ magicbees.speciesTCPork=Свиные
magicbees.speciesTCPork.description="Хрю, хрю. Эм.... бззз?"|Confused bee
magicbees.speciesEEMinium=Алхимические
magicbees.speciesEEMinium.description=Это может быть возможным, чтобы воспользоваться их ртутной и изменчивой природой.|Apinomicon
magicbees.speciesAMEssence=Essence
magicbees.speciesAMEssence.description=Drawing from motes of dust in the air and ground, they concentrate the energy
magicbees.speciesAMQuintessence=Quintessential
magicbees.speciesAMQuintessence.description=The heart of magic lies dormant in all things.|Apinomicon, preface
magicbees.speciesAMEssence=Эссенция
magicbees.speciesAMEssence.description=Извлекая энергию из пылинок в воздухе и на земле, они концентрируют энергию
magicbees.speciesAMQuintessence=Квинтэссенция
magicbees.speciesAMQuintessence.description=Сердце магии дремлет во всех вещах.|Apinomicon, preface
magicbees.speciesAMEarth=Erde
magicbees.speciesAMEarth.description=Empowered by the Earth, their produce is infused with its essence.|Apinomicon
magicbees.speciesAMEarth.description=Наделенные силой Земли, их продукты пропитаны ее сущностью.|Apinomicon
magicbees.speciesAMAir=Luft
magicbees.speciesAMAir.description=Swift as the wind, and lighter than air.|Apinomicon
magicbees.speciesAMAir.description=Быстрые, как ветер, и легче воздуха.|Apinomicon
magicbees.speciesAMFire=Feuer
magicbees.speciesAMFire.description=Their colony can reach temperatures that boil water and melt metals.|Apinomicon
magicbees.speciesAMFire.description=Их колония может достигать температур, при которых кипит вода и плавятся металлы.|Apinomicon
magicbees.speciesAMWater=Wasser
magicbees.speciesAMWater.description=Through prolonged exposure to liquids, their combs are quite wet and heavy.|Apinomicon
magicbees.speciesAMWater.description=Из-за длительного воздействия жидкостей их гребни становятся довольно влажными и тяжелыми.|Apinomicon
magicbees.speciesAMLightning=Blitz
magicbees.speciesAMLightning.description=They can travel vast distances in a blink, and are known for starting many wildfires.|Apinomicon
magicbees.speciesAMLightning.description=Они могут преодолевать огромные расстояния в мгновение ока и известны тем, что устраивают множество лесных пожаров.|Apinomicon
magicbees.speciesAMPlant=Staude
magicbees.speciesAMPlant.description=They have an affinity for all that is green and grows.|Apinomicon
magicbees.speciesAMPlant.description=Они питают слабость ко всему зеленому и растущему.|Apinomicon
magicbees.speciesAMIce=Eis
magicbees.speciesAMIce.description="They keep stealing stuff from me, and I never see them. They're far too slippery."|MysteriousAges, incorrigible punster
magicbees.speciesAMIce.description="Они продолжают красть у меня вещи, и я никогда их не вижу. Они слишком скользкие".|MysteriousAges, incorrigible punster
magicbees.speciesAMMagma=Magma
magicbees.speciesAMMagma.description=As they fly by, they sear the surface of the landscape, eventually scouring all plants and fragile minerals away.|Apinomicon
magicbees.speciesAMMagma.description=Пролетая мимо, они опаляют поверхность ландшафта, в конечном итоге уничтожая все растения и хрупкие минералы.|Apinomicon
magicbees.speciesAMArcane=Arkanen
magicbees.speciesAMArcane.description="Curious creatures, though their produce is quite useful."|Mithion, Adept
magicbees.speciesAMArcane.description="Любопытные существа, хотя их продукция довольно полезна".|Mithion, Adept
magicbees.speciesAMVortex=Вихревые
magicbees.speciesAMVortex.description=Ненасытны маной, они могут быть опасны для любого заклинателя.|Apinomicon
magicbees.speciesAMWight=Wight
magicbees.speciesAMWight.description="They attract magical spirits; not always docile."|Mithion, Adept
magicbees.speciesAMWight.description=Они привлекают волшебных духов; не всегда послушны".|Mithion, Adept
magicbees.speciesTEBlizzy=Blizzy
magicbees.speciesTEBlizzy.description=Frigid and cold, like miniature snowmen.|Apinomicon
magicbees.speciesTEBlizzy.description=Холодные, как миниатюрные снеговики.|Apinomicon
magicbees.speciesTEGelid=Gelid
magicbees.speciesTEGelid.description=Liquid coolant producers.|Apinomicon
magicbees.speciesTEGelid.description=Производители жидких охлаждающих жидкостей.|Apinomicon
magicbees.speciesTEDante=Dante
magicbees.speciesTEDante.description=Mixing bees in an inferno produces surprising results.|Apinomicon
magicbees.speciesTEDante.description=Смешивание пчел в аду дает удивительные результаты.|Apinomicon
magicbees.speciesTEPyro=Pyro
magicbees.speciesTEPyro.description=You Monster.|Everyone, to you.
magicbees.speciesTEPyro.description=Ты монстр.|Everyone, to you.
magicbees.speciesTEElectrum=Electrum
magicbees.speciesTEElectrum.description=...|Apinomicon
magicbees.speciesTEPlatinum=Platinum
@@ -388,9 +388,9 @@ magicbees.speciesTEBronze.description=...|Apinomicon
magicbees.speciesTECoal=Carbon
magicbees.speciesTECoal.description=...|Apinomicon
magicbees.speciesTEDestabilized=Destabilized
magicbees.speciesTEDestabilized.description=These bees started out unstable; they didn't get better with time.|Apinomicon
magicbees.speciesTEDestabilized.description=Эти пчелы изначально были нестабильными; со временем они не становились лучше.|Apinomicon
magicbees.speciesTELux=Lux
magicbees.speciesTELux.description=Let there be light...|Apinomicon
magicbees.speciesTELux.description=Да будет свет...|Apinomicon
magicbees.speciesTEWinsome=Winsome
magicbees.speciesTEWinsome.description=....|Apinomicon
magicbees.speciesTEEndearing=Endearing
@@ -454,7 +454,7 @@ classification.metallic.description=Они собирают фрагменты
classification.gem=Жемчужные
classification.gem.description=Они собирают фрагменты драгоценных камней в их сотах.|Apinomicon
classification.transmuting=Polymorphic
classification.transmuting.description=Reality seems to be somewhat volatile around bees of this family.|Apinomicon
classification.transmuting.description=Реальность, по-видимому, несколько изменчива в отношении пчел этого семейства.|Apinomicon
classification.thaumic=Таумические
classification.thaumic.description=Эти пчёлы имеют повышенную близость к магии и ауре.|Apinomicon
classification.fleshy=Мясистые
@@ -465,57 +465,57 @@ classification.essential=Ценные
classification.essential.description=Эти пчёлы имеют повышенную близость к аспектированной магии.|Apinomicon
tc.aspect.tempus=Time, Moment, Eternity
tc.research_category.MAGICBEES=Apimancy
tc.research_category.MAGICBEES=Магия пчеловодства
tc.research_name.MB_Root=Apimancy
tc.research_text.MB_Root=[MB] Adding some sparkle to your buzz.
tc.research_page.MB_Root.1=Welcome to Apimancy! As a budding keeper of magical bees, there are a few things you should know before diving in. As your acceptance letter to the Academy of Austere Apimancers has mentioned, there are several new tools available to discover. These include some improved versions of Forestry tools, each with their own particular quirks and new frames for your apiaries. <LINE> You may also discover that there are new bee strains available to discover, if you can coax them to live in certain conditions. The Forestry Escritoire will help you discover them and become the envy
tc.research_page.MB_Root.2=of your former, nonmagical colleagues. Also take note of the several new strains of wild bees that have appeared: these are the key to progressing into the magical lineages of your small winged charges.
tc.research_name.MB_Root=Магия пчеловодства
tc.research_text.MB_Root=[MB] Добавим немного блеска вашему кайфу.
tc.research_page.MB_Root.1=Добро пожаловать в Магия пчеловодства! Как начинающему хранителю волшебных пчел, есть несколько вещей, которые вы должны знать, прежде чем погрузиться в работу. Как упоминалось в вашем письме о приеме в Академию Суровых Пчеловодов, вам доступно несколько новых инструментов. К ним относятся несколько улучшенных версий инструментов для лесного хозяйства, каждая со своими особенностями, и новые рамки для ваших пасек. <LINE> Вы также можете обнаружить, что существуют новые штаммы пчел, которые можно обнаружить, если вам удастся уговорить их жить в определенных условиях. Секретер лесного хозяйства поможет вам обнаружить их и стать предметом зависти
tc.research_page.MB_Root.2=ваших бывших, не магических коллег. Также обратите внимание на несколько появившихся новых штаммов диких пчел: они являются ключом к развитию волшебных линий ваших маленьких крылатых подопечных.
tc.research_name.MB_LoreFragment=Фрагменты знаний
tc.research_text.MB_LoreFragment=[MB] Исследование? Скорее всего пчелиное исследование!
tc.research_page.MB_LoreFragment.1=While experimenting with bee breeds, you may run accross a strain whose intellectual capabilities are a match for your own. Well, maybe, however unlikely that is. It's possible that they may unearth some obscure reference or a snippet of information that your great intellect may have missed while exploiting the greater mysteries of the universe. <BR> Should your helpful buzzing friends happen to locate this sort of item for you, it may be possible to combine the scraps together into something a little more cohesive.
tc.research_page.MB_LoreFragment.1=Экспериментируя с породами пчел, вы можете наткнуться на штамм, интеллектуальные способности которого соответствуют вашим собственным. Что ж, возможно, как бы маловероятно это ни было. Вполне возможно, что они раскопают какую-нибудь неясную ссылку или фрагмент информации, которые ваш великий интеллект, возможно, упустил, исследуя великие тайны Вселенной. <BR> Если вашим услужливым жужжащим друзьям посчастливится найти для вас что-нибудь подобное, возможно, удастся объединить обрезки в нечто более цельное.
tc.research_name.MB_FrameMagic=Магическая рамка
tc.research_text.MB_FrameMagic=[MB] Появление магии в контекстах пчеловодства
tc.research_page.MB_FrameMagic.1=The Magic Frame is a simple improvement over your regular, run-of-the-mill Untreated Frames. Still fairly simple to produce, it is capable of lasting three times longer in an apiary than Untreated Frames before becoming unuseable. The enchantable properties of the Magic Frame enable it to be used with several of the special essences involved in Apimancy where other frames would reject the infusion of magics.
tc.research_page.MB_FrameMagic.1=Волшебная рамка - это простое усовершенствование по сравнению с обычными необработанными рамками. Несмотря на то, что она довольно проста в изготовлении, она способна прослужить на пасеке в три раза дольше, чем необработанные рамки, прежде чем придет в негодность. Зачаровывающие свойства Магической рамки позволяют использовать ее с несколькими особыми эссенциями, используемыми в Магии пчеловодства, там, где другие рамки отвергли бы вливание магии.
tc.research_name.MB_Scoop=Таумический сачок
tc.research_text.MB_Scoop=[MB] Используйте с осторожностью.
tc.research_page.MB_Scoop.1=Normal scoops are fragile, and prone to breakage. As an authority in Apimancy, you can do better. By adding some Thaumium to the handle, and lacing it with a measure of order, your new scoop will last up to three times longer! <BR> In addition, the Thaumium in the device will accept the Repair enchantment.
tc.research_page.MB_Scoop.1=Обычные сачки хрупкие и склонны к поломке. Как специалист по Магии пчеловедения, вы можете сделать лучше. Если добавить немного таумия в ручку и аккуратно зашнуровать ее, ваш новый сачок прослужит в три раза дольше! <BR> Кроме того, таумий в устройстве примет восстанавливающее заклинание.
tc.research_name.MB_Grafter=Таумический садовый нож
tc.research_text.MB_Grafter=[MB] Саженцы для каждого случая.
tc.research_page.MB_Grafter.1=Simple grafters are almost uselessly fragile, and while Proven Grafters are useful, the rarity of emeralds makes them annoying to procure. The solution? Make it yourself! <BR> The Thaumium Grafter, like the Thaumium Scoop, is a tougher, enchantable version of the most basic of the Arborimancer's tools. Use caution though, for although the Repair enchantment can be applied to the grafter, its unusual properties make it exhausting to use.
tc.research_page.MB_Grafter.1=Простой садовый нож почти бесполезно хрупок, и, хотя проверенные садовые ножи полезны, редкость садовый ножей затрудняет их приобретение. Решение? Сделай это сам! <BR> Таумический садовый нож, как и таумический сачок, представляет собой более жесткую, зачаровываемую версию самого простого из инструментов лесовода. Однако будьте осторожны, поскольку, хотя восстанавливающее заклинание может быть применено к прививщику, его необычные свойства делают его использование утомительным.
tc.research_name.MB_EssenceLife=Эссенция ложной жизни
tc.research_text.MB_EssenceLife=[MB] Роза с другим названием. . .
tc.research_page.MB_EssenceLife.1=Simple to create by means of magic, this essence has unusual properties when exposed to bees. When combined with an everyday apiary frame, it has the effect of greatly extending the lifespan of a working hive.
tc.research_page.MB_EssenceLife.1=Простая в приготовлении с помощью магии, эта эссенция обладает необычными свойствами при воздействии на пчел. В сочетании с обычной рамкой для пасеки она значительно продлевает срок службы рабочего улья.
tc.research_name.MB_EssenceDeath=Эссенция неглубокой могилы
tc.research_text.MB_EssenceDeath=[MB] Не совсем шесть футов под килем.
tc.reseacrh_page.MB_EssenceDeath.1=The Essence of a Shallow Grave channels the death of many of the ... "natural" creatures that wander the world: Zombies, Skeletons, those sorts of things. Exposing bees to this energy has the effect of making them slow and sluggish, and curtails the extent of their lifespan. Some Apimancers consider using frames imbued with these Essences to be cruel, however, others view it as a natrual part of normal beekeeping, with an eye to creating their perfect strain of bees sometime within THEIR lifetime. <BR> The Apimancer's Guild of Safety recommends handling them with telekenisis or very long tongs.
tc.reseacrh_page.MB_EssenceDeath.1=Эссенция неглубокой могилы приводит к смерти... "естественных" мобов, которые бродят по миру: зомби, скелеты и тому подобное. Воздействие этой энергии на пчел приводит к тому, что они становятся медлительными и неповоротливыми и сокращает продолжительность их жизни. Некоторые Маги пчеловодства считают использование рамок, пропитанных этими эссенциями, жестоким, однако другие рассматривают это как естественную часть обычного пчеловодства с прицелом на создание своего идеального сорта пчел когда-нибудь в течение ИХ жизни. <BR> Гильдия по безопасности Магического пчеловодства рекомендует обращаться с ними телекинезом или очень длинными щипцами.
tc.research_name.MB_EssenceArmor=Эссенция вечной прочности
tc.research_text.MB_EssenceArmor=[MB] Резина для Вашего клея
tc.research_page.MB_EssenceArmor.1=This is the distilled essence of protection, bound to last forever, or until the magics stored within it weaken and eventually break. But until then, it's invincible. Mostly. <BR> While Magic Frames are useful, they are a tad fragile. This essence takes the enchantments you weave into Magic frames to an entirely new level. Combine the essence with a magic frame, and it should have a vastly extended lifespan.
tc.research_page.MB_EssenceArmor.1=Это дистиллированная эссенция защиты, которая должна длиться вечно или до тех пор, пока хранящаяся в ней магия не ослабнет и, в конечном счете, не сломается. Но до тех пор она неуязвима. В основном. <BR> Хотя волшебные рамки полезны, они немного хрупкие. Эта эссенция выводит чары, которые вы вплетаете в магические рамки, на совершенно новый уровень. Соедините эссенцию с магической рамкой, и срок ее службы значительно увеличится.
tc.research_name.MB_EssenceUnstable=Эссенция изменчивого постоянства
tc.research_text.MB_EssenceUnstable=[MB] Гарантированная неуверенность
tc.research_page.MB_EssenceUnstable.1=Unstable by nature, the Essence of Fickle Permanence has the side effect of causing normally stable objects and systems to become somewhat unreliable. While this may mostly be a bad thing, Apimancers have discovered that exposing a hive to the essence has the duel effects of both causing the bees to work faster, and the offspring to have higher mutation rates.
tc.research_page.MB_EssenceUnstable.1=Нестабильная по своей природе эссенция Изменчивого постоянства имеет побочный эффект, заключающийся в том, что обычно стабильные объекты и системы становятся несколько ненадежными. Хотя в основном это может быть плохо, Маги пчеловодства обнаружили, что воздействие эссенции на улей имеет противоположный эффект: пчелы работают быстрее, а у потомства повышается частота мутаций.
tc.research_name.MB_EssenceTime=Эссенция утраченного времени
tc.research_text.MB_EssenceTime=[MB] No time like the unmoment
tc.research_page.MB_EssenceTime.1=Time is a fickle thing. It comes and it goes, but where exactly does it go to? As a respectable thaumaturge, it has become possible to trap these wasted moments and save them in a magical form. So, now that it is possible to collect extra time from the world, it seems only appropriate that they are used in a place that would be useful. It would be too dangerous to attempt to access these moments yourself for the moment, but perhaps it would be simple to allow your bees access to this untapped lump of time. <BR> By combining the essence with a Magic Frame as usual will suffice to extend the lifespan of bees in your keeping by several times.
tc.research_text.MB_EssenceTime=[MB] Нет времени лучше, чем безработица
tc.research_page.MB_EssenceTime.1=Время - непостоянная вещь. Оно приходит и уходит, но куда именно оно уходит? Как у уважаемого тауматурга, стало возможным улавливать эти потраченные впустую моменты и сохранять их в магической форме. Итак, теперь, когда можно собирать дополнительное время в мире, кажется уместным использовать его там, где это было бы полезно. Было бы слишком опасно пытаться получить доступ к этим моментам самостоятельно в данный момент, но, возможно, было бы просто предоставить вашим пчелам доступ к этому неиспользованному кусочку времени. <BR> Обычного сочетания эссенции с волшебной рамкой будет достаточно, чтобы продлить продолжительность жизни пчел в вашем хозяйстве в несколько раз.
tc.research_name.MB_DimensionalSingularity=Пространственная сингулярность
tc.research_text.MB_DimensionalSingularity=[MB] Quantum flux for them, unlimited storage for you
tc.research_page.MB_DimensionalSingularity.1=While it may appear similar to the Portable Hole, it serves as a two-way link with another place, which is... probably uninhabited. It should be possible to utilize these singularities to store materials outside of your dimensional understanding - which of course means that they won't clutter up your inventory. As they are now, they are not particularly useful, but there should be ways to unlock their potential.
tc.research_text.MB_DimensionalSingularity=[MB] Квантовый поток для них, неограниченное хранилище для вас
tc.research_page.MB_DimensionalSingularity.1=Хотя это может показаться похожим на Переносную дыру, оно служит двусторонней связью с другим местом, которое... вероятно, необитаемо. Должно быть возможно использовать эти особенности для хранения материалов за пределами вашего понимания измерений - что, конечно, означает, что они не будут загромождать ваш инвентарь. В нынешнем виде они не особенно полезны, но должны быть способы раскрыть их потенциал.
tc.research_name.MB_EssenceOblivion=Эссенция бесконечного равнодушия
tc.research_text.MB_EssenceOblivion=[MB] Cast aside with malice
tc.research_page.MB_EssenceOblivion.1=Breeding bees for mutations can be aggrivating, especially whith long-lived species. With a little cleverness and only the slightest hint of smugness, you have found a way to utilize the Dimensional Singularity in a manner that only sucks away the life force of your tiny flying friends, bit by bit. Well, maybe significant amounts all at once. It's probably not going to affect them too badly. <BR> It may be somewhat tricky to obtain more than one of the §5Dragon Eggs§0 nessecary to obtain more than one of these. Perhaps there is a bee species that can assist with the limitation.
tc.research_text.MB_EssenceOblivion=[MB] Отброшенный со злобой
tc.research_page.MB_EssenceOblivion.1=Разведение пчел для мутаций может быть агрессивным, особенно для долгоживущих видов. Проявив немного сообразительности и лишь малейший намек на самодовольство, вы нашли способ использовать Пространственную сингулярность таким образом, который только высасывает жизненную силу ваших крошечных летающих друзей, понемногу. Ну, может быть, значительные количества сразу. Вероятно, это не повлияет на них слишком сильно. <BR> Возможно, будет несколько сложно получить более одного из §5драконьих яиц§0 необходимо получить более одного из них. Возможно, есть вид пчел, который может помочь с этим ограничением.
for.bees.custom.drone.magicbees.speciesMystical=Мистический трутень
for.bees.custom.beealyzer.drone.magicbees.speciesMystical=Мистический
@@ -641,4 +641,4 @@ for.bees.custom.drone.magicbees.speciesCrumbling=Разрушающий трут
for.bees.custom.beealyzer.drone.magicbees.speciesCrumbling=Разрушающий
for.bees.custom.drone.magicbees.speciesInvisible=Невидимый трутень
for.bees.custom.beealyzer.drone.magicbees.speciesInvisible=Невидимый
for.bees.custom.beealyzer.drone.magicbees.speciesInvisible=Невидимый
File renamed without changes.

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 348 B

File renamed without changes.

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 348 B

File renamed without changes.

Before

Width:  |  Height:  |  Size: 378 B

After

Width:  |  Height:  |  Size: 378 B