awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nThe maximum name length is 16 characters. \nStop jassing.");
return;
}
elseif(fish.FishType!=0)
{
fish.Name=sec;
awaitDatabase.SaveChangesAsync();
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nYou have changed the name of your battlefish to **{sec}**.");
}
else
{
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nYou can't manage a fish if you don't have one.");
}
}
elseif(option=="buy"||option=="b")
{
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nHere is a list of available battlefish. Please choose one by its respective number. All battlefish cost 0.05%."+
$"\n1 : **Herring** - An unarmed melee fighter with well balanced stats. It is not very agile.\nModifiers: **ATK 9, DEF 9, HP 9, AP 2**"+
$"\n2 : **Birgus** - A crustacean mage with a focus on AP and DMG. It is slightly agile.\nModifiers: **ATK 10, DEF 6, HP 5, AP 9**"+
$"\n3 : **Abama** - A cephalopod rogue with a heavy focus on debuffs. It is very agile.\nModifiers: **ATK 4, DEF 3, HP 5, AP 18**"+
$"\n4 : **Pistashrimp** - A crustacean ranger with a heavy focus on DPS. It is somewhat agile.\nModifiers: **ATK 15, DEF 4, HP 5, AP 6**");
varreply=awaitNextMessageAsync();
byterep=byte.Parse(reply.Content);
if(rep>4||rep<1)
{
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nWhat you're looking for does not exist.");
return;
}
elseif(user.Money<500)
{
awaitContext.Channel.SendMessageAsync($"Sorry **{Context.User.Mention}**, I can't give credit.\nCome back when you're a little, ***mmmmm***, richer.\n*You're missing {(500 - user.Money)/10000d}%.*");
return;
}
switch(rep)
{
case1:
{
species="a Herring";
}
break;
case2:
{
species="a Birgus";
}
break;
case3:
{
species="an Abama";
}
break;
case4:
{
species="a Pistashrimp";
}
break;
}
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nYou want **{species}**? It's yours my friend, as long as you have enough **%**.\n *This cannot be reverted. Type 'confirm' to confirm.*");
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nBank has no money, convince someone to gamble.");
return;
}
//create fish here pls let there fish be
fish.FishType=rep;
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nThank you for your purchase.");
awaitDatabase.SaveChangesAsync();
}
else
{
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nYour purchase is cancelled.");
}
}
elseif(option=="info"||option=="i")
{
stringinfo="";
if(sec.ToLowerInvariant()=="herring")
{
info="Equipment type: Enhancing clothing.\nBonus info: Only males of this species exist. I don't know how they reproduce, and I might not want to know.";
}
elseif(sec.ToLowerInvariant()=="birgus")
{
info="Equipment type: Staves.\nBonus info: Exceptional Birguses may live for centuries, their powers increasing with age. While breeding, they part with much of their potential power, so few of them actually do so.";
}
elseif(sec.ToLowerInvariant()=="abama")
{
info="Equipment type: Enhancing clothing.\nBonus info: The tentacles are not just for show. Being highly agile and stealthy, Abamas are experts at grabbing things unnoticed.";
}
elseif(sec.ToLowerInvariant()=="pistashrimp")
{
info="Equipment type: Firearms.\nBonus info: Despite making up only 13% of the underwater wildlife, Pistashrimps account for 100% of the unarmed firearm robberies. Few of them are righteous, but the ones that are make for great detectives.";
}
else
{
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nNot a valid fish.");