");
- row.append($("").html("Save Backups:(Create a backup save.) "));
- row2.append($(" ").html("Load Backups:(Load a backup save.) "));
+ row.append($(" ").html("Salvar cópia de segurança:(Criar uma cópia de segurança.) "));
+ row2.append($(" ").html("Carregar cópia de segurança:(Carregar uma cópia de segurança.) "));
_.each(["1", "2", "3"], (tag) => {
row.append(
@@ -376,7 +376,7 @@ SharkGame.PaneHandler = {
.addClass("option-button")
.on("click", () => {
if (SharkGame.Save.savedGameExists(`Backup${tag}`)) {
- if (!confirm("There is already a save in this slot. Overwrite it?")) {
+ if (!confirm("Já tem um jogo salvo neste local. Sobrescrevê-lo?")) {
return;
}
}
@@ -394,7 +394,7 @@ SharkGame.PaneHandler = {
if (!$(`#load${tag}`).hasClass("disabled") && SharkGame.Save.savedGameExists(`Backup${tag}`)) {
if (
confirm(
- `Are you absolutely sure you want to load this save${SharkGame.Save.getTaggedSaveCharacteristics(`Backup${tag}`)}?`,
+ `Você tem certeza que quer carregar este jogo${SharkGame.Save.getTaggedSaveCharacteristics(`Backup${tag}`)}?`,
)
) {
SharkGame.Save.loadTaggedSave(`Backup${tag}`);
@@ -413,14 +413,14 @@ SharkGame.PaneHandler = {
if (SharkGame.persistentFlags.unlockedDebug) {
const loadButton = $("")
- .html("load pre-cheats backup")
+ .html("cópia pré-trapaças")
.attr("id", "loadCheats")
.addClass("option-button")
.on("click", () => {
if (!$("#loadCheats").hasClass("disabled") && SharkGame.Save.savedGameExists("BackupCheats")) {
if (
confirm(
- `Are you absolutely sure you want to load this save${SharkGame.Save.getTaggedSaveCharacteristics("BackupCheats")}?`,
+ `Você tem certeza que quer carregar este jogo${SharkGame.Save.getTaggedSaveCharacteristics("BackupCheats")}?`,
)
) {
SharkGame.Save.loadTaggedSave("BackupCheats");
@@ -438,14 +438,14 @@ SharkGame.PaneHandler = {
// SETTING WIPE
row = $("");
- row.append($("").html("Wipe Settings:(Change all settings to default.) "));
+ row.append($(" ").html("Redefinir configurações:(Limpar todas as configurações.) "));
row.append(
$(" ").append(
$("")
- .html("wipe")
+ .html("limpar")
.addClass("option-button")
.on("click", () => {
- if (confirm("Are you absolutely sure you want to wipe your settings to default?")) {
+ if (confirm("Tem certeza que você quer redifinir suas configurações?")) {
$.each(SharkGame.Settings.current, (settingName) => {
if (SharkGame.Settings[settingName]) {
SharkGame.Settings.current[settingName] = SharkGame.Settings[settingName].defaultSetting;
@@ -467,15 +467,15 @@ SharkGame.PaneHandler = {
// add save wipe
row = $("");
row.append(
- $("").html("Wipe Save:(Completely wipe your main save and reset the game. COMPLETELY. FOREVER.) "),
+ $(" ").html("Apagar jogo:(Apaga o seu progresso e recomeça o jogo do zero. COMPLETAMENTE. PARA SEMPRE.) "),
);
row.append(
$(" ").append(
$("")
- .html("wipe")
+ .html("apagar")
.addClass("option-button")
.on("click", () => {
- if (confirm("Are you absolutely sure you want to wipe your save?\nIt'll be gone forever!")) {
+ if (confirm("Tem certeza que você quer apagar o seu progresso?\nEle não vai ser recuperável!")) {
main.resetGame();
}
}),
@@ -485,11 +485,11 @@ SharkGame.PaneHandler = {
if (SharkGame.persistentFlags.unlockedDebug) {
row = $("");
- row.append($("").html("Hide Cheats:(Hide or show cheats.) "));
+ row.append($(" ").html("Esconder trapaças:(Esconder a aba de trapaças.) "));
row.append(
$(" ").append(
$("")
- .html("show")
+ .html("mostrar")
.addClass("option-button")
.on("click", () => {
cad.debug();
@@ -499,7 +499,7 @@ SharkGame.PaneHandler = {
row.append(
$("").append(
$("")
- .html("hide")
+ .html("ocultar")
.addClass("option-button")
.on("click", () => {
cad.hideDebug();
@@ -509,7 +509,7 @@ SharkGame.PaneHandler = {
optionsTable.prepend(row);
optionsTable.prepend(
- $("").html("" + sharktext.boldString("CHEATS and DEBUG") + " "),
+ $(" ").html("" + sharktext.boldString("TRAPAÇAS e DEBUG") + " "),
);
}
@@ -527,7 +527,7 @@ SharkGame.PaneHandler = {
);
optionsTable.prepend(row);
- optionsTable.prepend($(" ").html("" + sharktext.boldString("KEYBINDS") + " "));
+ optionsTable.prepend($(" ").html("" + sharktext.boldString("ATALHOS") + " "));
return optionsTable;
},
@@ -567,10 +567,10 @@ SharkGame.PaneHandler = {
row.append(
$("").append(
$("")
- .html("new bind")
+ .html("novo atalho")
.attr("id", "new-bind-button")
.on("click", function () {
- $(this).html("press some keys...");
+ $(this).html("aperta alguma coisa...");
SharkGame.Keybinds.waitForKey = true;
}),
),
@@ -588,7 +588,7 @@ SharkGame.PaneHandler = {
});
_.each(SharkGame.Keybinds.actions, (potentialBoundAction, i) => {
selector.append(
- `` +
+ ` ` +
potentialBoundAction +
" ",
);
@@ -642,20 +642,20 @@ SharkGame.PaneHandler = {
$("")
.attr("id", "aspectInnerWarning")
.append(
- "Uh oh!
Your save has aspects that are no longer in the game!
I'm sorry, but there's only one way we can fix this:
your
aspects have been
refunded so that you can
replace them with
new ones .
Remember that you can use the
skip button
in the top-left of the screen to go back to the gateway.
",
+ "Opa!
O seu jogo contém aspectos que não existem mais no jogo!
Mil perdões, mas só tem um jeito de consertar isso:
seus
aspectos foram
reembolsados para que você os
substitua com
novos aspectos .
Lembre-se que você sempre pode apertar no botão
'pular' no canto superior esquerdo para voltar ao entremundos.
",
)
.addClass("paneContentDiv"),
);
SharkGame.Button.makeButton(
"confirmUnderstood",
- "I understand my
ASPECTS ARE
REFUNDED ",
+ "Eu entendo que os meus
ASPECTOS FORAM
REEMBOLSADOS ",
aspectWarnDiv,
() => {
SharkGame.PaneHandler.nextPaneInStack();
SharkGame.missingAspects = false;
},
);
- this.addPaneToStack("THAT'S NOT GOOD...", aspectWarnDiv, true);
+ this.addPaneToStack("ISSO NÃO É NADA BOM...", aspectWarnDiv, true);
},
showUnlockedCheatsMessage() {
diff --git a/js/resources.js b/js/resources.js
index 1636cfa8..ac9fffb9 100644
--- a/js/resources.js
+++ b/js/resources.js
@@ -425,7 +425,7 @@ SharkGame.Resources = {
isCategoryVisible(category) {
return (
- category.name !== "Hidden" &&
+ category.name !== "Escondido" &&
_.some(category.resources, (resourceName) => {
const resource = SharkGame.PlayerResources.get(resourceName);
return resource && (resource.totalAmount > 0 || resource.discovered) && world.doesResourceExist(resourceName);
@@ -603,20 +603,20 @@ SharkGame.Resources = {
$("#tooltipbox")
.html(
sharktext.boldString(
- "Drag this token onto stuff to increase production.
While a token is still in its slot, you can also click where you want it to go.",
+ "Arraste esta ficha a algum recurso para aumentar sua produção.
Enquanto uma ficha estiver guardada, você também pode clicar onde quiseres que ela vá.",
),
)
.addClass("forHomeButtonOrGrotto");
} else {
- $("#tooltipbox").html(sharktext.boldString("Click this slot or click the token to recall it.")).addClass("forHomeButtonOrGrotto");
+ $("#tooltipbox").html(sharktext.boldString("Clique aqui ou na ficha para guardá-la novamente.")).addClass("forHomeButtonOrGrotto");
}
}
},
tryReturnToken(_event, duringLoad, token = $("#" + this.id)) {
if (!token.length) {
- log.addError("Tried to return token, but couldn't find it!");
- log.addError("Tried to find this token: " + token.attr("id"));
+ log.addError("Tentamos retornar a ficha, mas não achamos!");
+ log.addError("Tentamos achar esta ficha: " + token.attr("id"));
return;
}
if (SharkGame.flags.tokens[token.attr("id")] !== "NA") {
@@ -691,11 +691,11 @@ SharkGame.Resources = {
return false;
}
if (tokenLocation === "NA") {
- textToDisplay += "in its slot.";
+ textToDisplay += "está guardado.";
} else if (tokenLocation.includes("income")) {
- textToDisplay += "boosting all " + sharktext.getResourceName(tokenLocation.split("-")[1], false, 1) + " gains.";
+ textToDisplay += "está aumentando a produção de" + sharktext.getResourceName(tokenLocation.split("-")[1], false, 1) + ".";
} else if (tokenLocation.includes("resource")) {
- textToDisplay += "boosting " + sharktext.getResourceName(tokenLocation.split("-")[1], false, 1) + " efficiency.";
+ textToDisplay += "está aumentando a eficiência de" + sharktext.getResourceName(tokenLocation.split("-")[1], false, 1) + " .";
}
});
$("#token-description").html(textToDisplay);
@@ -809,42 +809,43 @@ SharkGame.Resources = {
disableNextTick: false,
realMultiplier: 1,
onMessages: [
- "Time warps around you.",
- "Everything seems to get faster.",
- "Your vision warps as time bends.",
- "The hands of a nearby clock speed up.",
- "Frenzy members acclerate around you.",
- "You feel strange. Everything feels wrong. It's so fast.",
- "A strange feeling washes over you, and everything around you speeds up.",
- "You feel your mind twisting. Churning. Everything seems so fast.",
- "Things start piling up around you. You can't even tell who's doing it.",
- "You feel a crushing weight on your mind, and everything seems to get faster.",
- "You feel groggy. Everything speeds up.",
- "You can barely understand what's happening around you anymore. The speed is jarring.",
- "You feel sluggish. Everything around you seems so much faster.",
- "Your vision gets blurry. Everything is blurry. It's all a blur.",
- "Time seems to stretch from your perspective. It feels so wrong.",
- "An otherworldly sensation overcomes you.",
- "Confusion and distress overtake you as the hands of time speed up.",
- "You float in place, taking in the sights as beautiful colors buzz by and the light of day flashes against night.",
- "You feel disconnected, like you've been unplugged from the world. Time whizzes by.",
- "You approach what feels like an edge: like you could tip over at any moment, and fall deep into the abyss.",
- "What is this? What's going on? Everything feels like it's spinning.",
+ "O tempo se curva a sua volta.",
+ "Tudo parece ficar mais rápido.",
+ "Sua visão está turva, e o tempo está estranho.",
+ "Os ponteiros de um relógio próximo aceleram.",
+ "Seus companheiros de cardume passam avoados por você.",
+ "Você se sente estranho. Tudo parece errado. Rápido demais.",
+ "Você se sente enjoado, tudo a sua volta acelera.",
+ "Você sente sua cabeça doer. Latejar. Tudo está tão rápido.",
+ "Coisas começam a serem empilhados a sua volta. Você não sabe nem quem está fazendo isso.",
+ "Um peso se instala na sua mente, e tudo acelera.",
+ "Você se sente grogue. Tudo passa rápido.",
+ "Você não consegue entender direito nada que está acontecendo. Toda essa velocidade é demais.",
+ "Uma lentidão parece tomar seu corpo. Tudo a sua volta está rápido demais.",
+ "Sua visão está embaçada. Tudo está embaçado. Tudo virou um borrão.",
+ "O tempo se encolhe na sua perspectiva. E parece tão errado.",
+ "Uma sensação fora deste mundo toma você.",
+ "Confusão e aflição te atingem com o ponteiro do tempo acelerando.",
+ "Você flutua no lugar, olhando as lindas cores passando e a luz do dia piscando com a noite.",
+ "Você se sente dissociando, como se não fizesse mais parte do mundo. O tempo só passa.",
+ "Você se aproxima do que parece ser um limite: como se tivesse a um segundo de cair desse plano, e se perder num abismo.",
+ "O que é isso? O que está acontecendo? Tudo está girando.",
],
offMessages: [
- "You feel a headache coming on as time slows down again.",
- "You feel a weight lifting as time slows down.",
- "You breathe a sigh of relief as the world returns to normal.",
- "Compared to how fast it just was, everything seems to grind to a halt.",
- "Clarity washes over you. You feel alert, aware, as everything goes back to normal.",
- "The forcible time-warp stops.",
- "You feel your senses return to you like the sudden snap of a rubber band.",
- "You are now keenly aware of what's around you as it all slows down.",
- "You shake your head furiously, clearing the sluggishness from your mind. You feel normal again.",
- "Your field of view warps significantly. Just how much were you even able to see? You can't remember.",
- "You simply float right where you are, still coming to your senses.",
- "Your vision sharpens. Your senses are keen. You can feel everything again.",
- "You come back from the brink, exhaustion replaced by energy and enthusiasm.",
+ "Uma aura de enxaqueca se mostra presente com tudo desacelerando.",
+ "Um peso sai da sua cabeça com o tempo ficando normal.",
+ "O volta ao normal, e você se sente aliviado como nunca.",
+ "Comparado a como tudo estava, agora tá tudo tão agonizantemente lento.",
+ "Você é atingido por clareza. Você está consciente e alerta ao mundo voltando ao regular.",
+ "Sua viagem no tempo forçosa parou.",
+ "Seus sentidos retornam a você como se um choque tivesse te acordado.",
+ "Com o tempo desacelerando, você está novamente ciente do que acontece a sua volta.",
+ "Você chacoalha a sua cabeça, limpando a lerdeza que estava sentindo. Você se sente normal de novo.",
+ "Sua visão se curva e deforma de volta ao normal. O quanto que você viu? Nem você consegue lembrar.",
+ "Você fica no lugar por um tempo, se acostumando à velocidade normal das coisas.",
+ "Sua visão volta a focar. Seus sentidos voltam ao normal. Como é bom entender tudo novamente.",
+ "Você volta da beira da sua mente, energia e entusiasmo tomam espaço de exaustão.",
+ "O que foi isso? Eu tava sonhando? Halucinando?",
],
allowMinuteHand() {
@@ -892,7 +893,7 @@ SharkGame.Resources = {
res.minuteHand.showTooltip,
res.tableTextLeave,
);
- $("#minute-hand-toggle").html("
TOGGLE ");
+ $("#minute-hand-toggle").html("
ATIVE-ME ");
$("#minute-hand-div").append($("
").attr("id", "minute-row-two"));
$("#minute-row-two").append($("
").attr("id", "minute-multiplier"));
$("#minute-hand-div").append(
@@ -1094,11 +1095,11 @@ SharkGame.Resources = {
if (SharkGame.Settings.current.showTooltips) {
if (SharkGame.Settings.current.idleEnabled) {
$("#tooltipbox").html(
- "This is the minute hand . It stores offline and idle progress. Use the slider to adjust speed. Press the button to unleash it.",
+ "Este é o ponteiro dos minutos . Ele guarda o progresso quando o jogo está desligado ou ocioso. Use a chave abaixo para ajustar a velocidade. Aperte o botão para ativá-lo.",
);
} else {
$("#tooltipbox").html(
- "This is the minute hand . It stores time from various sources. Use the slider to adjust speed. Press the button to unleash it.",
+ "Este é o ponteiro dos minutos . Ele guarda o tempo de algumas fontes. Use a chave abaixo para ajustar a velocidade. Aperte o botão para ativá-lo.",
);
}
}
@@ -1144,9 +1145,9 @@ SharkGame.Resources = {
showTooltip() {
if (cad.pause) {
- $("#tooltipbox").html("Click to unpause .");
+ $("#tooltipbox").html("Clique para continuar .");
} else {
- $("#tooltipbox").html("Click to pause , stopping most timers and all resources.");
+ $("#tooltipbox").html("Clique para pausar , parando a maioria dos contadores e todos os recursos.");
}
},
},
@@ -1197,7 +1198,7 @@ SharkGame.Resources = {
$(" ")
.attr("colSpan", 3)
.append(
- $("").html(`${icon} ${categoryName} `).css("text-align", "left"),
+ $("").html(`${icon} ${category.name} `).css("text-align", "left"),
),
)
.on("click", () => SharkGame.Resources.collapseResourceTableRow(categoryName));
diff --git a/js/save.js b/js/save.js
index e7fe4aa8..38296a0e 100644
--- a/js/save.js
+++ b/js/save.js
@@ -63,10 +63,10 @@ SharkGame.Save = {
saveString = ascii85.encode(pako.deflate(JSON.stringify(saveData), { to: "string" }));
try {
- if (saveString === undefined || saveString === "<~~>") throw new Error("Something went wrong while saving");
+ if (saveString === undefined || saveString === "<~~>") throw new Error("Algo deu errado durante o salvamento");
localStorage.setItem(SharkGame.Save.saveFileName, saveString);
} catch (err) {
- throw new Error("Couldn't save to local storage. Reason: " + err.message);
+ throw new Error("Não conseguiste salvar para armazenamento local. Razão: " + err.message);
}
return saveString;
@@ -79,7 +79,7 @@ SharkGame.Save = {
saveDataString = ascii85.decode(saveDataString);
} catch {
throw new Error(
- "Saved data looked like it was encoded in ascii85, but it couldn't be decoded. Can't load. Your save: " + saveDataString,
+ "Teu salvamento se encontra em ascii85, mas não pôde ser decodificado. Não consigo carregá-lo. Teu salvamento: " + saveDataString,
);
}
}
@@ -90,7 +90,7 @@ SharkGame.Save = {
try {
saveDataString = pako.inflate(saveDataString, { to: "string" });
} catch (err) {
- throw new Error("Saved data is compressed, but it can't be decompressed. Can't load. Your save: " + saveDataString + "\n", err);
+ throw new Error("Teu salvamento está compactado, mas não pôde ser descompactar. Não consigo carregá-lo. Teu salvamento: " + saveDataString + "\n", err);
}
}
@@ -99,7 +99,7 @@ SharkGame.Save = {
try {
return JSON.parse(saveDataString);
} catch {
- throw new Error("Couldn't load save data. It didn't parse correctly. Your save: " + saveDataString);
+ throw new Error("Não pude carregar teu salvamento. A sintaxe não está correta. Teu salvamento: " + saveDataString);
}
}
},
@@ -109,9 +109,9 @@ SharkGame.Save = {
const saveDataString = importSaveData || localStorage.getItem(SharkGame.Save.saveFileName);
if (!saveDataString) {
- throw new Error("Tried to load game, but no game to load.");
+ throw new Error("Tentei carregar jogo, mas não há nenhum a carregar.");
} else if (typeof saveDataString !== "string") {
- throw new Error("Tried to load game, but save wasn't a string.");
+ throw new Error("Tentei carregar jogo, mas o salvamento não é uma cadeia de caracteres.");
}
saveData = this.decodeSave(saveDataString);
@@ -123,7 +123,7 @@ SharkGame.Save = {
saveData = SharkGame.Save.saveUpdaters[0](saveData);
} else if (typeof saveData.saveVersion !== "number" || saveData.saveVersion <= 12) {
// After save version 12, packing support was removed; Backwards compatibility is not maintained because gameplay changed significantly after this point.
- throw new Error("This is a save from before New Frontiers 0.2, after which the save system was changed.");
+ throw new Error("Teu salvamento vêm de antes da versão 0.2 de Novas Fronteiras, desde então o sistema de salvamento foi mudade.");
} else if (saveData.saveVersion === 15 || saveData.saveVersion === 16) {
// gonna reset aspects, need to inform player
SharkGame.missingAspects = true;
@@ -136,7 +136,7 @@ SharkGame.Save = {
saveData.saveVersion = i;
}
// let player know update went fine
- log.addMessage("Updated save data from v " + saveData.version + " to " + SharkGame.VERSION + ".", true);
+ log.addMessage("Teu jogo foi atualizado da versão " + saveData.version + " para " + SharkGame.VERSION + ".", true);
}
// we're going to assume that everything has already been reset; we assume that we're just loading values into a blank slate
@@ -280,7 +280,7 @@ SharkGame.Save = {
}
} else {
throw new Error(
- "Couldn't load saved game. I don't know how to break this to you, but I think your save is corrupted. Your save: " + saveDataString,
+ "Não pude carregar teu salvamento. E eu não sei como te falar, mas o teu salvamento foi corrompido. Teu salvamento: " + saveDataString,
);
}
},
diff --git a/js/settings.js b/js/settings.js
index 1b222d46..43427676 100644
--- a/js/settings.js
+++ b/js/settings.js
@@ -9,21 +9,21 @@ SharkGame.Settings = {
},
grottoMode: {
- defaultSetting: "simple",
- options: ["simple", "advanced"],
+ defaultSetting: "simples",
+ options: ["simples", "avançado"],
},
showPercentages: {
- defaultSetting: "absolute",
- options: ["absolute", "percentage"],
+ defaultSetting: "absoluto",
+ options: ["absoluto", "porcentagem"],
},
// PERFORMANCE
framerate: {
defaultSetting: 20,
- name: "Framerate/TPS",
- desc: "How fast to update the game.",
+ name: "Taxa de quadros",
+ desc: "O quão rápido o jogo é atualizado.",
category: "PERFORMANCE",
options: [1, 2, 5, 10, 20, 30],
onChange() {
@@ -33,8 +33,8 @@ SharkGame.Settings = {
showAnimations: {
defaultSetting: true,
- name: "Show Animations",
- desc: "Whether to show animated transitions.",
+ name: "Mostrar animações",
+ desc: "Deveríamos ter transições animadas?",
category: "PERFORMANCE",
options: [true, false], // might remove this option? could be a pain to continue supporting it
},
@@ -43,8 +43,8 @@ SharkGame.Settings = {
minimizedTopbar: {
defaultSetting: true,
- name: "Minimized Title Bar",
- desc: "Whether to minimize the title bar at the top.",
+ name: "Minimizar título",
+ desc: "Deveríamos minimizar a barra superior com o título?",
category: "LAYOUT",
options: [true, false],
onChange() {
@@ -54,10 +54,10 @@ SharkGame.Settings = {
logLocation: {
defaultSetting: "right",
- name: "Log Location",
- desc: "Where to put the log.",
+ name: "Local dos registros",
+ desc: "Onde deveríamos botar os registros?",
category: "LAYOUT",
- options: ["right", "left", "top"],
+ options: ["direita", "esquerda", "em cima"],
onChange() {
log.moveLog();
},
@@ -65,8 +65,8 @@ SharkGame.Settings = {
groupResources: {
defaultSetting: true,
- name: "Group Resources",
- desc: "Whether to categorize resources in the table.",
+ name: "Agrupar recursos",
+ desc: "Deveríamos categorizar os recursos em grupinhos?",
category: "LAYOUT",
options: [true, false],
onChange() {
@@ -76,8 +76,8 @@ SharkGame.Settings = {
smallTable: {
defaultSetting: false,
- name: "Smaller Table",
- desc: "Whether to make the stuff table smaller.",
+ name: "Tabela menor",
+ desc: "Deveríamos fazer a tabela de recursos menor?",
category: "LAYOUT",
options: [true, false],
onChange() {
@@ -87,8 +87,8 @@ SharkGame.Settings = {
logMessageMax: {
defaultSetting: 30,
- name: "Max Log Messages",
- desc: "Max number of messages kept in the log.",
+ name: "Registros máximos",
+ desc: "Qual é a quantidade máxima de registros ao mesmo tempo?",
category: "LAYOUT",
options: [5, 10, 15, 20, 30, 60],
onChange() {
@@ -98,8 +98,8 @@ SharkGame.Settings = {
sidebarWidth: {
defaultSetting: "30%",
- name: "Sidebar Width",
- desc: "How much screen space the sidebar should take.",
+ name: "Largura da barra lateral",
+ desc: "Quanto espaço a barra lateral deveria tomar?",
category: "LAYOUT",
options: ["25%", "30%", "35%"],
onChange() {
@@ -116,9 +116,9 @@ SharkGame.Settings = {
notation: {
defaultSetting: "default",
- name: "Number Notation",
- desc: "How numbers should be formatted.",
- category: "APPEARANCE",
+ name: "Notação numérica",
+ desc: "Como que os números deveriam ser formatados?",
+ category: "APARÊNCIA",
options: ["default", /* "exponen", */ "SI"],
onChange() {
res.rebuildTable = true;
@@ -127,11 +127,11 @@ SharkGame.Settings = {
},
colorCosts: {
- defaultSetting: "color",
- name: "Color Resource Names",
- desc: "How to color names of resources.",
- category: "APPEARANCE",
- options: ["color", "bright", "none"],
+ defaultSetting: "colorido",
+ name: "Cor dos recursos",
+ desc: "Como devem ser a cores dos nomes dos recursos?",
+ category: "APARÊNCIA",
+ options: ["colorido", "brilhante", "sem cor"],
onChange() {
res.rebuildTable = true;
stats.recreateIncomeTable = true;
@@ -140,10 +140,10 @@ SharkGame.Settings = {
boldCosts: {
defaultSetting: true,
- name: "Bold Resource Names",
- desc: "Should resource names be bolded?",
+ name: "Recursos em negrito",
+ desc: "O nome dos recursos deveriam ser escritos em negrito?",
options: [true, false],
- category: "APPEARANCE",
+ category: "APARÊNCIA",
onChange() {
res.rebuildTable = true;
stats.recreateIncomeTable = true;
@@ -152,26 +152,26 @@ SharkGame.Settings = {
alwaysSingularTooltip: {
defaultSetting: false,
- name: "Tooltip Always Singular",
- desc: "Should the tooltip only show what one of each thing produces?",
- category: "APPEARANCE",
+ name: "Informações singulares",
+ desc: "As informações extras deveriam mostrar a produção de apenas uma unidade do recurso?",
+ category: "APARÊNCIA",
options: [true, false],
},
tooltipQuantityReminders: {
defaultSetting: true,
- name: "Tooltip Amount Reminder",
- desc: "Should tooltips tell you much you own of stuff?",
+ name: "Informações de quantidade",
+ desc: "As informações extras deveriam te mostrar o quanto que você tem de cada coisa?",
category: "APPEARANCE",
options: [true, false],
},
enableThemes: {
defaultSetting: true,
- name: "Enable Planet-dependent Styles",
- desc: "Should page colors change for different planets?",
+ name: "Habilitar estilos customizados",
+ desc: "As cores do jogo deveriam ser baseados no mundo em que você está?",
options: [true, false],
- category: "APPEARANCE",
+ category: "APARÊNCIA",
onChange() {
if (SharkGame.Settings.current.enableThemes) {
document.querySelector("body").classList.remove("no-theme");
@@ -183,17 +183,17 @@ SharkGame.Settings = {
showIcons: {
defaultSetting: true,
- name: "Show Action Button icons",
- desc: "Show button icons?",
- category: "APPEARANCE",
+ name: "Mostrar ícones de ação",
+ desc: "Mostrar as imagens nos botões de ação?",
+ category: "APARÊNCIA",
options: [true, false],
},
showTabImages: {
defaultSetting: true,
- name: "Show Tab Header Images",
- desc: "Show art?",
- category: "APPEARANCE",
+ name: "Mostar imagens de evento",
+ desc: "Mostrar arte dos eventos do mundo?",
+ category: "APARÊNCIA",
options: [true, false],
onChange() {
SharkGame.TabHandler.changeTab(SharkGame.Tabs.current);
@@ -202,19 +202,29 @@ SharkGame.Settings = {
// ACCESSIBILITY
+ language: {
+ defaultSetting: "Português",
+ name: "Língua",
+ desc: "Qual é o idioma do jogo.",
+ category: "ACESSIBILIDADE",
+ options: ["Português", "English"],
+ onChange() {
+ },
+ },
+
doAspectTable: {
- defaultSetting: "tree",
- name: "Aspect Table or Tree",
- desc: "Draw a visual aspect tree or a more accessible aspect table?",
- category: "ACCESSIBILITY",
- options: ["tree", "table"],
+ defaultSetting: "árvore",
+ name: "Planilha/Árvore de aspectos",
+ desc: "Mostrar uma árvore de aspectos, ou uma planilha de aspectos menos acessível?",
+ category: "ACESSIBILIDADE",
+ options: ["árvore", "planilha"],
},
verboseTokenDescriptions: {
defaultSetting: false,
- name: "Verbose Token",
- desc: "Should tokens display text saying where they are?",
- category: "ACCESSIBILITY",
+ name: "Ficha prolixa",
+ desc: "Deveria ter um texto apontando onde as fichas estão?",
+ category: "ACESSIBILIDADE",
options: [true, false],
onChange() {
res.tokens.updateTokenDescriptions();
@@ -223,9 +233,9 @@ SharkGame.Settings = {
minuteHandEffects: {
defaultSetting: true,
- name: "Minute Hand Special Effects",
- desc: "Should the minute hand glow a ton?",
- category: "ACCESSIBILITY",
+ name: "Efeitos especiais do ponteiro dos minutos",
+ desc: "O ponteiro dos minutos deveria brilhar muito?",
+ category: "ACESSIBILIDADE",
options: [true, false],
onChange() {
res.minuteHand.updatePowers();
@@ -236,9 +246,9 @@ SharkGame.Settings = {
idleEnabled: {
defaultSetting: true,
- name: "Stored Offline Progress",
- desc: "Should the game store idle progress for later use? (otherwise, it will not go idle and will have real offline progress)",
- category: "OTHER",
+ name: "Guardar progresso desligado",
+ desc: "O jogo deveria guardar o tempo para uso posterior? (se não, a produção de recursos vai continuar com o jogo desligado e nenhum tempo extra será ganho)",
+ category: "OUTROS",
options: [true, false],
onChange() {
res.minuteHand.setup();
@@ -247,17 +257,17 @@ SharkGame.Settings = {
showTooltips: {
defaultSetting: true,
- name: "Tooltips",
- desc: "Whether to show informational tooltips when hovering over certain stuff.",
- category: "OTHER",
+ name: "Informações extras",
+ desc: "Deveríamos mostrar informações sobre ações, recursos e outras coisas quando seu mouse passa por cima?",
+ category: "OUTROS",
options: [true, false],
},
updateCheck: {
defaultSetting: true,
- name: "Check for updates",
- desc: "Whether to notify you of new updates.",
- category: "OTHER",
+ name: "Conferir atualizações",
+ desc: "Deveríamos te notificar de atualizações?",
+ category: "OUTROS",
options: [true, false],
onChange() {
clearInterval(SharkGame.Main.checkForUpdateHandler);
@@ -269,17 +279,17 @@ SharkGame.Settings = {
truePause: {
defaultSetting: false,
- name: "True Pause",
- desc: "When using the pause button aspect, should the game not build up idle time?",
- category: "OTHER",
+ name: "Pausa verdadeira",
+ desc: "Ao usar o aspecto do botão de pausa, deveríamos impedir que isso conte como tempo extra?",
+ category: "OUTROS",
options: [true, false],
},
offlineModeActive: {
defaultSetting: true,
- name: "Offline Progress",
- desc: "Should there be ANY offline progress?",
- category: "OTHER",
+ name: "Progresso desligado",
+ desc: "Deveria ter ALGUM tipo de progresso enquanto o jogo está desligado?",
+ category: "OUTROS",
options: [true, false],
},
@@ -288,17 +298,17 @@ SharkGame.Settings = {
autosaveFrequency: {
// times given in minutes
defaultSetting: 5,
- name: "Autosave Frequency",
- desc: "Number of minutes between autosaves.",
- category: "SAVES",
+ name: "Frequência de salvamento automático",
+ desc: "Número de minutos entre os salvamentos automáticos.",
+ category: "SALVAMENTO",
options: [1, 2, 5, 10, 30],
onChange() {
clearInterval(main.autosaveHandler);
main.autosaveHandler = setInterval(main.autosave, SharkGame.Settings.current.autosaveFrequency * 60000);
log.addMessage(
- "Now autosaving every " +
+ "Salvando agora a cada " +
SharkGame.Settings.current.autosaveFrequency +
- " minute" +
+ " minuto" +
sharktext.plural(SharkGame.Settings.current.autosaveFrequency) +
".",
);
diff --git a/js/tabs/cheatdevice.js b/js/tabs/cheatdevice.js
index 37e85b37..ad94e8fc 100644
--- a/js/tabs/cheatdevice.js
+++ b/js/tabs/cheatdevice.js
@@ -3,7 +3,7 @@ SharkGame.CheatsAndDebug = {
tabId: "cheats",
tabDiscovered: false,
tabSeen: false,
- tabName: "Cheaty Powers",
+ tabName: "Trapaçarias",
tabBg: "img/bg/bg-gate.png",
sceneImage: "img/events/misc/scene-reflection.png",
@@ -37,21 +37,21 @@ SharkGame.CheatsAndDebug = {
cheatButtons: {
giveEverything: {
get name() {
- return "Give " + sharktext.beautify(sharkmath.getBuyAmount(true)) + " of Everything";
+ return "Ganhar " + sharktext.beautify(sharkmath.getBuyAmount(true)) + " de Tudo";
},
type: "numeric",
updates: true,
- category: "stuff",
+ category: "recursos",
click() {
log.addMessage(cad.giveEverything(sharkmath.getBuyAmount(true)));
},
},
removeEverything: {
get name() {
- return "Remove " + sharktext.beautify(sharkmath.getBuyAmount(true)) + " of Everything";
+ return "Perder " + sharktext.beautify(sharkmath.getBuyAmount(true)) + " de Tudo";
},
updates: true,
- category: "stuff",
+ category: "recursos",
click() {
log.addMessage(cad.giveEverything(-sharkmath.getBuyAmount(true)));
},
@@ -60,7 +60,7 @@ SharkGame.CheatsAndDebug = {
get name() {
const resource = $("#somethingSelector")[0].value;
return (
- "Give " +
+ "Ganhar " +
sharktext.beautify(sharkmath.getBuyAmount(true)) +
" " +
sharktext.getResourceName(resource, false, sharkmath.getBuyAmount(true), sharkcolor.getVariableColor("--color-light"))
@@ -78,7 +78,7 @@ SharkGame.CheatsAndDebug = {
return existingStuff;
},
updates: true,
- category: "stuff",
+ category: "recursos",
click() {
log.addMessage(cad.giveSomething($("#somethingSelector")[0].value, sharkmath.getBuyAmount(true)));
},
@@ -87,21 +87,21 @@ SharkGame.CheatsAndDebug = {
get name() {
const resource = $("#somethingSelector")[0].value;
return (
- "Remove " +
+ "Remover " +
sharktext.beautify(sharkmath.getBuyAmount(true)) +
" " +
sharktext.getResourceName(resource, false, sharkmath.getBuyAmount(true), sharkcolor.getVariableColor("--color-light"))
);
},
updates: true,
- category: "stuff",
+ category: "recursos",
click() {
log.addMessage(cad.giveSomething($("#somethingSelector")[0].value, -sharkmath.getBuyAmount(true)));
},
},
pause: {
get name() {
- return cad.pause ? "Unpause Game" : "Pause Game";
+ return cad.pause ? "Despausar Jogo" : "Pausar Jogo";
},
updates: true,
category: "debug",
@@ -111,7 +111,7 @@ SharkGame.CheatsAndDebug = {
},
stop: {
get name() {
- return cad.stop ? "Resume Execution" : "Halt Execution";
+ return cad.stop ? "Continuar Execução" : "Para Execução";
},
updates: true,
category: "debug",
@@ -120,9 +120,9 @@ SharkGame.CheatsAndDebug = {
},
},
changeSpeed: {
- name: "Game speed",
+ name: "Velocidade do Jogo",
type: "up-down",
- category: "modifiers",
+ category: "modificadores",
clickUp() {
const msg = cad.goFasterPlease();
if (msg) log.addMessage(msg);
@@ -133,9 +133,9 @@ SharkGame.CheatsAndDebug = {
},
},
changeUpgradePrices: {
- name: "Upgrade prices",
+ name: "Custo de Melhorias",
type: "up-down",
- category: "modifiers",
+ category: "modificadores",
clickUp() {
const msg = cad.expensiveUpgradesPlease();
if (msg) log.addMessage(msg);
@@ -146,9 +146,9 @@ SharkGame.CheatsAndDebug = {
},
},
changeStuffPrices: {
- name: "Cost of stuff",
+ name: "Preço de Coisas",
type: "up-down",
- category: "modifiers",
+ category: "modificadores",
clickUp() {
const msg = cad.expensiveStuffPlease();
if (msg) log.addMessage(msg);
@@ -160,9 +160,9 @@ SharkGame.CheatsAndDebug = {
},
toggleFreeStuff: {
get name() {
- return cad.actionPriceModifier ? "Enable free stuff" : "Disable free stuff";
+ return cad.actionPriceModifier ? "Habilitar coisas grátis" : "Disabilitar coisas grátis";
},
- category: "modifiers",
+ category: "modificadores",
updates: true,
click() {
const msg = cad.toggleFreeStuff();
@@ -171,9 +171,9 @@ SharkGame.CheatsAndDebug = {
},
toggleFreeUpgrades: {
get name() {
- return cad.upgradePriceModifier ? "Enable free upgrades" : "Disable free upgrades";
+ return cad.upgradePriceModifier ? "Habilitar melhorias grátis" : "Desativar melhorias grátis";
},
- category: "modifiers",
+ category: "modificadores",
updates: true,
click() {
const msg = cad.toggleFreeUpgrades();
@@ -183,9 +183,9 @@ SharkGame.CheatsAndDebug = {
toggleDebugButton: {
get name() {
if (SharkGame.HomeActions.getActionTable().debugbutton.unauthorized) {
- return "Enable debug button";
+ return "Habilitar botão de debug";
} else {
- return "Disable debug button";
+ return "Desativar botão de debug";
}
},
category: "debug",
@@ -197,9 +197,9 @@ SharkGame.CheatsAndDebug = {
toggleBeautify: {
get name() {
if (cad.noNumberBeautifying) {
- return "Enable number formatting";
+ return "Formatar números";
} else {
- return "Disable number formatting";
+ return "Tirar formatação de números";
}
},
category: "debug",
@@ -209,48 +209,48 @@ SharkGame.CheatsAndDebug = {
},
},
beatWorld: {
- name: "Beat this world immediately",
- category: "misc",
+ name: "Vencer este mundo imediatamante",
+ category: "miscelâneo",
click() {
log.addMessage(cad.beatWorldPlease());
},
},
addUpgrades: {
- name: "Get all upgrades",
- category: "misc",
+ name: "Conseguir todas as melhorias",
+ category: "miscelâneo",
click() {
cad.addUpgradesPlease();
},
},
addIdleTime: {
- name: "Add idle time",
- category: "misc",
+ name: "Adicionar tempo extra",
+ category: "miscelâneo",
click() {
cad.addIdleTimePlease();
},
},
rollDice: {
- name: "Roll the dice for wacky effects",
+ name: "Role um dado, efeitos malucos",
location: "right",
- category: "nonsense",
+ category: "maluquice",
click() {
log.addMessage(cad.rollTheDicePlease());
},
},
freezeGame: {
get name() {
- return cad.frozen ? "Unfreeze game" : "Freeze the game";
+ return cad.frozen ? "Descongelar recursos" : "Congelar recursos";
},
updates: true,
- category: "nonsense",
+ category: "maluquice",
click() {
log.addMessage(cad.toggleFreezePlease());
},
},
forceExistence: {
- name: "Make all resources exist",
+ name: "Fazer todas as coisas existirem",
location: "right",
- category: "nonsense",
+ category: "maluquice",
click() {
log.addMessage(cad.forceAllExist());
},
@@ -263,8 +263,8 @@ SharkGame.CheatsAndDebug = {
// },
// },
egg: {
- name: "egg",
- category: "nonsense",
+ name: "vugnaes sreo",
+ category: "maluquice",
click() {
log.addMessage(cad.doEgg());
},
@@ -292,7 +292,7 @@ SharkGame.CheatsAndDebug = {
" " +
- "Doubles as a debug menu and a location for various cheats.";
+ "Serve como um menu de debug e um painel de trapaças.";
$("#tabMessage").css("background-image", "url('" + cad.tabBg + "')");
}
$("#tabMessage").html(message);
@@ -391,25 +391,25 @@ SharkGame.CheatsAndDebug = {
if (defaultValue !== cad[which]) {
switch (which) {
case "pause":
- msg = "Game paused.";
+ msg = "Jogo pausado.";
break;
case "stop":
- msg = "Game processing halted.";
+ msg = "Processamento do jogo parado.";
break;
case "speed":
- msg = "Game speed x" + cad.speed + ".";
+ msg = "Velocidade do tempo x" + cad.speed + ".";
break;
case "upgradePriceModifier":
- msg = "Upgrades cost " + cad.upgradePriceModifier + "x normal.";
+ msg = "Melhorias têm " + cad.upgradePriceModifier + "x o preço normal.";
break;
case "actionPriceModifier":
- msg = "Buying stuff costs " + cad.actionPriceModifier + "x normal.";
+ msg = "Preço de compra multiplicado por " + cad.actionPriceModifier + "x.";
break;
case "noNumberBeautifying":
- msg = "Number formatting disabled.";
+ msg = "Formatação numérica desativada.";
break;
case "cycling":
- msg = "Cycling styles.";
+ msg = "Mudando estilos.";
break;
}
}
@@ -511,7 +511,7 @@ SharkGame.CheatsAndDebug = {
togglePausePlease() {
if (cad.stop) {
- log.addError("The game is stopped. You can't also pause it.");
+ log.addError("O jogo está parado. Você não consegue pausá-lo.");
return;
}
if (!cad.pause) {
@@ -525,7 +525,7 @@ SharkGame.CheatsAndDebug = {
},
toggleStopPlease() {
if (cad.pause) {
- log.addError("The game is paused. You can't also stop it.");
+ log.addError("O jogo está pausado. Você não consegue pará-lo.");
return;
}
if (!cad.stop) {
@@ -541,7 +541,7 @@ SharkGame.CheatsAndDebug = {
if (cad.frozen) {
cad.frozen = false;
res.setResource("ice", 0);
- return "Game unfrozen.";
+ return "Movimento volta ao oceano.";
}
cad.frozen = true;
world.forceExistence("ice");
@@ -551,50 +551,50 @@ SharkGame.CheatsAndDebug = {
res.clearNetworks();
res.buildIncomeNetwork();
res.reconstructResourcesTable();
- return "ICE going, doofus!";
+ return "Zero absoluto atingido!";
},
freeEssencePlease(howMuch = 15) {
res.changeResource("essence", howMuch);
- return "Okay, but only because you asked nicely.";
+ return "Certo, mas só porque você foi tão bonzinho.";
},
goFasterPlease() {
if (cad.speed === 512) {
- return "I think you've had enough.";
+ return "Acho que já está rápido o suficiente.";
}
let msg = "";
cad.speed *= 2;
switch (cad.speed) {
case 2:
- msg = "Going twice as fast.";
+ msg = "Acelerando o tempo para o dobro.";
break;
case 512:
- msg = "Going...really fast.";
+ msg = "Acelerando o tempo para...muito rápido.";
break;
default:
- msg = "Going " + cad.speed + " times normal speed.";
+ msg = "Acelerando o tempo para " + cad.speed + "x.";
break;
}
return msg;
},
reallyFastPlease() {
cad.speed = 512;
- return "Set game speed to 512x.";
+ return "Tudo está 512x a velocidade normal.";
},
goSlowerPlease() {
if (cad.speed === 1 / 512) {
- return "I think that's slow enough, don't you?";
+ return "O mundo já me parece meio lento, não acha?";
}
let msg = "";
cad.speed *= 0.5;
switch (cad.speed) {
case 1 / 2:
- msg = "Going twice as slow.";
+ msg = "Desacelerando o tempo pela metade.";
break;
case 1 / 512:
- msg = "Going...really slow.";
+ msg = "Desacelerando o tempo para...muito lento.";
break;
default:
- msg = "Going " + cad.speed + " times normal speed.";
+ msg = "Desacelerando o tempo para " + cad.speed + "x.";
break;
}
return msg;
@@ -620,7 +620,7 @@ SharkGame.CheatsAndDebug = {
});
},
doSomethingCoolPlease() {
- return "Did something really cool.";
+ return "Uma coisa muito legal foi feita.";
// this doesn't do anything
},
beatWorldPlease() {
@@ -644,14 +644,14 @@ SharkGame.CheatsAndDebug = {
SharkGame.ResourceMap.get("world").income.tar = 1;
SharkGame.ResourceMap.get("world").baseIncome.tar = 1;
res.reconstructResourcesTable();
- return "Rolled a one. Uh oh.";
+ return "Rolou um 1... Oh não.";
case 2:
res.addNetworkNode(SharkGame.GeneratorIncomeAffectors, "fish", "exponentiate", "shark", 0.999);
res.addNetworkNode(SharkGame.GeneratorIncomeAffectors, "sand", "exponentiate", "ray", 0.999);
res.addNetworkNode(SharkGame.GeneratorIncomeAffectors, "crystal", "exponentiate", "crab", 0.999);
res.clearNetworks();
res.buildIncomeNetwork();
- return "Rolled a two. Fish make sharks slower. Sand makes rays slower. Crystal makes crabs slower. Oops.";
+ return "Rolou um 2. Peixes fazem tubarões lentos. Areia faz arraias lentas. Cristais fazem siris lento. Foi mal.";
case 3:
if (world.doesResourceExist("fish")) {
if (!SharkGame.ResourceMap.get("fish").income) {
@@ -671,22 +671,22 @@ SharkGame.CheatsAndDebug = {
SharkGame.ResourceMap.get("fish").baseIncome.whale = -0.001;
SharkGame.ResourceMap.get("fish").baseIncome.squid = -0.001;
SharkGame.ResourceMap.get("fish").forceIncome = true;
- return "Rolled a three. The fish are fighting back!";
+ return "Rolou um 3. O peixes estão se revoltando!";
}
- return "Rolled a three, but fish don't exist, so nothing happened.";
+ return "Rolou um 3, mas peixes não existem, então nada aconteceu.";
case 4:
if (SharkGame.ResourceMap.get("shark").baseIncome.fish) {
SharkGame.ResourceMap.get("shark").baseIncome.fish = -1;
res.reapplyModifiers("shark", "fish");
- return "Rolled a four. The sharks are eating all the fish!";
+ return "Rolou um 4. Os tubarões estão comendo todos os peixes!";
} else {
SharkGame.ResourceMap.get("shark").baseIncome.shark = -1;
res.reapplyModifiers("shark", "shark");
- return "Rolled a four. The sharks would be eating fish, but they don't catch fish anymore. NOW THEY'RE EATING EACHOTHER! AAAAAAAAAAAAAAAA";
+ return "Rolou um 4. Os tubarões estariam comendo peixes, mas eles não caçam peixes. ELES ESTÃO PRATICANDO CANIBALISMO! AAAAAAAAAAAAAAAA";
}
case 5:
res.applyModifier("resourceBoost", "fish", 0.125);
- return "Rolled a five. I just killed 87.5% of all fish in the ocean. Now you get 87.5% less fish.";
+ return "Rolou um 5. Eu acabei de fazer todos os peixes em perigo de extinção. Agora o cardume produz 87.5% menos peixes.";
case 6:
SharkGame.ResourceMap.forEach((_value, key) => {
if (key !== "essence") {
@@ -694,18 +694,18 @@ SharkGame.CheatsAndDebug = {
res.changeResource(key, 1);
}
});
- return "Rolled a 6...you own one of exactly everything now. Only one.";
+ return "Rolou um 6...Você agora tem 1 unidade de tudo. Apena uma.";
case 7:
res.changeResource("shark", res.getResource("shark") * 255);
- return "Rolled a seven. Your sharks have been duplicated. A lot.";
+ return "Rolou um 7. Seus tubarões foram duplicados. Algumas vezes seguidas.";
case 8:
res.addNetworkNode(SharkGame.ResourceIncomeAffectors, "sand", "multiply", "sand", 0.001);
res.clearNetworks();
res.buildIncomeNetwork();
- return "Rolled an eight. Sand makes its own production faster.";
+ return "Rolou um 8. Areia acelera a sua própria produção.";
case 9:
res.changeResource("fish", 10000000000 * Math.random() ** 3);
- return "Rolled a nine. You eat fish hooray!";
+ return "Rolou um 9. Você pode comer peixes agora! Eba!";
case 10:
if (!SharkGame.ResourceMap.get("shark").income) {
SharkGame.ResourceMap.get("shark").income = {};
@@ -724,7 +724,7 @@ SharkGame.CheatsAndDebug = {
res.reapplyModifiers("shark", "shark");
res.reapplyModifiers("shark", "ray");
res.reapplyModifiers("shark", "crab");
- return "Rolled a ten. Sharks now produce themselves. And rays. And crabs. But not fish. Not anymore.";
+ return "Rolou um 10. Tubarões produzem mais tubarões. E arraias. E caranguejos. Mas não peixes. Não mais.";
case 11:
res.addNetworkNode(SharkGame.GeneratorIncomeAffectors, "nurse", "exponentiate", "nurse", 1.01);
res.addNetworkNode(SharkGame.GeneratorIncomeAffectors, "nurse", "exponentiate", "shark", 0.98);
@@ -732,7 +732,7 @@ SharkGame.CheatsAndDebug = {
res.addNetworkNode(SharkGame.GeneratorIncomeAffectors, "maker", "exponentiate", "ray", 0.98);
res.clearNetworks();
res.buildIncomeNetwork();
- return "Rolled an eleven. Nurses speed up one another, but slow down sharks. Ditto for rays and makers.";
+ return "Rolou um 11. Enfermeiros aceleram uns ao outros, mas atrapalham tubarões. Mesma coisa com arraias criadoras.";
case 12:
if (!SharkGame.ResourceMap.get("world").income) {
SharkGame.ResourceMap.get("world").income = {};
@@ -742,15 +742,15 @@ SharkGame.CheatsAndDebug = {
}
SharkGame.ResourceMap.get("world").income.shark = 1;
SharkGame.ResourceMap.get("world").baseIncome.shark = 1;
- return "Rolled a twelve. The world now gives you free sharks. Sweet.";
+ return "Rolou um 12. O mundo te dá tubarões grátis. Perfeito!";
case 13:
if (world.doesResourceExist("fish")) {
res.addNetworkNode(SharkGame.GeneratorIncomeAffectors, "fish", "multiply", "shark", 0.0005);
res.clearNetworks();
res.buildIncomeNetwork();
- return "Rolled a thirteen. Sharks get faster for every fish owned. I guess a good meal makes for better workers.";
+ return "Rolou um 13. Tubarões ficam mais rápidos com cada peixe. Trabalhadores sempre trabalham melhor depois do almoço.";
}
- return "Rolled a thirteen, but fish don't exist, so nothing happened.";
+ return "Rolou um 13, mas peixes não existem. Então nada aconteceu.";
case 14:
if (world.doesResourceExist("crab")) {
world.worldResources.get("crab").exists = false;
@@ -783,13 +783,13 @@ SharkGame.CheatsAndDebug = {
delete SharkGame.HomeActions.generated[world.worldType].getExtractionTeam;
}
SharkGame.TabHandler.setUpTab();
- return "Rolled a fourteen. What are you talking about? Crabs aren't real. There were never crabs to begin with.";
+ return "Rolou um 14. O que foi isso? Caraguejos? Siris? Nunca ouvi falar. Eu não acho que eles existem.";
}
- return "Rolled a fourteen, but crabs don't exist, so nothing happened.";
+ return "Rolou um 14, mas caranguejos não existem, então nada aconteceu.";
case 15:
SharkGame.ResourceMap.get("science").baseIncome = { scientist: 0.01 };
SharkGame.ResourceMap.get("science").income = { scientist: 0.01 };
- return "Rolled a fifteen. Science produces more science sharks. I guess knowledge is contagious?";
+ return "Rolou um 15. Ciência produz cientistas. Que nem o poste que mija no cachorro.";
case 16:
SharkGame.ResourceMap.get("crystal").income = { sand: 1 };
SharkGame.ResourceMap.get("crystal").baseIncome = { sand: 1 };
@@ -798,14 +798,14 @@ SharkGame.CheatsAndDebug = {
if (!SharkGame.ResourceMap.get("fish").income) {
SharkGame.ResourceMap.get("fish").income = {};
}
- return "Rolled a sixteen. Crystals now produce sand. Sand produces fish. Fish still produces whatever it did before. What?";
+ return "Rolou um 16. Cristais produzem areia. E areia produzem peixe. Peixes... Acho que nada aconteceu com eles, aconteceu?";
case 17:
world.forceExistence("crab");
world.forceExistence("brood");
res.changeResource("crab", 10);
SharkGame.ResourceMap.get("crab").baseIncome.brood = 0.01;
res.reapplyModifiers("crab", "brood");
- return "Rolled a seventeen. The crabs. They're multiplying.";
+ return "Rolou um 17. Os caranguejos. Eles estão proliferando!";
case 18:
if (world.doesResourceExist("fish")) {
if (!SharkGame.ResourceMap.get("fish").income) {
@@ -826,16 +826,16 @@ SharkGame.CheatsAndDebug = {
SharkGame.ResourceMap.get("fish").baseIncome.squid = 0.005;
SharkGame.ResourceMap.get("fish").baseIncome.whale = 0.00001;
SharkGame.ResourceMap.get("fish").baseIncome.fish = -0.999;
- return "Rolled an eighteen. Fish will now purchase frenzy members for you. Thank me later.";
+ return "Rolou um 18. Peixes agora recrutam o seu cardume por você. De nada.";
}
- return "Rolled an eighteen, but fish don't exist, so nothing happened.";
+ return "Rolou um 18, mas peixes não existem, então nada aconteceu.";
case 19:
cad.upgradePriceModifier = 0;
cad.actionPriceModifier = 4;
- return "Rolled a nineteen. Upgrades are free, yay! But everything is four times as expensive. Not-so-yay.";
+ return "Rolou um 19. Melhorias são grátis, AEEEE! Mas todo o resto é 4 vezes mais caro... Aeee?";
case 20:
res.specialMultiplier *= 20;
- return "Rolled a perfect twenty. Everything times 20.";
+ return "Rolou um acerto crítico! Tudo multiplicado por 20.";
}
},
// challengeMePlease() {
@@ -866,88 +866,88 @@ SharkGame.CheatsAndDebug = {
// },
expensiveUpgradesPlease() {
if (cad.upgradePriceModifier === 512) {
- return "I'm not letting you subject yourself to any more of this.";
+ return "Eu não vou deixar você piorar essa situação ainda mais.";
}
let msg = "";
cad.upgradePriceModifier *= 2;
switch (cad.upgradePriceModifier) {
case 0:
- log.addError("Can't change the price of upgrades because they're free.");
+ log.addError("Não dá para mudar o preço das melhorias porque elas estão grátis.");
break;
case 2:
- msg = "Upgrades are twice as expensive.";
+ msg = "Melhorias custam o dobro do normal.";
break;
case 512:
- msg = "Upgrades are...really expensive.";
+ msg = "Melhorias custam os olhos da cara.";
break;
default:
- msg = "Upgrades are " + cad.upgradePriceModifier + " times normal price.";
+ msg = "Melhorias custam " + cad.upgradePriceModifier + " vezes o normal.";
break;
}
return msg;
},
cheaperUpgradesPlease() {
if (cad.upgradePriceModifier === 1 / 512) {
- return "Is this not easy enough for you yet??";
+ return "Ainda está difícil demais para você??";
}
let msg = "";
cad.upgradePriceModifier *= 0.5;
switch (cad.upgradePriceModifier) {
case 0:
- log.addError("Can't change the price of upgrades because they're free.");
+ log.addError("Não dá para mudar o preço das melhorias porque elas estão grátis.");
break;
case 1 / 2:
- msg = "Upgrades are half as expensive.";
+ msg = "Melhorias custam a metade do normal.";
break;
case 1 / 512:
- msg = "Upgrades are...really cheap.";
+ msg = "Melhorias a preço de banana.";
break;
default:
- msg = "Upgrades are " + cad.upgradePriceModifier + " times normal price.";
+ msg = "Melhorias custam " + cad.upgradePriceModifier + " vezes o normal.";
break;
}
return msg;
},
expensiveStuffPlease() {
if (cad.actionPriceModifier === 512) {
- return "Seriously?";
+ return "Na moral? Na moralzinha?";
}
let msg = "";
cad.actionPriceModifier *= 2;
switch (cad.actionPriceModifier) {
case 0:
- log.addError("Can't change the price of stuff because it's free.");
+ log.addError("Não dá para mudar o preço de nada poque já está grátis.");
break;
case 2:
- msg = "Stuff is twice as expensive.";
+ msg = "Preço das coisas dobrado.";
break;
case 512:
- msg = "Stuff is...really expensive.";
+ msg = "Tudo isso é folheado a ouro por acaso?";
break;
default:
- msg = "Stuff is " + cad.actionPriceModifier + " times normal price.";
+ msg = "Preço das coisas está " + cad.actionPriceModifier + " vezes o normal.";
break;
}
return msg;
},
cheaperStuffPlease() {
if (cad.actionPriceModifier === 1 / 512) {
- return "Is this not easy enough for you yet??";
+ return "E você quer mais barato??";
}
let msg = "";
cad.actionPriceModifier *= 0.5;
switch (cad.actionPriceModifier) {
case 0:
- log.addError("Can't change the price of stuff because it's free.");
+ log.addError("Não dá para mudar o preço de nada poque já está grátis.");
break;
case 1 / 2:
- msg = "Stuff is half as expensive.";
+ msg = "Preço das coisas está pela metade.";
break;
case 1 / 512:
- msg = "Stuff is...really cheap.";
+ msg = "As coisas estão uma pechincha!";
break;
default:
- msg = "Stuff is " + cad.actionPriceModifier + " times normal price.";
+ msg = "Preço das coisas está " + cad.actionPriceModifier + " vezes o normal.";
break;
}
return msg;
@@ -955,19 +955,19 @@ SharkGame.CheatsAndDebug = {
toggleFreeStuff() {
if (cad.actionPriceModifier === 0) {
cad.actionPriceModifier = 1;
- return "Made stuff not free.";
+ return "Capitalismo implementado novamente.";
} else {
cad.actionPriceModifier = 0;
- return "Made stuff free.";
+ return "Coisas estão grátis.";
}
},
toggleFreeUpgrades() {
if (cad.upgradePriceModifier === 0) {
cad.upgradePriceModifier = 1;
- return "Made upgrades not free.";
+ return "Melhorias não são mais grátis.";
} else {
cad.upgradePriceModifier = 0;
- return "Made upgrades free.";
+ return "Melhorias grátis.";
}
},
addUpgradesPlease() {
@@ -975,7 +975,7 @@ SharkGame.CheatsAndDebug = {
$.each(upgradeTable, (upgradeId) => {
SharkGame.Lab.addUpgrade(upgradeId);
});
- return "Added all upgrades. This might get weird.";
+ return "Adicionou todas as melhorias. Isso talvez fique estranho.";
},
addIdleTimePlease(time = Math.random() * 120000 + 30000) {
SharkGame.flags.minuteHandTimer += time;
@@ -988,7 +988,7 @@ SharkGame.CheatsAndDebug = {
});
$("#content").empty();
cad.switchTo();
- return "Okay, here we go...";
+ return "Então tá... Lá vamos nós.";
},
doEgg() {
if (SharkGame.flags.egg) {
@@ -997,6 +997,6 @@ SharkGame.CheatsAndDebug = {
SharkGame.flags.egg = true;
}
res.reconstructResourcesTable();
- return "egg";
+ return "vugnaes sreo";
},
};
diff --git a/js/tabs/gate.js b/js/tabs/gate.js
index a763715a..1afde7c8 100644
--- a/js/tabs/gate.js
+++ b/js/tabs/gate.js
@@ -3,7 +3,7 @@ SharkGame.Gate = {
tabId: "gate",
tabDiscovered: false,
tabSeen: false,
- tabName: "Strange Gate",
+ tabName: "Portal",
tabBg: "img/bg/bg-gate.png",
discoverReq: {
diff --git a/js/tabs/home.js b/js/tabs/home.js
index 9f8d77a0..4e4cd4db 100644
--- a/js/tabs/home.js
+++ b/js/tabs/home.js
@@ -3,7 +3,7 @@ SharkGame.Home = {
tabId: "home",
tabDiscovered: true,
tabSeen: true,
- tabName: "Home Sea",
+ tabName: "Lar",
tabBg: "img/bg/bg-homesea.png",
currentButtonTab: null,
@@ -20,7 +20,7 @@ SharkGame.Home = {
setup() {
// rename home tab
- const tabName = SharkGame.WorldTypes[world.worldType].name + " Ocean";
+ const tabName = "Oceano " + SharkGame.WorldTypes[world.worldType].name;
home.tabName = tabName;
if (SharkGame.Tabs.home) {
SharkGame.Tabs.home.name = tabName;
@@ -321,7 +321,7 @@ SharkGame.Home = {
});
sceneDiv.append($("").html("").attr("id", "tabSceneTracker"));
- let message = "
You are a shark in a " + worldType.shortDesc + " sea. ";
+ let message = "
Você é um tubarão em um oceano " + worldType.shortDesc + ". ";
message += "
";
tabMessage.html(message).prepend(sceneDiv);
}
@@ -485,7 +485,7 @@ SharkGame.Home = {
// check for any infinite quantities
if (_.some(actionCost, (cost) => !cost.isFinite())) {
- label += "
Maxed out";
+ label += "
Máximo";
} else {
const costText = sharktext.resourceListToString(actionCost, !enableButton, sharkcolor.getElementColor(actionName, "background-color"));
if (costText !== "") {
@@ -883,14 +883,16 @@ SharkGame.Home = {
if (_.some(validGenerators, (_degree, resourceName) => res.isInCategory(resourceName, "harmful"))) {
$("#tooltipbox").addClass("gives-consumer");
}
- text += "
" + (addedAnyLabelsYet ? "and " : "") + "INCREASE" + (usePlural ? "" : "S") + " ";
+ text += "
" + (addedAnyLabelsYet ? "e " : "") + "AUMENTA" + (usePlural ? "" : "M") + " ";
addedAnyLabelsYet = true;
$.each(condensedObject.resAffect.increase, (affectedResource, degreePerPurchase) => {
text +=
- sharktext.boldString("all ") +
+ sharktext.boldString("todos ") +
+ "os" +
+ sharktext.boldString(" ganhos ") +
+ "de " +
sharktext.getResourceName(affectedResource, false, false, sharkcolor.getElementColor("tooltipbox", "background-color")) +
- sharktext.boldString(" gains ") +
- " by " +
+ " por " +
sharktext.boldString(sharktext.beautify(buyingHowMuch * degreePerPurchase * 100) + "%") +
"
";
});
@@ -900,14 +902,16 @@ SharkGame.Home = {
if (_.some(condensedObject.resAffect.decrease, (_degree, resourceName) => !res.isInCategory(resourceName, "harmful"))) {
$("#tooltipbox").addClass("gives-consumer");
}
- text += "
" + (addedAnyLabelsYet ? "and " : "") + "DECREASE" + (usePlural ? "" : "S") + " ";
+ text += "
" + (addedAnyLabelsYet ? "e " : "") + "DIMINU" + (usePlural ? "I" : "EM") + " ";
addedAnyLabelsYet = true;
$.each(condensedObject.resAffect.decrease, (affectedResource, degreePerPurchase) => {
text +=
- sharktext.boldString("all ") +
+ sharktext.boldString("todos ") +
+ "os" +
+ sharktext.boldString(" ganhos ") +
+ "de " +
sharktext.getResourceName(affectedResource, false, false, sharkcolor.getElementColor("tooltipbox", "background-color")) +
- sharktext.boldString(" gains ") +
- " by " +
+ " por " +
sharktext.boldString(sharktext.beautify(buyingHowMuch * degreePerPurchase * 100) + "%") +
"
";
});
@@ -919,18 +923,20 @@ SharkGame.Home = {
}
text +=
"
" +
- (addedAnyLabelsYet ? "and " : "") +
- "MULTIPLICATIVELY INCREASE" +
- (usePlural ? "" : "S") +
- " ";
+ (addedAnyLabelsYet ? "e " : "") +
+ "AUMENTA" +
+ (usePlural ? "" : "M") +
+ "MULTIPLICATIVAMENTE
";
addedAnyLabelsYet = true;
$.each(condensedObject.resAffect.multincrease, (affectedResource, degreePerPurchase) => {
degreePerPurchase = degreePerPurchase ** buyingHowMuch - 1;
text +=
- sharktext.boldString("all ") +
+ sharktext.boldString("todos ") +
+ "os" +
+ sharktext.boldString(" ganhos ") +
+ "de " +
sharktext.getResourceName(affectedResource, false, false, sharkcolor.getElementColor("tooltipbox", "background-color")) +
- sharktext.boldString(" gains ") +
- " by " +
+ " por " +
sharktext.boldString(sharkmath.beautif(degreePerPurchase * 100) + "%") +
"
";
});
@@ -942,44 +948,46 @@ SharkGame.Home = {
}
text +=
"
" +
- (addedAnyLabelsYet ? "and " : "") +
- "MULTIPLICATIVELY DECREASE" +
- (usePlural ? "" : "S") +
- " ";
+ (addedAnyLabelsYet ? "e " : "") +
+ "DIMINU" +
+ (usePlural ? "I" : "EM") +
+ "MULTIPLICATIVAMENTE
";
addedAnyLabelsYet = true;
$.each(condensedObject.resAffect.multdecrease, (affectedResource, degreePerPurchase) => {
degreePerPurchase = 1 - degreePerPurchase ** buyingHowMuch;
text +=
- sharktext.boldString("all ") +
+ sharktext.boldString("todos ") +
+ "os" +
+ sharktext.boldString(" ganhos ") +
+ "de " +
sharktext.getResourceName(affectedResource, false, false, sharkcolor.getElementColor("tooltipbox", "background-color")) +
- sharktext.boldString(" gains ") +
- " by " +
+ " por " +
sharktext.boldString(sharktext.beautify(degreePerPurchase * 100) + "%") +
"
";
});
}
if (!$.isEmptyObject(condensedObject.genAffect.increase)) {
- text += "
" + (addedAnyLabelsYet ? "and " : "") + "INCREASE" + (usePlural ? "" : "S") + " ";
+ text += "
" + (addedAnyLabelsYet ? "e " : "") + "AUMENTA" + (usePlural ? "" : "M") + " ";
addedAnyLabelsYet = true;
$.each(condensedObject.genAffect.increase, (affectedGenerator, degreePerPurchase) => {
text +=
+ sharktext.boldString(" velocidade de ") +
sharktext.getResourceName(affectedGenerator, false, false, sharkcolor.getElementColor("tooltipbox", "background-color")) +
- sharktext.boldString(" speed ") +
- " by " +
+ " em " +
sharktext.boldString(sharktext.beautify(buyingHowMuch * degreePerPurchase * 100) + "%") +
"
";
});
}
if (!$.isEmptyObject(condensedObject.genAffect.decrease)) {
- text += "
" + (addedAnyLabelsYet ? "and " : "") + "DECREASE" + (usePlural ? "" : "S") + " ";
+ text += "
" + (addedAnyLabelsYet ? "e " : "") + "DIMINU" + (usePlural ? "I" : "EM") + " ";
addedAnyLabelsYet = true;
$.each(condensedObject.genAffect.decrease, (affectedGenerator, degreePerPurchase) => {
text +=
+ sharktext.boldString(" velocidade de ") +
sharktext.getResourceName(affectedGenerator, false, false, sharkcolor.getElementColor("tooltipbox", "background-color")) +
- sharktext.boldString(" speed ") +
- " by " +
+ " em " +
sharktext.boldString(sharktext.beautify(buyingHowMuch * degreePerPurchase * 100) + "%") +
"
";
});
@@ -988,17 +996,17 @@ SharkGame.Home = {
if (!$.isEmptyObject(condensedObject.genAffect.multincrease)) {
text +=
"
" +
- (addedAnyLabelsYet ? "and " : "") +
- "MULTIPLICATIVELY INCREASE" +
- (usePlural ? "" : "S") +
- " ";
+ (addedAnyLabelsYet ? "e " : "") +
+ "AUMENTA" +
+ (usePlural ? "" : "M") +
+ "MULTIPLICATIVAMENTE
";
addedAnyLabelsYet = true;
$.each(condensedObject.genAffect.multincrease, (affectedGenerator, degreePerPurchase) => {
degreePerPurchase = degreePerPurchase ** buyingHowMuch - 1;
text +=
+ sharktext.boldString(" velocidade de ") +
sharktext.getResourceName(affectedGenerator, false, false, sharkcolor.getElementColor("tooltipbox", "background-color")) +
- sharktext.boldString(" speed ") +
- " by " +
+ " em " +
sharktext.boldString(sharktext.beautify(degreePerPurchase * 100) + "%") +
"
";
});
@@ -1007,17 +1015,17 @@ SharkGame.Home = {
if (!$.isEmptyObject(condensedObject.genAffect.multdecrease)) {
text +=
"
" +
- (addedAnyLabelsYet ? "and " : "") +
- "MULTIPLICATIVELY DECREASE" +
- (usePlural ? "" : "S") +
- " ";
+ (addedAnyLabelsYet ? "e " : "") +
+ "DIMINU" +
+ (usePlural ? "I" : "EM") +
+ "MULTIPLICATIVAMENTE
";
addedAnyLabelsYet = true;
$.each(condensedObject.genAffect.multdecrease, (affectedGenerator, degreePerPurchase) => {
degreePerPurchase = 1 - degreePerPurchase ** buyingHowMuch;
text +=
+ sharktext.boldString(" velocidade de ") +
sharktext.getResourceName(affectedGenerator, false, false, sharkcolor.getElementColor("tooltipbox", "background-color")) +
- sharktext.boldString(" speed ") +
- " by " +
+ " em " +
sharktext.boldString(sharktext.beautify(degreePerPurchase * 100) + "%") +
"
";
});
diff --git a/js/tabs/lab.js b/js/tabs/lab.js
index 099997eb..7760558a 100644
--- a/js/tabs/lab.js
+++ b/js/tabs/lab.js
@@ -3,7 +3,7 @@ SharkGame.Lab = {
tabId: "lab",
tabDiscovered: false,
tabSeen: false,
- tabName: "Laboratory",
+ tabName: "Laboratório",
tabBg: "img/bg/bg-lab.png",
get sceneImage() {
@@ -44,26 +44,26 @@ SharkGame.Lab = {
switch (world.worldType) {
case "tempestuous":
if (res.getTotalResource("scientist") < 1) {
- return "Sort of just off to the side, there's a cave.";
+ return "Em um canto, há uma caverna.";
}
- return "Sort of just off to the side, the science sharks congregate and discuss things with words you've never heard before.";
+ return "Num canto da caverna, os tubarões cientistas se juntam e discutem usando palavras que você nunca ouviu antes.";
case "volcanic":
- return "Sort of just off to the side, a group of curious crabs congregate and discuss stuff that we don't understand.";
+ return "Num canto do Cardume, um grupinho de caranguejos curioso se juntam para discutir coisas que não entendemos.";
default:
- return "Sort of just off to the side, the science sharks congregate and discuss things with words you've never heard before.";
+ return "Num canto do Cardume, os tubarões cientistas se juntam e discutem usando palavras que você nunca ouviu antes.";
}
},
get messageDone() {
switch (world.worldType) {
case "volcanic":
return (
- "Sort of just off to the side, the researchers are compiling their work and filing it away.
" +
- "Looks like that's it! No more things to figure out."
+ "Num canto do Cardume, os pesquisadores passaram à 'pesquisa' de festas e celebrações.
" +
+ "Parece que é isso! Descobrimos tudo que havia de importante."
);
default:
return (
- "Sort of just off to the side, the science sharks quietly wrap up their badly disguised party and pretend to work.
" +
- "Looks like that's it! No more things to figure out."
+ "Num canto do Cardume, os cientistas dão um pausa em sua festa mal escondida e fingem que estão trabalhando.
" +
+ "Parece que é isso! Descobrimos tudo que havia de importante."
);
}
},
@@ -137,10 +137,10 @@ SharkGame.Lab = {
let message;
switch (world.worldType) {
case "volcanic":
- message = "We rest content, sure that our work is done.";
+ message = "Nós descansamos felizes, uma vez que todo nosso trabalho está feito.";
break;
default:
- message = "The scientists rest content, sure that they're done with their work.";
+ message = "Os cientistas estão contentes, cientes de que terminaram seus trabalhos.";
}
$("#buttonList").html($("
").html(message));
@@ -150,16 +150,16 @@ SharkGame.Lab = {
switch (world.worldType) {
case "tempestuous":
if (res.getTotalResource("scientist") < 1) {
- message = "We're in the cave. Now what?";
+ message = "Estamos na caverna. E agora?";
} else {
- message = "The scientists are out of ideas, but there are always more discoveries to be made.";
+ message = "Os cientistas estão sem ideias por enquanto, mas certamente há novas descobertas a serem feitas.";
}
break;
case "volcanic":
- message = "The crabs are out of ideas, but there are always more discoveries to be made.";
+ message = "Os caranguejos estão sem ideias por agora, mas certamente há novas curiosidades a serem achadas.";
break;
default:
- message = "The scientists are out of ideas, but there are always more discoveries to be made.";
+ message = "Os cientistas estão sem ideias por enquanto, mas certamente há novas descobertas a serem feitas.";
}
$("#buttonList").html($("
").html(message));
@@ -183,9 +183,9 @@ SharkGame.Lab = {
if (hintResource) {
$("#buttonList").append(
$("
").html(
- "You get the feeling that " +
+ "Sua intuição diz que " +
sharktext.getResourceName(hintResource, false, 2, sharkcolor.getElementColor("buttonList")) +
- " may be the key.",
+ " pode render algumas ideias.",
),
);
} else {
diff --git a/js/tabs/recycler.js b/js/tabs/recycler.js
index d85687ef..e7dcf275 100644
--- a/js/tabs/recycler.js
+++ b/js/tabs/recycler.js
@@ -3,7 +3,7 @@ SharkGame.Recycler = {
tabId: "recycler",
tabDiscovered: false,
tabSeen: false,
- tabName: "Recycler",
+ tabName: "Recicladora",
tabBg: "img/bg/bg-recycler.png",
sceneImage: "img/events/misc/scene-recycler.png",
@@ -12,25 +12,25 @@ SharkGame.Recycler = {
upgrade: ["recyclerDiscovery"],
},
- message: "Convert things into residue, and residue into things!Feed the machines. Feed them. ",
+ message: "Dissolva coisas em nata, e transforme nata em coisas!Feed the machines. Feed them. ",
recyclerInputMessages: [
- "The machines grind and churn.",
- "Screech clunk chomp munch erp.",
- "Clunk clunk clunk screeeeech.",
- "The recycler hungrily devours the stuff you offer.",
- "The offerings are no more.",
- "Viscous, oily mess sloshes within the machine.",
- "The recycler reprocesses.",
+ "As engrenagens giram e moem.",
+ "Scriiinch clank chomp monch beep.",
+ "Clenk clenk clenk scriiiiiich.",
+ "A recicladora devora tudo que você dá como se sentisse fome.",
+ "E as offerendas se foram.",
+ "Uma gosma viscosa e oleosa agita dentro da máquina.",
+ "A recicladora reprocessa.",
],
recyclerOutputMessages: [
- "A brand new whatever!",
- "The recycler regurgitates your demand, immaculately formed.",
- "How does a weird blackish gel become THAT?",
- "Some more stuff to use! Maybe even to recycle!",
- "Gifts from the machine! Gifts that may have cost a terrible price!",
- "How considerate of this unfeeling, giant apparatus! It provides you stuff at inflated prices!",
+ "Recursos, novinho em folha!",
+ "A recicladora regurgita seu pedido, em estado pristina.",
+ "Como que um gel todo cinzento e estranho virou ISSO?",
+ "Mais coisas para usar! Talvez até para reciclar!",
+ "Presentes das máquina! Presentes que custaram um preço terrível!",
+ "Mas quanta consideração desse gigante aparelho sem emoções! Ele te dá coisas a preços super inflacionados!",
],
allowedCategories: {
@@ -203,16 +203,16 @@ SharkGame.Recycler = {
rec.bannedResources.indexOf(resourceName) === -1
) {
SharkGame.Button.makeHoverscriptButton(
- "input-" + resourceName,
- "Recycle " + sharktext.getResourceName(resourceName, undefined, undefined, sharkcolor.getVariableColor("--color-light")),
+ "entrada-" + resourceName,
+ "Reciclar " + sharktext.getResourceName(resourceName, undefined, undefined, sharkcolor.getVariableColor("--color-light")),
inputButtonDiv,
rec.onInput,
rec.onInputHover,
rec.onInputUnhover,
);
SharkGame.Button.makeHoverscriptButton(
- "output-" + resourceName,
- "Convert to " + sharktext.getResourceName(resourceName, undefined, undefined, sharkcolor.getVariableColor("--color-light")),
+ "saída-" + resourceName,
+ "Converter para " + sharktext.getResourceName(resourceName, undefined, undefined, sharkcolor.getVariableColor("--color-light")),
outputButtonDiv,
rec.onOutput,
rec.onOutputHover,
@@ -236,7 +236,7 @@ SharkGame.Recycler = {
res.changeResource("tar", Math.max(amount * junkPerResource * 0.0000002 + res.getProductAmountFromGeneratorResource("filter", "tar"), 0));
log.addMessage(SharkGame.choose(rec.recyclerInputMessages));
} else {
- log.addError("Not enough resources for that transaction. This might be caused by putting in way too many resources at once.");
+ log.addError("Não há recursos suficientes para essa transação. Você pode estar tentando botar recursos demais de uma vez.");
}
rec.updateEfficiency(resourceName);
@@ -278,7 +278,7 @@ SharkGame.Recycler = {
res.changeResource("junk", -Number(junkNeeded));
log.addMessage(SharkGame.choose(rec.recyclerOutputMessages));
} else {
- log.addMessage("You don't have enough for that!");
+ log.addMessage("Você não tem nata para tudo isso!");
}
// disable button until next frame
@@ -363,7 +363,7 @@ SharkGame.Recycler = {
}
let amountstring = sharktext.beautify(produced);
amountstring =
- " AND " +
+ " E " +
amountstring.bold() +
" " +
sharktext.getResourceName("tar", undefined, undefined, sharkcolor.getElementColor("junkDisplay"));
@@ -373,7 +373,7 @@ SharkGame.Recycler = {
sharktext.beautify(Math.max(produced - tarTolerance, 0)) +
" " +
sharktext.getResourceName("tar", undefined, undefined, sharkcolor.getElementColor("junkDisplay")) +
- " WITH " +
+ " COM " +
sharktext.getResourceName("filter", false, 2, sharkcolor.getElementColor("junkDisplay")) +
")";
}
@@ -396,11 +396,11 @@ SharkGame.Recycler = {
return (
(rec.getEfficiency() * 100).toFixed(2).toString().bold() +
- "% EFFICIENCY EQUIVALENT TO: " +
+ "% EFICIÊNCIA EQUIVALENTE A: " +
amountstring.bold() +
" " +
sharktext.getResourceName(rec.hoveredResource, undefined, undefined, sharkcolor.getElementColor("junkDisplay")).bold() +
- " WORTH OF RESIDUE"
+ " MEDIDAS DE NATA"
);
},
diff --git a/js/tabs/reflection.js b/js/tabs/reflection.js
index 3fbfc2ce..6fb6f5e0 100644
--- a/js/tabs/reflection.js
+++ b/js/tabs/reflection.js
@@ -3,7 +3,7 @@ SharkGame.Reflection = {
tabId: "reflection",
tabDiscovered: false,
tabSeen: false,
- tabName: "Reflection",
+ tabName: "Reflexão",
tabBg: "img/bg/bg-gate.png",
sceneImage: "img/events/misc/scene-reflection.png",
@@ -15,8 +15,8 @@ SharkGame.Reflection = {
},
message:
- "You may not remember everything, but you are something more than a shark now." +
- "Reflect upon the changes in yourself and reality you have made here. ",
+ "Você pode não se lembrar de tudo, mas você é mais que apenas um tubarão agora." +
+ "Reflita nas mudanças que você fez em você mesmo e na realidade ao redor. ",
init() {
SharkGame.TabHandler.registerTab(this);
@@ -77,7 +77,7 @@ SharkGame.Reflection = {
}
});
if ($("#aspectList > div").length === 0) {
- listSel.append("
You have no aspects to you yet.
");
+ listSel.append("
Você não formou aspectos ainda.
");
}
const listSelDisabled = $("#disabledAspectList");
diff --git a/js/tabs/stats.js b/js/tabs/stats.js
index dc0a62dc..2181335a 100644
--- a/js/tabs/stats.js
+++ b/js/tabs/stats.js
@@ -3,7 +3,7 @@ SharkGame.Stats = {
tabId: "stats",
tabDiscovered: false,
tabSeen: false,
- tabName: "Grotto",
+ tabName: "Gruta",
tabBg: "img/bg/bg-grotto.png",
sceneImage: "img/events/misc/scene-grotto.png",
@@ -16,9 +16,9 @@ SharkGame.Stats = {
bannedDisposeCategories: ["special", "harmful", "hidden"],
message:
- "The grotto is a place to keep a better track of resources." +
- "You can also dispose of those you don't need anymore." +
- "Disposing specialists returns them to their normal, previous lives.",
+ "A gruta é o lugar em que nós mantemos maior controle das nossas coisas." +
+ "Também dá para jogar fora as coisas que não quisermos." +
+ "Descartar especialistas os coloca de volta às suas vidas normais, com empregos de colarinho azul.",
init() {
SharkGame.TabHandler.registerTab(this);
@@ -48,16 +48,16 @@ SharkGame.Stats = {
tabMessageSel.html(message);
const disposeSel = $("#disposeResource");
- disposeSel.append($("
").html("Dispose of Stuff"));
+ disposeSel.append($("").html("Jogue Coisas Fora"));
main.createBuyButtons("rid", disposeSel, "append");
stats.createDisposeButtons();
const table = stats.createIncomeTable();
const incomeDataSel = $("#incomeData");
- incomeDataSel.append($("").html("Income Details"));
+ incomeDataSel.append($("").html("Detalhes da produção"));
incomeDataSel.append(
$(" ")
- .html("(Listed below are resources, the income each resource gives you, and the total income you're getting from each thing.)")
+ .html("(Abaixo estão listados os recursos, a produção de uma unidade deles, e a produção total de cada recurso.)")
.addClass("medDesc"),
);
@@ -68,11 +68,11 @@ SharkGame.Stats = {
clear: "both",
});
- SharkGame.Button.makeButton("switchButton", "Swap Producers and Produced", switchButtonDiv, stats.toggleSwitch).addClass("min-block");
- if (SharkGame.Settings.current.grottoMode === "simple") {
- SharkGame.Button.makeButton("modeButton", "Swap to Advanced mode", switchButtonDiv, stats.toggleMode).addClass("min-block");
+ SharkGame.Button.makeButton("switchButton", "Alternar produtores e recursos", switchButtonDiv, stats.toggleSwitch).addClass("min-block");
+ if (SharkGame.Settings.current.grottoMode === "simples") {
+ SharkGame.Button.makeButton("modeButton", "Mudar para o modo Avançado", switchButtonDiv, stats.toggleMode).addClass("min-block");
} else {
- SharkGame.Button.makeButton("modeButton", "Swap to Simple mode", switchButtonDiv, stats.toggleMode).addClass("min-block");
+ SharkGame.Button.makeButton("modeButton", "Mudar para o modo Simples", switchButtonDiv, stats.toggleMode).addClass("min-block");
}
incomeDataSel.append(switchButtonDiv);
@@ -84,22 +84,22 @@ SharkGame.Stats = {
genStats.append($("
").html("General Stats"));
const firstTime = main.isFirstTime();
genStats.append(
- $(" ").html("Real time since you began your journey: ").addClass("medDesc"),
+ $("
").html("Tempo de mundo real desde o começo da jornada: ").addClass("medDesc"),
);
if (!firstTime) {
genStats.append(
$("
")
- .html("Relative time since you came through the gate: ")
+ .html("Tempo relativo desde que você saiu do portal: ")
.addClass("medDesc"),
);
if (SharkGame.persistentFlags.scouting === false) {
genStats.append($("
").html(`Par: ${gateway.getPar()} minutes`).addClass("medDesc"));
}
}
- genStats.append($("
").html("Total Ocean Resources Acquired"));
+ genStats.append($("").html("Recursos Totais no Oceano"));
if (!firstTime) {
genStats.append(
- $(" ").html("Essence given is the total acquired for the entire game and not just for this world.").addClass("medDesc"),
+ $("
").html("Essência adquirida mostrada conta para o jogo inteiro, não só para este mundo.").addClass("medDesc"),
);
}
genStats.append(stats.createTotalAmountTable());
@@ -151,7 +151,7 @@ SharkGame.Stats = {
}
const disableButton = resourceAmount < amountToDispose || amountToDispose <= 0;
let label =
- "Dispose of " +
+ "Descartar " +
sharktext.beautify(amountToDispose) +
" " +
sharktext.getResourceName(
@@ -162,12 +162,12 @@ SharkGame.Stats = {
);
if (amountToDispose <= 0) {
label =
- "Can't dispose any more " +
+ "Não dá para jogar mais " +
sharktext.getResourceName(
resourceName,
disableButton,
amountToDispose,
- sharkcolor.getElementColor("dispose-" + resourceName, "background-color"),
+ sharkcolor.getElementColor("dispose-" + resourceName, "background-color") + " fora.",
);
}
@@ -202,7 +202,7 @@ SharkGame.Stats = {
}
log.addMessage(SharkGame.choose(category.disposeMessage));
} else {
- log.addMessage("Can't dispose that much! You don't have enough of it.");
+ log.addMessage("Você não consegue tanta coisa fora! Nem temos os recursos pra fazer isso!");
}
},
@@ -257,7 +257,7 @@ SharkGame.Stats = {
cell.html(newValue);
}
- if (SharkGame.Settings.current.grottoMode === "advanced") {
+ if (SharkGame.Settings.current.grottoMode === "avançado") {
cell = $("#network-" + resourceId + "-" + incomeKey)
.on("mouseenter", stats.networkTextEnter)
.on("mouseleave", stats.networkTextLeave);
@@ -498,7 +498,7 @@ SharkGame.Stats = {
? ""
: "+";
// which mode are we in?
- if (SharkGame.Settings.current.grottoMode === "advanced") {
+ if (SharkGame.Settings.current.grottoMode === "avançado") {
addCell(
[
res.INCOME_COLOR,
@@ -609,48 +609,48 @@ SharkGame.Stats = {
if (SharkGame.Settings.current.switchStats) {
row.append(
$("
")
- .html("" + "RESOURCE".bold() + " ")
+ .html("" + "RECURSO".bold() + " ")
.addClass("evenRow"),
);
row.append(
$(" ")
- .html("" + "AMOUNT".bold() + " ")
+ .html("" + "QUANTIA".bold() + " ")
.addClass("evenRow"),
);
row.append(
$(" ")
- .html("" + "GENERATOR".bold() + " ")
+ .html("" + "GERADOR".bold() + " ")
.addClass("evenRow"),
);
} else {
row.append(
$(" ")
- .html("" + "AMOUNT".bold() + " ")
+ .html("" + "QUANTIA".bold() + " ")
.addClass("evenRow"),
);
row.append(
$(" ")
- .html("" + "GENERATOR".bold() + " ")
+ .html("" + "GERADOR".bold() + " ")
.addClass("evenRow"),
);
row.append(
$(" ")
- .html("" + "RESOURCE".bold() + " ")
+ .html("" + "RECURSO".bold() + " ")
.addClass("evenRow"),
);
}
row.append(
$(" ")
- .html("" + (SharkGame.Settings.current.grottoMode === "advanced" ? "BASE INCOME" : "INCOME PER") + " ")
+ .html("" + (SharkGame.Settings.current.grottoMode === "avançado" ? "PRODUÇÃO BASE" : "PRODUÇÃO INDV.") + " ")
.addClass("evenRow"),
);
columns -= 4;
- if (SharkGame.Settings.current.grottoMode === "advanced") {
+ if (SharkGame.Settings.current.grottoMode === "avançado") {
function tooltip($elt, html) {
return $elt.on("mouseenter", () => $("#tooltipbox").html(html)).on("mouseleave", () => $("#tooltipbox").html(""));
}
@@ -658,9 +658,9 @@ SharkGame.Stats = {
row.append(
tooltip(
$(" ")
- .html("U
")
+ .html("T
")
.addClass("evenRow"),
- "U pgrade effects",
+ "Efeito de T ecnologias",
),
);
if (main.isFirstTime()) {
@@ -671,9 +671,9 @@ SharkGame.Stats = {
row.append(
tooltip(
$(" ")
- .html("W
")
+ .html("M
")
.addClass("evenRow"),
- "W orld effects",
+ "Efeitos do M undo",
),
);
row.append(
@@ -681,7 +681,7 @@ SharkGame.Stats = {
$(" ")
.html("A
")
.addClass("evenRow"),
- "A spect effects",
+ "Efeito de A spectos",
),
);
row.append(
@@ -689,7 +689,7 @@ SharkGame.Stats = {
$(" ")
.html("R
")
.addClass("evenRow"),
- "How some R esources affect each other",
+ "Como alguns R ecursos se afetam",
),
);
}
@@ -754,34 +754,34 @@ SharkGame.Stats = {
},
toggleMode() {
- if (SharkGame.Settings.current.grottoMode === "simple") {
- SharkGame.Settings.current.grottoMode = "advanced";
- document.getElementById("modeButton").innerHTML = "Swap to Simple mode";
+ if (SharkGame.Settings.current.grottoMode === "simples") {
+ SharkGame.Settings.current.grottoMode = "avançado";
+ document.getElementById("modeButton").innerHTML = "Mudar para o modo Simples";
} else {
- SharkGame.Settings.current.grottoMode = "simple";
- document.getElementById("modeButton").innerHTML = "Swap to Advanced mode";
+ SharkGame.Settings.current.grottoMode = "simples";
+ document.getElementById("modeButton").innerHTML = "Mudar para o modo Avançado";
}
stats.createIncomeTable();
stats.updateTableKey();
},
updateTableKey() {
- if (SharkGame.Settings.current.grottoMode !== "advanced" || SharkGame.Stats.incomeTableEmpty) {
+ if (SharkGame.Settings.current.grottoMode !== "avançado" || SharkGame.Stats.incomeTableEmpty) {
document.getElementById("tableKey").innerHTML = "";
return;
}
if (world.worldType !== "start") {
document.getElementById("tableKey").innerHTML =
- " TABLE KEY " +
- ` This color is for U pgrade effects.` +
- ` This color is for W orld effects.` +
- ` This color is for A spect effects.` +
- ` This color is for how some R esources affect each other.`;
+ " GUIA PARA TABELA " +
+ ` Essa cor é para efeito de T ecnologias.` +
+ ` Essa cor é para efeitos do M undo.` +
+ ` Essa cor é para efeito de A spectos.` +
+ ` Essa cor é para o efeito de alguns R ecursos entre si.`;
} else {
document.getElementById("tableKey").innerHTML =
- " TABLE KEY " +
- ` This color is for upgrade effects.`;
+ " GUIA PARA TABELA " +
+ ` Essa cor é para efeito de T ecnologias.`;
}
},
@@ -824,7 +824,7 @@ SharkGame.Stats = {
}
if (!$.isEmptyObject(generatorCondensedObject.genAffect.decrease)) {
- text += "" + (addedAnyLabelsYet ? " then " : "") + "IS DECREASED BY ";
+ text += "" + (addedAnyLabelsYet ? " then " : "") + "ESTÁ SENDO DIMINUIDO POR ";
addedAnyLabelsYet = true;
$.each(generatorCondensedObject.genAffect.decrease, (affector, degree) => {
const amount = SharkGame.Settings.current.alwaysSingularTooltip ? 1 : res.getResource(affector);
@@ -838,7 +838,7 @@ SharkGame.Stats = {
}
if (!$.isEmptyObject(generatorCondensedObject.genAffect.multincrease)) {
- text += "" + (addedAnyLabelsYet ? " then " : "") + "IS MULTIPLICATIVELY INCREASED BY ";
+ text += "" + (addedAnyLabelsYet ? " then " : "") + "ESTÁ SENDO MULTIPLICADO POR ";
addedAnyLabelsYet = true;
$.each(generatorCondensedObject.genAffect.multincrease, (affector, degree) => {
const amount = SharkGame.Settings.current.alwaysSingularTooltip ? 1 : res.getResource(affector);
@@ -852,7 +852,7 @@ SharkGame.Stats = {
}
if (!$.isEmptyObject(generatorCondensedObject.genAffect.multdecrease)) {
- text += "" + (addedAnyLabelsYet ? " then " : "") + "IS MULTIPLICATIVELY DECREASED BY ";
+ text += "" + (addedAnyLabelsYet ? " then " : "") + "ESTÁ SENDO DIMINUIDO POR ";
addedAnyLabelsYet = true;
$.each(generatorCondensedObject.genAffect.multdecrease, (affector, degree) => {
const amount = SharkGame.Settings.current.alwaysSingularTooltip ? 1 : res.getResource(affector);
@@ -887,7 +887,7 @@ SharkGame.Stats = {
}
if (!$.isEmptyObject(generatedCondensedObject.resAffect.decrease)) {
- text += "" + (addedAnyLabelsYet ? " then " : "") + "ARE DECREASED BY ";
+ text += "" + (addedAnyLabelsYet ? " then " : "") + "ESTÁ SENDO DIMINUIDO POR ";
addedAnyLabelsYet = true;
$.each(generatedCondensedObject.resAffect.decrease, (affector, degree) => {
const amount = SharkGame.Settings.current.alwaysSingularTooltip ? 1 : res.getResource(affector);
@@ -901,7 +901,7 @@ SharkGame.Stats = {
}
if (!$.isEmptyObject(generatedCondensedObject.resAffect.multincrease)) {
- text += "" + (addedAnyLabelsYet ? " then " : "") + "ARE MULTIPLICATIVELY INCREASED BY ";
+ text += "" + (addedAnyLabelsYet ? " then " : "") + "ESTÁ SENDO AUMENTADO POR ";
addedAnyLabelsYet = true;
$.each(generatedCondensedObject.resAffect.multincrease, (affector, degree) => {
const amount = SharkGame.Settings.current.alwaysSingularTooltip ? 1 : res.getResource(affector);
@@ -915,7 +915,7 @@ SharkGame.Stats = {
}
if (!$.isEmptyObject(generatedCondensedObject.resAffect.multdecrease)) {
- text += "" + (addedAnyLabelsYet ? " then " : "") + "ARE MULTIPLICATIVELY DECREASED BY ";
+ text += "" + (addedAnyLabelsYet ? " then " : "") + "ESTÁ SENDO DIMINUIDO POR ";
addedAnyLabelsYet = true;
$.each(generatedCondensedObject.resAffect.multdecrease, (affector, degree) => {
const amount = SharkGame.Settings.current.alwaysSingularTooltip ? 1 : res.getResource(affector);
diff --git a/js/titlebar.js b/js/titlebar.js
index fd096bb5..de01c88d 100644
--- a/js/titlebar.js
+++ b/js/titlebar.js
@@ -1,7 +1,7 @@
"use strict";
SharkGame.TitleBar = {
saveLink: {
- name: "save",
+ name: "salvar",
main: true,
onClick() {
try {
@@ -9,12 +9,12 @@ SharkGame.TitleBar = {
} catch (err) {
log.addError(err);
}
- log.addMessage("Saved game.");
+ log.addMessage("Jogo salvo.");
},
},
optionsLink: {
- name: "options",
+ name: "opções",
main: true,
onClick() {
SharkGame.PaneHandler.showOptions();
@@ -30,16 +30,16 @@ SharkGame.TitleBar = {
}, */
skipLink: {
- name: "skip",
+ name: "pular",
main: true,
onClick() {
if (main.isFirstTime()) {
// save people stranded on home world
- if (confirm("Do you want to reset your game?")) {
+ if (confirm("Você quer reiniciar o seu jogo?")) {
// just reset
main.resetGame();
}
- } else if (confirm("Is this world causing you too much trouble? Want to go back to the gateway?")) {
+ } else if (confirm("Esse mundo está te causando problemas? Você quer voltar para o entre-mundos?")) {
SharkGame.wonGame = false;
main.endGame();
}
@@ -47,7 +47,7 @@ SharkGame.TitleBar = {
},
funFactsLink: {
- name: "fun fact",
+ name: "Fatos curiosos",
main: false,
onClick() {
SharkGame.FunFacts.showFact();
@@ -55,7 +55,7 @@ SharkGame.TitleBar = {
},
changelogLink: {
- name: "changelog",
+ name: "registro de atualização",
main: false,
onClick() {
SharkGame.PaneHandler.showChangelog();
@@ -71,7 +71,7 @@ SharkGame.TitleBar = {
}, */ // credits now at bottom of page
donateLink: {
- name: "donate",
+ name: "doações",
main: false,
onClick() {
SharkGame.PaneHandler.addPaneToStack("Donate", SharkGame.Panes.donate);
@@ -85,7 +85,7 @@ SharkGame.TitleBar = {
},
hubLink: {
- name: "back to hub",
+ name: "para o menu principal",
main: false,
onClick() {
try {
@@ -93,7 +93,7 @@ SharkGame.TitleBar = {
} catch (err) {
log.addError(err);
}
- log.addMessage("Saved game.");
+ log.addMessage("Jogo salvo.");
window.location.href = "https://shark.tobot.dev/";
},
},
@@ -114,10 +114,10 @@ SharkGame.TitleBarHandler = {
correctTitleBar() {
if (main.isFirstTime()) {
- SharkGame.TitleBar.skipLink.name = "reset";
+ SharkGame.TitleBar.skipLink.name = "reiniciar";
} else {
// and then remember to actually set it back once it's not
- SharkGame.TitleBar.skipLink.name = "skip";
+ SharkGame.TitleBar.skipLink.name = "pular";
}
this.setUpTitleBar();
},
diff --git a/js/util.js b/js/util.js
index 35e56756..d1574351 100644
--- a/js/util.js
+++ b/js/util.js
@@ -229,10 +229,10 @@ SharkGame.TextUtil = {
let suffixes;
switch (SharkGame.Settings.current.notation) {
case "SI":
- suffixes = ["", "k", "M", "G", "T", "P", "E", "Z", "Y"];
+ suffixes = ["", "k", "M", "G", "T", "P", "E", "Z", "Y", "R", "Q"];
break;
default:
- suffixes = ["", "K", "M", "B", "T", "Qa", "Qi", "Sx", "Sp"];
+ suffixes = ["", "mil", "M", "B", "T", "Qa", "Qi", "Sx", "Sp", "Oc", "No"];
}
const digits = Math.floor(Math.log10(number));
// Max for a case where the supported suffix is not specified
@@ -330,9 +330,9 @@ SharkGame.TextUtil = {
if (SharkGame.flags.egg) {
if (amount > 1) {
- name = "eggs";
+ name = "'-'";
} else {
- name = "egg";
+ name = "'-'";
}
}
@@ -345,8 +345,8 @@ SharkGame.TextUtil = {
name = name.bold();
}
- if (SharkGame.Settings.current.colorCosts !== "none") {
- let color = SharkGame.Settings.current.colorCosts === "color" ? resource.color : sharkcolor.getBrightColor(resource.color);
+ if (SharkGame.Settings.current.colorCosts !== "sem cor") {
+ let color = SharkGame.Settings.current.colorCosts === "colorido" ? resource.color : sharkcolor.getBrightColor(resource.color);
if (darken) {
color = sharkcolor.colorLum(resource.color, -0.5);
} else if (background) {
@@ -578,7 +578,7 @@ SharkGame.MiscUtil = {
default:
throw new Error(
- `Cannot clone object of type ${typeof descriptor.value} (This should never happen, why must you do this to me, JavaScript?)`,
+ `Não é possível clonar objeto ${typeof descriptor.value} (Isso nunca deveria acontecer, por favor reportar)`,
);
}
}