Add (some) ranch strings,

ugh ranches are so expensive!
This commit is contained in:
SilicaAndPina 2021-02-08 21:32:01 +13:00
parent 10c1c32518
commit e169303b2c
4 changed files with 177 additions and 173 deletions

View file

@ -140,10 +140,44 @@
"password_input":"<BR>^PLReply:|^PS14|ANSWER^R1", "password_input":"<BR>^PLReply:|^PS14|ANSWER^R1",
"last_poet":"^R1^LLast Player Poet:%USERNAME% ^R1", "last_poet":"^R1^LLast Player Poet:%USERNAME% ^R1",
"ranch":{ "ranch":{
"unowned_ranch":"<B>This is an unowned ranch.</B><BR>It is available for purchase for $%PRICE%<BR>^T6You could purchase this ranch:^B6P^R1", "unowned_ranch":"<B>This is an unowned ranch.</B><BR>It is available for purchase for $%PRICE%<BR>",
"you_could_purchase_this":"^T6You could purchase this ranch:^B6P^R1",
"ranch_already_owned":"<B>You already own a ranch, however.</B>",
"unowned_ranch_click":"Unowned Ranch", "unowned_ranch_click":"Unowned Ranch",
"ranch_buy_default_name":"%USERNAME%'s Ranch", "click_message":"%USERNAME%'s %TITLE%",
"ranch_buy_cannot_afford":"You cannot afford this property!"
"dorothy_message":"There's no place like home... There's no place like home...",
"ranch_buy_cannot_afford":"You cannot afford this property!",
"ranch_brought":"You paid $%PRICE% and are now the proud owner of this ranch!",
"saved_ranch":"Saved Ranch Description.",
"default_title":"Ranch",
"ranch_description":"^PLRanch Title:|%RANCHTITLE%^LYour Ranch Description:^R1^PB160|%RANCHDESC%^PS11|SAVE DESCRIPTION"
"build":{
"build_on_this_spot":"You can build one of the following buildings on this spot:",
"build_format":"^T6Build a %BUILDINGNAME% for $%PRICE%^B6L%BUILDINGID%^B6B%BUILDINGID%^R1",
"cannot_afford":"You cannot afford this building!",
"information":"<B>%BUILDINGNAME%:</B> %BUILINGDESCRIPTION%.",
"build_complete":"Additional ranch building has been constructed.",
"building_allready_placed":"You already have a building here:^T6Remove the %BUILDINGNAME%^B6R%BUILDINGID%^R1^L(You will get 35% money back - $%PRICE%)^R1",
"torn_down":"You have torn down a ranch building and were refunded $%PRICE%.",
"building_Info":"This is a <B>%BUILDINGNAME%</B>.<BR>Details: %BUILDINGDESC%",
"barn":"<BR>Owner's horses in barns:%HORSELIST%"
},
"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"
},
"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":{
"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",
"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"
}, },
"riddler":{ "riddler":{
"riddle_format":"Welcome to an Enigmatic Perplexing Conundrum!<BR>(Answer with the simplest form possible. There is no penalty for wrong answers. DO NOT discuss the riddles in Global Chat)<BR><BR><BR><B>The following Riddling Riddle Riddles you:</B><BR>%RIDDLE%^PLAnswer Riddle:|^PS6|SOLVE RIDDLE", "riddle_format":"Welcome to an Enigmatic Perplexing Conundrum!<BR>(Answer with the simplest form possible. There is no penalty for wrong answers. DO NOT discuss the riddles in Global Chat)<BR><BR><BR><B>The following Riddling Riddle Riddles you:</B><BR>%RIDDLE%^PLAnswer Riddle:|^PS6|SOLVE RIDDLE",
@ -2318,10 +2352,10 @@
"Zulu","Zulu Warrior"], "Zulu","Zulu Warrior"],
"categorys":[ "categorys":[
{"name":"LEASED","message":"^LLEASED - Horses only temporarily cared for, limited use:^R1"}, {"name":"LEASED","message":"^LLEASED - Horses only temporarily cared for, limited use:^R1"},
{"name":"KEEPER","message":"^LKEEPERS - Horses I would not sell for any price:^R1"}, {"name":"KEEPER","message":"^LKEEPERS - Horses I would not sell for any price:^R1","message_others":"^LKEEPERS - Horses not for sale for any price^R1"},
{"name":"TRAINING","message":"^LTRAINING - Horses I am actively training and competing with:^R1"}, {"name":"TRAINING","message":"^LTRAINING - Horses I am actively training and competing with:^R1","message_others":"TRAINING - Horses actively being trained and competed with:^R1"},
{"name":"TRADING","message":"^LTRADING - Horses I am trading or auctioning:^R1"}, {"name":"TRADING","message":"^LTRADING - Horses I am trading or auctioning:^R1","message_others":"^LTRADING - Horses for trading or auctioning:^R1"},
{"name":"RETIRED","message":"^LRETIRED - Horses that are still special to me but not used:^R1"} {"name":"RETIRED","message":"^LRETIRED - Horses that are still special to me but not used:^R1","message_others":"^LRETIRED - Horses that are still special to player but not used:^R1"}
], ],
"breeds":[ "breeds":[
{ {
@ -548301,168 +548335,141 @@
} }
], ],
"ranch":{ "ranch":{
"ranch_buildings":[ "ranch_buildings":{
{ "upgrades":[
"id": 1, {
"type": "UPGRADE", "id": 1,
"cost": 0, "cost": 0,
"title": "TeePee Ranch House", "title": "TeePee Ranch House",
"description": "This simple structure provides great flexibility, but does not allow for much expansion of your ranch.", "description": "This simple structure provides great flexibility, but does not allow for much expansion of your ranch.",
"limit": 1 "limit": 1
}, },
{ {
"id": 2, "id": 2,
"type": "UPGRADE", "cost": 50000,
"cost": 50000, "title": "Ranch Shack",
"title": "Ranch Shack", "description": "This small shack is just big enough to live in. It provides for 2 out buildings.",
"description": "This small shack is just big enough to live in. It provides for 2 out buildings.", "limit": 2
"limit": 2 },
}, {
{ "id": 3,
"id": 3, "cost": 100000,
"type": "UPGRADE", "title": "Small Ranch Cabin",
"cost": 100000, "description": "This small cabin is much more comfortable than a shack, and it provides for 4 out buildings.",
"title": "Small Ranch Cabin", "limit": 4
"description": "This small cabin is much more comfortable than a shack, and it provides for 4 out buildings.", },
"limit": 4 {
}, "id": 4,
{ "cost": 200000,
"id": 4, "title": "Large Ranch Cabin",
"type": "UPGRADE", "description": "The additional space of the large cabin makes for a very comfortable lifestyle. It also provides for 6 out buildings.",
"cost": 200000, "limit": 6
"title": "Large Ranch Cabin", },
"description": "The additional space of the large cabin makes for a very comfortable lifestyle. It also provides for 6 out buildings.", {
"limit": 6 "id": 5,
}, "cost": 400000,
{ "title": "Small Ranch House",
"id": 5, "description": "This small house makes life very comfortable. It also provides for 8 out buildings.",
"type": "UPGRADE", "limit": 8
"cost": 400000, },
"title": "Small Ranch House", {
"description": "This small house makes life very comfortable. It also provides for 8 out buildings.", "id": 6,
"limit": 8 "cost": 800000,
}, "title": "Medium Ranch House",
{ "description": "This ranch house provides up to 10 out buildings.",
"id": 6, "limit": 10
"type": "UPGRADE", },
"cost": 800000, {
"title": "Medium Ranch House", "id": 7,
"description": "This ranch house provides up to 10 out buildings.", "cost": 2000000,
"limit": 10 "title": "Large Ranch House",
}, "description": "This large ranch house provides for 12 out buildings.",
{ "limit": 12
"id": 7, },
"type": "UPGRADE", {
"cost": 2000000, "id": 8,
"title": "Large Ranch House", "cost": 5000000,
"description": "This large ranch house provides for 12 out buildings.", "title": "Huge Ranch Estate",
"limit": 12 "description": "This huge home supports up to 14 out buildings.",
}, "limit": 14
{ },
"id": 8, {
"type": "UPGRADE", "id": 9,
"cost": 5000000, "cost": 20000000,
"title": "Huge Ranch Estate", "title": "Enormous Ranch Estate",
"description": "This huge home supports up to 14 out buildings.", "description": "This huge home supports up to 16 out buildings.",
"limit": 14 "limit": 16
}, }
{ ],
"id": 1, "buildings":[
"type": "BUILDING", {
"cost": 50000, "id": 1,
"title": "Horse Stable Barn", "cost": 50000,
"description": "This nice barn is big enough to allow you to own 4 more horses", "title": "Horse Stable Barn",
"limit": null "description": "This nice barn is big enough to allow you to own 4 more horses",
}, },
{ {
"id": 2, "id": 2,
"type": "BUILDING", "cost": 25000,
"cost": 25000, "title": "Water Well",
"title": "Water Well", "description": "Having a well automatically waters all of your horses and yourself whenever you are here",
"description": "Having a well automatically waters all of your horses and yourself whenever you are here", },
"limit": null {
}, "id": 3,
{ "cost": 100000,
"id": 3, "title": "Grain Silo",
"type": "BUILDING", "description": "Building a grain silo automatically feeds your horses",
"cost": 100000, },
"title": "Grain Silo", {
"description": "Building a grain silo automatically feeds your horses", "id": 4,
"limit": null "cost": 50000,
}, "title": "Shed",
{ "description": "A shed is a great place to store excess stuff. You can carry up to 20 more items in your inventory. (Max 2 sheds.)",
"id": 4, },
"type": "BUILDING", {
"cost": 50000, "id": 5,
"title": "Shed", "cost": 5000,
"description": "A shed is a great place to store excess stuff. You can carry up to 20 more items in your inventory. (Max 2 sheds.)", "title": "Flower Garden",
"limit": null "description": "A simple, pretty flower garden. It's just nice to look at",
}, },
{ {
"id": 5, "id": 6,
"type": "BUILDING", "cost": 100000,
"cost": 5000, "title": "Training Pen",
"title": "Flower Garden", "description": "The training pen allows for free horse training once per game day. (Max 1 training pen.)",
"description": "A simple, pretty flower garden. It's just nice to look at", },
"limit": null {
}, "id": 7,
{ "cost": 50000,
"id": 6, "title": "Wagon",
"type": "BUILDING", "description": "Building a wagon provides you free transport to the nearest wagon station and free use of wagons",
"cost": 100000, },
"title": "Training Pen", {
"description": "The training pen allows for free horse training once per game day. (Max 1 training pen.)", "id": 8,
"limit": null "cost": 120000,
}, "title": "Windmill",
{ "description": "A windmill automatically makes you $10,000 of money every game day",
"id": 7, },
"type": "BUILDING", {
"cost": 50000, "id": 9,
"title": "Wagon", "cost": 15000,
"description": "Building a wagon provides you free transport to the nearest wagon station and free use of wagons", "title": "Vegetable Garden",
"limit": null "description": "The garden automatically feeds the owner whenever they visit",
}, },
{ {
"id": 8, "id": 10,
"type": "BUILDING", "cost": 500000,
"cost": 120000, "title": "Horse Stable Big Barn",
"title": "Windmill", "description": "This larger barn is big enough to allow you to own 8 more horses",
"description": "A windmill automatically makes you $10,000 of money every game day", },
"limit": null {
}, "id": 11,
{ "cost": 5000000,
"id": 9, "title": "Horse Stable Gold Barn",
"type": "BUILDING", "description": "This large, fancy barn is big enough to allow you to own 12 more horses",
"cost": 15000, }
"title": "Vegetable Garden", ]
"description": "The garden automatically feeds the owner whenever they visit", }
"limit": null
},
{
"id": 10,
"type": "BUILDING",
"cost": 500000,
"title": "Horse Stable Big Barn",
"description": "This larger barn is big enough to allow you to own 8 more horses",
"limit": null
},
{
"id": 11,
"type": "BUILDING",
"cost": 5000000,
"title": "Horse Stable Gold Barn",
"description": "This large, fancy barn is big enough to allow you to own 12 more horses",
"limit": null
},
{
"id": 9,
"type": "UPGRADE",
"cost": 20000000,
"title": "Enormous Ranch Estate",
"description": "This huge home supports up to 16 out buildings.",
"limit": 16
}
],
"ranch_locations":[ "ranch_locations":[
{"id":37,"x":519,"y":217,"value":500000}, {"id":37,"x":519,"y":217,"value":500000},
{"id":38,"x":517,"y":218,"value":500000}, {"id":38,"x":517,"y":218,"value":500000},

View file

@ -605,7 +605,6 @@ namespace HISP.Game
{ {
return RiddlerCorrectAnswerFormat.Replace("%REASON%", reason); return RiddlerCorrectAnswerFormat.Replace("%REASON%", reason);
} }
public static string FormatPirateTreasure(int prize) public static string FormatPirateTreasure(int prize)
{ {
return PirateTreasureFormat.Replace("%PRIZE%", prize.ToString("N0")); return PirateTreasureFormat.Replace("%PRIZE%", prize.ToString("N0"));

View file

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

View file

@ -366,8 +366,6 @@ namespace HISP.Server
{ {
direction -= 20; direction -= 20;
moveTwo = true; moveTwo = true;
} }
int ystart = y - 4; int ystart = y - 4;