Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add Apimancers Drainer #34

Merged
merged 69 commits into from
Jan 28, 2024

Conversation

Quantumlyy
Copy link

@Quantumlyy Quantumlyy commented Dec 7, 2023

This PR does the following:

  1. slightly cleans up the TileMagicApiary class
  2. introduces a new block called the Phialing Cabinet as well as te Essentia bee to accompany it.

The Phialing cabinet is a block which when placed under any IBeeHousing implementing block will generate essentia (it will only generate the one it is attuned to; attuning is done the same way as on Essentia Hatches from GG).
It also has some conditions that need to be met before essentia is generated:

  • attuned
  • not full
  • placed under an Apiary, Bee House, Magic Apiary, Alviar, etc...
  • has a queen that can work (all conditions of the bee have to be met)
  • the queen is a Essentia bee

All aspects of the cabinet are configurable via the config file.
To note: the generated amount is multiplied by the production multiplier of the housing, bee, and frames.

gh.mp4

(bitrate is quite bad as the max size for GitHub is 10MB, a better version can be found in the magic-dev channel)
The video above is running the cabinet with the following parameters: the cabinet will generate 2 essentia every 10 ticks (multiplied by the production multiplier).

The PR still has a few steps left:

  • Texture/model for Phialing cabinet (to be provided by @Alastors)
  • localization strings for Essentia bee (en_US)
  • localization strings for Phialing cabinet (en_US)
  • Phialing Cabinet research text (en_US)
  • Phialing Cabinet infusion recipe
  • better wording in message provided when attuned
  • cleaner config option names

@Quantumlyy Quantumlyy changed the title The great unf***ing of the bees Bring MagicApiary closer to Apiary Dec 7, 2023
@Quantumlyy Quantumlyy marked this pull request as ready for review December 7, 2023 21:51
@Quantumlyy Quantumlyy marked this pull request as draft December 8, 2023 10:21
@Quantumlyy Quantumlyy changed the title Bring MagicApiary closer to Apiary Add Phialing cabinet Dec 8, 2023
@Quantumlyy Quantumlyy marked this pull request as ready for review December 9, 2023 17:26
@Dream-Master Dream-Master requested a review from a team December 9, 2023 18:22
@Alastors Alastors added the ongoing freeze - don't merge Not just a bug fix and thus affected by a current freeze for a upcoming version label Dec 9, 2023
@Alastors
Copy link

Hi @Quantumlyy, Dream asked me to come and review this in Alastor's place, but I see that it currently fails to build, and while there is a big conversation there are still some unticked TODO checkboxes in the description and the preview video hosts some missing textures.
If you still want to get this in the pack, please make sure everything up to date again and then ping me on discord, I'll have a closer look at the changes then. Since Alastor's been all over it already I don't think there'll be much left to code review for me.

If you have any better naming ideas for the following config options please do tell me since personally, this is what I settled on but it could most certainly be improved: image Same goes for the following message: image

honestly the names look fine, since they have descriptions it shouldn't be an issue

@combusterf
Copy link

Apart from Apiamancer -> Apimancer ;)

Copy link

@combusterf combusterf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, very little left for me to have an opinion on.

CATEGORY_GENERAL,
"drainerTimeBetween",
200,
"The time in ticks between Apiamancer's Drainer essentia generation",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling: Apiamancer -> Apimancer

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the block is named the Apiamancer's Drainer.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's quite annoying to not be able to find something in NEI because it's not spelled as expected.

@Quantumlyy
Copy link
Author

@combusterf @Alastors should the block be renamed to "Apimancer's drainer"?

@Quantumlyy Quantumlyy marked this pull request as draft January 21, 2024 19:57
@Quantumlyy Quantumlyy changed the title Add Apiamancers Drainer Add Apimancers Drainer Jan 21, 2024
@Alastors
Copy link

How does the rest of the mod spell it? Honestly I mostly don't care (see Intercepter vs Interceptor) but if the rest of the mod spells it without an a it might be worth for consistency I suppose

@Quantumlyy Quantumlyy marked this pull request as ready for review January 21, 2024 20:02
@combusterf
Copy link

How does the rest of the mod spell it? Honestly I mostly don't care (see Intercepter vs Interceptor) but if the rest of the mod spells it without an a it might be worth for consistency I suppose

Everything in the current thaumonomicon is Apimancer this, Apimancy that

@Quantumlyy
Copy link
Author

How does the rest of the mod spell it? Honestly I mostly don't care (see Intercepter vs Interceptor) but if the rest of the mod spells it without an a it might be worth for consistency I suppose

Everything in the current thaumonomicon is Apimancer this, Apimancy that

Already renamed in every possible place.
I guess that the core mod PR will also need modifications now.

@Alastors
Copy link

Alastors commented Jan 21, 2024

give me a moment to test it again and I'll merge

forgot about "changes balance"

Copy link

@Alastors Alastors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has a glitch that needs to be fixed, probably could be handled with forge directions, you can't place blocks on the top of the block unless you're shifting, it's in the phial use catch, so just use forge directions to make this interaction not happen when you're looking at the top block.

@Dream-Master
Copy link
Member

@Alastors just let me know when it is done and can be merged.

@Dream-Master Dream-Master requested a review from Alastors January 27, 2024 11:02
@@ -488,6 +488,11 @@ public static void setupMutations() {
BeeSpecies.SUPERNATURAL.getSpecies(),
BeeSpecies.TC_CHAOS.getGenome(),
8).requireResource(ThaumcraftHelper.crystal, ThaumcraftHelper.ShardType.CHAOS.ordinal());
beeMutationFactory.createMutation(
BeeSpecies.TC_ORDER.getSpecies(),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

based

@@ -186,6 +186,8 @@ public enum BeeSpecies {
EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, true),
TC_CHAOS("TCChaos", "tenebrarum", BeeClassification.THAUMIC, 0xCCCCCC, BodyColours.THAUMCRAFT_SHARD,
EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, false),
TC_ESSENTIA("TCEssentia", "defaultium essentia apis", BeeClassification.THAUMIC, 0xCCCCCC,
BodyColours.THAUMCRAFT_SHARD, EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, false),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's a part of me that wishes it had a unique texture, but eh, no point for it, lotta work when all of the bees practically already look the same.

@@ -403,6 +404,8 @@ magicbees.speciesTCOrder=Ordered
magicbees.speciesTCOrder.description=Their combs are nearly perfect, each part mirroring the pattern of the whole.|Apinomicon
magicbees.speciesTCChaos=Chaotic
magicbees.speciesTCChaos.description=The social structure of their hives seems to vary day by day, making it more flexible and resillient than others, but significantly more unpredictable.|Apinomicon
magicbees.speciesTCEssentia=Essentia
magicbees.speciesTCEssentia.description="Why spam Essentia Condensers when you can just use bees?"|Quantumly, Condenser Enjoyer

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hilarious

Copy link

@Alastors Alastors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, looks good, check it, works in at least both the apiary and magic apiary, quantumly says likewise it works in the alveary as well so I'm sure it works in pretty much everything if not everything.

My only comment is that I wish the drainer itself displayed its internal vis storage when wearing goggles as it originally did, but frankly it's not a large enough thing to keep holding it back. Nice work man.

@Dream-Master Dream-Master merged commit 3a4e4dc into GTNewHorizons:master Jan 28, 2024
1 check passed
@Quantumlyy Quantumlyy deleted the bring-closer-to-forestry branch January 28, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects Balance Requires admin approval before merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants