C# 9 Cleanup (#325)
- [X] Removes EventArgs - not needed - [X] Merges sequential checks - [X] Removes redundant type declarations
This commit is contained in:
parent
351611a23a
commit
3551d962f7
417 changed files with 2209 additions and 2213 deletions
|
|
@ -12,12 +12,12 @@ namespace Server.Items
|
|||
0x0136, 0x0137
|
||||
};
|
||||
|
||||
private static readonly Rectangle2D[] m_BritRegions = { new Rectangle2D(0, 0, 5120, 4096) };
|
||||
private static readonly Rectangle2D[] m_BritRegions = { new(0, 0, 5120, 4096) };
|
||||
|
||||
private static readonly Rectangle2D[] m_IlshRegions =
|
||||
{ new Rectangle2D(1472, 272, 304, 240), new Rectangle2D(1240, 1000, 312, 160) };
|
||||
{ new(1472, 272, 304, 240), new(1240, 1000, 312, 160) };
|
||||
|
||||
private static readonly Rectangle2D[] m_MalasRegions = { new Rectangle2D(1376, 1520, 464, 280) };
|
||||
private static readonly Rectangle2D[] m_MalasRegions = { new(1376, 1520, 464, 280) };
|
||||
|
||||
private int m_Level;
|
||||
|
||||
|
|
@ -331,62 +331,62 @@ namespace Server.Items
|
|||
|
||||
public static MessageEntry[] Entries { get; } =
|
||||
{
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
180,
|
||||
"...Ar! {0} and a fair wind! No chance... storms, though--ar! Is that a sea serp...<br><br>uh oh."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
215,
|
||||
"...been inside this whale for three days now. I've run out of food I can pick out of his teeth. I took a sextant reading through the blowhole: {0}. I'll never see my treasure again..."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
285,
|
||||
"...grand adventure! Captain Quacklebush had me swab down the decks daily...<br> ...pirates came, I was in the rigging practicing with my sextant. {0} if I am not mistaken...<br> ....scuttled the ship, and our precious cargo went with her and the screaming pirates, down to the bottom of the sea..."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
180,
|
||||
"Help! Ship going dow...n heavy storms...precious cargo...st reach dest...current coordinates {0}...ve any survivors... ease!"
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
215,
|
||||
"...know that the wreck is near {0} but have not found it. Could the message passed down in my family for generations be wrong? No... I swear on the soul of my grandfather, I will find..."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
195,
|
||||
"...never expected an iceberg...silly woman on bow crushed instantly...send help to {0}...ey'll never forget the tragedy of the sinking of the Miniscule..."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
265,
|
||||
"...nobody knew I was a girl. They just assumed I was another sailor...then we met the undine. {0}. It was demanded sacrifice...I was youngset, they figured...<br> ...grabbed the captain's treasure, screamed, 'It'll go down with me!'<br> ...they took me up on it."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
230,
|
||||
"...so I threw the treasure overboard, before the curse could get me too. But I was too late. Now I am doomed to wander these seas, a ghost forever. Join me: seek ye at {0} if thou wishest my company..."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
285,
|
||||
"...then the ship exploded. A dragon swooped by. The slime swallowed Bertie whole--he screamed, it was amazing. The sky glowed orange. A sextant reading put us at {0}. Norma was chattering about sailing over the edge of the world. I looked at my hands and saw through them..."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
285,
|
||||
"...trapped on a deserted island, with a magic fountain supplying wood, fresh water springs, gorgeous scenery, and my lovely young wife. I know the ship with all our life's earnings sank at {0} but I don't know what our coordinates are... someone has GOT to rescue me before Sunday's finals game or I'll go mad..."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
160,
|
||||
"WANTED: divers exp...d in shipwre...overy. Must have own vess...pply at {0}<br>...good benefits, flexible hours..."
|
||||
),
|
||||
new MessageEntry(
|
||||
new(
|
||||
280,
|
||||
250,
|
||||
"...was a cad and a boor, no matter what momma s...rew him overboard! Oh, Anna, 'twas so exciting!<br> Unfort...y he grabbe...est, and all his riches went with him!<br> ...sked the captain, and he says we're at {0}<br>...so maybe..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue