public InternalSailGump ( Mobile from, int cost, Point3D sendTo, Point3D sailTo) : base ( 20, 30 )
{
m_cost = cost;
m_sendTo = sendTo;
m_SailTo = sailTo;
AddPage ( 0 );
AddBackground( 0, 0, 410, 107, 5054 );
AddImageTiled( 10, 10, 390, 23, 0x52 );
AddImageTiled( 11, 11, 388, 21, 0xBBC );
AddLabel( 100, 11, 0, "Sailing this far will cost you "+ m_cost/4 + " Gold" );
AddButton( 11, 35, 0x15E3, 0x15E7, 1, GumpButtonType.Reply, 1 );
AddLabel( 30, 34, 0, "Pay it" );
AddButton( 11, 57, 0x15E3, 0x15E7, 2, GumpButtonType.Reply, 1 );
AddLabel( 30, 56, 0, "Show Sailboat Membershipcard" );
AddButton( 11, 79, 0x15E3, 0x15E7, 3, GumpButtonType.Reply, 1 );
AddLabel( 30, 78, 0, "Uhm, no thank you" );
}
Anvil said:Well, another idea would be to purchase a ticket from a NPC or stone at the doc based upon the location to where the player wants to go. Say, to Trinsic from Britain is 300gp where from Trinsic to Ice Isle is 500gp. But when a ticket is purchased, then a ticket is issued to the players backback. A boat spawns at the doc and is unlocked (hold is locked), and player or "players", get on the boat. Player who has ticket gives ticket to tillerman. Any open planks close, and then the boat sets sail to it's destination. Once it reaches, and all members reach the shore and noone is left on the ship, all planks close, and the ship is removed.
Any ideas?
Wayland Archer said:Now I am working on trying to get it to send you to back to tram from ishlenar.. Hehehe..
Revolution said:how can i add other keywords like "sail" to make ppl, errr... sail!
Add, not change
Wayland Archer said:Yea, I can see your point jrocks, and yes, it is not very realistic in a logical sense that a ship can bring you from ish to trammel.
The reason why I wanted the sailboat to take people from Ishlenar to Trammel is because I removed all the trammel and felucca destinations from the public moongates, and disabled all the recall/gate spells in order to encourage more foot travel in and around the continent.. I left the public moongate portals to ishlenar so people can go there and play. I needed a way for them to get back. I figure most people will begin exploring my world on the continent, and eventually find a moongate.. they will see ish locations.. and they may be brave and go.. once there they can not get back via the moongate.. this would encourage them to find a way home (an adventure).. hopefully they find the ship on the docks.. and then they learn the mode of transport around my shard.. If not... I hope they like Ish.. Muhahahaha
Wow! This is great!Snuk the Great said:
private static bool m_Talked;
public override void OnMovement(Mobile m, Point3D oldLocation)
{
if( m_Talked == false )
{
if ( m.InRange( this, 1 ) )
{
m_Talked = true;
this.Say("Hail and well met. When thee are ready to Sail, just say 'Sail' and we will get going...");
this.Move( GetDirectionTo( m.Location ) );
SpamTimer t = new SpamTimer();
t.Start();
m_Talked = false;
}
}
}
private class SpamTimer : Timer
{
public SpamTimer() : base( TimeSpan.FromSeconds( 15 ) )
{
Priority = TimerPriority.OneSecond;
}
}
Revolution said:I noticed a bug on the sailmaster. Not a bug itselft, but kind of an odditie.
In trammel, to sail to Haven, the sailboat will stop at the harbor on Lake Haven, what is impossible! Does the boat flies???
Take a look at this map from UO Stratics: http://uo.stratics.com/content/atla...xdegree=154&xminute=53&x_type=E&submit=+Go+!+
For Felucca, it's correct, the boat can pass because there is a small passage to Lake Occlo
ultimaIX said:Wow! This is great!
On my Ultima: Britannia shard I added to the SailMaster a bit of text when someone approaches it to let them know that the keyword is Sail. If anyone can use it great!
Yrenwick Dragon