// Red Dead Redemption - Animal Values
// Version 0.5
// Last update was at the 3rd of July
//
// Written by Felix Dekker
// GNU General Public License, 2011 - Refer to the help dialogue in this program for the license
//
// Most of the information that can be found in this program is based on or copied from the Red Dead Wikia.
// www.reddead.wikia.com
#include <iostream>
#include <stdio.h>
#include <windows.h>
using namespace std;
// Variables
// User input
unsigned int honr;
unsigned int lctn;
unsigned int anml;
unsigned int lgnd;
unsigned int help;
unsigned int strt;
// Program output
int lctn_part;
int help_strt;
int help_license;
// Animals
int arm_car;
int arm_met;
int ber_clw;
int ber_met;
int bvr_fur;
int bvr_met;
int brn_hrn;
int brn_met;
int brn_skn;
int bor_met;
int bor_skn;
int bor_tsk;
int main()
{
start:
system("CLS");
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<" License \n";
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<"Red Dead Redemption - Animal Values Copyright (C) 2011 Felix Dekker\n\n";
cout<<"This program comes with ABSOLUTELY NO WARRANTY; for details type '1'.\n";
cout<<"This is free software, and you are welcome to redistribute it\n";
cout<<"under certain conditions; type '1' for details.\n";
cin>> strt;
cin.ignore();
if (strt == 1)
{
help_license = 2;
goto help_license;
}
else
{
goto honour;
}
honour:
// Choosing honour level dialogue
system("CLS");
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<" Red Dead Redemption - Animal Values \n";
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<"1) Honest Joe 5) Rustler\n";
cout<<"2) Peacemaker 6) Road Agent\n";
cout<<"3) Hero 7) Desperado\n";
cout<<"4) Drifter\n\n";
cout<<"8) Help 9) Exit\n";
cout<<"Enter the number of your honour level: ";
cin>> honr;
cin.ignore();
if (honr == 8)
{
help_strt = 1;
goto help;
}
if (honr < 10)
{
goto location;
}
else if (honr > 9)
{
cout<<"'";
cout<<honr;
cout<<"' is an invalid command. Please try a valid one.";
cin.ignore();
goto honour;
}
else if (honr < 1)
{
cout<<"'";
cout<<honr;
cout<<"' is an invalid command. Please try a valid one.";
cin.ignore();
goto honour;
}
else
{
goto location;
}
location:
// Choosing location dialogue
system("CLS");
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<" Red Dead Redemption - Animal Values \n";
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<"Honor level: ";
if (honr == 1)
{
cout<<"Honest Joe\n";
}
else if (honr == 2)
{
cout<<"Peacemaker\n";
}
else if (honr == 3)
{
cout<<"Hero\n";
}
else if (honr == 4)
{
cout<<"Drifter\n";
}
else if (honr == 5)
{
cout<<"Rustler\n";
}
else if (honr == 6)
{
cout<<"Road Agent\n";
}
else if (honr == 7)
{
cout<<"Desperado\n";
}
else
{
return 1;
}
cout<<"1) Armadillo 5) MacFarlane's Ranch\n";
cout<<"2) Blackwater 6) Manzanita Post\n";
cout<<"3) Chuparosa 7) Thieves' Landing\n";
cout<<"4) Escalera\n\n";
cout<<"8) Help 9) Return\n";
cout<<"Enter the number of the General Store's location: ";
cin>> lctn;
cin.ignore();
if (lctn == 8)
{
help_strt = 2;
goto help;
}
else if (lctn == 9)
{
goto honour;
}
else if (lctn < 10)
{
goto animal;
}
else if (lctn > 9)
{
cout<<"'";
cout<<lctn;
cout<<"' is an incalid command. Please try a valid one.";
cin.ignore();
goto location;
}
else if (lctn < 1)
{
cout<<"'";
cout<<lctn;
cout<<"' is an incalid command. Please try a valid one.";
cin.ignore();
goto location;
}
else
{
cout<<"'";
cout<<lctn;
cout<<"' is an incalid command. Please try a valid one.";
cin.ignore();
goto location;
}
// Appointing variable values
if (honr == 1)
{
if (lctn == 1)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 2)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 3)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 4)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 5)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 6)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 7)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else
{
return 1;
}
}
else if (honr == 2)
{
if (lctn == 1)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 2)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 3)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 4)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 5)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 6)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else if (lctn == 7)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else
{
return 1;
}
}
else if (honr == 3)
{
if (lctn == 1)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 2)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 3)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 4)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 5)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 6)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 7)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else
{
return 1;
}
}
else if (honr == 4)
{
if (lctn == 1)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 2)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 3)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 4)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 5)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 6)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 7)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else
{
return 1;
}
}
else if (honr == 5)
{
if (lctn == 1)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 2)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 3)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 4)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 5)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 6)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 7)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else
{
return 1;
}
}
else if (honr == 6)
{
if (lctn == 1)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 2)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 3)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 4)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 5)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 6)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 7)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
else
{
return 1;
}
}
else if (honr == 7)
{
if (lctn == 1)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 2)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 3)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 4)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 5)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 6)
{
arm_car = 8;
arm_met = 5;
ber_clw = 12;
ber_met = 12;
bvr_fur = 18;
bvr_met = 7;
brn_hrn = 12;
brn_met = 5;
brn_skn = 8;
bor_met = 5;
bor_skn = 3;
bor_tsk = 8;
goto animal;
}
else if (lctn == 7)
{
arm_car = 11;
arm_met = 7;
ber_clw = 18;
ber_met = 18;
bvr_fur = 27;
bvr_met = 11;
brn_hrn = 18;
brn_met = 8;
brn_skn = 12;
bor_met = 8;
bor_skn = 5;
bor_tsk = 12;
goto animal;
}
}
else
{
return 1;
}
animal:
// Choosing animal dialogue
system("CLS");
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<" Red Dead Redemption - Animal Values \n";
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<"Location General Store: ";
if (lctn == 1)
{
cout<<"Armadillo\n";
}
else if (lctn == 2)
{
cout<<"Blackwater\n";
}
else if (lctn == 3)
{
cout<<"Chuparosa\n";
}
else if (lctn == 4)
{
cout<<"Escalera\n";
}
else if (lctn == 5)
{
cout<<"MacFarlane's Ranch\n";
}
else if (lctn == 6)
{
cout<<"Manzanita Post\n";
}
else if (lctn == 7)
{
cout<<"Thieves' Landing\n";
}
else
{
return 1;
}
cout<<"1) Armadillo 19) Fox\n";
cout<<"2) Bear 20) Goat\n";
cout<<"3) Beaver 21) Grizzly Bear\n";
cout<<"4) Bighorn Sheep 22) Hawk\n";
cout<<"5) Boar 23) Horse\n";
cout<<"6) Bobcat 24) Mule\n";
cout<<"7) Buck 25) Owl\n";
cout<<"8) Buffalo 26) Pig\n";
cout<<"9) Cattle 27) Rabbit\n";
cout<<"10) Chicken 28) Raccoon\n";
cout<<"11) Cougar 29) Rattlesnake\n";
cout<<"12) Coyote 30) Seagull\n";
cout<<"13) Crow 31) Songbird\n";
cout<<"14) Deer 32) Sheep\n";
cout<<"15) Dog 33) Skunk\n";
cout<<"16) Duck 34) Vulture\n";
cout<<"17) Eagle 35) Wolf\n";
cout<<"18) Elk 36) Legendary Animals\n\n";
cout<<"37) Help 38) Return\n";
cout<<"Enter the number of the animal to retrieve the data: ";
cin>> anml;
cin.ignore();
system("CLS");
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<" Red Dead Redemption - Animal Values \n";
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
// Animals
if (anml == 1)
{
cout<<"==Armadillo==";
cout<<"\n Carapace - $";
cout<<arm_car;
cout<<"\n Meat - $";
cout<<arm_met;
cout<<"\n";
cin.ignore();
goto animal;
}
else if (anml == 2)
{
cout<<"==Bear==";
cout<<"\n Claw - $";
cout<<ber_clw;
cout<<"\n Meat - $";
cout<<ber_met;
cout<<"\n";
cin.ignore();
goto animal;
}
else if (anml == 3)
{
cout<<"==Beaver==";
cout<<"\n Fur - $";
cout<<bvr_fur;
cout<<"\n Meat - $";
cout<<bvr_met;
cout<<"\n";
cin.ignore();
goto animal;
}
else if (anml == 4)
{
cout<<"==Bighorn Sheep==";
cout<<"\n Horn - $";
cout<<brn_hrn;
cout<<"\n Meat - $";
cout<<brn_met;
cout<<"\n Skin - $";
cout<<brn_skn;
cout<<"\n";
cin.ignore();
goto animal;
}
else if (anml == 5)
{
cout<<"==Boar==";
cout<<"\n Meat - $";
cout<<bor_met;
cout<<"\n Skin - $";
cout<<bor_skn;
cout<<"\n Tusks - $";
cout<<bor_tsk;
cout<<"\n";
cin.ignore();
goto animal;
}
else if (anml == 37)
{
help_strt == 3;
goto help;
}
else if (anml == 38)
{
goto location;
}
else
{
cout<<"'";
cout<<anml;
cout<<"' is an invalid command. Please enter a valid one.";
cin.ignore();
goto animal;
}
help:
// Help dialogue
system("CLS");
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<" Red Dead Redemption - Animal Values \n";
cout<<"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
cout<<"==Help==\n";
cout<<"1) License\n\n";
cout<<"2) Return\n";
cout<<"Enter your command: ";
cin>> help;
cin.ignore();
if (help == 1)
{
help_license = 1;
help_license:
cout<<"This file is part of Red Dead Redemption - Animal Values\n\n.";
cout<<"Red Dead Redemption - Animal Values is free software: you can redistribute it and/or modify\n";
cout<<"it under the terms of the GNU General Public License as published by\n";
cout<<"the Free Software Foundation, either version 3 of the License, or\n";
cout<<"(at your option) any later version.\n\n";
cout<<"Red Dead Redemption - Animal Values is distributed in the hope that it will be useful,\n";
cout<<"but WITHOUT ANY WARRANTY; without even the implied warranty of\n";
cout<<"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n";
cout<<"GNU General Public License for more details.\n\n";
cout<<"You should have received a copy of the GNU General Public License\n";
cout<<"along with Red Dead Redemption - Animal Values. If not, see <http://www.gnu.org/licenses/>.\n";
cin.ignore();
if (help_license == 1)
{
goto help;
}
else if (help_license == 2)
{
goto start;
}
else
{
return 1;
}
}
else if (help == 2)
{
if (help_strt == 1)
{
goto honour;
}
else if (help_strt == 2)
{
goto location;
}
else if (help_strt == 3)
{
goto animal;
}
else
{
return 1;
}
}
else
{
cout<<"'";
cout<<help;
cout<<"' is an invalid command. Please try a valid one.";
}
return 0;
}