diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fd2792b --- /dev/null +++ b/.gitattributes @@ -0,0 +1,44 @@ +* text eol=lf + +*.[jJ][aA][rR] binary + +*.[pP][nN][gG] binary +*.[jJ][pP][gG] binary +*.[jJ][pP][eE][gG] binary +*.[gG][iI][fF] binary +*.[tT][iI][fF] binary +*.[tT][iI][fF][fF] binary +*.[iI][cC][oO] binary +*.[sS][vV][gG] text +*.[eE][pP][sS] binary +*.[xX][cC][fF] binary + +*.[kK][aA][rR] binary +*.[mM]4[aA] binary +*.[mM][iI][dD] binary +*.[mM][iI][dD][iI] binary +*.[mM][pP]3 binary +*.[oO][gG][gG] binary +*.[rR][aA] binary + +*.7[zZ] binary +*.[gG][zZ] binary +*.[tT][aA][rR] binary +*.[tT][gG][zZ] binary +*.[zZ][iI][pP] binary + +*.[tT][cC][nN] binary +*.[sS][oO] binary +*.[dD][lL][lL] binary +*.[dD][yY][lL][iI][bB] binary +*.[pP][sS][dD] binary +*.[tT][tT][fF] binary +*.[oO][tT][fF] binary + +*.[pP][aA][tT][cC][hH] -text + +*.[bB][aA][tT] text eol=crlf +*.[cC][mM][dD] text eol=crlf +*.[pP][sS]1 text eol=crlf + +*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary diff --git a/build.gradle b/build.gradle index d90db12..a8c4424 100644 --- a/build.gradle +++ b/build.gradle @@ -1,25 +1,40 @@ -//version: 1646409286 +//version: 1665425597 /* -DO NOT CHANGE THIS FILE! - -Also, you may replace this file at any time if there is an update available. -Please check https://github.com/GTNewHorizons/ExampleMod1.7.10/blob/main/build.gradle for updates. -*/ + DO NOT CHANGE THIS FILE! + Also, you may replace this file at any time if there is an update available. + Please check https://github.com/GTNewHorizons/ExampleMod1.7.10/blob/main/build.gradle for updates. + */ import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar +import com.matthewprenger.cursegradle.CurseArtifact +import com.matthewprenger.cursegradle.CurseRelation +import com.modrinth.minotaur.dependencies.ModDependency +import com.modrinth.minotaur.dependencies.VersionDependency import org.gradle.internal.logging.text.StyledTextOutput.Style import org.gradle.internal.logging.text.StyledTextOutputFactory +import java.nio.file.Files +import java.nio.file.Paths import java.util.concurrent.TimeUnit +import java.util.zip.ZipEntry +import java.util.zip.ZipInputStream +import java.util.zip.ZipOutputStream buildscript { repositories { + mavenCentral() + maven { name 'forge' url 'https://maven.minecraftforge.net' } + maven { + // GTNH ForgeGradle Fork + name = "GTNH Maven" + url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/" + } maven { name 'sonatype' url 'https://oss.sonatype.org/content/repositories/snapshots/' @@ -28,30 +43,39 @@ buildscript { name 'Scala CI dependencies' url 'https://repo1.maven.org/maven2/' } - maven { - name 'jitpack' - url 'https://jitpack.io' - } } dependencies { - classpath 'com.github.GTNewHorizons:ForgeGradle:1.2.7' + classpath 'net.minecraftforge.gradle:ForgeGradle:1.2.9' } } - plugins { id 'java-library' id 'idea' id 'eclipse' id 'scala' id 'maven-publish' - id 'org.jetbrains.kotlin.jvm' version '1.5.30' apply false - id 'org.jetbrains.kotlin.kapt' version '1.5.30' apply false - id 'org.ajoberstar.grgit' version '4.1.1' + id 'org.jetbrains.kotlin.jvm' version '1.5.30' apply false + id 'org.jetbrains.kotlin.kapt' version '1.5.30' apply false + id 'com.google.devtools.ksp' version '1.5.30-1.0.0' apply false + id 'org.ajoberstar.grgit' version '4.1.1' id 'com.github.johnrengelman.shadow' version '4.0.4' - id 'com.palantir.git-version' version '0.13.0' apply false - id 'de.undercouch.download' version '5.0.1' - id 'com.github.gmazzo.buildconfig' version '3.0.3' apply false + id 'com.palantir.git-version' version '0.13.0' apply false + id 'de.undercouch.download' version '5.0.1' + id 'com.github.gmazzo.buildconfig' version '3.0.3' apply false + id 'com.diffplug.spotless' version '6.7.2' apply false + id 'com.modrinth.minotaur' version '2.+' apply false + id 'com.matthewprenger.cursegradle' version '1.4.0' apply false } +boolean settingsupdated = verifySettingsGradle() +settingsupdated = verifyGitAttributes() || settingsupdated +if (settingsupdated) + throw new GradleException("Settings has been updated, please re-run task.") + +dependencies { + implementation 'com.diffplug:blowdryer:1.6.0' +} + +apply plugin: 'com.diffplug.blowdryer' if (project.file('.git/HEAD').isFile()) { apply plugin: 'com.palantir.git-version' @@ -77,7 +101,14 @@ idea { } } -if(JavaVersion.current() != JavaVersion.VERSION_1_8) { +boolean disableSpotless = project.hasProperty("disableSpotless") ? project.disableSpotless.toBoolean() : false + +if (!disableSpotless) { + apply plugin: 'com.diffplug.spotless' + apply from: Blowdryer.file('spotless.gradle') +} + +if (JavaVersion.current() != JavaVersion.VERSION_1_8) { throw new GradleException("This project requires Java 8, but it's running on " + JavaVersion.current()) } @@ -102,8 +133,15 @@ checkPropertyExists("containsMixinsAndOrCoreModOnly") checkPropertyExists("usesShadowedDependencies") checkPropertyExists("developmentEnvironmentUserName") -boolean noPublishedSources = project.findProperty("noPublishedSources") ? project.noPublishedSources.toBoolean() : false -boolean usesMixinDebug = project.findProperty('usesMixinDebug') ?: project.usesMixins.toBoolean() +propertyDefaultIfUnset("noPublishedSources", false) +propertyDefaultIfUnset("usesMixinDebug", project.usesMixins) +propertyDefaultIfUnset("forceEnableMixins", false) +propertyDefaultIfUnset("channel", "stable") +propertyDefaultIfUnset("mappingsVersion", "12") +propertyDefaultIfUnset("modrinthProjectId", "") +propertyDefaultIfUnset("modrinthRelations", "") +propertyDefaultIfUnset("curseForgeProjectId", "") +propertyDefaultIfUnset("curseForgeRelations", "") String javaSourceDir = "src/main/java/" String scalaSourceDir = "src/main/scala/" @@ -112,53 +150,53 @@ String kotlinSourceDir = "src/main/kotlin/" String targetPackageJava = javaSourceDir + modGroup.toString().replaceAll("\\.", "/") String targetPackageScala = scalaSourceDir + modGroup.toString().replaceAll("\\.", "/") String targetPackageKotlin = kotlinSourceDir + modGroup.toString().replaceAll("\\.", "/") -if(!(getFile(targetPackageJava).exists() || getFile(targetPackageScala).exists() || getFile(targetPackageKotlin).exists())) { +if (!(getFile(targetPackageJava).exists() || getFile(targetPackageScala).exists() || getFile(targetPackageKotlin).exists())) { throw new GradleException("Could not resolve \"modGroup\"! Could not find " + targetPackageJava + " or " + targetPackageScala + " or " + targetPackageKotlin) } -if(apiPackage) { +if (apiPackage) { targetPackageJava = javaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString().replaceAll("\\.", "/") targetPackageScala = scalaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString().replaceAll("\\.", "/") targetPackageKotlin = kotlinSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString().replaceAll("\\.", "/") - if(!(getFile(targetPackageJava).exists() || getFile(targetPackageScala).exists() || getFile(targetPackageKotlin).exists())) { + if (!(getFile(targetPackageJava).exists() || getFile(targetPackageScala).exists() || getFile(targetPackageKotlin).exists())) { throw new GradleException("Could not resolve \"apiPackage\"! Could not find " + targetPackageJava + " or " + targetPackageScala + " or " + targetPackageKotlin) } } -if(accessTransformersFile) { +if (accessTransformersFile) { String targetFile = "src/main/resources/META-INF/" + accessTransformersFile - if(!getFile(targetFile).exists()) { + if (!getFile(targetFile).exists()) { throw new GradleException("Could not resolve \"accessTransformersFile\"! Could not find " + targetFile) } } -if(usesMixins.toBoolean()) { - if(mixinsPackage.isEmpty() || mixinPlugin.isEmpty()) { +if (usesMixins.toBoolean()) { + if (mixinsPackage.isEmpty() || mixinPlugin.isEmpty()) { throw new GradleException("\"mixinPlugin\" requires \"mixinsPackage\" and \"mixinPlugin\" to be set!") } targetPackageJava = javaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + mixinsPackage.toString().replaceAll("\\.", "/") targetPackageScala = scalaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + mixinsPackage.toString().replaceAll("\\.", "/") targetPackageKotlin = kotlinSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + mixinsPackage.toString().replaceAll("\\.", "/") - if(!(getFile(targetPackageJava).exists() || getFile(targetPackageScala).exists() || getFile(targetPackageKotlin).exists())) { - throw new GradleException("Could not resolve \"mixinsPackage\"! Could not find " + targetPackageJava + " or " + targetPackageScala + " or " + targetPackageKotlin) + if (!(getFile(targetPackageJava).exists() || getFile(targetPackageScala).exists() || getFile(targetPackageKotlin).exists())) { + throw new GradleException("Could not resolve \"mixinsPackage\"! Could not find " + targetPackageJava + " or " + targetPackageScala + " or " + targetPackageKotlin) } String targetFileJava = javaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + mixinPlugin.toString().replaceAll("\\.", "/") + ".java" String targetFileScala = scalaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + mixinPlugin.toString().replaceAll("\\.", "/") + ".scala" String targetFileScalaJava = scalaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + mixinPlugin.toString().replaceAll("\\.", "/") + ".java" String targetFileKotlin = kotlinSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + mixinPlugin.toString().replaceAll("\\.", "/") + ".kt" - if(!(getFile(targetFileJava).exists() || getFile(targetFileScala).exists() || getFile(targetFileScalaJava).exists() || getFile(targetFileKotlin).exists())) { + if (!(getFile(targetFileJava).exists() || getFile(targetFileScala).exists() || getFile(targetFileScalaJava).exists() || getFile(targetFileKotlin).exists())) { throw new GradleException("Could not resolve \"mixinPlugin\"! Could not find " + targetFileJava + " or " + targetFileScala + " or " + targetFileScalaJava + " or " + targetFileKotlin) } } -if(coreModClass) { +if (coreModClass) { String targetFileJava = javaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + coreModClass.toString().replaceAll("\\.", "/") + ".java" String targetFileScala = scalaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + coreModClass.toString().replaceAll("\\.", "/") + ".scala" String targetFileScalaJava = scalaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + coreModClass.toString().replaceAll("\\.", "/") + ".java" String targetFileKotlin = kotlinSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + coreModClass.toString().replaceAll("\\.", "/") + ".kt" - if(!(getFile(targetFileJava).exists() || getFile(targetFileScala).exists() || getFile(targetFileScalaJava).exists() || getFile(targetFileKotlin).exists())) { + if (!(getFile(targetFileJava).exists() || getFile(targetFileScala).exists() || getFile(targetFileScalaJava).exists() || getFile(targetFileKotlin).exists())) { throw new GradleException("Could not resolve \"coreModClass\"! Could not find " + targetFileJava + " or " + targetFileScala + " or " + targetFileScalaJava + " or " + targetFileKotlin) } } @@ -188,7 +226,7 @@ try { catch (Exception ignored) { out.style(Style.Failure).text( 'This mod must be version controlled by Git AND the repository must provide at least one tag,\n' + - 'or the VERSION override must be set! ').style(Style.SuccessHeader).text('(Do NOT download from GitHub using the ZIP option, instead\n' + + 'or the VERSION override must be set! ').style(Style.SuccessHeader).text('(Do NOT download from GitHub using the ZIP option, instead\n' + 'clone the repository, see ').style(Style.Info).text('https://gtnh.miraheze.org/wiki/Development').style(Style.SuccessHeader).println(' for details.)' ) versionOverride = 'NO-GIT-TAG-SET' @@ -199,22 +237,21 @@ ext { modVersion = identifiedVersion } -if(identifiedVersion == versionOverride) { +if (identifiedVersion == versionOverride) { out.style(Style.Failure).text('Override version to ').style(Style.Identifier).text(modVersion).style(Style.Failure).println('!\7') } group = modGroup -if(project.hasProperty("customArchiveBaseName") && customArchiveBaseName) { +if (project.hasProperty("customArchiveBaseName") && customArchiveBaseName) { archivesBaseName = customArchiveBaseName -} -else { +} else { archivesBaseName = modId } def arguments = [] def jvmArguments = [] -if (usesMixins.toBoolean()) { +if (usesMixins.toBoolean() || forceEnableMixins) { arguments += [ "--tweakClass org.spongepowered.asm.launch.MixinTweaker" ] @@ -233,16 +270,16 @@ minecraft { if (replaceGradleTokenInFile) { replaceIn replaceGradleTokenInFile - if(gradleTokenModId) { + if (gradleTokenModId) { replace gradleTokenModId, modId } - if(gradleTokenModName) { + if (gradleTokenModName) { replace gradleTokenModName, modName } - if(gradleTokenVersion) { + if (gradleTokenVersion) { replace gradleTokenVersion, modVersion } - if(gradleTokenGroupName) { + if (gradleTokenGroupName) { replace gradleTokenGroupName, modGroup } } @@ -251,7 +288,7 @@ minecraft { args(arguments) jvmArgs(jvmArguments) - if(developmentEnvironmentUserName) { + if (developmentEnvironmentUserName) { args("--username", developmentEnvironmentUserName) } } @@ -262,7 +299,7 @@ minecraft { } } -if(file('addon.gradle').exists()) { +if (file('addon.gradle').exists()) { apply from: 'addon.gradle' } @@ -279,7 +316,7 @@ repositories { name 'Overmind forge repo mirror' url 'https://gregtech.overminddl1.com/' } - if(usesMixins.toBoolean()) { + if (usesMixins.toBoolean() || forceEnableMixins) { maven { name 'sponge' url 'https://repo.spongepowered.org/repository/maven-public' @@ -291,11 +328,13 @@ repositories { } dependencies { - if(usesMixins.toBoolean()) { + if (usesMixins.toBoolean()) { annotationProcessor('org.ow2.asm:asm-debug-all:5.0.3') annotationProcessor('com.google.guava:guava:24.1.1-jre') annotationProcessor('com.google.code.gson:gson:2.8.6') annotationProcessor('org.spongepowered:mixin:0.8-SNAPSHOT') + } + if (usesMixins.toBoolean() || forceEnableMixins) { // using 0.8 to workaround a issue in 0.7 which fails mixin application compile('com.github.GTNewHorizons:SpongePoweredMixin:0.7.12-GTNH') { // Mixin includes a lot of dependencies that are too up-to-date @@ -353,7 +392,10 @@ shadowJar { } minimize() // This will only allow shading for actually used classes - configurations = [project.configurations.shadowImplementation, project.configurations.shadowCompile] + configurations = [ + project.configurations.shadowImplementation, + project.configurations.shadowCompile + ] dependsOn(relocateShadowJar) } @@ -368,38 +410,38 @@ jar { attributes(getManifestAttributes()) } - if(usesShadowedDependencies.toBoolean()) { + if (usesShadowedDependencies.toBoolean()) { dependsOn(shadowJar) enabled = false } } reobf { - if(usesMixins.toBoolean()) { + if (usesMixins.toBoolean()) { addExtraSrgFile mixinSrg } } afterEvaluate { - if(usesMixins.toBoolean()) { + if (usesMixins.toBoolean()) { tasks.compileJava { options.compilerArgs += [ - "-AreobfSrgFile=${tasks.reobf.srg}", - "-AoutSrgFile=${mixinSrg}", - "-AoutRefMapFile=${refMap}", - // Elan: from what I understand they are just some linter configs so you get some warning on how to properly code - "-XDenableSunApiLintControl", - "-XDignore.symbol.file" + "-AreobfSrgFile=${tasks.reobf.srg}", + "-AoutSrgFile=${mixinSrg}", + "-AoutRefMapFile=${refMap}", + // Elan: from what I understand they are just some linter configs so you get some warning on how to properly code + "-XDenableSunApiLintControl", + "-XDignore.symbol.file" ] } } } runClient { - if(developmentEnvironmentUserName) { + if (developmentEnvironmentUserName) { arguments += [ - "--username", - developmentEnvironmentUserName + "--username", + developmentEnvironmentUserName ] } @@ -414,9 +456,9 @@ runServer { tasks.withType(JavaExec).configureEach { javaLauncher.set( - javaToolchains.launcherFor { - languageVersion = projectJavaVersion - } + javaToolchains.launcherFor { + languageVersion = projectJavaVersion + } ) } @@ -424,6 +466,7 @@ processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version + exclude("spotless.gradle") // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { @@ -436,43 +479,44 @@ processResources { "modName": modName } - if(usesMixins.toBoolean()) { + if (usesMixins.toBoolean()) { from refMap } // copy everything else that's not the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' + exclude 'spotless.gradle' } } def getManifestAttributes() { def manifestAttributes = [:] - if(!containsMixinsAndOrCoreModOnly.toBoolean() && (usesMixins.toBoolean() || coreModClass)) { + if (!containsMixinsAndOrCoreModOnly.toBoolean() && (usesMixins.toBoolean() || coreModClass)) { manifestAttributes += ["FMLCorePluginContainsFMLMod": true] } - if(accessTransformersFile) { - manifestAttributes += ["FMLAT" : accessTransformersFile.toString()] + if (accessTransformersFile) { + manifestAttributes += ["FMLAT": accessTransformersFile.toString()] } - if(coreModClass) { + if (coreModClass) { manifestAttributes += ["FMLCorePlugin": modGroup + "." + coreModClass] } - if(usesMixins.toBoolean()) { + if (usesMixins.toBoolean()) { manifestAttributes += [ - "TweakClass" : "org.spongepowered.asm.launch.MixinTweaker", - "MixinConfigs" : "mixins." + modId + ".json", - "ForceLoadAsMod" : !containsMixinsAndOrCoreModOnly.toBoolean() + "TweakClass" : "org.spongepowered.asm.launch.MixinTweaker", + "MixinConfigs" : "mixins." + modId + ".json", + "ForceLoadAsMod": !containsMixinsAndOrCoreModOnly.toBoolean() ] } return manifestAttributes } task sourcesJar(type: Jar) { - from (sourceSets.main.allSource) - from (file("$projectDir/LICENSE")) + from(sourceSets.main.allSource) + from(file("$projectDir/LICENSE")) getArchiveClassifier().set('sources') } @@ -491,7 +535,10 @@ task shadowDevJar(type: ShadowJar) { } minimize() // This will only allow shading for actually used classes - configurations = [project.configurations.shadowImplementation, project.configurations.shadowCompile] + configurations = [ + project.configurations.shadowImplementation, + project.configurations.shadowCompile + ] } task relocateShadowDevJar(type: ConfigureShadowRelocation) { @@ -519,22 +566,22 @@ task devJar(type: Jar) { attributes(getManifestAttributes()) } - if(usesShadowedDependencies.toBoolean()) { + if (usesShadowedDependencies.toBoolean()) { dependsOn(circularResolverJar) enabled = false } } task apiJar(type: Jar) { - from (sourceSets.main.allSource) { + from(sourceSets.main.allSource) { include modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString().replaceAll("\\.", "/") + '/**' } - from (sourceSets.main.output) { + from(sourceSets.main.output) { include modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString().replaceAll("\\.", "/") + '/**' } - from (sourceSets.main.resources.srcDirs) { + from(sourceSets.main.resources.srcDirs) { include("LICENSE") } @@ -542,11 +589,11 @@ task apiJar(type: Jar) { } artifacts { - if(!noPublishedSources) { + if (!noPublishedSources) { archives sourcesJar } archives devJar - if(apiPackage) { + if (apiPackage) { archives apiJar } } @@ -564,11 +611,11 @@ publishing { publications { maven(MavenPublication) { from components.java - if(usesShadowedDependencies.toBoolean()) { + if (usesShadowedDependencies.toBoolean()) { artifact source: shadowJar, classifier: "" } - if(!noPublishedSources) { - artifact source: sourcesJar, classifier: "src" + if (!noPublishedSources) { + artifact source: sourcesJar, classifier: "sources" } artifact source: usesShadowedDependencies.toBoolean() ? shadowDevJar : devJar, classifier: "dev" if (apiPackage) { @@ -582,8 +629,11 @@ publishing { // remove extra garbage from minecraft and minecraftDeps configuration pom.withXml { - def badArtifacts = [:].withDefault {[] as Set} - for (configuration in [projectConfigs.minecraft, projectConfigs.minecraftDeps]) { + def badArtifacts = [:].withDefault { [] as Set } + for (configuration in [ + projectConfigs.minecraft, + projectConfigs.minecraftDeps + ]) { for (dependency in configuration.allDependencies) { badArtifacts[dependency.group == null ? "" : dependency.group] += dependency.name } @@ -612,6 +662,107 @@ publishing { } } +if (modrinthProjectId.size() != 0 && System.getenv("MODRINTH_TOKEN") != null) { + apply plugin: 'com.modrinth.minotaur' + + File changelogFile = new File(System.getenv("CHANGELOG_FILE") ?: "CHANGELOG.md") + + modrinth { + token = System.getenv("MODRINTH_TOKEN") + projectId = modrinthProjectId + versionNumber = identifiedVersion + versionType = identifiedVersion.endsWith("-pre") ? "beta" : "release" + changelog = changelogFile.exists() ? changelogFile.getText("UTF-8") : "" + uploadFile = jar + additionalFiles = getSecondaryArtifacts() + gameVersions = [minecraftVersion] + loaders = ["forge"] + debugMode = false + } + + if (modrinthRelations.size() != 0) { + String[] deps = modrinthRelations.split(";") + deps.each { dep -> + if (dep.size() == 0) { + return + } + String[] parts = dep.split(":") + String[] qual = parts[0].split("-") + addModrinthDep(qual[0], qual[1], parts[1]) + } + } + tasks.modrinth.dependsOn(build) + tasks.publish.dependsOn(tasks.modrinth) +} + +if (curseForgeProjectId.size() != 0 && System.getenv("CURSEFORGE_TOKEN") != null) { + apply plugin: 'com.matthewprenger.cursegradle' + + File changelogFile = new File(System.getenv("CHANGELOG_FILE") ?: "CHANGELOG.md") + + curseforge { + apiKey = System.getenv("CURSEFORGE_TOKEN") + project { + id = curseForgeProjectId + if (changelogFile.exists()) { + changelogType = "markdown" + changelog = changelogFile + } + releaseType = identifiedVersion.endsWith("-pre") ? "beta" : "release" + addGameVersion minecraftVersion + addGameVersion "Forge" + mainArtifact jar + for (artifact in getSecondaryArtifacts()) addArtifact artifact + } + + options { + javaIntegration = false + forgeGradleIntegration = false + debug = false + } + } + + if (curseForgeRelations.size() != 0) { + String[] deps = curseForgeRelations.split(";") + deps.each { dep -> + if (dep.size() == 0) { + return + } + String[] parts = dep.split(":") + addCurseForgeRelation(parts[0], parts[1]) + } + } + tasks.curseforge.dependsOn(build) + tasks.publish.dependsOn(tasks.curseforge) +} + +def addModrinthDep(scope, type, name) { + com.modrinth.minotaur.dependencies.Dependency dep; + if (!(scope in ["required", "optional", "incompatible", "embedded"])) { + throw new Exception("Invalid modrinth dependency scope: " + scope) + } + switch (type) { + case "project": + dep = new ModDependency(name, scope) + break + case "version": + dep = new VersionDependency(name, scope) + break + default: + throw new Exception("Invalid modrinth dependency type: " + type) + } + project.modrinth.dependencies.add(dep) +} + +def addCurseForgeRelation(type, name) { + if (!(type in ["requiredDependency", "embeddedLibrary", "optionalDependency", "tool", "incompatible"])) { + throw new Exception("Invalid CurseForge relation type: " + type) + } + CurseArtifact artifact = project.curseforge.curseProjects[0].mainArtifact + CurseRelation rel = (artifact.curseRelations ?: (artifact.curseRelations = new CurseRelation())) + rel."$type"(name) +} + // Updating task updateBuildScript { doLast { @@ -621,7 +772,7 @@ task updateBuildScript { } } -if (isNewBuildScriptVersionAvailable(projectDir.toString())) { +if (!project.getGradle().startParameter.isOffline() && isNewBuildScriptVersionAvailable(projectDir.toString())) { if (autoUpdateBuildScript.toBoolean()) { performBuildScriptUpdate(projectDir.toString()) } else { @@ -630,7 +781,40 @@ if (isNewBuildScriptVersionAvailable(projectDir.toString())) { } static URL availableBuildScriptUrl() { - new URL("https://raw.githubusercontent.com/GTNewHorizons/ExampleMod1.7.10/main/build.gradle") + new URL("https://raw.githubusercontent.com/GTNewHorizons/ExampleMod1.7.10/master/build.gradle") +} + +static URL exampleSettingsGradleUrl() { + new URL("https://raw.githubusercontent.com/GTNewHorizons/ExampleMod1.7.10/master/settings.gradle.example") +} + +static URL exampleGitAttributesUrl() { + new URL("https://raw.githubusercontent.com/GTNewHorizons/ExampleMod1.7.10/master/.gitattributes") +} + + +boolean verifyGitAttributes() { + def gitattributesFile = getFile(".gitattributes") + if (!gitattributesFile.exists()) { + println("Downloading default .gitattributes") + exampleGitAttributesUrl().withInputStream { i -> gitattributesFile.withOutputStream { it << i } } + exec { + workingDir '.' + commandLine 'git', 'add', '--renormalize', '.' + } + return true + } + return false +} + +boolean verifySettingsGradle() { + def settingsFile = getFile("settings.gradle") + if (!settingsFile.exists()) { + println("Downloading default settings.gradle") + exampleSettingsGradleUrl().withInputStream { i -> settingsFile.withOutputStream { it << i } } + return true + } + return false } boolean performBuildScriptUpdate(String projectDir) { @@ -638,6 +822,10 @@ boolean performBuildScriptUpdate(String projectDir) { def buildscriptFile = getFile("build.gradle") availableBuildScriptUrl().withInputStream { i -> buildscriptFile.withOutputStream { it << i } } out.style(Style.Success).print("Build script updated. Please REIMPORT the project or RESTART your IDE!") + boolean settingsupdated = verifySettingsGradle() + settingsupdated = verifyGitAttributes() || settingsupdated + if (settingsupdated) + throw new GradleException("Settings has been updated, please re-run task.") return true } return false @@ -657,7 +845,7 @@ boolean isNewBuildScriptVersionAvailable(String projectDir) { static String getVersionHash(String buildScriptContent) { String versionLine = buildScriptContent.find("^//version: [a-z0-9]*") - if(versionLine != null) { + if (versionLine != null) { return versionLine.split(": ").last() } return "" @@ -668,7 +856,103 @@ configure(updateBuildScript) { description = 'Updates the build script to the latest version' } -// Deobfuscation +// Parameter Deobfuscation + +task deobfParams { + doLast { + + String mcpDir = "$project.gradle.gradleUserHomeDir/caches/minecraft/de/oceanlabs/mcp/mcp_$channel/$mappingsVersion" + String mcpZIP = "$mcpDir/mcp_$channel-$mappingsVersion-${minecraftVersion}.zip" + String paramsCSV = "$mcpDir/params.csv" + + download.run { + src "https://maven.minecraftforge.net/de/oceanlabs/mcp/mcp_$channel/$mappingsVersion-$minecraftVersion/mcp_$channel-$mappingsVersion-${minecraftVersion}.zip" + dest mcpZIP + overwrite false + } + + if (!file(paramsCSV).exists()) { + println("Extracting MCP archive ...") + unzip(mcpZIP, mcpDir) + } + + println("Parsing params.csv ...") + Map params = new HashMap<>() + Files.lines(Paths.get(paramsCSV)).forEach { line -> + String[] cells = line.split(",") + if (cells.length > 2 && cells[0].matches("p_i?\\d+_\\d+_")) { + params.put(cells[0], cells[1]) + } + } + + out.style(Style.Success).println("Modified ${replaceParams(file("$projectDir/src/main/java"), params)} files!") + out.style(Style.Failure).println("Don't forget to verify that the code still works as before!\n It could be broken due to duplicate variables existing now\n or parameters taking priority over other variables.") + } +} + +static int replaceParams(File file, Map params) { + int fileCount = 0 + + if (file.isDirectory()) { + for (File f : file.listFiles()) { + fileCount += replaceParams(f, params) + } + return fileCount + } + println("Visiting ${file.getName()} ...") + try { + String content = new String(Files.readAllBytes(file.toPath())) + int hash = content.hashCode() + params.forEach { key, value -> + content = content.replaceAll(key, value) + } + if (hash != content.hashCode()) { + Files.write(file.toPath(), content.getBytes("UTF-8")) + return 1 + } + } catch (Exception e) { + e.printStackTrace() + } + return 0 +} + +// Credit: bitsnaps (https://gist.github.com/bitsnaps/00947f2dce66f4bbdabc67d7e7b33681) +static unzip(String zipFileName, String outputDir) { + byte[] buffer = new byte[16384] + ZipInputStream zis = new ZipInputStream(new FileInputStream(zipFileName)) + ZipEntry zipEntry = zis.getNextEntry() + while (zipEntry != null) { + File newFile = new File(outputDir + File.separator, zipEntry.name) + if (zipEntry.isDirectory()) { + if (!newFile.isDirectory() && !newFile.mkdirs()) { + throw new IOException("Failed to create directory $newFile") + } + } else { + // fix for Windows-created archives + File parent = newFile.parentFile + if (!parent.isDirectory() && !parent.mkdirs()) { + throw new IOException("Failed to create directory $parent") + } + // write file content + FileOutputStream fos = new FileOutputStream(newFile) + int len = 0 + while ((len = zis.read(buffer)) > 0) { + fos.write(buffer, 0, len) + } + fos.close() + } + zipEntry = zis.getNextEntry() + } + zis.closeEntry() + zis.close() +} + +configure(deobfParams) { + group = 'forgegradle' + description = 'Rename all obfuscated parameter names inherited from Minecraft classes' +} + +// Dependency Deobfuscation def deobf(String sourceURL) { try { @@ -677,42 +961,57 @@ def deobf(String sourceURL) { //get rid of directories: int lastSlash = fileName.lastIndexOf("/") - if(lastSlash > 0) { + if (lastSlash > 0) { fileName = fileName.substring(lastSlash + 1) } //get rid of extension: - if(fileName.endsWith(".jar")) { + if (fileName.endsWith(".jar") || fileName.endsWith(".litemod")) { fileName = fileName.substring(0, fileName.lastIndexOf(".")) } String hostName = url.getHost() - if(hostName.startsWith("www.")) { + if (hostName.startsWith("www.")) { hostName = hostName.substring(4) } List parts = Arrays.asList(hostName.split("\\.")) Collections.reverse(parts) hostName = String.join(".", parts) - return deobf(sourceURL, hostName + "/" + fileName) - } catch(Exception e) { - return deobf(sourceURL, "deobf/" + String.valueOf(sourceURL.hashCode())) + return deobf(sourceURL, "$hostName/$fileName") + } catch (Exception e) { + return deobf(sourceURL, "deobf/${sourceURL.hashCode()}") } } // The method above is to be preferred. Use this method if the filename is not at the end of the URL. -def deobf(String sourceURL, String fileName) { - String cacheDir = System.getProperty("user.home") + "/.gradle/caches/" - String bon2Dir = cacheDir + "forge_gradle/deobf" - String bon2File = bon2Dir + "/BON2-2.5.0.jar" - String obfFile = cacheDir + "modules-2/files-2.1/" + fileName + ".jar" - String deobfFile = cacheDir + "modules-2/files-2.1/" + fileName + "-deobf.jar" +def deobf(String sourceURL, String rawFileName) { + String bon2Version = "2.5.1" + String fileName = URLDecoder.decode(rawFileName, "UTF-8") + String cacheDir = "$project.gradle.gradleUserHomeDir/caches" + String bon2Dir = "$cacheDir/forge_gradle/deobf" + String bon2File = "$bon2Dir/BON2-${bon2Version}.jar" + String obfFile = "$cacheDir/modules-2/files-2.1/${fileName}.jar" + String deobfFile = "$cacheDir/modules-2/files-2.1/${fileName}-deobf.jar" - if(file(deobfFile).exists()) { + if (file(deobfFile).exists()) { return files(deobfFile) } + String mappingsVer + String remoteMappings = project.hasProperty('remoteMappings') ? project.remoteMappings : 'https://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/conf/' + if (remoteMappings) { + String id = "${forgeVersion.split("\\.")[3]}-$minecraftVersion" + String mappingsZIP = "$cacheDir/forge_gradle/maven_downloader/de/oceanlabs/mcp/mcp_snapshot_nodoc/$id/mcp_snapshot_nodoc-${id}.zip" + + zipMappings(mappingsZIP, remoteMappings, bon2Dir) + + mappingsVer = "snapshot_$id" + } else { + mappingsVer = "${channel}_$mappingsVersion" + } + download.run { - src 'https://github.com/GTNewHorizons/BON2/releases/download/2.5.0/BON2-2.5.0.CUSTOM-all.jar' + src "http://jenkins.usrv.eu:8081/nexus/content/repositories/releases/com/github/parker8283/BON2/$bon2Version-CUSTOM/BON2-$bon2Version-CUSTOM-all.jar" dest bon2File quiet true overwrite false @@ -726,14 +1025,48 @@ def deobf(String sourceURL, String fileName) { } exec { - commandLine 'java', '-jar', bon2File, '--inputJar', obfFile, '--outputJar', deobfFile, '--mcVer', '1.7.10', '--mappingsVer', 'stable_12', '--notch' + commandLine 'java', '-jar', bon2File, '--inputJar', obfFile, '--outputJar', deobfFile, '--mcVer', minecraftVersion, '--mappingsVer', mappingsVer, '--notch' workingDir bon2Dir - standardOutput = new ByteArrayOutputStream() + standardOutput = new FileOutputStream("${deobfFile}.log") } return files(deobfFile) } +def zipMappings(String zipPath, String url, String bon2Dir) { + File zipFile = new File(zipPath) + if (zipFile.exists()) { + return + } + + String fieldsCache = "$bon2Dir/data/fields.csv" + String methodsCache = "$bon2Dir/data/methods.csv" + + download.run { + src "${url}fields.csv" + dest fieldsCache + quiet true + } + download.run { + src "${url}methods.csv" + dest methodsCache + quiet true + } + + zipFile.getParentFile().mkdirs() + ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(zipFile)) + + zos.putNextEntry(new ZipEntry("fields.csv")) + Files.copy(Paths.get(fieldsCache), zos) + zos.closeEntry() + + zos.putNextEntry(new ZipEntry("methods.csv")) + Files.copy(Paths.get(methodsCache), zos) + zos.closeEntry() + + zos.close() +} + // Helper methods def checkPropertyExists(String propertyName) { @@ -742,6 +1075,21 @@ def checkPropertyExists(String propertyName) { } } +def propertyDefaultIfUnset(String propertyName, defaultValue) { + if (!project.hasProperty(propertyName) || project.property(propertyName) == "") { + project.ext.setProperty(propertyName, defaultValue) + } +} + def getFile(String relativePath) { return new File(projectDir, relativePath) } + +def getSecondaryArtifacts() { + // Because noPublishedSources from the beginning of the script is somehow not visible here... + boolean noPublishedSources = project.hasProperty("noPublishedSources") ? project.noPublishedSources.toBoolean() : false + def secondaryArtifacts = [devJar] + if (!noPublishedSources) secondaryArtifacts += [sourcesJar] + if (apiPackage) secondaryArtifacts += [apiJar] + return secondaryArtifacts +} diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..93c852a --- /dev/null +++ b/settings.gradle @@ -0,0 +1,10 @@ +plugins { + id 'com.diffplug.blowdryerSetup' version '1.6.0' +} + +apply plugin: 'com.diffplug.blowdryerSetup' + +blowdryerSetup { + github('GTNewHorizons/ExampleMod1.7.10', 'tag', '0.1.5') + //devLocal '.' // Use this when testing config updates locally +} diff --git a/src/main/java/magicbees/api/bees/AuraChargeType.java b/src/main/java/magicbees/api/bees/AuraChargeType.java index 6ca45bd..0199873 100644 --- a/src/main/java/magicbees/api/bees/AuraChargeType.java +++ b/src/main/java/magicbees/api/bees/AuraChargeType.java @@ -1,8 +1,8 @@ -package magicbees.api.bees; - -public enum AuraChargeType { - MUTATION, - DEATH, - PRODUCTION, - ; -} +package magicbees.api.bees; + +public enum AuraChargeType { + MUTATION, + DEATH, + PRODUCTION, + ; +} diff --git a/src/main/java/magicbees/bees/AuraCharge.java b/src/main/java/magicbees/bees/AuraCharge.java index 3a83c24..6b9b657 100644 --- a/src/main/java/magicbees/bees/AuraCharge.java +++ b/src/main/java/magicbees/bees/AuraCharge.java @@ -1,33 +1,33 @@ -package magicbees.bees; - -import magicbees.api.bees.AuraChargeType; - -public enum AuraCharge { - MUTATION(AuraChargeType.MUTATION, 850, 11), - DEATH(AuraChargeType.DEATH, 400, 5), - PRODUCTION(AuraChargeType.PRODUCTION, 300, 3), - ; - - public final AuraChargeType type; - public final int duration; - /** The number of ticks to count between draining vis from the environment **/ - public final int tickRate; - public final int flag; - - AuraCharge(AuraChargeType chargeType, int duration, int tickRate) { - this.type = chargeType; - this.duration = duration; - this.tickRate = tickRate; - flag = 1 << ordinal(); - } - - public static AuraCharge fromChargeType(AuraChargeType type) { - for (AuraCharge charge : values()) { - if (type == charge.type) { - return charge; - } - } - - return null; - } -} +package magicbees.bees; + +import magicbees.api.bees.AuraChargeType; + +public enum AuraCharge { + MUTATION(AuraChargeType.MUTATION, 850, 11), + DEATH(AuraChargeType.DEATH, 400, 5), + PRODUCTION(AuraChargeType.PRODUCTION, 300, 3), + ; + + public final AuraChargeType type; + public final int duration; + /** The number of ticks to count between draining vis from the environment **/ + public final int tickRate; + public final int flag; + + AuraCharge(AuraChargeType chargeType, int duration, int tickRate) { + this.type = chargeType; + this.duration = duration; + this.tickRate = tickRate; + flag = 1 << ordinal(); + } + + public static AuraCharge fromChargeType(AuraChargeType type) { + for (AuraCharge charge : values()) { + if (type == charge.type) { + return charge; + } + } + + return null; + } +} diff --git a/src/main/java/magicbees/bees/BeeIconColourProvider.java b/src/main/java/magicbees/bees/BeeIconColourProvider.java index 499b422..7333cff 100644 --- a/src/main/java/magicbees/bees/BeeIconColourProvider.java +++ b/src/main/java/magicbees/bees/BeeIconColourProvider.java @@ -1,23 +1,23 @@ -package magicbees.bees; - -import java.awt.Color; - -import forestry.api.apiculture.IBeeIconColourProvider; - -public enum BeeIconColourProvider implements IBeeIconColourProvider { - RAINBOW { - @Override - public int getIconColour(int renderPass) { - if (renderPass == 0) { - int hue = (int) (System.currentTimeMillis() >> 2) % 360; - return Color.getHSBColor(hue / 360f, 0.75f, 0.80f).getRGB(); - } else if (renderPass == 1) { - int hue = (int) (System.currentTimeMillis() >> 3) % 360; - hue += 60; - hue = hue % 360; - return Color.getHSBColor(hue / 360f, 0.5f, 0.6f).getRGB(); - } - return 0xffffff; - } - } -} +package magicbees.bees; + +import java.awt.Color; + +import forestry.api.apiculture.IBeeIconColourProvider; + +public enum BeeIconColourProvider implements IBeeIconColourProvider { + RAINBOW { + @Override + public int getIconColour(int renderPass) { + if (renderPass == 0) { + int hue = (int) (System.currentTimeMillis() >> 2) % 360; + return Color.getHSBColor(hue / 360f, 0.75f, 0.80f).getRGB(); + } else if (renderPass == 1) { + int hue = (int) (System.currentTimeMillis() >> 3) % 360; + hue += 60; + hue = hue % 360; + return Color.getHSBColor(hue / 360f, 0.5f, 0.6f).getRGB(); + } + return 0xffffff; + } + } +} diff --git a/src/main/java/magicbees/bees/BeeIconProvider.java b/src/main/java/magicbees/bees/BeeIconProvider.java index 5b94279..0d669f6 100644 --- a/src/main/java/magicbees/bees/BeeIconProvider.java +++ b/src/main/java/magicbees/bees/BeeIconProvider.java @@ -1,51 +1,51 @@ -package magicbees.bees; - -import java.util.Locale; - -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.util.IIcon; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -import forestry.api.apiculture.EnumBeeType; -import forestry.api.apiculture.IBeeIconProvider; - -import magicbees.main.CommonProxy; - -public enum BeeIconProvider implements IBeeIconProvider { - SKULKING(CommonProxy.DOMAIN + ":bees/skulking/"), - DOCTORAL(CommonProxy.DOMAIN + ":bees/doctoral/"); - - @SideOnly(Side.CLIENT) - private IIcon[][] icons; - private final String iconPath; - - BeeIconProvider(String iconPath) { - this.iconPath = iconPath; - } - - @Override - public void registerIcons(IIconRegister itemMap) { - this.icons = new IIcon[EnumBeeType.VALUES.length][3]; - - IIcon body1 = itemMap.registerIcon(iconPath + "body1"); - - for (int i = 0; i < EnumBeeType.VALUES.length; i++) { - EnumBeeType beeType = EnumBeeType.VALUES[i]; - if (beeType == EnumBeeType.NONE) - continue; - - String beeTypeIconPath = iconPath + beeType.toString().toLowerCase(Locale.ENGLISH); - - icons[i][0] = itemMap.registerIcon(beeTypeIconPath + ".outline"); - icons[i][1] = (beeType != EnumBeeType.LARVAE) ? body1 : itemMap.registerIcon(beeTypeIconPath + ".body"); - icons[i][2] = itemMap.registerIcon(beeTypeIconPath + ".body2"); - } - } - - @Override - public IIcon getIcon(EnumBeeType type, int renderPass) { - return icons[type.ordinal()][Math.min(renderPass, 2)]; - } -} +package magicbees.bees; + +import java.util.Locale; + +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.util.IIcon; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +import forestry.api.apiculture.EnumBeeType; +import forestry.api.apiculture.IBeeIconProvider; + +import magicbees.main.CommonProxy; + +public enum BeeIconProvider implements IBeeIconProvider { + SKULKING(CommonProxy.DOMAIN + ":bees/skulking/"), + DOCTORAL(CommonProxy.DOMAIN + ":bees/doctoral/"); + + @SideOnly(Side.CLIENT) + private IIcon[][] icons; + private final String iconPath; + + BeeIconProvider(String iconPath) { + this.iconPath = iconPath; + } + + @Override + public void registerIcons(IIconRegister itemMap) { + this.icons = new IIcon[EnumBeeType.VALUES.length][3]; + + IIcon body1 = itemMap.registerIcon(iconPath + "body1"); + + for (int i = 0; i < EnumBeeType.VALUES.length; i++) { + EnumBeeType beeType = EnumBeeType.VALUES[i]; + if (beeType == EnumBeeType.NONE) + continue; + + String beeTypeIconPath = iconPath + beeType.toString().toLowerCase(Locale.ENGLISH); + + icons[i][0] = itemMap.registerIcon(beeTypeIconPath + ".outline"); + icons[i][1] = (beeType != EnumBeeType.LARVAE) ? body1 : itemMap.registerIcon(beeTypeIconPath + ".body"); + icons[i][2] = itemMap.registerIcon(beeTypeIconPath + ".body2"); + } + } + + @Override + public IIcon getIcon(EnumBeeType type, int renderPass) { + return icons[type.ordinal()][Math.min(renderPass, 2)]; + } +} diff --git a/src/main/java/magicbees/bees/HiveDescription.java b/src/main/java/magicbees/bees/HiveDescription.java index be454c0..247c4b3 100644 --- a/src/main/java/magicbees/bees/HiveDescription.java +++ b/src/main/java/magicbees/bees/HiveDescription.java @@ -1,191 +1,191 @@ -package magicbees.bees; - -import java.util.ArrayList; -import java.util.List; -import java.util.Locale; -import java.util.Random; - -import net.minecraft.block.Block; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; -import net.minecraft.world.biome.BiomeGenBase; - -import net.minecraftforge.common.BiomeDictionary; - -import forestry.api.apiculture.hives.HiveManager; -import forestry.api.apiculture.hives.IHiveDescription; -import forestry.api.apiculture.hives.IHiveGen; -import forestry.api.core.EnumHumidity; -import forestry.api.core.EnumTemperature; - -import magicbees.block.types.HiveType; -import magicbees.main.Config; -import magicbees.main.utils.BlockUtil; -import magicbees.main.utils.LogHelper; -import magicbees.world.feature.FeatureOreVein; -import magicbees.world.feature.HiveGenNether; -import magicbees.world.feature.HiveGenOblivion; -import magicbees.world.feature.HiveGenUnderground; - -public enum HiveDescription implements IHiveDescription { - CURIOUS(HiveType.CURIOUS, 3.0f, HiveManager.genHelper.tree(), false, - BiomeDictionary.Type.FOREST, BiomeDictionary.Type.PLAINS, BiomeDictionary.Type.HILLS), - UNUSUAL(HiveType.UNUSUAL, 1.0f, HiveManager.genHelper.ground(Blocks.dirt, Blocks.grass), false, - BiomeDictionary.Type.PLAINS, BiomeDictionary.Type.MOUNTAIN, BiomeDictionary.Type.HILLS, BiomeDictionary.Type.RIVER), - RESONANT(HiveType.RESONANT, 0.9f, HiveManager.genHelper.ground(Blocks.sand, Blocks.sandstone), false, - BiomeDictionary.Type.SANDY, BiomeDictionary.Type.MESA, BiomeDictionary.Type.HOT, BiomeDictionary.Type.MAGICAL), - DEEP(HiveType.DEEP, 5.0f, new HiveGenUnderground(10, 15, 5), true, - BiomeDictionary.Type.HILLS, BiomeDictionary.Type.MOUNTAIN, BiomeDictionary.Type.MAGICAL) { - @Override - public void postGen(World world, int x, int y, int z) { - super.postGen(world, x, y, z); - Random random = world.rand; - FeatureOreVein.redstoneGen.generateVein(world, random, x + 1, y, z, 5); - FeatureOreVein.redstoneGen.generateVein(world, random, x - 1, y, z, 5); - FeatureOreVein.redstoneGen.generateVein(world, random, x, y + 1, z, 5); - FeatureOreVein.redstoneGen.generateVein(world, random, x, y - 1, z, 5); - FeatureOreVein.redstoneGen.generateVein(world, random, x, y, z + 1, 5); - FeatureOreVein.redstoneGen.generateVein(world, random, x, y, z - 1, 5); - } - }, - INFERNAL(HiveType.INFERNAL, 50.0f, new HiveGenNether(0, 175, 6), true, - BiomeDictionary.Type.NETHER) { - @Override - public void postGen(World world, int x, int y, int z) { - super.postGen(world, x, y, z); - Random random = world.rand; - FeatureOreVein.netherQuartzGen.generateVein(world, random, x + 1, y, z, 4); - FeatureOreVein.netherQuartzGen.generateVein(world, random, x - 1, y, z, 4); - FeatureOreVein.netherQuartzGen.generateVein(world, random, x, y + 1, z, 4); - FeatureOreVein.netherQuartzGen.generateVein(world, random, x, y - 1, z, 4); - FeatureOreVein.netherQuartzGen.generateVein(world, random, x, y, z + 1, 4); - FeatureOreVein.netherQuartzGen.generateVein(world, random, x, y, z - 1, 4); - } - }, - INFERNAL_OVERWORLD(HiveType.INFERNAL, 0.95f, new HiveGenUnderground(5, 13, 6), true, - BiomeDictionary.Type.MAGICAL, BiomeDictionary.Type.HOT) { - @Override - public void postGen(World world, int x, int y, int z) { - super.postGen(world, x, y, z); - Random random = world.rand; - FeatureOreVein.glowstoneGen.generateVein(world, random, x + 1, y, z, world.rand.nextInt(4) + 1); - FeatureOreVein.glowstoneGen.generateVein(world, random, x - 1, y, z, world.rand.nextInt(4) + 1); - - if (BlockUtil.canBlockReplaceAt(world, x, y + 1, z, Blocks.stone)) { - world.setBlock(x, y + 1, z, Blocks.glowstone, 0, 3); - } - - if (BlockUtil.canBlockReplaceAt(world, x, y - 1, z, Blocks.stone)) { - world.setBlock(x, y - 1, z, Blocks.glowstone, 0, 3); - } - - FeatureOreVein.glowstoneGen.generateVein(world, random, x, y, z + 1, world.rand.nextInt(4) + 1); - FeatureOreVein.glowstoneGen.generateVein(world, random, x, y, z - 1, world.rand.nextInt(4) + 1); - } - }, - OBLIVION(HiveType.OBLIVION, 20.0f, new HiveGenOblivion(), true, - BiomeDictionary.Type.END) { - @Override - public void postGen(World world, int x, int y, int z) { - super.postGen(world, x, y, z); - int obsidianSpikeHeight = world.rand.nextInt(8) + 3; - - for (int i = 1; i < obsidianSpikeHeight && y - i > 0; ++i) { - world.setBlock(x, y - i, z, Blocks.obsidian, 0, 2); - } - } - }, - OBLIVION_OVERWORLD(HiveType.OBLIVION, 0.87f, new HiveGenUnderground(5, 5, 5), true, - BiomeDictionary.Type.MAGICAL, BiomeDictionary.Type.COLD) { - @Override - public void postGen(World world, int x, int y, int z) { - super.postGen(world, x, y, z); - Random random = world.rand; - - FeatureOreVein.endStoneGen.generateVein(world, random, x + 1, y, z, world.rand.nextInt(6) + 1); - FeatureOreVein.endStoneGen.generateVein(world, random, x - 1, y, z, world.rand.nextInt(6) + 1); - FeatureOreVein.endStoneGen.generateVein(world, random, x, y + 1, z, world.rand.nextInt(3) + 1); - FeatureOreVein.endStoneGen.generateVein(world, random, x, y - 1, z, world.rand.nextInt(3) + 1); - FeatureOreVein.endStoneGen.generateVein(world, random, x, y, z + 1, world.rand.nextInt(6) + 1); - FeatureOreVein.endStoneGen.generateVein(world, random, x, y, z - 1, world.rand.nextInt(6) + 1); - } - }; - - private static boolean logSpawns = Config.logHiveSpawns; - - private final HiveType hiveType; - private final float genChance; - private final List biomes = new ArrayList(); - private final IHiveGen hiveGen; - private final boolean spawnsIgnoreClimate; - - private HiveDescription(HiveType type, float chance, IHiveGen genType, boolean ignoreClimate, BiomeDictionary.Type ... goodBiomeTypes) { - hiveType = type; - genChance = chance; - hiveGen = genType; - spawnsIgnoreClimate = ignoreClimate; - for (BiomeDictionary.Type biomeType : goodBiomeTypes) { - biomes.add(biomeType); - } - } - - @Override - public IHiveGen getHiveGen() - { - return hiveGen; - } - - @Override - public Block getBlock() - { - return Config.hive; - } - - @Override - public int getMeta() - { - return hiveType.ordinal(); - } - - @Override - public boolean isGoodBiome(BiomeGenBase biome) - { - BiomeDictionary.Type[] types = BiomeDictionary.getTypesForBiome(biome); - for (BiomeDictionary.Type type : types) - { - if (biomes.contains(type)) - { - return true; - } - } - - return false; - } - - @Override - public boolean isGoodHumidity(EnumHumidity humidity) - { - return spawnsIgnoreClimate || hiveType.getOccupant().canWorkInHumidity(humidity); - } - - @Override - public boolean isGoodTemperature(EnumTemperature temperature) - { - return spawnsIgnoreClimate || hiveType.getOccupant().canWorkInTemperature(temperature); - } - - @Override - public float getGenChance() - { - return genChance; - } - - @Override - public void postGen(World world, int x, int y, int z) - { - if (logSpawns) - { - LogHelper.info("Spawned " + this.toString().toLowerCase(Locale.ENGLISH) + " hive at: X " + x + ", Y: " + y + ", Z: " + z); - } - } -} +package magicbees.bees; + +import java.util.ArrayList; +import java.util.List; +import java.util.Locale; +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import net.minecraftforge.common.BiomeDictionary; + +import forestry.api.apiculture.hives.HiveManager; +import forestry.api.apiculture.hives.IHiveDescription; +import forestry.api.apiculture.hives.IHiveGen; +import forestry.api.core.EnumHumidity; +import forestry.api.core.EnumTemperature; + +import magicbees.block.types.HiveType; +import magicbees.main.Config; +import magicbees.main.utils.BlockUtil; +import magicbees.main.utils.LogHelper; +import magicbees.world.feature.FeatureOreVein; +import magicbees.world.feature.HiveGenNether; +import magicbees.world.feature.HiveGenOblivion; +import magicbees.world.feature.HiveGenUnderground; + +public enum HiveDescription implements IHiveDescription { + CURIOUS(HiveType.CURIOUS, 3.0f, HiveManager.genHelper.tree(), false, + BiomeDictionary.Type.FOREST, BiomeDictionary.Type.PLAINS, BiomeDictionary.Type.HILLS), + UNUSUAL(HiveType.UNUSUAL, 1.0f, HiveManager.genHelper.ground(Blocks.dirt, Blocks.grass), false, + BiomeDictionary.Type.PLAINS, BiomeDictionary.Type.MOUNTAIN, BiomeDictionary.Type.HILLS, BiomeDictionary.Type.RIVER), + RESONANT(HiveType.RESONANT, 0.9f, HiveManager.genHelper.ground(Blocks.sand, Blocks.sandstone), false, + BiomeDictionary.Type.SANDY, BiomeDictionary.Type.MESA, BiomeDictionary.Type.HOT, BiomeDictionary.Type.MAGICAL), + DEEP(HiveType.DEEP, 5.0f, new HiveGenUnderground(10, 15, 5), true, + BiomeDictionary.Type.HILLS, BiomeDictionary.Type.MOUNTAIN, BiomeDictionary.Type.MAGICAL) { + @Override + public void postGen(World world, int x, int y, int z) { + super.postGen(world, x, y, z); + Random random = world.rand; + FeatureOreVein.redstoneGen.generateVein(world, random, x + 1, y, z, 5); + FeatureOreVein.redstoneGen.generateVein(world, random, x - 1, y, z, 5); + FeatureOreVein.redstoneGen.generateVein(world, random, x, y + 1, z, 5); + FeatureOreVein.redstoneGen.generateVein(world, random, x, y - 1, z, 5); + FeatureOreVein.redstoneGen.generateVein(world, random, x, y, z + 1, 5); + FeatureOreVein.redstoneGen.generateVein(world, random, x, y, z - 1, 5); + } + }, + INFERNAL(HiveType.INFERNAL, 50.0f, new HiveGenNether(0, 175, 6), true, + BiomeDictionary.Type.NETHER) { + @Override + public void postGen(World world, int x, int y, int z) { + super.postGen(world, x, y, z); + Random random = world.rand; + FeatureOreVein.netherQuartzGen.generateVein(world, random, x + 1, y, z, 4); + FeatureOreVein.netherQuartzGen.generateVein(world, random, x - 1, y, z, 4); + FeatureOreVein.netherQuartzGen.generateVein(world, random, x, y + 1, z, 4); + FeatureOreVein.netherQuartzGen.generateVein(world, random, x, y - 1, z, 4); + FeatureOreVein.netherQuartzGen.generateVein(world, random, x, y, z + 1, 4); + FeatureOreVein.netherQuartzGen.generateVein(world, random, x, y, z - 1, 4); + } + }, + INFERNAL_OVERWORLD(HiveType.INFERNAL, 0.95f, new HiveGenUnderground(5, 13, 6), true, + BiomeDictionary.Type.MAGICAL, BiomeDictionary.Type.HOT) { + @Override + public void postGen(World world, int x, int y, int z) { + super.postGen(world, x, y, z); + Random random = world.rand; + FeatureOreVein.glowstoneGen.generateVein(world, random, x + 1, y, z, world.rand.nextInt(4) + 1); + FeatureOreVein.glowstoneGen.generateVein(world, random, x - 1, y, z, world.rand.nextInt(4) + 1); + + if (BlockUtil.canBlockReplaceAt(world, x, y + 1, z, Blocks.stone)) { + world.setBlock(x, y + 1, z, Blocks.glowstone, 0, 3); + } + + if (BlockUtil.canBlockReplaceAt(world, x, y - 1, z, Blocks.stone)) { + world.setBlock(x, y - 1, z, Blocks.glowstone, 0, 3); + } + + FeatureOreVein.glowstoneGen.generateVein(world, random, x, y, z + 1, world.rand.nextInt(4) + 1); + FeatureOreVein.glowstoneGen.generateVein(world, random, x, y, z - 1, world.rand.nextInt(4) + 1); + } + }, + OBLIVION(HiveType.OBLIVION, 20.0f, new HiveGenOblivion(), true, + BiomeDictionary.Type.END) { + @Override + public void postGen(World world, int x, int y, int z) { + super.postGen(world, x, y, z); + int obsidianSpikeHeight = world.rand.nextInt(8) + 3; + + for (int i = 1; i < obsidianSpikeHeight && y - i > 0; ++i) { + world.setBlock(x, y - i, z, Blocks.obsidian, 0, 2); + } + } + }, + OBLIVION_OVERWORLD(HiveType.OBLIVION, 0.87f, new HiveGenUnderground(5, 5, 5), true, + BiomeDictionary.Type.MAGICAL, BiomeDictionary.Type.COLD) { + @Override + public void postGen(World world, int x, int y, int z) { + super.postGen(world, x, y, z); + Random random = world.rand; + + FeatureOreVein.endStoneGen.generateVein(world, random, x + 1, y, z, world.rand.nextInt(6) + 1); + FeatureOreVein.endStoneGen.generateVein(world, random, x - 1, y, z, world.rand.nextInt(6) + 1); + FeatureOreVein.endStoneGen.generateVein(world, random, x, y + 1, z, world.rand.nextInt(3) + 1); + FeatureOreVein.endStoneGen.generateVein(world, random, x, y - 1, z, world.rand.nextInt(3) + 1); + FeatureOreVein.endStoneGen.generateVein(world, random, x, y, z + 1, world.rand.nextInt(6) + 1); + FeatureOreVein.endStoneGen.generateVein(world, random, x, y, z - 1, world.rand.nextInt(6) + 1); + } + }; + + private static boolean logSpawns = Config.logHiveSpawns; + + private final HiveType hiveType; + private final float genChance; + private final List biomes = new ArrayList(); + private final IHiveGen hiveGen; + private final boolean spawnsIgnoreClimate; + + private HiveDescription(HiveType type, float chance, IHiveGen genType, boolean ignoreClimate, BiomeDictionary.Type ... goodBiomeTypes) { + hiveType = type; + genChance = chance; + hiveGen = genType; + spawnsIgnoreClimate = ignoreClimate; + for (BiomeDictionary.Type biomeType : goodBiomeTypes) { + biomes.add(biomeType); + } + } + + @Override + public IHiveGen getHiveGen() + { + return hiveGen; + } + + @Override + public Block getBlock() + { + return Config.hive; + } + + @Override + public int getMeta() + { + return hiveType.ordinal(); + } + + @Override + public boolean isGoodBiome(BiomeGenBase biome) + { + BiomeDictionary.Type[] types = BiomeDictionary.getTypesForBiome(biome); + for (BiomeDictionary.Type type : types) + { + if (biomes.contains(type)) + { + return true; + } + } + + return false; + } + + @Override + public boolean isGoodHumidity(EnumHumidity humidity) + { + return spawnsIgnoreClimate || hiveType.getOccupant().canWorkInHumidity(humidity); + } + + @Override + public boolean isGoodTemperature(EnumTemperature temperature) + { + return spawnsIgnoreClimate || hiveType.getOccupant().canWorkInTemperature(temperature); + } + + @Override + public float getGenChance() + { + return genChance; + } + + @Override + public void postGen(World world, int x, int y, int z) + { + if (logSpawns) + { + LogHelper.info("Spawned " + this.toString().toLowerCase(Locale.ENGLISH) + " hive at: X " + x + ", Y: " + y + ", Z: " + z); + } + } +} diff --git a/src/main/java/magicbees/bees/MoonPhaseMutationBonus.java b/src/main/java/magicbees/bees/MoonPhaseMutationBonus.java index 8793510..ed2db26 100644 --- a/src/main/java/magicbees/bees/MoonPhaseMutationBonus.java +++ b/src/main/java/magicbees/bees/MoonPhaseMutationBonus.java @@ -1,49 +1,49 @@ -package magicbees.bees; - -import net.minecraft.world.World; - -import forestry.api.core.IClimateProvider; -import forestry.api.genetics.IAllele; -import forestry.api.genetics.IGenome; -import forestry.api.genetics.IMutationCondition; - -import magicbees.main.utils.LocalizationManager; -import magicbees.main.utils.MoonPhase; - -// There is a bonus to this mutation during moon phases... -public class MoonPhaseMutationBonus implements IMutationCondition { - private final MoonPhase moonPhaseStart; - private final MoonPhase moonPhaseEnd; - private final float mutationBonus; - - public MoonPhaseMutationBonus(MoonPhase phase, float bonus) { - this.moonPhaseStart = phase; - this.moonPhaseEnd = phase; - this.mutationBonus = bonus; - } - - public MoonPhaseMutationBonus(MoonPhase start, MoonPhase end, float bonus) { - this.moonPhaseStart = start; - this.moonPhaseEnd = end; - this.mutationBonus = bonus; - } - - @Override - public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1, IClimateProvider climate) { - if (MoonPhase.getMoonPhase(world).isBetween(this.moonPhaseStart, this.moonPhaseEnd)) { - return this.mutationBonus; - } - return 1; - } - - @Override - public String getDescription() { - if (this.moonPhaseStart != this.moonPhaseEnd) { - return String.format(LocalizationManager.getLocalizedString("research.bonusPhase"), - moonPhaseStart.getLocalizedNameAlt(), moonPhaseEnd.getLocalizedNameAlt()); - } else { - return String.format(LocalizationManager.getLocalizedString("research.bonusPhaseSingle"), - moonPhaseStart.getLocalizedName()); - } - } -} +package magicbees.bees; + +import net.minecraft.world.World; + +import forestry.api.core.IClimateProvider; +import forestry.api.genetics.IAllele; +import forestry.api.genetics.IGenome; +import forestry.api.genetics.IMutationCondition; + +import magicbees.main.utils.LocalizationManager; +import magicbees.main.utils.MoonPhase; + +// There is a bonus to this mutation during moon phases... +public class MoonPhaseMutationBonus implements IMutationCondition { + private final MoonPhase moonPhaseStart; + private final MoonPhase moonPhaseEnd; + private final float mutationBonus; + + public MoonPhaseMutationBonus(MoonPhase phase, float bonus) { + this.moonPhaseStart = phase; + this.moonPhaseEnd = phase; + this.mutationBonus = bonus; + } + + public MoonPhaseMutationBonus(MoonPhase start, MoonPhase end, float bonus) { + this.moonPhaseStart = start; + this.moonPhaseEnd = end; + this.mutationBonus = bonus; + } + + @Override + public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1, IClimateProvider climate) { + if (MoonPhase.getMoonPhase(world).isBetween(this.moonPhaseStart, this.moonPhaseEnd)) { + return this.mutationBonus; + } + return 1; + } + + @Override + public String getDescription() { + if (this.moonPhaseStart != this.moonPhaseEnd) { + return String.format(LocalizationManager.getLocalizedString("research.bonusPhase"), + moonPhaseStart.getLocalizedNameAlt(), moonPhaseEnd.getLocalizedNameAlt()); + } else { + return String.format(LocalizationManager.getLocalizedString("research.bonusPhaseSingle"), + moonPhaseStart.getLocalizedName()); + } + } +} diff --git a/src/main/java/magicbees/bees/MoonPhaseMutationRestriction.java b/src/main/java/magicbees/bees/MoonPhaseMutationRestriction.java index e877639..aed398b 100644 --- a/src/main/java/magicbees/bees/MoonPhaseMutationRestriction.java +++ b/src/main/java/magicbees/bees/MoonPhaseMutationRestriction.java @@ -1,46 +1,46 @@ -package magicbees.bees; - -import net.minecraft.world.World; - -import forestry.api.core.IClimateProvider; -import forestry.api.genetics.IAllele; -import forestry.api.genetics.IGenome; -import forestry.api.genetics.IMutationCondition; - -import magicbees.main.utils.LocalizationManager; -import magicbees.main.utils.MoonPhase; - -public class MoonPhaseMutationRestriction implements IMutationCondition { - private final MoonPhase moonPhaseStart; - private final MoonPhase moonPhaseEnd; - - public MoonPhaseMutationRestriction(MoonPhase phase) { - this.moonPhaseStart = phase; - this.moonPhaseEnd = phase; - } - - public MoonPhaseMutationRestriction(MoonPhase start, MoonPhase end) { - this.moonPhaseStart = start; - this.moonPhaseEnd = end; - } - - @Override - public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1, IClimateProvider climate) { - if (MoonPhase.getMoonPhase(world).isBetween(this.moonPhaseStart, this.moonPhaseEnd)) { - return 1; - } - return 0; - } - - @Override - public String getDescription() { - if (moonPhaseStart != moonPhaseEnd) { - return String.format(LocalizationManager.getLocalizedString("research.requiresPhase"), - moonPhaseStart.getLocalizedNameAlt(), moonPhaseEnd.getLocalizedNameAlt()); - } - else { - return String.format(LocalizationManager.getLocalizedString("research.requiresPhaseSingle"), - moonPhaseStart.getLocalizedName()); - } - } -} +package magicbees.bees; + +import net.minecraft.world.World; + +import forestry.api.core.IClimateProvider; +import forestry.api.genetics.IAllele; +import forestry.api.genetics.IGenome; +import forestry.api.genetics.IMutationCondition; + +import magicbees.main.utils.LocalizationManager; +import magicbees.main.utils.MoonPhase; + +public class MoonPhaseMutationRestriction implements IMutationCondition { + private final MoonPhase moonPhaseStart; + private final MoonPhase moonPhaseEnd; + + public MoonPhaseMutationRestriction(MoonPhase phase) { + this.moonPhaseStart = phase; + this.moonPhaseEnd = phase; + } + + public MoonPhaseMutationRestriction(MoonPhase start, MoonPhase end) { + this.moonPhaseStart = start; + this.moonPhaseEnd = end; + } + + @Override + public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1, IClimateProvider climate) { + if (MoonPhase.getMoonPhase(world).isBetween(this.moonPhaseStart, this.moonPhaseEnd)) { + return 1; + } + return 0; + } + + @Override + public String getDescription() { + if (moonPhaseStart != moonPhaseEnd) { + return String.format(LocalizationManager.getLocalizedString("research.requiresPhase"), + moonPhaseStart.getLocalizedNameAlt(), moonPhaseEnd.getLocalizedNameAlt()); + } + else { + return String.format(LocalizationManager.getLocalizedString("research.requiresPhaseSingle"), + moonPhaseStart.getLocalizedName()); + } + } +} diff --git a/src/main/java/magicbees/main/utils/BlockUtil.java b/src/main/java/magicbees/main/utils/BlockUtil.java index c555e8f..493d1c3 100644 --- a/src/main/java/magicbees/main/utils/BlockUtil.java +++ b/src/main/java/magicbees/main/utils/BlockUtil.java @@ -1,78 +1,78 @@ -package magicbees.main.utils; - -import java.util.ArrayList; -import java.util.List; - -import net.minecraft.block.Block; -import net.minecraft.world.World; -import net.minecraft.world.chunk.Chunk; - -public class BlockUtil { - - public static int getSurroundCount(World world, int x, int y, int z, Block blockType) - { - int surroundCount = 0; - - if (canBlockReplaceAt(world, x + 1, y, z, blockType)) - { - ++surroundCount; - } - - if (canBlockReplaceAt(world, x - 1, y, z, blockType)) - { - ++surroundCount; - } - - if (canBlockReplaceAt(world, x, y + 1, z, blockType)) - { - ++surroundCount; - } - - if (canBlockReplaceAt(world, x, y - 1, z, blockType)) - { - ++surroundCount; - } - - if (canBlockReplaceAt(world, x, y, z + 1, blockType)) - { - ++surroundCount; - } - - if (canBlockReplaceAt(world, x, y, z - 1, blockType)) - { - ++surroundCount; - } - - return surroundCount; - } - - public static boolean canBlockReplaceAt(World world, int x, int y, int z, Block target) - { - // don't cause new chunks to load - if (!world.blockExists(x, y, z)) - { - return true; - } - Block block = world.getBlock(x, y, z); - return block.isReplaceableOreGen(world, x, y, z, target); - } - - public static List getChunksInSearchRange(World world, int xCoord, int zCoord, int searchRadius) { - List searchChunks = new ArrayList(); - int chunkRange = (int)Math.ceil(searchRadius / 16.0); - int minChunkX = xCoord / 16 - chunkRange; - int maxChunkX = xCoord / 16 + chunkRange; - int minChunkZ = zCoord / 16 - chunkRange; - int maxChunkZ = zCoord / 16 + chunkRange; - - for (int chunkX = minChunkX; chunkX <= maxChunkX; ++chunkX) { - for (int chunkZ = minChunkZ; chunkZ <= maxChunkZ; ++chunkZ) { - Chunk chunk = world.getChunkFromChunkCoords(chunkX, chunkZ); - if (chunk != null) - searchChunks.add(chunk); - } - } - - return searchChunks; - } -} +package magicbees.main.utils; + +import java.util.ArrayList; +import java.util.List; + +import net.minecraft.block.Block; +import net.minecraft.world.World; +import net.minecraft.world.chunk.Chunk; + +public class BlockUtil { + + public static int getSurroundCount(World world, int x, int y, int z, Block blockType) + { + int surroundCount = 0; + + if (canBlockReplaceAt(world, x + 1, y, z, blockType)) + { + ++surroundCount; + } + + if (canBlockReplaceAt(world, x - 1, y, z, blockType)) + { + ++surroundCount; + } + + if (canBlockReplaceAt(world, x, y + 1, z, blockType)) + { + ++surroundCount; + } + + if (canBlockReplaceAt(world, x, y - 1, z, blockType)) + { + ++surroundCount; + } + + if (canBlockReplaceAt(world, x, y, z + 1, blockType)) + { + ++surroundCount; + } + + if (canBlockReplaceAt(world, x, y, z - 1, blockType)) + { + ++surroundCount; + } + + return surroundCount; + } + + public static boolean canBlockReplaceAt(World world, int x, int y, int z, Block target) + { + // don't cause new chunks to load + if (!world.blockExists(x, y, z)) + { + return true; + } + Block block = world.getBlock(x, y, z); + return block.isReplaceableOreGen(world, x, y, z, target); + } + + public static List getChunksInSearchRange(World world, int xCoord, int zCoord, int searchRadius) { + List searchChunks = new ArrayList(); + int chunkRange = (int)Math.ceil(searchRadius / 16.0); + int minChunkX = xCoord / 16 - chunkRange; + int maxChunkX = xCoord / 16 + chunkRange; + int minChunkZ = zCoord / 16 - chunkRange; + int maxChunkZ = zCoord / 16 + chunkRange; + + for (int chunkX = minChunkX; chunkX <= maxChunkX; ++chunkX) { + for (int chunkZ = minChunkZ; chunkZ <= maxChunkZ; ++chunkZ) { + Chunk chunk = world.getChunkFromChunkCoords(chunkX, chunkZ); + if (chunk != null) + searchChunks.add(chunk); + } + } + + return searchChunks; + } +} diff --git a/src/main/java/magicbees/main/utils/net/EventAuraChargeUpdate.java b/src/main/java/magicbees/main/utils/net/EventAuraChargeUpdate.java index d472d33..379d184 100644 --- a/src/main/java/magicbees/main/utils/net/EventAuraChargeUpdate.java +++ b/src/main/java/magicbees/main/utils/net/EventAuraChargeUpdate.java @@ -1,69 +1,69 @@ -package magicbees.main.utils.net; - -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.tileentity.TileEntity; - -import cpw.mods.fml.client.FMLClientHandler; - -import magicbees.main.utils.ChunkCoords; -import magicbees.main.utils.LogHelper; -import magicbees.main.utils.net.NetworkEventHandler.EventType; -import magicbees.tileentity.AuraCharges; -import magicbees.tileentity.ITileEntityAuraCharged; - -public class EventAuraChargeUpdate extends EventCoords { - - private int flags; - - public EventAuraChargeUpdate(ChunkCoords position, AuraCharges auraCharges) { - super(EventType.AURA_CHARGE_UPDATE, position); - flags = auraCharges.writeToFlags(); - } - - public EventAuraChargeUpdate(DataInputStream byteStream) { - super(EventType.FLAGS_UPDATE, byteStream); - - this.readDataFromInputStream(byteStream); - } - - @Override - protected void writeDataToOutputStream(DataOutputStream byteStream) { - super.writeDataToOutputStream(byteStream); - - try { - byteStream.writeInt(flags); - } - catch (IOException e) { - LogHelper.error("Could not write EventAuraChargeUpdate data to stream."); - e.printStackTrace(); - } - } - - @Override - protected void readDataFromInputStream(DataInputStream byteStream) { - super.readDataFromInputStream(byteStream); - - try { - this.flags = byteStream.readInt(); - } - catch (IOException e) { - LogHelper.error("Could not read EventAuraChargeUpdate data from stream."); - e.printStackTrace(); - } - } - - @Override - public void process(EntityPlayerMP player) { - TileEntity tile = FMLClientHandler.instance().getClient().theWorld.getTileEntity(getCoords().x, getCoords().y, getCoords().z); - - if (tile != null && tile instanceof ITileEntityAuraCharged) { - AuraCharges auraCharges = ((ITileEntityAuraCharged) tile).getAuraCharges(); - auraCharges.readFromFlags(flags); - } - } - -} +package magicbees.main.utils.net; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.tileentity.TileEntity; + +import cpw.mods.fml.client.FMLClientHandler; + +import magicbees.main.utils.ChunkCoords; +import magicbees.main.utils.LogHelper; +import magicbees.main.utils.net.NetworkEventHandler.EventType; +import magicbees.tileentity.AuraCharges; +import magicbees.tileentity.ITileEntityAuraCharged; + +public class EventAuraChargeUpdate extends EventCoords { + + private int flags; + + public EventAuraChargeUpdate(ChunkCoords position, AuraCharges auraCharges) { + super(EventType.AURA_CHARGE_UPDATE, position); + flags = auraCharges.writeToFlags(); + } + + public EventAuraChargeUpdate(DataInputStream byteStream) { + super(EventType.FLAGS_UPDATE, byteStream); + + this.readDataFromInputStream(byteStream); + } + + @Override + protected void writeDataToOutputStream(DataOutputStream byteStream) { + super.writeDataToOutputStream(byteStream); + + try { + byteStream.writeInt(flags); + } + catch (IOException e) { + LogHelper.error("Could not write EventAuraChargeUpdate data to stream."); + e.printStackTrace(); + } + } + + @Override + protected void readDataFromInputStream(DataInputStream byteStream) { + super.readDataFromInputStream(byteStream); + + try { + this.flags = byteStream.readInt(); + } + catch (IOException e) { + LogHelper.error("Could not read EventAuraChargeUpdate data from stream."); + e.printStackTrace(); + } + } + + @Override + public void process(EntityPlayerMP player) { + TileEntity tile = FMLClientHandler.instance().getClient().theWorld.getTileEntity(getCoords().x, getCoords().y, getCoords().z); + + if (tile != null && tile instanceof ITileEntityAuraCharged) { + AuraCharges auraCharges = ((ITileEntityAuraCharged) tile).getAuraCharges(); + auraCharges.readFromFlags(flags); + } + } + +} diff --git a/src/main/java/magicbees/tileentity/AuraCharges.java b/src/main/java/magicbees/tileentity/AuraCharges.java index caaac74..4d73d78 100644 --- a/src/main/java/magicbees/tileentity/AuraCharges.java +++ b/src/main/java/magicbees/tileentity/AuraCharges.java @@ -1,70 +1,70 @@ -package magicbees.tileentity; - -import java.util.HashMap; -import java.util.Map; - -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.world.World; - -import magicbees.bees.AuraCharge; - -public class AuraCharges { - private static final String auraChargesTagName = "AuraCharges"; - - private final Map charges = new HashMap(AuraCharge.values().length); - - public void start(AuraCharge auraChargeType, World worldObj) { - charges.put(auraChargeType, worldObj.getTotalWorldTime()); - } - - public boolean isActive(AuraCharge auraChargeType) { - return charges.keySet().contains(auraChargeType); - } - - public boolean isExpired(AuraCharge auraChargeType, World worldObj) { - Long chargeStart = charges.get(auraChargeType); - return chargeStart == null || chargeStart + auraChargeType.duration <= worldObj.getTotalWorldTime(); - } - - public void stop(AuraCharge AuraChargeType) { - charges.remove(AuraChargeType); - } - - public void writeToNBT(NBTTagCompound nbtTagCompound) { - NBTTagCompound auraChargeTags = new NBTTagCompound(); - for (Map.Entry chargeEntry : charges.entrySet()) { - String chargeName = chargeEntry.getKey().toString(); - Long chargeStart = chargeEntry.getValue(); - auraChargeTags.setLong(chargeName, chargeStart); - } - nbtTagCompound.setTag(auraChargesTagName, auraChargeTags); - } - - public void readFromNBT(NBTTagCompound nbtTagCompound) { - NBTTagCompound auraChargeTags = nbtTagCompound.getCompoundTag(auraChargesTagName); - for (AuraCharge auraCharge : AuraCharge.values()) { - String chargeName = auraCharge.toString(); - Long chargeStart = auraChargeTags.getLong(chargeName); - if (chargeStart > 0) { - charges.put(auraCharge, chargeStart); - } - } - } - - public int writeToFlags() { - int flags = 0; - for (AuraCharge auraChargeType : charges.keySet()) { - flags |= auraChargeType.flag; - } - return flags; - } - - public void readFromFlags(int flags) { - charges.clear(); - for (AuraCharge auraCharge : AuraCharge.values()) { - if ((flags & auraCharge.flag) > 0) { - charges.put(auraCharge, 0L); - } - } - } -} +package magicbees.tileentity; + +import java.util.HashMap; +import java.util.Map; + +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.world.World; + +import magicbees.bees.AuraCharge; + +public class AuraCharges { + private static final String auraChargesTagName = "AuraCharges"; + + private final Map charges = new HashMap(AuraCharge.values().length); + + public void start(AuraCharge auraChargeType, World worldObj) { + charges.put(auraChargeType, worldObj.getTotalWorldTime()); + } + + public boolean isActive(AuraCharge auraChargeType) { + return charges.keySet().contains(auraChargeType); + } + + public boolean isExpired(AuraCharge auraChargeType, World worldObj) { + Long chargeStart = charges.get(auraChargeType); + return chargeStart == null || chargeStart + auraChargeType.duration <= worldObj.getTotalWorldTime(); + } + + public void stop(AuraCharge AuraChargeType) { + charges.remove(AuraChargeType); + } + + public void writeToNBT(NBTTagCompound nbtTagCompound) { + NBTTagCompound auraChargeTags = new NBTTagCompound(); + for (Map.Entry chargeEntry : charges.entrySet()) { + String chargeName = chargeEntry.getKey().toString(); + Long chargeStart = chargeEntry.getValue(); + auraChargeTags.setLong(chargeName, chargeStart); + } + nbtTagCompound.setTag(auraChargesTagName, auraChargeTags); + } + + public void readFromNBT(NBTTagCompound nbtTagCompound) { + NBTTagCompound auraChargeTags = nbtTagCompound.getCompoundTag(auraChargesTagName); + for (AuraCharge auraCharge : AuraCharge.values()) { + String chargeName = auraCharge.toString(); + Long chargeStart = auraChargeTags.getLong(chargeName); + if (chargeStart > 0) { + charges.put(auraCharge, chargeStart); + } + } + } + + public int writeToFlags() { + int flags = 0; + for (AuraCharge auraChargeType : charges.keySet()) { + flags |= auraChargeType.flag; + } + return flags; + } + + public void readFromFlags(int flags) { + charges.clear(); + for (AuraCharge auraCharge : AuraCharge.values()) { + if ((flags & auraCharge.flag) > 0) { + charges.put(auraCharge, 0L); + } + } + } +} diff --git a/src/main/java/magicbees/tileentity/ITileEntityAuraCharged.java b/src/main/java/magicbees/tileentity/ITileEntityAuraCharged.java index 13abd75..c1e2938 100644 --- a/src/main/java/magicbees/tileentity/ITileEntityAuraCharged.java +++ b/src/main/java/magicbees/tileentity/ITileEntityAuraCharged.java @@ -1,5 +1,5 @@ -package magicbees.tileentity; - -public interface ITileEntityAuraCharged { - AuraCharges getAuraCharges(); -} +package magicbees.tileentity; + +public interface ITileEntityAuraCharged { + AuraCharges getAuraCharges(); +} diff --git a/src/main/java/magicbees/world/feature/HiveGenNether.java b/src/main/java/magicbees/world/feature/HiveGenNether.java index 436a573..0cd2aab 100644 --- a/src/main/java/magicbees/world/feature/HiveGenNether.java +++ b/src/main/java/magicbees/world/feature/HiveGenNether.java @@ -1,34 +1,34 @@ -package magicbees.world.feature; - -import net.minecraft.block.Block; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class HiveGenNether extends HiveGenUnderground { - - public HiveGenNether(int minLevel, int range, int surroundCount) - { - super(minLevel, range, Blocks.netherrack, surroundCount); - } - - @Override - public int getYForHive(World world, int x, int z) - { - int y = super.getYForHive(world, x, z); - - if (!isValidLocation(world, x, y, z)) - { - int searchDirection = world.rand.nextBoolean() ? 4 : -4; - while (!Block.isEqualTo(world.getBlock(x, y, z), replace)) - { - y += searchDirection; - if (y < minLevel || y > minLevel + range) - { - return -1; - } - } - } - - return y; - } -} +package magicbees.world.feature; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class HiveGenNether extends HiveGenUnderground { + + public HiveGenNether(int minLevel, int range, int surroundCount) + { + super(minLevel, range, Blocks.netherrack, surroundCount); + } + + @Override + public int getYForHive(World world, int x, int z) + { + int y = super.getYForHive(world, x, z); + + if (!isValidLocation(world, x, y, z)) + { + int searchDirection = world.rand.nextBoolean() ? 4 : -4; + while (!Block.isEqualTo(world.getBlock(x, y, z), replace)) + { + y += searchDirection; + if (y < minLevel || y > minLevel + range) + { + return -1; + } + } + } + + return y; + } +} diff --git a/src/main/java/magicbees/world/feature/HiveGenOblivion.java b/src/main/java/magicbees/world/feature/HiveGenOblivion.java index 671305d..1c570e4 100644 --- a/src/main/java/magicbees/world/feature/HiveGenOblivion.java +++ b/src/main/java/magicbees/world/feature/HiveGenOblivion.java @@ -1,63 +1,63 @@ -package magicbees.world.feature; - -import net.minecraft.block.Block; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -import forestry.api.apiculture.hives.IHiveGen; - -import magicbees.main.utils.BlockUtil; - -public class HiveGenOblivion implements IHiveGen { - - @Override - public int getYForHive(World world, int x, int z) { - - int surface = world.getHeightValue(x, z); - if (surface == 0) - { - return -1; - } - - int y = 10; - - // get to the end stone - while (!Block.isEqualTo(world.getBlock(x, y - 1, z), Blocks.end_stone) && y < surface) - { - y += 8; - } - - // hive must be embedded one deep into the stone - while (!Block.isEqualTo(world.getBlock(x, y - 2, z), Blocks.air) && y > -1) - { - y--; - } - - return y; - } - - @Override - public boolean isValidLocation(World world, int x, int y, int z) { - - if (BlockUtil.getSurroundCount(world, x, y, z, Blocks.end_stone) != 6) - { - return false; - } - - for (int i = 2; i < 4; i++) - { - if (!world.isAirBlock(x, y - i, z)) - { - return false; - } - } - - return true; - } - - @Override - public boolean canReplace(World world, int x, int y, int z) { - Block block = world.getBlock(x, y, z); - return Block.isEqualTo(block, Blocks.end_stone); - } -} +package magicbees.world.feature; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +import forestry.api.apiculture.hives.IHiveGen; + +import magicbees.main.utils.BlockUtil; + +public class HiveGenOblivion implements IHiveGen { + + @Override + public int getYForHive(World world, int x, int z) { + + int surface = world.getHeightValue(x, z); + if (surface == 0) + { + return -1; + } + + int y = 10; + + // get to the end stone + while (!Block.isEqualTo(world.getBlock(x, y - 1, z), Blocks.end_stone) && y < surface) + { + y += 8; + } + + // hive must be embedded one deep into the stone + while (!Block.isEqualTo(world.getBlock(x, y - 2, z), Blocks.air) && y > -1) + { + y--; + } + + return y; + } + + @Override + public boolean isValidLocation(World world, int x, int y, int z) { + + if (BlockUtil.getSurroundCount(world, x, y, z, Blocks.end_stone) != 6) + { + return false; + } + + for (int i = 2; i < 4; i++) + { + if (!world.isAirBlock(x, y - i, z)) + { + return false; + } + } + + return true; + } + + @Override + public boolean canReplace(World world, int x, int y, int z) { + Block block = world.getBlock(x, y, z); + return Block.isEqualTo(block, Blocks.end_stone); + } +} diff --git a/src/main/java/magicbees/world/feature/HiveGenUnderground.java b/src/main/java/magicbees/world/feature/HiveGenUnderground.java index 6a628fd..27293c1 100644 --- a/src/main/java/magicbees/world/feature/HiveGenUnderground.java +++ b/src/main/java/magicbees/world/feature/HiveGenUnderground.java @@ -1,47 +1,47 @@ -package magicbees.world.feature; - -import net.minecraft.block.Block; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -import forestry.api.apiculture.hives.IHiveGen; - -import magicbees.main.utils.BlockUtil; - -public class HiveGenUnderground implements IHiveGen -{ - protected final int minLevel; - protected final int range; - protected final Block replace; - private final int surroundCount; - - public HiveGenUnderground(int minLevel, int range, int surroundCount) { - this(minLevel, range, Blocks.stone, surroundCount); - } - - public HiveGenUnderground(int minLevel, int range, Block replace, int surroundCount) - { - this.minLevel = minLevel; - this.range = range; - this.replace = replace; - this.surroundCount = surroundCount; - } - - @Override - public int getYForHive(World world, int x, int z) - { - return minLevel + world.rand.nextInt(range); - } - - @Override - public boolean isValidLocation(World world, int x, int y, int z) - { - return BlockUtil.getSurroundCount(world, x, y, z, replace) >= surroundCount; - } - - @Override - public boolean canReplace(World world, int x, int y, int z) - { - return !world.isAirBlock(x, y, z) && BlockUtil.canBlockReplaceAt(world, x, y, z, replace); - } -} +package magicbees.world.feature; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +import forestry.api.apiculture.hives.IHiveGen; + +import magicbees.main.utils.BlockUtil; + +public class HiveGenUnderground implements IHiveGen +{ + protected final int minLevel; + protected final int range; + protected final Block replace; + private final int surroundCount; + + public HiveGenUnderground(int minLevel, int range, int surroundCount) { + this(minLevel, range, Blocks.stone, surroundCount); + } + + public HiveGenUnderground(int minLevel, int range, Block replace, int surroundCount) + { + this.minLevel = minLevel; + this.range = range; + this.replace = replace; + this.surroundCount = surroundCount; + } + + @Override + public int getYForHive(World world, int x, int z) + { + return minLevel + world.rand.nextInt(range); + } + + @Override + public boolean isValidLocation(World world, int x, int y, int z) + { + return BlockUtil.getSurroundCount(world, x, y, z, replace) >= surroundCount; + } + + @Override + public boolean canReplace(World world, int x, int y, int z) + { + return !world.isAirBlock(x, y, z) && BlockUtil.canBlockReplaceAt(world, x, y, z, replace); + } +} diff --git a/src/main/resources/assets/magicbees/lang/ru_RU.lang b/src/main/resources/assets/magicbees/lang/ru_RU.lang index 7f9a13a..bc4eecd 100644 --- a/src/main/resources/assets/magicbees/lang/ru_RU.lang +++ b/src/main/resources/assets/magicbees/lang/ru_RU.lang @@ -1,644 +1,644 @@ -language.name=Russian -language.region=RU -language.code=ru_RU - -#Items -item.magicbees:jellyBabies.name=Горсть маленького желе -item.thaumiumScoop.name=Таумический сачок -item.thaumiumGrafter.name=Таумический садовый нож -item.magicbees:mysteriousMagnet.name=Таинственный магнит -item.moonDial.name=Нефритовый набор луны - -#Tiles -tile.planks.greatwood.name=Доски из великого дерева -tile.slab.wood.greatwood.name=Плита из великого дерева -tile.planks.silverwood.name=Доски из серебряного дерева -tile.slab.wood.silverwood.name=Плита из серебряного дерева -tile.effectJar.name=Банка для сбора пчёл -tile.hive.curious.name=Странный улей -tile.hive.unusual.name=Необычный улей -tile.hive.deep.name=Глубинный улей -tile.hive.resonant.name=Резонирующий улей -tile.hive.infernal.name=Адский улей -tile.hive.oblivion.name=Забвенный улей - -#Combs -comb.mundane=Мирские соты -comb.molten=Расплавленные соты -comb.occult=Оккультные соты -comb.otherworldly=Потусторонние соты -comb.transmuted=Трансмутирующие соты -comb.paper=Бумажные соты -comb.soul=Душевные соты -comb.furtive=Незаметные соты -comb.aware=Памятные соты -comb.time=Временные соты -comb.forgotten=Забытые соты -comb.air=Ветреные соты -comb.fire=Огненные соты -comb.water=Водяные соты -comb.earth=Земляные соты -comb.TCair=Блестящие ветреные соты -comb.TCfire=Блестящие огненные соты -comb.TCwater=Блестящие водяные соты -comb.TCearth=Блестящие земляные соты -comb.TCorder=Блестящие упорядоченные соты -comb.TCchaos=Блестящие энтропийные соты -comb.essence=Соты эссенции -comb.potent=Крепкие соты -comb.TEcarbon=Углеродные соты -comb.TEelectric=Электрические соты -comb.TElux=Соты света -comb.TEendearing=Покоряющие соты - -#Waxes -wax.magic=Магический воск -wax.soul=Душевный воск -wax.amnesic=Амнезийный воск - -#Drops -drop.enchanting=Зачарованная капля -drop.intellect=Интеллектуальная капля -drop.destabilized=Нестабильная капля -drop.carbon=Углеродная капля -drop.lux=Капля света -drop.endearing=Покоряющая капля - -#Pollens -pollen.unusual=Необычная пыльца -pollen.phased=Поэтапная пыльца - -#Nuggets -nugget.iron=Железный самородок -nugget.steel=Стальной самородок -nugget.copper=Медный самородок -nugget.tin=Оловянный самородок -nugget.silver=Серебряный самородок -nugget.lead=Свинцовый самородок -nugget.diamond=Алмазный осколок -nugget.emerald=Изумрудный осколок -nugget.apatite=Апатитовый осколок - -#Propolises -propolis.dull=Упорядоченный прополис -propolis.air=Свежий прополис -propolis.fire=Горящий прополис -propolis.water=Текучий прополис -propolis.earth=Каменный прополис -propolis.magic=Хаотический прополис -propolis.unstable=Нестабильный прополис - -#Misc resources -resource.fragment=Фрагмент знаний -resource.lump=Ароматический кусок -resource.fertilizer=Концентрированные соединения -resource.skullChip=Обломок кости скелета-иссушителя -resource.skullFragment=Фрагмент черепа скелета-иссушителя -resource.dragonDust=Драконья пыль -resource.dragonChunk=Драконий кусок -resource.essenceLife=Эссенция ложной жизни -resource.essenceDeath=Эссенция неглубокой могилы -resource.essenceTime=Эссенция утраченного времени -resource.essenceDurability=Эссенция вечной прочности -resource.essenceOblivion=Эссенция бесконечного равнодушия -resource.essenceMutable=Эссенция изменчивого постоянства -resource.TCairDust=Наполненная воздухом пыль -resource.TCfireDust=Наполненная огнём пыль -resource.TCwaterDust=Наполненная водой пыль -resource.TCearthDust=Наполненная землёй пыль -resource.TCorderDust=Наполненная порядком пыль -resource.TCchaosDust=Наполненная хаосом пыль -resource.dimensionalSingularity=Пространственная сингулярность -resource.startNode=Пчёлы и магия -resource.crystalAspect=Кристаллизованный %s аспект - -#Frames -item.frameMagic.name=Магическая рамка -item.frameResilient.name=Эластичная рамка -item.frameGentle.name=Лёгкая рамка -item.frameMetabolic.name=Метаболическая рамка -item.frameNecrotic.name=Некротическая рамка -item.frameTemporal.name=Временная рамка -item.frameOblivion.name=Забвенная рамка - -#Capsules -capsule.magic=Магическая капсула %s -capsule.void=Пустотная капсула %s - -#Liquids -liquid.=(пустая) -liquid.water=воды -liquid.lava=лавы -liquid.biomass=биомассы -liquid.bioethanol=биотоплива -liquid.oil=нефти -liquid.fuel=топлива -liquid.seedoil=растительного масла -liquid.honey=мёда -liquid.juice=фруктового сока -liquid.ice=льда -liquid.milk=молока -liquid.acid=кислоты -liquid.poison=яда -liquid.liquidnitrogen=жидкого азота -liquid.liquiddna=жидкого ДНК -liquid.creosote=креозотного масла -liquid.steam=пара - -#Moondial -moon.full=Полнолуние -moon.gibbousWaning=Выпуклая луна -moon.gibbousWaxing=Рассеивающая луна -moon.halfWaning=Последняя четверть луны -moon.halfWaxing=Первая четверть луны -moon.crescentWaning=Серповидная луна -moon.crescentWaxing=Бальзамическая луна -moon.new=Новолуние - -#Backpack -backpack.thaumaturge=Рюкзак тауматурга - -#Itemgroups -itemGroup.magicBees=Magic Bees - -#Misc -misc.level=Уровень %s -misc.magnetActive=%s - активирован -misc.magnetInactive=%s - деактивирован - -#Research -research.requiresBlock=Требует основы %s -research.requiresPhase=Происходит между %s и %s -research.requiresPhaseSingle=Во время %s -research.requiresNode=Происходит только тогда, когда нод находится вблизи -research.requiresNodeSpecific=Происходит только под влиянием %s нода -research.requiresBiome=Происходит в пределах %s биома -research.node.pure=чистого -research.node.dark=тёмного -research.node.chaotic=хаотического -research.block.crystals=Скопление кристаллов - -#Species -magicbees.speciesMystical=Мистическая -magicbees.speciesMystical.description=Распространены во многих частях мира, а также немного капризны.|Apinomicon -magicbees.speciesSorcerous=Волшебная -magicbees.speciesSorcerous.description=Любят тепло и сухую среду кажется, что они обладают способностью вызывать воду из воздуха.|Apinomicon -magicbees.speciesUnusual=Необычная -magicbees.speciesUnusual.description="Любопытный образец для моей коллекции!"|Junior Apiarist -magicbees.speciesAttuned=Приученная -magicbees.speciesAttuned.description=Они летят, как будто руководствуясь невидимой нитью через воздух.|Apinomicon - -magicbees.speciesEldritch=Древняя -magicbees.speciesEldritch.description=Потенциал, который был заперт в предках этих пчёл в настоящее время выходят на первый план.|Apinomicon - -magicbees.speciesEsoteric=Тайная -magicbees.speciesEsoteric.description=Необычный гибрид, который кажется имеет магические свойства.|Apinomicon -magicbees.speciesMysterious=Таинственная -magicbees.speciesMysterious.description=Эти пчёлы были в краю мира и вернулись, и их сила выросла.|Apinomicon -magicbees.speciesArcane=Магическая -magicbees.speciesArcane.description="Их продукция заряжена магией."|Azanor, Master Thaumaturge - -magicbees.speciesCharmed=Заколдованная -magicbees.speciesCharmed.description=Ваши первые эксперименты в тауматургическом пчеловодстве дали свои плоды. Жужжащие плоды.|Apinomicon -magicbees.speciesEnchanted=Зачарованная -magicbees.speciesEnchanted.description=Последующие поколения заколдованных пчёл усилили их связь с неизвестным.|Apinomicon -magicbees.speciesSupernatural=Сверхъестественная -magicbees.speciesSupernatural.description=Эти пчёлы ходят по линии между этим миром и невидимым.|Apinomicon - -magicbees.speciesEthereal=Эфирная -magicbees.speciesEthereal.description=Призрачные и заряжанные энергией извне.|Apinomicon - -magicbees.speciesWatery=Водная -magicbees.speciesWatery.description=Любит влажные места и текущую воду.|Apinomicon -magicbees.speciesEarthen=Земляная -magicbees.speciesEarthen.description=У них есть "железная" связь с камнем и грязью.|Apinomicon -magicbees.speciesFirey=Огненная -magicbees.speciesFirey.description=Насколько близко вы сможете добраться до живого пламени без "белого каление".|Apinomicon -magicbees.speciesWindy=Ветряная -magicbees.speciesWindy.description=Редко можно увидеть в плоских, широко открытых пространствах. Их территории огромны.|Apinomicon - -magicbees.speciesPupil=Подопечная -magicbees.speciesPupil.description="Что эта пчела хочет сделать с моей бумагой?!"|Yorae, Librarian -magicbees.speciesScholarly=Учёная -magicbees.speciesScholarly.description="Я не могу быть уверен, но я думаю, что они могут быть умнее меня..."|Yorae, Librarian -magicbees.speciesSavant=Сведущая -magicbees.speciesSavant.description=lim(x^(i / pi)/ log(e * 7 - ln(32/x^-pi))). Решите за мёд.|Note found on Yorae's desk - -magicbees.speciesAware=Памятная -magicbees.speciesAware.description="Они могут видеть в вашу душу!"|Florastar, Expert Beekeeper -magicbees.speciesSpirit=Духовная -magicbees.speciesSpirit.description=Говорят, что эти пчёлы в состоянии связаться с мертвыми.|Apinomicon -magicbees.speciesSoul=Душевная -magicbees.speciesSoul.description="Dread Pirate Roberts пришёл за твоей ДУУУУУУУШОЙ!"|Dread Pirate Roberts - -magicbees.speciesSkulking=Прячущиеся -magicbees.speciesSkulking.description=Эти пчёлы стали ксенофобскими и злыми. Будьте осторожны.|Apinomicon -magicbees.speciesGhastly=Ужасная -magicbees.speciesGhastly.description="*вздох*... правда, мистические?"|Taveria, irritated Apiarist -magicbees.speciesSpidery=Паучая -magicbees.speciesSpidery.description=Паук-пчела; n. Делает то, что делает паук-пчела.|Unknown -magicbees.speciesSmouldering=Тлеющая -magicbees.speciesSmouldering.description=Тлеющие пчёлы стали зажженным огнём неугасимого пламени.|Apinomicon - -magicbees.speciesTimely=Временная -magicbees.speciesTimely.description="Пчеловод никогда не опаздывает. Он приходит именно тогда, когда он хочет!"|Sengir, Mad Apiarist -magicbees.speciesLordly=Роскошная -magicbees.speciesLordly.description=Они живут в мире, в пределах видимости глаза гармонии|Tattered Remains of ancient Apinomicon -magicbees.speciesDoctoral=Докторская -magicbees.speciesDoctoral.description="Хотите детское желе?"|Passing stranger with a great scarf and a blue box - -magicbees.speciesInfernal=Адская -magicbees.speciesInfernal.description=Появляются глубоко в аду, ни одна не прожила достаточно долго, чтобы освоить свои способности.|Apinomicon -magicbees.speciesHateful=Ненавистная -magicbees.speciesHateful.description=Продолжительное воздействие ада вообще не улучшило их темперамент. Будьте осторожны.|Apinomicon -magicbees.speciesSpiteful=Злопамятная -magicbees.speciesSpiteful.description=Они охраняют свою территорию яростно, с демоническим рвением и рубцами огня.|Apinomicon -magicbees.speciesWithering=Иссушающая -magicbees.speciesWithering.description=Они просто проводят жизнь на провал, медленно извлекая всю энергию со своей территории.|Apinomicon - -magicbees.speciesOblivion=Забвенная -magicbees.speciesOblivion.description=Неясно, являются ли эти пчёлы родными для этого мира, или для какого-либо другого.|Apinomicon -magicbees.speciesNameless=Безымянная -magicbees.speciesNameless.description="Другие натуралисты отказывались изучать эти пчёл. Я должен узнать, почему."|Tattered Research Notes -magicbees.speciesAbandoned=Брошенная -magicbees.speciesAbandoned.description="Чем больше я изучаю этих пчёл, тем больше чувствую, что им здесь не место, или в другом месте."|Tattered Research Notes -magicbees.speciesForlorn=Одинокая -magicbees.speciesForlorn.description="Сейчас я убеждён, что они остались в нашей вселенной с целью некоторого непознаваемого существа."|Tattered Research Notes -magicbees.speciesDraconic=Драконья -magicbees.speciesDraconic.description="Со скверным звуком, они вырвались из своего улья. Это был последний раз, когда мы видели Джеральда."|Tattered Research Notes - -magicbees.speciesIron=Железистая -magicbees.speciesIron.description=Вобрав некоторые из неблагородных металлов, эти пчёлы могут концентрировать эссенцию железа из региона.|Apinomicon -magicbees.speciesGold=Золотоносная -magicbees.speciesGold.description=Не всё, что блестит, золото.|Ancient Aphorism -magicbees.speciesCopper=Медная -magicbees.speciesCopper.description=Базовый металл во многих применениях; эти пчёлы полезны для борьбы с нехваткой ресурсов.|Apinomicon -magicbees.speciesTin=Оловянная -magicbees.speciesTin.description=Хотя они металлические, эти пчёлы удивительно хрупкие.|Apinomicon -magicbees.speciesSilver=Серебряная -magicbees.speciesSilver.description=Хотя они не получили столького внимания, как золотые пчёлы, они тем не менее ценны.|Apinomicon -magicbees.speciesLead=Свинцовая -magicbees.speciesLead.description=Любимые у любительских алхимиков, они считают, что могут превратить этих пчёл в золото.|Apinomicon -magicbees.speciesAluminum=Алюминиевая -magicbees.speciesAluminum.description=Морщинистые, блестящие и чрезвычайно податливые.|Apinomicon -magicbees.speciesArdite=Ардитовая -magicbees.speciesArdite.description=Нежные, желтовато-оранжевого материала, находятся в адских областях.|Apinomicon -magicbees.speciesCobalt=Кобальтовая -magicbees.speciesCobalt.description=Нестабильные свойства этого материала, кажется не влияют на хрупкость пчёл.|Apinomicon -magicbees.speciesManyullyn=Мануллиновая -magicbees.speciesManyullyn.description="Doot doo-dee-doot doot!" - -magicbees.speciesDiamond=Алмазная -magicbees.speciesDiamond.description=Кристаллические, сверкающие и труднее, чем зубы дракона. Эти пчёлы не одни из тех.|Apinomicon -magicbees.speciesEmerald=Изумрудная -magicbees.speciesEmerald.description=Говорят, что они были на земле, которой правил великий волшебник и они взяли аспект его города.|Apinomicon -magicbees.speciesApatite=Апатитовая -magicbees.speciesApatite.description=День и ночь жужжат. Я забаррикадировал окна и спрятался в подвале, но пронзительный шум апатин пчёл проникал в стены и доводил меня до безумия.|Beekeeping 101 - -magicbees.speciesMutable=Изменчивая -magicbees.speciesMutable.description=Changeable in nature, mercurial in personality.|Apinomicon -magicbees.speciesTransmuting=Трансмутирующая -magicbees.speciesTransmuting.description="I could've sworn this was made out of stone yesterday!"|Sengir, Mad Apiarist -magicbees.speciesCrumbling=Разрушающая -magicbees.speciesCrumbling.description=They have a corrosive effect on their surroundings, rapidly aging them.|Apinomicon - -magicbees.speciesInvisible=Невидимая -magicbees.speciesInvisible.description=Easy to miss, their glassy body is difficult to spot in the countryside.|Apinomicon - -magicbees.speciesTCAir=Аура -magicbees.speciesTCAir.description="Они работают так быстро, что это захватывает дух."|Sengir, Mad Apiarist -magicbees.speciesTCFire=Игнис -magicbees.speciesTCFire.description=Внимание: содержание улья очень горячо.|Warning label on Azanor's apiary -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.speciesTCOrder=Праекантатио -magicbees.speciesTCOrder.description=Пчеловодство это магия!|Apinomicon, Preface -magicbees.speciesTCChaos=Абсолютные -magicbees.speciesTCChaos.description="Их сильно привлекают осколки. Они требуют дальнейшего изучения."|Azanor, Master Thaumaturge -magicbees.speciesTCVis=Вис -magicbees.speciesTCVis.description="Они могут чувствовать изменения в ауре, но ещё не в состоянии воздействовать на неё."|Azanor, research notes -magicbees.speciesTCPure=Чистые -magicbees.speciesTCPure.description="Это как пчела-швейцар!"|MysteriousAges, Thaumaturge -magicbees.speciesTCFlux=Льняные -magicbees.speciesTCFlux.description="Я думал, что они помогут прибраться, но они делают только хуже!"|Kreicus, Apprentice Thaumaturge -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.speciesTCBrainy=Умные -magicbees.speciesTCBrainy.description=Их соты могут быть вонючими и плохо пахнуть, но их интеллект хорошо развит.|Apinomicon -magicbees.speciesTCWispy=Виспи -magicbees.speciesTCWispy.description=Их язык искажён и не понятен. Вполне вероятно, что они говорят с неестественными существами.|Apinomicon -magicbees.speciesTCBatty=Сумасшедшие -magicbees.speciesTCBatty.description=Они, как правило, привлекают летучих мышей в свои ульи с помощью неизвестных средств.|Apinomicon -magicbees.speciesTCChicken=Куриные -magicbees.speciesTCChicken.description="Кудах. Кудах кудах! ... вы слышали меня."|Confused bee -magicbees.speciesTCBeef=Мясистые -magicbees.speciesTCBeef.description="Муу, муу, муу. Погоди, что?"|Confused bee -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.speciesAMEarth=Erde -magicbees.speciesAMEarth.description=Empowered by the Earth, their produce is infused with its essence.|Apinomicon -magicbees.speciesAMAir=Luft -magicbees.speciesAMAir.description=Swift as the wind, and lighter than air.|Apinomicon -magicbees.speciesAMFire=Feuer -magicbees.speciesAMFire.description=Their colony can reach temperatures that boil water and melt metals.|Apinomicon -magicbees.speciesAMWater=Wasser -magicbees.speciesAMWater.description=Through prolonged exposure to liquids, their combs are quite wet and heavy.|Apinomicon -magicbees.speciesAMLightning=Blitz -magicbees.speciesAMLightning.description=They can travel vast distances in a blink, and are known for starting many wildfires.|Apinomicon -magicbees.speciesAMPlant=Staude -magicbees.speciesAMPlant.description=They have an affinity for all that is green and grows.|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.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.speciesAMArcane=Arkanen -magicbees.speciesAMArcane.description="Curious creatures, though their produce is quite useful."|Mithion, Adept -magicbees.speciesAMVortex=Вихревые -magicbees.speciesAMVortex.description=Ненасытны маной, они могут быть опасны для любого заклинателя.|Apinomicon -magicbees.speciesAMWight=Wight -magicbees.speciesAMWight.description="They attract magical spirits; not always docile."|Mithion, Adept -magicbees.speciesTEBlizzy=Blizzy -magicbees.speciesTEBlizzy.description=Frigid and cold, like miniature snowmen.|Apinomicon -magicbees.speciesTEGelid=Gelid -magicbees.speciesTEGelid.description=Liquid coolant producers.|Apinomicon -magicbees.speciesTEDante=Dante -magicbees.speciesTEDante.description=Mixing bees in an inferno produces surprising results.|Apinomicon -magicbees.speciesTEPyro=Pyro -magicbees.speciesTEPyro.description=You Monster.|Everyone, to you. -magicbees.speciesTEElectrum=Electrum -magicbees.speciesTEElectrum.description=...|Apinomicon -magicbees.speciesTEPlatinum=Platinum -magicbees.speciesTEPlatinum.description=...|Apinomicon -magicbees.speciesTENickel=Nickel -magicbees.speciesTENickel.description=...|Apinomicon -magicbees.speciesTEInvar=Invar -magicbees.speciesTEInvar.description=...|Apinomicon -magicbees.speciesTEBronze=Tinker -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.speciesTELux=Lux -magicbees.speciesTELux.description=Let there be light...|Apinomicon -magicbees.speciesTEWinsome=Winsome -magicbees.speciesTEWinsome.description=....|Apinomicon -magicbees.speciesTEEndearing=Endearing -magicbees.speciesTEEndearing.description=....|Apinomicon -magicbees.speciesRSAFluxed=Fluxed -magicbees.speciesRSAFluxed.description=....|Apinomicon -magicbees.speciesBMBloody=Bloody -magicbees.speciesBMBloody.description=....|Apinomicon -magicbees.speciesBMBound=Bound -magicbees.speciesBMBound.description=....|Apinomicon -magicbees.species= -magicbees.species.description= -magicbees.speedBlinding=Blinding -magicbees.effectCurative=Очищение -magicbees.effectDigSpeed=Добывание -magicbees.effectMoveSpeed=Ускорение -magicbees.effectSlowSpeed=Искажение времени -magicbees.effectWithering=Иссушение -magicbees.effectTransmuting=Трансмутация -magicbees.effectCrumbling=Разрушение -magicbees.effectInvisiblility=Невидимость -magicbees.effectNodeAttract=Привлечение ауры -magicbees.effectNodePurify=Очищение ауры -magicbees.effectNodeFlux=Загрязнение ауры -magicbees.effectNodeCharge=Зарядка ауры -magicbees.effectBrainy=Мозговитость -magicbees.effectBatty=Сумасшествие -magicbees.effectWispy=Призрачность -magicbees.effectGhastly=Ghastly -magicbees.effectSpidery=Spidery -magicbees.effectAblaze=Ablaze -magicbees.effectManaDrainer=Vortex -magicbees.effectAMWisp=Spiritual -magicbees.effectTEBlizzy=Blizzy -flowerProvider.book=Книги -flowerProvider.magic=Таумические цветы -flowerProvider.arsmagica=Экзотические цветы -flowerProvider.node=Узел -classification.veiled=Сокрытые -classification.veiled.description=Эти странные виды разбросаны по всему миру, могут иметь способности за пределами своего мышления.|Apinomicon -classification.arcane=Скрытые -classification.arcane.description=Эти пчёлы имеют необъяснимую близость к магии.|Apinomicon -classification.supernatural=Сверхъестественные -classification.supernatural.description=Уже необыкновенные пчёлы, они были связаны со многими странными происшествиями.|Apinomicon -classification.scholarly=Научные -classification.scholarly.description=Каста пчёл, которые имеют большой интеллект и дедуктивные способности.|Apinomicon -classification.skulking=Прячущиеся -classification.skulking.description=Неприятные и злобные.Относитесь к этой группе с осторожностью.|Apinomicon -classification.magic=Знающие -classification.magic.description=Неясно, являются ли они разумными, но у них есть поразительное осознание о своих средах обитания.|Apinomicon -classification.time=Временные -classification.time.description=Несмотря на умное использование времени на путешествие, эти пчёлы выполняют в два раза больше работы за один день.|Apinomicon -classification.soul=Душевные -classification.soul.description=Становится жутко когда думаешь, что они собирают души умерших.|Apinomicon -classification.abominable=Отвратительные -classification.abominable.description=Спавнятся в огненных глубинах нижнего мира, нет ничего приятного об этих существах.|Apinomicon -classification.Extrinsic=Посторнонние -classification.Extrinsic.description=Неизвестно, является ли эти существа порождением семьи Apidae в этой вселенной, или они развивались отдельно.|Apinomicon -classification.metallic=Металлические -classification.metallic.description=Они собирают фрагменты металла и объединяют их в большие части.|Apinomicon -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.thaumic=Таумические -classification.thaumic.description=Эти пчёлы имеют повышенную близость к магии и ауре.|Apinomicon -classification.fleshy=Мясистые -classification.fleshy.description=Через неизвестный механизм, эти пчёлы накапливают куски мяса животных. Так или иначе, это все еще съедобно.|Apinomicon -classification.alchemical=Алхимические -classification.alchemical.description=Эти пчёлы имеют непостоянную сущность.|Apinomicon -classification.essential=Ценные -classification.essential.description=Эти пчёлы имеют повышенную близость к аспектированной магии.|Apinomicon - -tc.aspect.tempus=Time, Moment, Eternity -tc.research_category.MAGICBEES=Apimancy - - -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. 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_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.
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_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_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!
In addition, the Thaumium in the device will accept the Repair enchantment. - -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!
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_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_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.
The Apimancer's Guild of Safety recommends handling them with telekenisis or very long tongs. - -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.
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_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_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.
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_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_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.
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. - -for.bees.custom.drone.magicbees.speciesMystical=Мистический трутень -for.bees.custom.beealyzer.drone.magicbees.speciesMystical=Мистический -for.bees.custom.drone.magicbees.speciesSorcerous=Волшебный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSorcerous=Волшебный -for.bees.custom.drone.magicbees.speciesUnusual=Необычный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesUnusual=Необычный -for.bees.custom.drone.magicbees.speciesAttuned=Приученный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesAttuned=Приученный - -for.bees.custom.drone.magicbees.speciesEldritch=Древний трутень -for.bees.custom.beealyzer.drone.magicbees.speciesEldritch=Древний - -for.bees.custom.drone.magicbees.speciesEsoteric=Тайный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesEsoteric=Тайный -for.bees.custom.drone.magicbees.speciesMysterious=Таинственный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesMysterious=Таинственный -for.bees.custom.drone.magicbees.speciesArcane=Магический трутень -for.bees.custom.beealyzer.drone.magicbees.speciesArcane=Магический - -for.bees.custom.drone.magicbees.speciesCharmed=Заколдованный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesCharmed=Заколдованный -for.bees.custom.drone.magicbees.speciesEnchanted=Зачарованный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesEnchanted=Зачарованный -for.bees.custom.drone.magicbees.speciesSupernatural=Сверхъестественный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSupernatural=Сверхъестественный - -for.bees.custom.drone.magicbees.speciesEthereal=Эфирный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesEthereal=Эфирный - -for.bees.custom.drone.magicbees.speciesWatery=Водный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesWatery=Водный -for.bees.custom.drone.magicbees.speciesEarthen=Земляной трутень -for.bees.custom.beealyzer.drone.magicbees.speciesEarthen=Земляной -for.bees.custom.drone.magicbees.speciesFirey=Огненный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesFirey=Огненный -for.bees.custom.drone.magicbees.speciesWindy=Ветряный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesWindy=Ветряный - -for.bees.custom.drone.magicbees.speciesPupil=Подопечный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesPupil=Подопечный -for.bees.custom.drone.magicbees.speciesScholarly=Учёный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesScholarly=Учёный -for.bees.custom.drone.magicbees.speciesSavant=Сведущий трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSavant=Сведущий - -for.bees.custom.drone.magicbees.speciesAware=Памятный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesAware=Памятный -for.bees.custom.drone.magicbees.speciesSpirit=Духовный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSpirit=Духовный -for.bees.custom.drone.magicbees.speciesSoul=Душевный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSoul=Душевный - -for.bees.custom.drone.magicbees.speciesSkulking=Прячущийся трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSkulking=Прячущийся -for.bees.custom.drone.magicbees.speciesGhastly=Ужасный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesGhastly=Ужасный -for.bees.custom.drone.magicbees.speciesSpidery=Паучий трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSpidery=Паучий -for.bees.custom.drone.magicbees.speciesSmouldering=Тлеющий трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSmouldering=Тлеющий - -for.bees.custom.drone.magicbees.speciesTimely=Временный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesTimely=Временный -for.bees.custom.drone.magicbees.speciesLordly=Роскошный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesLordly=Роскошный -for.bees.custom.drone.magicbees.speciesDoctoral=Докторский трутень -for.bees.custom.beealyzer.drone.magicbees.speciesDoctoral=Докторский - -for.bees.custom.drone.magicbees.speciesInfernal=Адский трутень -for.bees.custom.beealyzer.drone.magicbees.speciesInfernal=Адский -for.bees.custom.drone.magicbees.speciesHateful=Ненавистный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesHateful=Ненавистный -for.bees.custom.drone.magicbees.speciesSpiteful=Злопамятный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSpiteful=Злопамятный -for.bees.custom.drone.magicbees.speciesWithering=Иссушающий трутень -for.bees.custom.beealyzer.drone.magicbees.speciesWithering=Иссушающий - -for.bees.custom.drone.magicbees.speciesOblivion=Забвенный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesOblivion=Забвенный -for.bees.custom.drone.magicbees.speciesNameless=Безымянный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesNameless=Безымянный -for.bees.custom.drone.magicbees.speciesAbandoned=Брошенный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesAbandoned=Брошенный -for.bees.custom.drone.magicbees.speciesForlorn=Одинокий трутень -for.bees.custom.beealyzer.drone.magicbees.speciesForlorn=Одинокий -for.bees.custom.drone.magicbees.speciesDraconic=Драконий трутень -for.bees.custom.beealyzer.drone.magicbees.speciesDraconic=Драконий - -for.bees.custom.drone.magicbees.speciesIron=Железистый трутень -for.bees.custom.beealyzer.drone.magicbees.speciesIron=Железистый -for.bees.custom.drone.magicbees.speciesGold=Золотоносный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesGold=Золотоносный -for.bees.custom.drone.magicbees.speciesCopper=Медный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesCopper=Медный -for.bees.custom.drone.magicbees.speciesTin=Оловянный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesTin=Оловянный -for.bees.custom.drone.magicbees.speciesSilver=Серебряный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesSilver=Серебряный -for.bees.custom.drone.magicbees.speciesLead=Свинцовый трутень -for.bees.custom.beealyzer.drone.magicbees.speciesLead=Свинцовый -for.bees.custom.drone.magicbees.speciesAluminum=Алюминиевый трутень -for.bees.custom.beealyzer.drone.magicbees.speciesAluminum=Алюминиевый -for.bees.custom.drone.magicbees.speciesArdite=Ардитовый трутень -for.bees.custom.beealyzer.drone.magicbees.speciesArdite=Ардитовый -for.bees.custom.drone.magicbees.speciesCobalt=Кобальтовый трутень -for.bees.custom.beealyzer.drone.magicbees.speciesCobalt=Кобальтовый -for.bees.custom.drone.magicbees.speciesManyullyn=Мануллиновый трутень -for.bees.custom.beealyzer.drone.magicbees.speciesManyullyn=Мануллиновый - -for.bees.custom.drone.magicbees.speciesDiamond=Алмазный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesDiamond=Алмазный -for.bees.custom.drone.magicbees.speciesEmerald=Изумрудный трутень -for.bees.custom.beealyzer.drone.magicbees.speciesEmerald=Изумрудный -for.bees.custom.drone.magicbees.speciesApatite=Апатитовый трутень -for.bees.custom.beealyzer.drone.magicbees.speciesApatite=Апатитовый - -for.bees.custom.drone.magicbees.speciesMutable=Изменчивый трутень -for.bees.custom.beealyzer.drone.magicbees.speciesMutable=Изменчивый -for.bees.custom.drone.magicbees.speciesTransmuting=Трансмутирующий трутень -for.bees.custom.beealyzer.drone.magicbees.speciesTransmuting=Трансмутирующий -for.bees.custom.drone.magicbees.speciesCrumbling=Разрушающий трутень -for.bees.custom.beealyzer.drone.magicbees.speciesCrumbling=Разрушающий - -for.bees.custom.drone.magicbees.speciesInvisible=Невидимый трутень +language.name=Russian +language.region=RU +language.code=ru_RU + +#Items +item.magicbees:jellyBabies.name=Горсть маленького желе +item.thaumiumScoop.name=Таумический сачок +item.thaumiumGrafter.name=Таумический садовый нож +item.magicbees:mysteriousMagnet.name=Таинственный магнит +item.moonDial.name=Нефритовый набор луны + +#Tiles +tile.planks.greatwood.name=Доски из великого дерева +tile.slab.wood.greatwood.name=Плита из великого дерева +tile.planks.silverwood.name=Доски из серебряного дерева +tile.slab.wood.silverwood.name=Плита из серебряного дерева +tile.effectJar.name=Банка для сбора пчёл +tile.hive.curious.name=Странный улей +tile.hive.unusual.name=Необычный улей +tile.hive.deep.name=Глубинный улей +tile.hive.resonant.name=Резонирующий улей +tile.hive.infernal.name=Адский улей +tile.hive.oblivion.name=Забвенный улей + +#Combs +comb.mundane=Мирские соты +comb.molten=Расплавленные соты +comb.occult=Оккультные соты +comb.otherworldly=Потусторонние соты +comb.transmuted=Трансмутирующие соты +comb.paper=Бумажные соты +comb.soul=Душевные соты +comb.furtive=Незаметные соты +comb.aware=Памятные соты +comb.time=Временные соты +comb.forgotten=Забытые соты +comb.air=Ветреные соты +comb.fire=Огненные соты +comb.water=Водяные соты +comb.earth=Земляные соты +comb.TCair=Блестящие ветреные соты +comb.TCfire=Блестящие огненные соты +comb.TCwater=Блестящие водяные соты +comb.TCearth=Блестящие земляные соты +comb.TCorder=Блестящие упорядоченные соты +comb.TCchaos=Блестящие энтропийные соты +comb.essence=Соты эссенции +comb.potent=Крепкие соты +comb.TEcarbon=Углеродные соты +comb.TEelectric=Электрические соты +comb.TElux=Соты света +comb.TEendearing=Покоряющие соты + +#Waxes +wax.magic=Магический воск +wax.soul=Душевный воск +wax.amnesic=Амнезийный воск + +#Drops +drop.enchanting=Зачарованная капля +drop.intellect=Интеллектуальная капля +drop.destabilized=Нестабильная капля +drop.carbon=Углеродная капля +drop.lux=Капля света +drop.endearing=Покоряющая капля + +#Pollens +pollen.unusual=Необычная пыльца +pollen.phased=Поэтапная пыльца + +#Nuggets +nugget.iron=Железный самородок +nugget.steel=Стальной самородок +nugget.copper=Медный самородок +nugget.tin=Оловянный самородок +nugget.silver=Серебряный самородок +nugget.lead=Свинцовый самородок +nugget.diamond=Алмазный осколок +nugget.emerald=Изумрудный осколок +nugget.apatite=Апатитовый осколок + +#Propolises +propolis.dull=Упорядоченный прополис +propolis.air=Свежий прополис +propolis.fire=Горящий прополис +propolis.water=Текучий прополис +propolis.earth=Каменный прополис +propolis.magic=Хаотический прополис +propolis.unstable=Нестабильный прополис + +#Misc resources +resource.fragment=Фрагмент знаний +resource.lump=Ароматический кусок +resource.fertilizer=Концентрированные соединения +resource.skullChip=Обломок кости скелета-иссушителя +resource.skullFragment=Фрагмент черепа скелета-иссушителя +resource.dragonDust=Драконья пыль +resource.dragonChunk=Драконий кусок +resource.essenceLife=Эссенция ложной жизни +resource.essenceDeath=Эссенция неглубокой могилы +resource.essenceTime=Эссенция утраченного времени +resource.essenceDurability=Эссенция вечной прочности +resource.essenceOblivion=Эссенция бесконечного равнодушия +resource.essenceMutable=Эссенция изменчивого постоянства +resource.TCairDust=Наполненная воздухом пыль +resource.TCfireDust=Наполненная огнём пыль +resource.TCwaterDust=Наполненная водой пыль +resource.TCearthDust=Наполненная землёй пыль +resource.TCorderDust=Наполненная порядком пыль +resource.TCchaosDust=Наполненная хаосом пыль +resource.dimensionalSingularity=Пространственная сингулярность +resource.startNode=Пчёлы и магия +resource.crystalAspect=Кристаллизованный %s аспект + +#Frames +item.frameMagic.name=Магическая рамка +item.frameResilient.name=Эластичная рамка +item.frameGentle.name=Лёгкая рамка +item.frameMetabolic.name=Метаболическая рамка +item.frameNecrotic.name=Некротическая рамка +item.frameTemporal.name=Временная рамка +item.frameOblivion.name=Забвенная рамка + +#Capsules +capsule.magic=Магическая капсула %s +capsule.void=Пустотная капсула %s + +#Liquids +liquid.=(пустая) +liquid.water=воды +liquid.lava=лавы +liquid.biomass=биомассы +liquid.bioethanol=биотоплива +liquid.oil=нефти +liquid.fuel=топлива +liquid.seedoil=растительного масла +liquid.honey=мёда +liquid.juice=фруктового сока +liquid.ice=льда +liquid.milk=молока +liquid.acid=кислоты +liquid.poison=яда +liquid.liquidnitrogen=жидкого азота +liquid.liquiddna=жидкого ДНК +liquid.creosote=креозотного масла +liquid.steam=пара + +#Moondial +moon.full=Полнолуние +moon.gibbousWaning=Выпуклая луна +moon.gibbousWaxing=Рассеивающая луна +moon.halfWaning=Последняя четверть луны +moon.halfWaxing=Первая четверть луны +moon.crescentWaning=Серповидная луна +moon.crescentWaxing=Бальзамическая луна +moon.new=Новолуние + +#Backpack +backpack.thaumaturge=Рюкзак тауматурга + +#Itemgroups +itemGroup.magicBees=Magic Bees + +#Misc +misc.level=Уровень %s +misc.magnetActive=%s - активирован +misc.magnetInactive=%s - деактивирован + +#Research +research.requiresBlock=Требует основы %s +research.requiresPhase=Происходит между %s и %s +research.requiresPhaseSingle=Во время %s +research.requiresNode=Происходит только тогда, когда нод находится вблизи +research.requiresNodeSpecific=Происходит только под влиянием %s нода +research.requiresBiome=Происходит в пределах %s биома +research.node.pure=чистого +research.node.dark=тёмного +research.node.chaotic=хаотического +research.block.crystals=Скопление кристаллов + +#Species +magicbees.speciesMystical=Мистическая +magicbees.speciesMystical.description=Распространены во многих частях мира, а также немного капризны.|Apinomicon +magicbees.speciesSorcerous=Волшебная +magicbees.speciesSorcerous.description=Любят тепло и сухую среду кажется, что они обладают способностью вызывать воду из воздуха.|Apinomicon +magicbees.speciesUnusual=Необычная +magicbees.speciesUnusual.description="Любопытный образец для моей коллекции!"|Junior Apiarist +magicbees.speciesAttuned=Приученная +magicbees.speciesAttuned.description=Они летят, как будто руководствуясь невидимой нитью через воздух.|Apinomicon + +magicbees.speciesEldritch=Древняя +magicbees.speciesEldritch.description=Потенциал, который был заперт в предках этих пчёл в настоящее время выходят на первый план.|Apinomicon + +magicbees.speciesEsoteric=Тайная +magicbees.speciesEsoteric.description=Необычный гибрид, который кажется имеет магические свойства.|Apinomicon +magicbees.speciesMysterious=Таинственная +magicbees.speciesMysterious.description=Эти пчёлы были в краю мира и вернулись, и их сила выросла.|Apinomicon +magicbees.speciesArcane=Магическая +magicbees.speciesArcane.description="Их продукция заряжена магией."|Azanor, Master Thaumaturge + +magicbees.speciesCharmed=Заколдованная +magicbees.speciesCharmed.description=Ваши первые эксперименты в тауматургическом пчеловодстве дали свои плоды. Жужжащие плоды.|Apinomicon +magicbees.speciesEnchanted=Зачарованная +magicbees.speciesEnchanted.description=Последующие поколения заколдованных пчёл усилили их связь с неизвестным.|Apinomicon +magicbees.speciesSupernatural=Сверхъестественная +magicbees.speciesSupernatural.description=Эти пчёлы ходят по линии между этим миром и невидимым.|Apinomicon + +magicbees.speciesEthereal=Эфирная +magicbees.speciesEthereal.description=Призрачные и заряжанные энергией извне.|Apinomicon + +magicbees.speciesWatery=Водная +magicbees.speciesWatery.description=Любит влажные места и текущую воду.|Apinomicon +magicbees.speciesEarthen=Земляная +magicbees.speciesEarthen.description=У них есть "железная" связь с камнем и грязью.|Apinomicon +magicbees.speciesFirey=Огненная +magicbees.speciesFirey.description=Насколько близко вы сможете добраться до живого пламени без "белого каление".|Apinomicon +magicbees.speciesWindy=Ветряная +magicbees.speciesWindy.description=Редко можно увидеть в плоских, широко открытых пространствах. Их территории огромны.|Apinomicon + +magicbees.speciesPupil=Подопечная +magicbees.speciesPupil.description="Что эта пчела хочет сделать с моей бумагой?!"|Yorae, Librarian +magicbees.speciesScholarly=Учёная +magicbees.speciesScholarly.description="Я не могу быть уверен, но я думаю, что они могут быть умнее меня..."|Yorae, Librarian +magicbees.speciesSavant=Сведущая +magicbees.speciesSavant.description=lim(x^(i / pi)/ log(e * 7 - ln(32/x^-pi))). Решите за мёд.|Note found on Yorae's desk + +magicbees.speciesAware=Памятная +magicbees.speciesAware.description="Они могут видеть в вашу душу!"|Florastar, Expert Beekeeper +magicbees.speciesSpirit=Духовная +magicbees.speciesSpirit.description=Говорят, что эти пчёлы в состоянии связаться с мертвыми.|Apinomicon +magicbees.speciesSoul=Душевная +magicbees.speciesSoul.description="Dread Pirate Roberts пришёл за твоей ДУУУУУУУШОЙ!"|Dread Pirate Roberts + +magicbees.speciesSkulking=Прячущиеся +magicbees.speciesSkulking.description=Эти пчёлы стали ксенофобскими и злыми. Будьте осторожны.|Apinomicon +magicbees.speciesGhastly=Ужасная +magicbees.speciesGhastly.description="*вздох*... правда, мистические?"|Taveria, irritated Apiarist +magicbees.speciesSpidery=Паучая +magicbees.speciesSpidery.description=Паук-пчела; n. Делает то, что делает паук-пчела.|Unknown +magicbees.speciesSmouldering=Тлеющая +magicbees.speciesSmouldering.description=Тлеющие пчёлы стали зажженным огнём неугасимого пламени.|Apinomicon + +magicbees.speciesTimely=Временная +magicbees.speciesTimely.description="Пчеловод никогда не опаздывает. Он приходит именно тогда, когда он хочет!"|Sengir, Mad Apiarist +magicbees.speciesLordly=Роскошная +magicbees.speciesLordly.description=Они живут в мире, в пределах видимости глаза гармонии|Tattered Remains of ancient Apinomicon +magicbees.speciesDoctoral=Докторская +magicbees.speciesDoctoral.description="Хотите детское желе?"|Passing stranger with a great scarf and a blue box + +magicbees.speciesInfernal=Адская +magicbees.speciesInfernal.description=Появляются глубоко в аду, ни одна не прожила достаточно долго, чтобы освоить свои способности.|Apinomicon +magicbees.speciesHateful=Ненавистная +magicbees.speciesHateful.description=Продолжительное воздействие ада вообще не улучшило их темперамент. Будьте осторожны.|Apinomicon +magicbees.speciesSpiteful=Злопамятная +magicbees.speciesSpiteful.description=Они охраняют свою территорию яростно, с демоническим рвением и рубцами огня.|Apinomicon +magicbees.speciesWithering=Иссушающая +magicbees.speciesWithering.description=Они просто проводят жизнь на провал, медленно извлекая всю энергию со своей территории.|Apinomicon + +magicbees.speciesOblivion=Забвенная +magicbees.speciesOblivion.description=Неясно, являются ли эти пчёлы родными для этого мира, или для какого-либо другого.|Apinomicon +magicbees.speciesNameless=Безымянная +magicbees.speciesNameless.description="Другие натуралисты отказывались изучать эти пчёл. Я должен узнать, почему."|Tattered Research Notes +magicbees.speciesAbandoned=Брошенная +magicbees.speciesAbandoned.description="Чем больше я изучаю этих пчёл, тем больше чувствую, что им здесь не место, или в другом месте."|Tattered Research Notes +magicbees.speciesForlorn=Одинокая +magicbees.speciesForlorn.description="Сейчас я убеждён, что они остались в нашей вселенной с целью некоторого непознаваемого существа."|Tattered Research Notes +magicbees.speciesDraconic=Драконья +magicbees.speciesDraconic.description="Со скверным звуком, они вырвались из своего улья. Это был последний раз, когда мы видели Джеральда."|Tattered Research Notes + +magicbees.speciesIron=Железистая +magicbees.speciesIron.description=Вобрав некоторые из неблагородных металлов, эти пчёлы могут концентрировать эссенцию железа из региона.|Apinomicon +magicbees.speciesGold=Золотоносная +magicbees.speciesGold.description=Не всё, что блестит, золото.|Ancient Aphorism +magicbees.speciesCopper=Медная +magicbees.speciesCopper.description=Базовый металл во многих применениях; эти пчёлы полезны для борьбы с нехваткой ресурсов.|Apinomicon +magicbees.speciesTin=Оловянная +magicbees.speciesTin.description=Хотя они металлические, эти пчёлы удивительно хрупкие.|Apinomicon +magicbees.speciesSilver=Серебряная +magicbees.speciesSilver.description=Хотя они не получили столького внимания, как золотые пчёлы, они тем не менее ценны.|Apinomicon +magicbees.speciesLead=Свинцовая +magicbees.speciesLead.description=Любимые у любительских алхимиков, они считают, что могут превратить этих пчёл в золото.|Apinomicon +magicbees.speciesAluminum=Алюминиевая +magicbees.speciesAluminum.description=Морщинистые, блестящие и чрезвычайно податливые.|Apinomicon +magicbees.speciesArdite=Ардитовая +magicbees.speciesArdite.description=Нежные, желтовато-оранжевого материала, находятся в адских областях.|Apinomicon +magicbees.speciesCobalt=Кобальтовая +magicbees.speciesCobalt.description=Нестабильные свойства этого материала, кажется не влияют на хрупкость пчёл.|Apinomicon +magicbees.speciesManyullyn=Мануллиновая +magicbees.speciesManyullyn.description="Doot doo-dee-doot doot!" + +magicbees.speciesDiamond=Алмазная +magicbees.speciesDiamond.description=Кристаллические, сверкающие и труднее, чем зубы дракона. Эти пчёлы не одни из тех.|Apinomicon +magicbees.speciesEmerald=Изумрудная +magicbees.speciesEmerald.description=Говорят, что они были на земле, которой правил великий волшебник и они взяли аспект его города.|Apinomicon +magicbees.speciesApatite=Апатитовая +magicbees.speciesApatite.description=День и ночь жужжат. Я забаррикадировал окна и спрятался в подвале, но пронзительный шум апатин пчёл проникал в стены и доводил меня до безумия.|Beekeeping 101 + +magicbees.speciesMutable=Изменчивая +magicbees.speciesMutable.description=Changeable in nature, mercurial in personality.|Apinomicon +magicbees.speciesTransmuting=Трансмутирующая +magicbees.speciesTransmuting.description="I could've sworn this was made out of stone yesterday!"|Sengir, Mad Apiarist +magicbees.speciesCrumbling=Разрушающая +magicbees.speciesCrumbling.description=They have a corrosive effect on their surroundings, rapidly aging them.|Apinomicon + +magicbees.speciesInvisible=Невидимая +magicbees.speciesInvisible.description=Easy to miss, their glassy body is difficult to spot in the countryside.|Apinomicon + +magicbees.speciesTCAir=Аура +magicbees.speciesTCAir.description="Они работают так быстро, что это захватывает дух."|Sengir, Mad Apiarist +magicbees.speciesTCFire=Игнис +magicbees.speciesTCFire.description=Внимание: содержание улья очень горячо.|Warning label on Azanor's apiary +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.speciesTCOrder=Праекантатио +magicbees.speciesTCOrder.description=Пчеловодство это магия!|Apinomicon, Preface +magicbees.speciesTCChaos=Абсолютные +magicbees.speciesTCChaos.description="Их сильно привлекают осколки. Они требуют дальнейшего изучения."|Azanor, Master Thaumaturge +magicbees.speciesTCVis=Вис +magicbees.speciesTCVis.description="Они могут чувствовать изменения в ауре, но ещё не в состоянии воздействовать на неё."|Azanor, research notes +magicbees.speciesTCPure=Чистые +magicbees.speciesTCPure.description="Это как пчела-швейцар!"|MysteriousAges, Thaumaturge +magicbees.speciesTCFlux=Льняные +magicbees.speciesTCFlux.description="Я думал, что они помогут прибраться, но они делают только хуже!"|Kreicus, Apprentice Thaumaturge +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.speciesTCBrainy=Умные +magicbees.speciesTCBrainy.description=Их соты могут быть вонючими и плохо пахнуть, но их интеллект хорошо развит.|Apinomicon +magicbees.speciesTCWispy=Виспи +magicbees.speciesTCWispy.description=Их язык искажён и не понятен. Вполне вероятно, что они говорят с неестественными существами.|Apinomicon +magicbees.speciesTCBatty=Сумасшедшие +magicbees.speciesTCBatty.description=Они, как правило, привлекают летучих мышей в свои ульи с помощью неизвестных средств.|Apinomicon +magicbees.speciesTCChicken=Куриные +magicbees.speciesTCChicken.description="Кудах. Кудах кудах! ... вы слышали меня."|Confused bee +magicbees.speciesTCBeef=Мясистые +magicbees.speciesTCBeef.description="Муу, муу, муу. Погоди, что?"|Confused bee +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.speciesAMEarth=Erde +magicbees.speciesAMEarth.description=Empowered by the Earth, their produce is infused with its essence.|Apinomicon +magicbees.speciesAMAir=Luft +magicbees.speciesAMAir.description=Swift as the wind, and lighter than air.|Apinomicon +magicbees.speciesAMFire=Feuer +magicbees.speciesAMFire.description=Their colony can reach temperatures that boil water and melt metals.|Apinomicon +magicbees.speciesAMWater=Wasser +magicbees.speciesAMWater.description=Through prolonged exposure to liquids, their combs are quite wet and heavy.|Apinomicon +magicbees.speciesAMLightning=Blitz +magicbees.speciesAMLightning.description=They can travel vast distances in a blink, and are known for starting many wildfires.|Apinomicon +magicbees.speciesAMPlant=Staude +magicbees.speciesAMPlant.description=They have an affinity for all that is green and grows.|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.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.speciesAMArcane=Arkanen +magicbees.speciesAMArcane.description="Curious creatures, though their produce is quite useful."|Mithion, Adept +magicbees.speciesAMVortex=Вихревые +magicbees.speciesAMVortex.description=Ненасытны маной, они могут быть опасны для любого заклинателя.|Apinomicon +magicbees.speciesAMWight=Wight +magicbees.speciesAMWight.description="They attract magical spirits; not always docile."|Mithion, Adept +magicbees.speciesTEBlizzy=Blizzy +magicbees.speciesTEBlizzy.description=Frigid and cold, like miniature snowmen.|Apinomicon +magicbees.speciesTEGelid=Gelid +magicbees.speciesTEGelid.description=Liquid coolant producers.|Apinomicon +magicbees.speciesTEDante=Dante +magicbees.speciesTEDante.description=Mixing bees in an inferno produces surprising results.|Apinomicon +magicbees.speciesTEPyro=Pyro +magicbees.speciesTEPyro.description=You Monster.|Everyone, to you. +magicbees.speciesTEElectrum=Electrum +magicbees.speciesTEElectrum.description=...|Apinomicon +magicbees.speciesTEPlatinum=Platinum +magicbees.speciesTEPlatinum.description=...|Apinomicon +magicbees.speciesTENickel=Nickel +magicbees.speciesTENickel.description=...|Apinomicon +magicbees.speciesTEInvar=Invar +magicbees.speciesTEInvar.description=...|Apinomicon +magicbees.speciesTEBronze=Tinker +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.speciesTELux=Lux +magicbees.speciesTELux.description=Let there be light...|Apinomicon +magicbees.speciesTEWinsome=Winsome +magicbees.speciesTEWinsome.description=....|Apinomicon +magicbees.speciesTEEndearing=Endearing +magicbees.speciesTEEndearing.description=....|Apinomicon +magicbees.speciesRSAFluxed=Fluxed +magicbees.speciesRSAFluxed.description=....|Apinomicon +magicbees.speciesBMBloody=Bloody +magicbees.speciesBMBloody.description=....|Apinomicon +magicbees.speciesBMBound=Bound +magicbees.speciesBMBound.description=....|Apinomicon +magicbees.species= +magicbees.species.description= +magicbees.speedBlinding=Blinding +magicbees.effectCurative=Очищение +magicbees.effectDigSpeed=Добывание +magicbees.effectMoveSpeed=Ускорение +magicbees.effectSlowSpeed=Искажение времени +magicbees.effectWithering=Иссушение +magicbees.effectTransmuting=Трансмутация +magicbees.effectCrumbling=Разрушение +magicbees.effectInvisiblility=Невидимость +magicbees.effectNodeAttract=Привлечение ауры +magicbees.effectNodePurify=Очищение ауры +magicbees.effectNodeFlux=Загрязнение ауры +magicbees.effectNodeCharge=Зарядка ауры +magicbees.effectBrainy=Мозговитость +magicbees.effectBatty=Сумасшествие +magicbees.effectWispy=Призрачность +magicbees.effectGhastly=Ghastly +magicbees.effectSpidery=Spidery +magicbees.effectAblaze=Ablaze +magicbees.effectManaDrainer=Vortex +magicbees.effectAMWisp=Spiritual +magicbees.effectTEBlizzy=Blizzy +flowerProvider.book=Книги +flowerProvider.magic=Таумические цветы +flowerProvider.arsmagica=Экзотические цветы +flowerProvider.node=Узел +classification.veiled=Сокрытые +classification.veiled.description=Эти странные виды разбросаны по всему миру, могут иметь способности за пределами своего мышления.|Apinomicon +classification.arcane=Скрытые +classification.arcane.description=Эти пчёлы имеют необъяснимую близость к магии.|Apinomicon +classification.supernatural=Сверхъестественные +classification.supernatural.description=Уже необыкновенные пчёлы, они были связаны со многими странными происшествиями.|Apinomicon +classification.scholarly=Научные +classification.scholarly.description=Каста пчёл, которые имеют большой интеллект и дедуктивные способности.|Apinomicon +classification.skulking=Прячущиеся +classification.skulking.description=Неприятные и злобные.Относитесь к этой группе с осторожностью.|Apinomicon +classification.magic=Знающие +classification.magic.description=Неясно, являются ли они разумными, но у них есть поразительное осознание о своих средах обитания.|Apinomicon +classification.time=Временные +classification.time.description=Несмотря на умное использование времени на путешествие, эти пчёлы выполняют в два раза больше работы за один день.|Apinomicon +classification.soul=Душевные +classification.soul.description=Становится жутко когда думаешь, что они собирают души умерших.|Apinomicon +classification.abominable=Отвратительные +classification.abominable.description=Спавнятся в огненных глубинах нижнего мира, нет ничего приятного об этих существах.|Apinomicon +classification.Extrinsic=Посторнонние +classification.Extrinsic.description=Неизвестно, является ли эти существа порождением семьи Apidae в этой вселенной, или они развивались отдельно.|Apinomicon +classification.metallic=Металлические +classification.metallic.description=Они собирают фрагменты металла и объединяют их в большие части.|Apinomicon +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.thaumic=Таумические +classification.thaumic.description=Эти пчёлы имеют повышенную близость к магии и ауре.|Apinomicon +classification.fleshy=Мясистые +classification.fleshy.description=Через неизвестный механизм, эти пчёлы накапливают куски мяса животных. Так или иначе, это все еще съедобно.|Apinomicon +classification.alchemical=Алхимические +classification.alchemical.description=Эти пчёлы имеют непостоянную сущность.|Apinomicon +classification.essential=Ценные +classification.essential.description=Эти пчёлы имеют повышенную близость к аспектированной магии.|Apinomicon + +tc.aspect.tempus=Time, Moment, Eternity +tc.research_category.MAGICBEES=Apimancy + + +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. 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_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.
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_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_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!
In addition, the Thaumium in the device will accept the Repair enchantment. + +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!
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_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_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.
The Apimancer's Guild of Safety recommends handling them with telekenisis or very long tongs. + +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.
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_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_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.
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_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_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.
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. + +for.bees.custom.drone.magicbees.speciesMystical=Мистический трутень +for.bees.custom.beealyzer.drone.magicbees.speciesMystical=Мистический +for.bees.custom.drone.magicbees.speciesSorcerous=Волшебный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSorcerous=Волшебный +for.bees.custom.drone.magicbees.speciesUnusual=Необычный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesUnusual=Необычный +for.bees.custom.drone.magicbees.speciesAttuned=Приученный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesAttuned=Приученный + +for.bees.custom.drone.magicbees.speciesEldritch=Древний трутень +for.bees.custom.beealyzer.drone.magicbees.speciesEldritch=Древний + +for.bees.custom.drone.magicbees.speciesEsoteric=Тайный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesEsoteric=Тайный +for.bees.custom.drone.magicbees.speciesMysterious=Таинственный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesMysterious=Таинственный +for.bees.custom.drone.magicbees.speciesArcane=Магический трутень +for.bees.custom.beealyzer.drone.magicbees.speciesArcane=Магический + +for.bees.custom.drone.magicbees.speciesCharmed=Заколдованный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesCharmed=Заколдованный +for.bees.custom.drone.magicbees.speciesEnchanted=Зачарованный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesEnchanted=Зачарованный +for.bees.custom.drone.magicbees.speciesSupernatural=Сверхъестественный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSupernatural=Сверхъестественный + +for.bees.custom.drone.magicbees.speciesEthereal=Эфирный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesEthereal=Эфирный + +for.bees.custom.drone.magicbees.speciesWatery=Водный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesWatery=Водный +for.bees.custom.drone.magicbees.speciesEarthen=Земляной трутень +for.bees.custom.beealyzer.drone.magicbees.speciesEarthen=Земляной +for.bees.custom.drone.magicbees.speciesFirey=Огненный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesFirey=Огненный +for.bees.custom.drone.magicbees.speciesWindy=Ветряный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesWindy=Ветряный + +for.bees.custom.drone.magicbees.speciesPupil=Подопечный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesPupil=Подопечный +for.bees.custom.drone.magicbees.speciesScholarly=Учёный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesScholarly=Учёный +for.bees.custom.drone.magicbees.speciesSavant=Сведущий трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSavant=Сведущий + +for.bees.custom.drone.magicbees.speciesAware=Памятный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesAware=Памятный +for.bees.custom.drone.magicbees.speciesSpirit=Духовный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSpirit=Духовный +for.bees.custom.drone.magicbees.speciesSoul=Душевный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSoul=Душевный + +for.bees.custom.drone.magicbees.speciesSkulking=Прячущийся трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSkulking=Прячущийся +for.bees.custom.drone.magicbees.speciesGhastly=Ужасный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesGhastly=Ужасный +for.bees.custom.drone.magicbees.speciesSpidery=Паучий трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSpidery=Паучий +for.bees.custom.drone.magicbees.speciesSmouldering=Тлеющий трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSmouldering=Тлеющий + +for.bees.custom.drone.magicbees.speciesTimely=Временный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesTimely=Временный +for.bees.custom.drone.magicbees.speciesLordly=Роскошный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesLordly=Роскошный +for.bees.custom.drone.magicbees.speciesDoctoral=Докторский трутень +for.bees.custom.beealyzer.drone.magicbees.speciesDoctoral=Докторский + +for.bees.custom.drone.magicbees.speciesInfernal=Адский трутень +for.bees.custom.beealyzer.drone.magicbees.speciesInfernal=Адский +for.bees.custom.drone.magicbees.speciesHateful=Ненавистный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesHateful=Ненавистный +for.bees.custom.drone.magicbees.speciesSpiteful=Злопамятный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSpiteful=Злопамятный +for.bees.custom.drone.magicbees.speciesWithering=Иссушающий трутень +for.bees.custom.beealyzer.drone.magicbees.speciesWithering=Иссушающий + +for.bees.custom.drone.magicbees.speciesOblivion=Забвенный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesOblivion=Забвенный +for.bees.custom.drone.magicbees.speciesNameless=Безымянный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesNameless=Безымянный +for.bees.custom.drone.magicbees.speciesAbandoned=Брошенный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesAbandoned=Брошенный +for.bees.custom.drone.magicbees.speciesForlorn=Одинокий трутень +for.bees.custom.beealyzer.drone.magicbees.speciesForlorn=Одинокий +for.bees.custom.drone.magicbees.speciesDraconic=Драконий трутень +for.bees.custom.beealyzer.drone.magicbees.speciesDraconic=Драконий + +for.bees.custom.drone.magicbees.speciesIron=Железистый трутень +for.bees.custom.beealyzer.drone.magicbees.speciesIron=Железистый +for.bees.custom.drone.magicbees.speciesGold=Золотоносный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesGold=Золотоносный +for.bees.custom.drone.magicbees.speciesCopper=Медный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesCopper=Медный +for.bees.custom.drone.magicbees.speciesTin=Оловянный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesTin=Оловянный +for.bees.custom.drone.magicbees.speciesSilver=Серебряный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesSilver=Серебряный +for.bees.custom.drone.magicbees.speciesLead=Свинцовый трутень +for.bees.custom.beealyzer.drone.magicbees.speciesLead=Свинцовый +for.bees.custom.drone.magicbees.speciesAluminum=Алюминиевый трутень +for.bees.custom.beealyzer.drone.magicbees.speciesAluminum=Алюминиевый +for.bees.custom.drone.magicbees.speciesArdite=Ардитовый трутень +for.bees.custom.beealyzer.drone.magicbees.speciesArdite=Ардитовый +for.bees.custom.drone.magicbees.speciesCobalt=Кобальтовый трутень +for.bees.custom.beealyzer.drone.magicbees.speciesCobalt=Кобальтовый +for.bees.custom.drone.magicbees.speciesManyullyn=Мануллиновый трутень +for.bees.custom.beealyzer.drone.magicbees.speciesManyullyn=Мануллиновый + +for.bees.custom.drone.magicbees.speciesDiamond=Алмазный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesDiamond=Алмазный +for.bees.custom.drone.magicbees.speciesEmerald=Изумрудный трутень +for.bees.custom.beealyzer.drone.magicbees.speciesEmerald=Изумрудный +for.bees.custom.drone.magicbees.speciesApatite=Апатитовый трутень +for.bees.custom.beealyzer.drone.magicbees.speciesApatite=Апатитовый + +for.bees.custom.drone.magicbees.speciesMutable=Изменчивый трутень +for.bees.custom.beealyzer.drone.magicbees.speciesMutable=Изменчивый +for.bees.custom.drone.magicbees.speciesTransmuting=Трансмутирующий трутень +for.bees.custom.beealyzer.drone.magicbees.speciesTransmuting=Трансмутирующий +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=Невидимый \ No newline at end of file