Add ranch descriptions

This commit is contained in:
SilicaAndPina 2021-02-09 16:25:01 +13:00
parent 93829b1484
commit 68eaee2d1c
2 changed files with 13 additions and 2 deletions

View file

@ -167,14 +167,25 @@
"upgrade":{
"upgrade_message":"Ranch Upgraded.",
"cannot_afford":"You cannot afford this upgrade!",
"upgrade_meta":"You currently have a <B>%UPGRADENAME%</B>.<BR>Details: %UPGRADEDESC%<BR><BR>You could upgrade to a:^T6%NEXTUPGRADE% for $%COST%^B6U^R1^LYou could also sell your ranch: (75% of total invested)^R1^T6SELL your ranch for $%SELLPRICE%^D60|SELL^R1"
"upgrade_meta":"You currently have a <B>%UPGRADENAME%</B>.<BR>Details: %UPGRADEDESC%<BR>%YOUCOULDUPGRADE%^R1^LYou could also sell your ranch: (75% of total invested)^R1^T6SELL your ranch for $%SELLPRICE%^D60|SELL^R1"
"upgrade_txt":"<BR>You could upgrade to a:^T6%NEXTUPGRADE% for $%COST%^B6U"
},
"your_ranch_meta":"<B>%USERANME%'s %TITLE%</B>",
"rest_here":"<BR>You have a building here to rest in. You are now fully rested.<BR>",
"special":{
"grain_silo":"<BR>You have a Grain Silo. All of your horses have just been fully fed.",
"barn":"<BR>You have %COUNT% Barn(s). This provides for %AMOUNT% extra horses.",
"big_barn":".<BR>You have %COUNT% Big Barn(s). This provides for %AMOUNT% extra horses",
"gold_barn":"<BR>You have %COUNT% Gold Barn(s). This provides for %AMOUNT% extra horses."
"water_well":"<BR>You have a Water Well here. You and all of your horses have just been watered.",
"windmills":"<BR>You have %COUNT% Windmill(s) earning you $%AMOUNT% every 12 game hours.",
"wagon":"<BR>^T6Your Wagon can take you to the nearest station.^D7|STATION^R1^H",
"training_pen":"<BR>^T6You can train all your horses via the Pen^D13|TRAIN ALL^R1^H",
"vegatable_garden":"<BR>You have a Vegetable Garden. You have just fully eaten.",
"train_all":"You attempt to train all of your horses:",
"train_success":"<BR>Training <B>%HORSENAME%</B>: +1SP +1ST +1CO +1AG +1EN +1exp",
"train_cant_train":"<B>%HORSENAME%</B>: Horse needs to rest %TIME% game minutes.",
"fully_rested":"<BR>You have a Barn. All of your horses are fully relaxed now.",
"wagon_used":"Your wagon dropped you off at the nearest station."
},
"view_desc":"^H<B>YOUR RANCH DESCRIPTION:</B><BR>%DESCRIPTION%<BR>^T5Edit Your Ranch Description^D27|DESCRIPTION^R1"

View file

@ -2515,7 +2515,7 @@ namespace HISP.Server
{
if(loggedInUser.CurrentlyRidingHorse.BasicStats.Experience < 25)
{
if(GameServer.RandomNumberGenerator.Next(0,20) == 14 || sender.LoggedinUser.Username.ToLower() == "dream")
if(GameServer.RandomNumberGenerator.Next(0, 100) >= 97 || sender.LoggedinUser.Username.ToLower() == "dream")
{
loggedInUser.CurrentlyRidingHorse.BasicStats.Experience++;
sender.LoggedinUser.CurrentlyRidingHorse = null;