60 lines
No EOL
3.4 KiB
C#
60 lines
No EOL
3.4 KiB
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Misc
|
|
{
|
|
public class HPShips
|
|
{
|
|
public static string HelpPageShips( int part )
|
|
{
|
|
string days = ((int)(Server.Misc.Settings. BoatDelete())).ToString();
|
|
|
|
string title = "Ships";
|
|
string scroll = "true";
|
|
|
|
string text = @"If one wants to venture out onto the high seas, they will need to acquire a ship. Shipwrights sell such vessels, but sometimes a provisioner may have a small ship for sale as well. When you buy a ship, you will be given a deed that you would use near a dock to launch your new ship. When you choose a valid place for your ship, it will appear on the sea where a key will be provided in your backpack and another in your chest back at the inn. You can use this key by double clicking it and then selecting the side plank doors of the ship to either lock or unlock them.
|
|
|
|
To board your ship, you can double click the side door of the boat to extend the plank. You can then double click the plank to board your ship. To disembark, double click the door again to extend the plank and then walk onto it. You may have to step on and off a couple of times until you disembark onto land.
|
|
|
|
While on your ship, double click the tillerman to have a navigation window open. This will help you navigate your ship on the sea. If you want to rename your ship, then select the shipwright sign symbol on the lower right of this window. There is also a small X button near that if you want to close the navigation window. Much of the other buttons consists of arrows to steer your ship, drop or raise the anchor, and even extend or close the planks.
|
|
|
|
To dock your ship, you must first ensure that the hold is clear and the deck is clean. Then drop the anchor and disembark your ship. Once on shore, you can double click the tillerman to get a confirmation window about docking your ship. If this window does not appear, wait a few seconds and try again. Docking your ship will place a small ship model in your backpack that you can take with you and launch elsewhere.
|
|
|
|
Ships come in different sizes, and you should buy a ship that will hold the amount of goods you need it to. Below is a list of ships you can get:
|
|
|
|
Small Ship
|
|
Hold: 1,000 stones of weight
|
|
|
|
Small Dragon Ship
|
|
Hold: 1,400 stones of weight
|
|
|
|
Medium Ship
|
|
Hold: 1,800 stones of weight
|
|
|
|
Medium Dragon Ship
|
|
Hold: 2,200 stones of weight
|
|
|
|
Large Ship
|
|
Hold: 2,600 stones of weight
|
|
|
|
Large Dragon Ship
|
|
Hold: 3,200 stones of weight
|
|
|
|
Each ship has a hold at the front, that you can access like any other container by double clicking it. You cannot dock a ship while there are items in this hold or on the deck. You must be near a dock to launch or dock your ship. Being near a home you own will also allow you to do these actions. A member of the Mariners Guild can launch or dock their ship from any shore in the land.
|
|
|
|
Ships not only allow you to travel to far off lands, but they also provide different types of items to be fished up from the sea as opposed to just fishing from the shore. You could battle hideous sea creatures, or find a message in a bottle that contains a note to some sunken treasure.
|
|
|
|
An unattended ship will eventually have its hold rot and sink into the ocean. ";
|
|
|
|
text = text + "This will occur if nobody uses the ship within about " + days + " real world days.";
|
|
|
|
if ( part == 1 )
|
|
return title;
|
|
else if ( part == 2 )
|
|
return scroll;
|
|
|
|
return text;
|
|
|
|
}
|
|
}
|
|
} |