-
Couldn't load subscription status.
- Fork 85
Cogwheel Skull #610
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
Cogwheel Skull #610
Conversation
|
Please add the name of the item into language file, referring to the doc |
|
Marking this as a draft so I don't accidentally merge it, please mark it as ready for review once the lang keys have been added |
Removed redundant line in the ammo definition Added a tooltip along with the name to lang file Additionally unified all names for "Blast-Resistant" and "Fire-Resistant" blocks into one format
| }, | ||
| ]; | ||
| createastralTooltips.forEach((tooltip) => addLocalizedShiftTooltip(event, tooltip.item, tooltip.tooltip)); | ||
| event.add("createastral:cogwheel_skull", Text.of(Component.translate("tooltip.createastral.cogwheel_skull")).gray()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I just saw this code. I think I saw some issues. Maybe we need to do some testing?
Including the following, I think adding Component.translate to Text.of is strange.
I think the normal approach should be Component.translate("tooltip.createastral.cogwheel_skull").gray()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gosh, this was what I did a year ago. What an idiot!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I don't actually know how any of that works, just copied from the code below. Can remove it if you think it shouldn't be there, but I don't think it affects the end result
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good to me
|
I think I can safely merge this pull request |
Adds the coghweel skull as a placeable block and potato cannon projectile (Applies a "time stop" AOE on impact)
Also fixes some block name inconsistencies