Added full english translation

This commit is contained in:
Robonps 2022-02-05 13:12:35 +13:00
parent 2ba63f8218
commit f193a2af17
5 changed files with 50 additions and 52 deletions

View File

@ -17,7 +17,7 @@ The entire project is subject to the GNU General Public License v3.0.
Launch the game, and press any key to pass the main screen. Once on the screen representing the Earth, several choices are available to you:
[OPTN] allows you to show/hide the bar below the world that shows you your DNA points and the human search bar.
[VARS] allows you to get to the heart of the game: mutations. This menu displays your DNA points, but also the selected mutations as well as your points of contagion, severity, and lethality. In this menu, you can edit all this.
[VARS] allows you to get to the heart of the game: mutations. This menu displays your DNA points, but also the selected mutations as well as your points of infectivity, severity, and lethality. In this menu, you can edit all this.
[x^2] provides access to the statistics menu that shows you the stats on humans. The bar symbolizes the percentage of the total population: so the sum of all the bars must give a single whole bar.
[→] enables (or disables) Fast Mode. This mode allows you to advance 10 times faster in the game.
In the menus move with the arrow keys, validate with [SHIFT] and cancel with [ALPHA]. To exit pop-up messages, press [ALPHA].
@ -36,9 +36,8 @@ All mutations have several specificities:
Spread that determines the proportion of people infected
Severity affects research, it can be understood in the following way: if the severity is high, the disease is serious, it therefore leads to active research on the part of Humans. Severity also allows you to earn DNA points faster.
Lethality determines the mortality rate among the infected... High lethality will make your disease a real killing machine, but it exposes you and accelerates the search!
Lethality determines the mortality rate among the infected... High lethality will make your disease a real killing machine, but it exposes you and accelerates research into finding a cure!
the cost in DNA points.
In the mutation menu you have the statistics of the selected mutation. And in parentheses you have the actual changes. The number in parentheses therefore tells you the number of contagion points, severity, lethality, you will win (or lose if the number is negative) if you mutate your disease.
### Symptoms of the disease

View File

@ -66,8 +66,8 @@ int next_frame(struct game *current_game, int *dna_animation, int *vaccine)
current_game->time = 0;
// Display message on research
if (!current_game->research && current_game->priority) message("LA RECHERHCE CONTRE VOTRE VIRUS COMMENCE !");
else if (!*vaccine && (current_game->research == current_game->limit)) {*vaccine = 1; message("LE VACCIN EST TERMINE."); }
if (!current_game->research && current_game->priority) message("RESEARCH HAS STARTED AGAINST YOUR VIRUS!");
else if (!*vaccine && (current_game->research == current_game->limit)) {*vaccine = 1; message("THE VACCINE HAS BEEN COMPLETED."); }
// Update the game
current_game->dna = current_game->dna + 1 + floor(current_game->severity / 10);
@ -82,8 +82,8 @@ int next_frame(struct game *current_game, int *dna_animation, int *vaccine)
if (!current_game->humans[1])
{
if (current_game->humans[3] < 4 * (current_game->humans[0] + current_game->humans[2])) message("VOUS AVEZ PERDU.");
else message("VOUS AVEZ GAGNE !");
if (current_game->humans[3] < 4 * (current_game->humans[0] + current_game->humans[2])) message("YOU LOSE");
else message("YOU HAVE WON!");
return 0;
}
}

View File

@ -3,53 +3,52 @@
// (contation, severity, lethality, DNA cost, change to cure requirement)
const struct mutation symptoms_data[14] =
{
{10, 0, 0, 2, 0, "NAUSEE", "DONNE DES NAUSEES"},
{15, 10, 0, 10, 0, "VOMISSEMENT", "PROVOQUE DES REJETS GASTRIQUES"},
{10, 0, 0, 3, 0, "TOUX", "LA PROJECTION DE PARTICULE AUGMENTE LA CONTAGION"},
{15, 10, 5, 10, 0, "PNEUMONIE", "AFFECTION PULMONAIRE PEU MORTELLE"},
{ 0, 20, 20, 15, 10, "TUMEUR", "PEU CONTAGIEUX, MAIS MORTEL"},
{15, 0, 5, 4, 0, "PLAIES", "LA PEAU S'ASSECHE ET DEVIENT CASSANTE"},
{10, 5, 10, 10, 0, "LESIONS", "BLOQUE LA CICATRISATION"},
{30, 10, 20, 20, 5, "HEMORRAGIE", "BLOQUE L'ACTION DES PLAQUETTES"},
{25, 10, 10, 17, 0, "INFECTION", "CREER DES FOYERS D'INFECTION DANS LE CORPS"},
{15, 10, 5, 5, 0, "INFLAMMATION", "PROVOQUE DES ROUGEURS ET DEMANGEAISONS"},
{10, 15, 20, 15, 0, "IMMUNITE", "BLOQUE L'ACTION DU SYSTEME IMMUNITAIRE"},
{ 0, 20, 0, 15, 10, "PARANOIA", "LES CHERCHEURS N'ARRIVENT PLUS A COOPERER ENTRE EUX"},
{ 0, 15, 15, 20, 10, "FOLIE", "PROVOQUE DES CRISES D'HYSTERIES"},
{ 0, 10, 30, 30, 20, "ARRET TOTAL", "EMPECHE LES ORGANES DE FONCTIONNER"},
{
{10, 0, 0, 2, 0, " NAUSEA", "CAUSES UNEASINESS"},
{15, 10, 0, 10, 0, " VOMITING", "CAUSES GASTRIC DISCHARGE"},
{10, 0, 0, 3, 0, " COUGHING", "SPREADS VIRAL PARTICLES INCREASING SPREAD"},
{15, 10, 5, 10, 0, " PNEUMONIA", "CAUSES FLUID IN THE LUNGS"},
{ 0, 20, 20, 15, 10, " TUMOR", "INTERNAL LUMP NOT VERY INFECTIOUS BUT LETHAL"},
{15, 0, 5, 4, 0, " SORES", "SKIN DRIES UP AND BECOMES BRITTLE AND RED"},
{10, 5, 10, 10, 0, " LESIONS", "REDUCES THE BODYS HEALING ABILITY"},
{30, 10, 20, 20, 5, " HEMORRHAGE", "CAUSES INTERNAL BLEEDING"},
{25, 10, 10, 17, 0, " INFECTION", "CREATE POCKETS OF INFECTED PUS IN THE BODY"},
{15, 10, 5, 5, 0, " INFLAMMATION", "CAUSES REDNESS AND ITCHING"},
{10, 15, 20, 15, 0, " IMMUNITY", "BLOCKS THE IMMUNE SYSTEM"},
{ 0, 20, 0, 15, 10, " PARANOIA", "RESEARCHERS PARANOID INCREASES CURE DEVELOPMENT"},
{ 0, 15, 15, 20, 10, " INSANITY", "CAUSES HYSTERIA"},
{ 0, 10, 30, 30, 20, " ORGAN FALUIRE", "STOPS THE ORGANS, CAN BE VERY LETHAL"},
};
const struct mutation abilities_data[6] =
{
{15, 0, 0, 10, 0, "FROID", "RESISTANCE AU FROID"},
{15, 0, 0, 15, 0, "CHAUD", "RESISTANCE AU CHAUD"},
{ 0, 10, 0, 25, 10, "GENETIQUE", "LE GENOME MUTE, RALENTISSANT LE SEQUENCAGE ADN"},
{10, 10, 10, 30, 30, "MUTATION+", "LE VIRUS MUTE, BLOQUANT LES CHERCHEURS"},
{30, 10, 0, 30, 0, "ENVIRON", "LE VIRUS RESISTE AUX ENVIRONNEMENTS LES PLUS HOSTILES"},
{ 0, 15, 30, 15, 20, "MEDICAMENT", "RESISTANCE AU MEDICAMENTS"},
{15, 0, 0, 10, 0, " COLD", "RESISTANCE AGAINST COLD CLIMATES"},
{15, 0, 0, 15, 0, " HOT", "RESISTANCE AGAINST HOT CLIMATES"},
{ 0, 10, 0, 25, 10, " GENETICS", "GENETIC RESHUFFLE, SLOWS RESEARCH SPEED FOR CURE"},
{10, 10, 10, 30, 30, " MUTATION+", "MUTATES DNA SEQUENCE, MAKES IT HARDER TO FIND A CURE"},
{30, 10, 0, 30, 0, " HARDENING", "VIRUS RESISTS MOST HOSTILE ENVIRONMENTS"},
{ 0, 15, 30, 15, 20, " DRUG RES", "DRUG RESISTANCE INCREASES SPREAD"},
};
const struct mutation transmissions_data[13] =
{
{ 5, 0, 0, 5, 0, "AIR 1", "TRANSMISSION PAR L'AIR"},
{10, 0, 0, 15, 0, "AIR 2", "TRANSMISSION PAR L'AIR"},
{20, 10, 0, 20, 0, "AIR 3", "TRANSMISSION PAR L'AIR"},
{40, 15, 0, 30, 0, "AEROSOL", "TRANSMISSION PAR L'AIR ET PAR L'EAU"},
{10, 0, 0, 15, 0, "EAU 1", "TRANSMISSION PAR L'EAU"},
{20, 10, 0, 20, 0, "EAU 2", "TRANSMISSION PAR L'EAU"},
{20, 0, 5, 12, 0, "ANIMAL 1", "LE VIRUS PEUT PASSER DE L'ANIMAL A L'HOMME"},
{40, 10, 0, 25, 0, "ANIMAL 2", "CAPACITE DE TRANSMISSION HOMME-ANIMAL"},
{20, 0, 0, 15, 0, "OISEAU 1", "LES OISEAUX TRANSMETTENT LE VIRUS"},
{40, 10, 0, 25, 0, "OISEAU 2", "LES OISEAUX TRANSMETTENT LE VIRUS"},
{10, 0, 0, 10, 0, "SANG 1", "LE VIRUS SE TRANSMET PAR LE SANG"},
{20, 5, 0, 15, 0, "SANG 2", "LE VIRUS SE TRANSMET PAR LE SANG"},
{40, 15, 0, 25, 0, "SANG 3", "LE VIRUS SE TRANSMET PAR LE SANG"},
{ 5, 0, 0, 5, 0, " AIR 1", "BASIC TRANSMISSION THROUGH AIR"},
{10, 0, 0, 15, 0, " AIR 2", "CAN PASS THOUGH A GREATER AMOUNT OF AIR THAN AIR 1"},
{20, 10, 0, 20, 0, " AIR 3", "CAN SURVIVE IN AIR FOR A SHORT AMOUNT OF TIME"},
{40, 15, 0, 30, 0, " AEROSOL", "AIR AND WATER TRANSMISSION VERY EFFECTIVE"},
{10, 0, 0, 15, 0, " WATER 1", "BASIC WATER TRANSMISSION"},
{20, 10, 0, 20, 0, " WATER 2", "CAN SURVIVE IN WATER FOR A SHORT AMOUNT OF TIME"},
{20, 0, 5, 12, 0, " ANIMAL 1", "VIRUS CAN BE TRANSMITTED THROUGH ANIMALS"},
{40, 10, 0, 25, 0, " ANIMAL 2", "HUMAN-ANIMAL TRANSMISSION CAPACITY"},
{20, 0, 0, 15, 0, " BIRD 1", "SMALL BIRDS TRANSMIT VIRUS"},
{40, 10, 0, 25, 0, " BIRD 2", "LONG DISTANCE BIRDS TRANSMIT VIRUS"},
{10, 0, 0, 10, 0, " BLOOD 1", "VIRUS IS TRANSMITTED THROUGH BLOOD"},
{20, 5, 0, 15, 0, " BLOOD 2", "VIRUS IS TRANSMITTED THROUGH BLOOD"},
{40, 15, 0, 25, 0, " BLOOD 3", "VIRUS IS TRANSMITTED THROUGH BLOOD"},
};
const struct mutation default_value = {0, 0, 0, 0, 0, "NONE", "NONE"};

View File

@ -81,14 +81,14 @@ int main(void)
{
dclear(C_WHITE);
dtext(10, 1, C_BLACK, "CONTROLES :");
dtext(1, 7, C_BLACK, "[REPLAY]:SELECTIONNER");
dtext(1, 14, C_BLACK, "[SHIFT]:VALIDER");
dtext(1, 21, C_BLACK, "[ALPHA/EXIT]:REVENIR");
dtext(10, 1, C_BLACK, "CONTROLS :");
dtext(1, 7, C_BLACK, "[REPLAY]:SELECTION");
dtext(1, 14, C_BLACK, "[SHIFT]:sELECT");
dtext(1, 21, C_BLACK, "[ALPHA/EXIT]:RETURN");
dtext(1, 28, C_BLACK, "[VARS]:MUTATIONS");
dtext(1, 35, C_BLACK, "[OPTN]:RECHERCHE+ADN");
dtext(1, 42, C_BLACK, "[X^2]:STATISTIQUES");
dtext(1, 49, C_BLACK, "[->]:MODE RAPIDE");
dtext(1, 35, C_BLACK, "[OPTN]:RESEARCH+DNA");
dtext(1, 42, C_BLACK, "[X^2]:STATISTICS");
dtext(1, 49, C_BLACK, "[->]:FAST MODE");
dupdate();
getkey();

View File

@ -138,9 +138,9 @@ int mutation_buy(struct game *current_game, const struct cursor c, const int mut
update_disease(current_game);
current_game->priority += ceil((mutation_data->severity + mutation_data->lethality) / 10);
current_game->limit += mutation_data->changement;
message("MUTATION ACHETEE");
message("PURCHASED MUTATION");
}
else message("ACHAT IMPOSSIBLE");
else message("CANNOT AFFORD MUTATION");
}
// if the player has already bought this mutation
@ -148,7 +148,7 @@ int mutation_buy(struct game *current_game, const struct cursor c, const int mut
{
current_game->mutations_selected[mutation_menu - 1] = id;
update_disease(current_game);
message("MUTATION SELECTIONNEE");
message("MUTATION SELECTED");
}
}