mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Added new update messages.
This commit is contained in:
1 parent
2299991f0c
commit
508e5dcf31
2 files changed
+18
-1
No files matched your search
@@ -46,7 +46,7 @@ public final class VersionChecker {
|
||||
int onlineBuild = Integer.parseInt(onlineVersion.split("-")[1]);
|
||||
int clientBuild = LibMisc.BUILD.contains("ANT") ? Integer.MAX_VALUE : Integer.parseInt(LibMisc.BUILD);
|
||||
if(onlineBuild > clientBuild) {
|
||||
player.addChatComponentMessage(new ChatComponentTranslation("botania.versioning.flavour" + player.worldObj.rand.nextInt(16)).setChatStyle(new ChatStyle().setColor(EnumChatFormatting.LIGHT_PURPLE)));
|
||||
player.addChatComponentMessage(new ChatComponentTranslation("botania.versioning.flavour" + player.worldObj.rand.nextInt(32)).setChatStyle(new ChatStyle().setColor(EnumChatFormatting.LIGHT_PURPLE)));
|
||||
player.addChatComponentMessage(new ChatComponentTranslation("botania.versioning.outdated", clientBuild, onlineBuild));
|
||||
|
||||
IChatComponent component = IChatComponent.Serializer.func_150699_a(StatCollector.translateToLocal("botania.versioning.updateMessage").replaceAll("%version%", onlineVersion));
|
||||
|
||||
@@ -89,6 +89,23 @@ botania.versioning.flavour12=Botania updated. #hoennconfirmed
|
||||
botania.versioning.flavour13=You activated my Trap Card! I play Botania Update!
|
||||
botania.versioning.flavour14=Let's play a drinking game, have a drink every time Botania updates. *hic*
|
||||
botania.versioning.flavour15=Pay no attention to the Botania update behind the curtain.
|
||||
botania.versioning.flavour16=You get an update! You get an update! EVERYONE GETS AN UPDATE!
|
||||
botania.versioning.flavour17=Your build's unbalanced and your hair's a Kuriboh! Hey. Hoo.
|
||||
botania.versioning.flavour18=WhY iS tHiS uPdAtE mEsSaGe CaSeD lIkE tHiS!?
|
||||
botania.versioning.flavour19=By updating botania you must not accept the terms of service.
|
||||
botania.versioning.flavour20=wow such botania so update much fix very content
|
||||
botania.versioning.flavour21=This botania update will self destruct in 3...2...
|
||||
botania.versioning.flavour22=There were bugs in botania, but everything changed when the fire nation attacked. Or not.
|
||||
botania.versioning.flavour23=Botania updated. On other news, Germany totally bribed the referee.
|
||||
botania.versioning.flavour24=Hey! Hey player! Hey player! Hey player hey! Botania update!
|
||||
botania.versioning.flavour25=And what do we say to the Botania update?
|
||||
botania.versioning.flavour26=Botania updatheii, mom's spaghetti.
|
||||
botania.versioning.flavour27=And I grabbed the Botania update AND I THREW IT ON THE GROUND! MAAAN!
|
||||
botania.versioning.flavour28=If you can break wood with your fists, why don't you update Botania too?
|
||||
botania.versioning.flavour29=BotaniaWow! You'll say wow every time! As seen on your chat log!
|
||||
botania.versioning.flavour30=Just update it, update it, update it, update it! No one wants to be outdated!
|
||||
botania.versioning.flavour31=Botania used Update! It's super effective!
|
||||
botania.versioning.flavour32=A new Botania update is available, now 20% cooler.
|
||||
botania.versioning.outdated=You are running Botania build %s, the latest is build %s.
|
||||
botania.versioning.updateMessage=["Click for... [",{"text":"Download","color":"green","hoverEvent":{"action":"show_text","value":{"text":"Click this to automatically download the latest version","color":"green"}},"clickEvent":{"action":"run_command","value":"/botania-download-latest %version%"}},"] [",{"text":"Website","color":"green","hoverEvent":{"action":"show_text","value":{"text":"Click this to go to the mod's website","color":"green"}},"clickEvent":{"action":"open_url","value":"http://vazkii.us/mod/Botania/downloads.php"}},"] [",{"text":"Changelog","color":"green","hoverEvent":{"action":"show_text","value":{"text":"Click this to go to the version's Changelog","color":"green"}},"clickEvent":{"action":"open_url","value":"http://vazkii.us/mod/Botania/changelog.php#%version%"}},"]"]
|
||||
botania.versioning.startingDownload=Starting download of %s. Please do not remove your hard disk.
|
||||
|
||||
Reference in new issue
Block a user