Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -2,11 +2,9 @@ namespace Server.Items
{
public class GrimmochJournal1 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"The daily journal of Grimmoch Drummel", "Grimmoch",
new BookPageInfo
(
new BookPageInfo(
"Day One :",
"",
"'Tis a grand sight, this",
@ -14,10 +12,8 @@ namespace Server.Items
"with Tavara on that.",
"And we've a good crew",
"here, they've strong",
"backs and a good"
),
new BookPageInfo
(
"backs and a good"),
new BookPageInfo(
"attitude. I'm a bit",
"concerned by those",
"that worked as guides",
@ -25,10 +21,8 @@ namespace Server.Items
"seemed well enough",
"until we revealed the",
"immense stone doors",
"of the tomb structure"
),
new BookPageInfo
(
"of the tomb structure"),
new BookPageInfo(
"itself. Seemed to send",
"a shiver up their",
"spines and get them all",
@ -36,10 +30,8 @@ namespace Server.Items
"whispering. I'll",
"watch the lot of them",
"with a close eye, but",
"I'm confident we won't"
),
new BookPageInfo
(
"I'm confident we won't"),
new BookPageInfo(
"have any real",
"problems on the dig.",
"I'm especially proud to",
@ -47,10 +39,8 @@ namespace Server.Items
"out - he was a good",
"hire, despite the",
"warnings from his",
"previous employers."
),
new BookPageInfo
(
"previous employers."),
new BookPageInfo(
"He's drummed up the",
"workers into a",
"furious pace - we've",
@ -58,9 +48,7 @@ namespace Server.Items
"estimate on the",
"timeline for",
"excavating the Tomb's",
"entrance."
)
);
"entrance."));
[Constructible]
public GrimmochJournal1() : base(Utility.Random(0xFF1, 2), false)
@ -90,11 +78,9 @@ namespace Server.Items
public class GrimmochJournal2 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"The daily journal of Grimmoch Drummel", "Grimmoch",
new BookPageInfo
(
new BookPageInfo(
"Day Two :",
"",
"We managed to dig out",
@ -102,10 +88,8 @@ namespace Server.Items
"remaining rubble",
"today, revealing the",
"entirety of the giant",
"stone doors that sealed"
),
new BookPageInfo
(
"stone doors that sealed"),
new BookPageInfo(
"ol' Khal Ankur and",
"his folk up ages ago.",
"Actually getting them",
@ -113,10 +97,8 @@ namespace Server.Items
"matter altogether,",
"however. As the",
"workers set to the",
"task with picks and"
),
new BookPageInfo
(
"task with picks and"),
new BookPageInfo(
"crowbars, I could have",
"sworn I saw Lysander",
"Gathenwale fiddling",
@ -124,10 +106,8 @@ namespace Server.Items
"musty old tome of his.",
" I've no great",
"knowledge of things",
"magical, but the way"
),
new BookPageInfo
(
"magical, but the way"),
new BookPageInfo(
"his hand moved over",
"that book, and the look",
"of concentration on his",
@ -135,10 +115,8 @@ namespace Server.Items
"something to himself",
"looked like every",
"description of an",
"incantation I've ever"
),
new BookPageInfo
(
"incantation I've ever"),
new BookPageInfo(
"heard. The strange",
"thing is, this set of",
"doors that an entire",
@ -146,10 +124,8 @@ namespace Server.Items
"was laboring over for",
"hours, right when",
"Gathenwale finishes",
"with his mumbling..."
),
new BookPageInfo
(
"with his mumbling..."),
new BookPageInfo(
"well, I swore the doors",
"just gave open at the",
"exact moment he",
@ -157,17 +133,13 @@ namespace Server.Items
"whisper and shut the",
"tome tight in his",
"hands. When he",
"looked up, it was"
),
new BookPageInfo
(
"looked up, it was"),
new BookPageInfo(
"almost as if he was",
"expecting the doors to",
"be open, rather than",
"shocked that they'd",
"finally given way."
)
);
"finally given way."));
[Constructible]
public GrimmochJournal2() : base(Utility.Random(0xFF1, 2), false)
@ -197,11 +169,9 @@ namespace Server.Items
public class GrimmochJournal3 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"The daily journal of Grimmoch Drummel", "Grimmoch",
new BookPageInfo
(
new BookPageInfo(
"Day Three - Day Five:",
"",
"I might have",
@ -209,10 +179,8 @@ namespace Server.Items
"my first entry - this",
"place doesn't seem too",
"bent on giving up any",
"secrets. Though the"
),
new BookPageInfo
(
"secrets. Though the"),
new BookPageInfo(
"main antechamber is",
"open to us, the main",
"exit hall is blocked by",
@ -220,10 +188,8 @@ namespace Server.Items
"rubble. Doesn't look a",
"bit like anything",
"caused by a quake or",
"instability in the"
),
new BookPageInfo
(
"instability in the"),
new BookPageInfo(
"stonework... I swear it",
"looks as if someone",
"actually piled the",
@ -231,10 +197,8 @@ namespace Server.Items
"some time after the",
"tomb was built. The",
"stones aren't of the",
"same set nor quality"
),
new BookPageInfo
(
"same set nor quality"),
new BookPageInfo(
"of the carved work",
"that surrounds them",
"- if anything, they",
@ -242,10 +206,8 @@ namespace Server.Items
"common rock we saw",
"in great quantities on",
"the trip here. Which",
"makes it feel all the"
),
new BookPageInfo
(
"makes it feel all the"),
new BookPageInfo(
"more like someone",
"hauled them in and",
"deliberately covered",
@ -253,10 +215,8 @@ namespace Server.Items
"why not decorate them",
"in the same ornate",
"manner as the rest of",
"the stone in this"
),
new BookPageInfo
(
"the stone in this"),
new BookPageInfo(
"place? Lysander",
"wouldn't hear a word",
"of what I had to say -",
@ -264,14 +224,10 @@ namespace Server.Items
"some time in the",
"history of the tomb,",
"and that was it, shut",
"up and move on. So I"
),
new BookPageInfo
(
"up and move on. So I"),
new BookPageInfo(
"shut up, and got back",
"to work."
)
);
"to work."));
[Constructible]
public GrimmochJournal3() : base(Utility.Random(0xFF1, 2), false)
@ -301,11 +257,9 @@ namespace Server.Items
public class GrimmochJournal6 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"The daily journal of Grimmoch Drummel", "Grimmoch",
new BookPageInfo
(
new BookPageInfo(
"Day Six :",
"",
"The camp was",
@ -313,10 +267,8 @@ namespace Server.Items
"a pack of, well, I don't",
"have a clue. I've never",
"seen the like of these",
"beasts anywhere."
),
new BookPageInfo
(
"beasts anywhere."),
new BookPageInfo(
"Huge things, with",
"fangs the size of your",
"forefinger, covered in",
@ -324,10 +276,8 @@ namespace Server.Items
"strangest arched back",
"I've ever seen. And so",
"many of them. We",
"were forced back into"
),
new BookPageInfo
(
"were forced back into"),
new BookPageInfo(
"the Tomb for the",
"night, just to keep our",
"hides on us. And",
@ -335,10 +285,8 @@ namespace Server.Items
"practically orders us",
"all to move the entire",
"exterior camp into the",
"Tomb. Now, I don't"
),
new BookPageInfo
(
"Tomb. Now, I don't"),
new BookPageInfo(
"disagree that we'd be",
"well off to use the",
"place as a point of",
@ -346,10 +294,8 @@ namespace Server.Items
"don't like it one bit, in",
"any case. I don't like",
"the look of this place,",
"nor the sound of it."
),
new BookPageInfo
(
"nor the sound of it."),
new BookPageInfo(
"The way the wind",
"gets into the",
"passageways,",
@ -357,10 +303,8 @@ namespace Server.Items
"strangest noises.",
"Deep, sustained echoes",
"of the wind, not so",
"much flute-like as..."
),
new BookPageInfo
(
"much flute-like as..."),
new BookPageInfo(
"well, it sounds",
"ridiculous. In any",
"case, we've set to work",
@ -368,9 +312,7 @@ namespace Server.Items
"exterior camp into the",
"main antechamber, so",
"there's no use moaning",
"about it now."
)
);
"about it now."));
[Constructible]
public GrimmochJournal6() : base(Utility.Random(0xFF1, 2), false)
@ -400,11 +342,9 @@ namespace Server.Items
public class GrimmochJournal7 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"The daily journal of Grimmoch Drummel", "Grimmoch",
new BookPageInfo
(
new BookPageInfo(
"Day Seven - Day Ten:",
"",
"I cannot stand this",
@ -412,10 +352,8 @@ namespace Server.Items
"I've got to get out.",
"Something evil lurks",
"in this ancient place,",
"something best left"
),
new BookPageInfo
(
"something best left"),
new BookPageInfo(
"alone. I hear them,",
"yet none of the others",
"do. And yet they",
@ -423,10 +361,8 @@ namespace Server.Items
"scratching at stone,",
"the awful scratching",
"and the piteous cries",
"that sound almost like"
),
new BookPageInfo
(
"that sound almost like"),
new BookPageInfo(
"laughter. I can hear",
"them above even the",
"cracks of the",
@ -434,10 +370,8 @@ namespace Server.Items
"at night they are all I",
"can hear. And yet the",
"others hear nothing.",
"We must leave this"
),
new BookPageInfo
(
"We must leave this"),
new BookPageInfo(
"place, we must.",
"Three workers have",
"gone missing - Tavara",
@ -445,19 +379,15 @@ namespace Server.Items
"abandoned us - and I",
"count them lucky if",
"they have. I don't care",
"what the others say,"
),
new BookPageInfo
(
"what the others say,"),
new BookPageInfo(
"we must leave this",
"place. We must do as",
"those before and pile",
"up the stones, block all",
"access to this primeval",
"crypt, seal it up again",
"for all eternity."
)
);
"for all eternity."));
[Constructible]
public GrimmochJournal7() : base(Utility.Random(0xFF1, 2), false)
@ -487,11 +417,9 @@ namespace Server.Items
public class GrimmochJournal11 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"The daily journal of Grimmoch Drummel", "Grimmoch",
new BookPageInfo
(
new BookPageInfo(
"Day Eleven - Day",
"Thirteen :",
"",
@ -499,10 +427,8 @@ namespace Server.Items
"two more workers",
"with him. Good",
"riddance to the first.",
"He knows something."
),
new BookPageInfo
(
"He knows something."),
new BookPageInfo(
"He heard them too, I",
"know he did - and yet",
"he scowled at me",
@ -510,10 +436,8 @@ namespace Server.Items
"them. I cannot stop",
"the noise in my head,",
"the scratching, the",
"clawing tears at my"
),
new BookPageInfo
(
"clawing tears at my"),
new BookPageInfo(
"senses. What is it?",
"What does Lysander",
"seek that I can only",
@ -521,13 +445,9 @@ namespace Server.Items
"has he gone? The",
"only answer to my",
"questions comes as",
"laughter from behind"
),
new BookPageInfo
(
"the stones."
)
);
"laughter from behind"),
new BookPageInfo(
"the stones."));
[Constructible]
public GrimmochJournal11() : base(Utility.Random(0xFF1, 2), false)
@ -557,11 +477,9 @@ namespace Server.Items
public class GrimmochJournal14 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"The daily journal of Grimmoch Drummel", "Grimmoch",
new BookPageInfo
(
new BookPageInfo(
"Day Fourteen - Day",
"Sixteen :",
"",
@ -569,10 +487,8 @@ namespace Server.Items
"lost... all is lost. The",
"dead are piled up at",
"my feet. Bergen and I",
"somehow managed in"
),
new BookPageInfo
(
"somehow managed in"),
new BookPageInfo(
"the madness to piece",
"together a barricade,",
"barring access to the",
@ -580,10 +496,8 @@ namespace Server.Items
"He knows as well as I",
"that we cannot hold it",
"forever. The dead",
"come. They took"
),
new BookPageInfo
(
"come. They took"),
new BookPageInfo(
"Lysander before our",
"eyes. I pity the soul",
"of even such a",
@ -591,10 +505,8 @@ namespace Server.Items
"should die in such a",
"manner. And yet so",
"many have. We're",
"trapped here in this"
),
new BookPageInfo
(
"trapped here in this"),
new BookPageInfo(
"horror. So many have",
"died, and for what?",
"What curse have we",
@ -602,19 +514,15 @@ namespace Server.Items
"cannot bear it, the",
"moaning, wailing cries",
"of the dead. Poor",
"Thomas, cut to pieces"
),
new BookPageInfo
(
"Thomas, cut to pieces"),
new BookPageInfo(
"by their blades. We",
"had only an hour to",
"properly bury those",
"we could, before the",
"undead legions struck",
"again. I cannot go on...",
"I cannot go on."
)
);
"I cannot go on."));
[Constructible]
public GrimmochJournal14() : base(Utility.Random(0xFF1, 2), false)
@ -644,11 +552,9 @@ namespace Server.Items
public class GrimmochJournal17 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"The daily journal of Grimmoch Drummel", "Grimmoch",
new BookPageInfo
(
new BookPageInfo(
"Day Seventeen - Day",
"Twenty-Two :",
"",
@ -656,10 +562,8 @@ namespace Server.Items
"ceases... the blood",
"never stops flowing,",
"like a river through",
"the bloated corpses of"
),
new BookPageInfo
(
"the bloated corpses of"),
new BookPageInfo(
"the dead. And yet",
"there are still more.",
"Always more, with",
@ -667,10 +571,8 @@ namespace Server.Items
"in their eyes. My",
"arm aches, I've taken",
"to the sword as my",
"bow seems to do little"
),
new BookPageInfo
(
"bow seems to do little"),
new BookPageInfo(
"good... the dull ache in",
"my arm... so many",
"swings, cleaving a",
@ -678,10 +580,8 @@ namespace Server.Items
"flesh. And Thomas...",
"he was there, in the",
"thick of it... Thomas",
"was beside me..."
),
new BookPageInfo
(
"was beside me..."),
new BookPageInfo(
"his face cleaved in",
"twain - and yet beside",
"me, fighting with us",
@ -689,10 +589,8 @@ namespace Server.Items
"he was cut down once",
"again. And I swear I",
"see him even now,",
"there in the dark"
),
new BookPageInfo
(
"there in the dark"),
new BookPageInfo(
"corner of the",
"antechamber, his eyes",
"flickering in the last",
@ -700,13 +598,9 @@ namespace Server.Items
"fire... and he stares at",
"me, and a scream fills",
"the vault - whether",
"his or mine, I can no"
),
new BookPageInfo
(
"longer tell."
)
);
"his or mine, I can no"),
new BookPageInfo(
"longer tell."));
[Constructible]
public GrimmochJournal17() : base(Utility.Random(0xFF1, 2), false)
@ -736,17 +630,13 @@ namespace Server.Items
public class GrimmochJournal23 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"The daily journal of Grimmoch Drummel", "Grimmoch",
new BookPageInfo
(
new BookPageInfo(
"Day Twenty-Three :",
"",
"We no longer bury the",
"dead."
)
);
"dead."));
[Constructible]
public GrimmochJournal23() : base(Utility.Random(0xFF1, 2), false)
@ -773,4 +663,4 @@ namespace Server.Items
int version = reader.ReadEncodedInt();
}
}
}
}

View file

@ -2,11 +2,9 @@ namespace Server.Items
{
public class LysanderNotebook1 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"Lysander's Notebook", "L. Gathenwale",
new BookPageInfo
(
new BookPageInfo(
"Day One :",
"",
"At last, it stands",
@ -14,10 +12,8 @@ namespace Server.Items
"of Thy Sanctum will",
"open to me now, after",
"all these years of",
"searching. I give"
),
new BookPageInfo
(
"searching. I give"),
new BookPageInfo(
"myself unto Thee,",
"Khal Ankur, I have",
"come for Thy secrets",
@ -25,13 +21,9 @@ namespace Server.Items
"prostrate before Thee.",
" Blessed are the",
"Keepers, praise unto",
"Thee, a thousand"
),
new BookPageInfo
(
"fortunes in the night."
)
);
"Thee, a thousand"),
new BookPageInfo(
"fortunes in the night."));
[Constructible]
public LysanderNotebook1() : base(Utility.Random(0xFF1, 2), false)
@ -61,11 +53,9 @@ namespace Server.Items
public class LysanderNotebook2 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"Lysander's Notebook", "L. Gathenwale",
new BookPageInfo
(
new BookPageInfo(
"Day Two:",
"",
"The woman, Tavara",
@ -73,10 +63,8 @@ namespace Server.Items
"Her entire demeanor",
"sickens me. I would",
"take her life for Thee",
"now, my Lord. But I"
),
new BookPageInfo
(
"now, my Lord. But I"),
new BookPageInfo(
"cannot alert the",
"others. Progress is",
"made too slowly, I",
@ -84,10 +72,8 @@ namespace Server.Items
"perpetual waiting.",
"Today I knelt down",
"with the workers,",
"tossing stones and dirt"
),
new BookPageInfo
(
"tossing stones and dirt"),
new BookPageInfo(
"aside with my very",
"hands as they dug at",
"the last of the rubble",
@ -95,10 +81,8 @@ namespace Server.Items
"to Thy Sanctum. The",
"Sewel woman was",
"shocked at my",
"demeanor, dirtying"
),
new BookPageInfo
(
"demeanor, dirtying"),
new BookPageInfo(
"my robes, on my",
"knees in the muck as I",
"clawed at the rocks.",
@ -106,10 +90,8 @@ namespace Server.Items
"for those sickly",
"scholars, or for her,",
"or for what she",
"laughably calls 'The"
),
new BookPageInfo
(
"laughably calls 'The"),
new BookPageInfo(
"Gift of Discovery', of",
"learning. As if I did",
"not know what I went",
@ -117,16 +99,12 @@ namespace Server.Items
"Thee, Master. Soon",
"shall I receive Thy",
"gifts, Thy blessings.",
"Patience, eternal"
),
new BookPageInfo
(
"Patience, eternal"),
new BookPageInfo(
"patience. I must take",
"my lessons well. I",
"have learned from",
"Thee, Master, I have."
)
);
"Thee, Master, I have."));
[Constructible]
public LysanderNotebook2() : base(Utility.Random(0xFF1, 2), false)
@ -156,11 +134,9 @@ namespace Server.Items
public class LysanderNotebook3 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"Lysander's Notebook", "L. Gathenwale",
new BookPageInfo
(
new BookPageInfo(
"Day Three - Day Six:",
"",
"What are these Beasts",
@ -168,10 +144,8 @@ namespace Server.Items
"presence here? Hast",
"Thou sent them,",
"Master? To tear",
"apart these foolish"
),
new BookPageInfo
(
"apart these foolish"),
new BookPageInfo(
"ones that accompany",
"me? That repugnant",
"pustule, Drummel, put",
@ -179,10 +153,8 @@ namespace Server.Items
"theories as to the",
"nature of the Beasts",
"that attacked our",
"camp, but I'll have"
),
new BookPageInfo
(
"camp, but I'll have"),
new BookPageInfo(
"none of his words. He",
"asks too many",
"questions. He is a",
@ -190,10 +162,8 @@ namespace Server.Items
"of Thy Sanctum,",
"Master - I will deal",
"with him after the",
"Sewel woman."
),
new BookPageInfo
(
"Sewel woman."),
new BookPageInfo(
"Speaking of Sewel, I",
"have convinced that",
"empty-headed harlot",
@ -201,10 +171,8 @@ namespace Server.Items
"our encampment",
"within the",
"antechamber. She",
"thinks I worry for"
),
new BookPageInfo
(
"thinks I worry for"),
new BookPageInfo(
"her safety. I come",
"for thee, Master. I",
"make my camp in Thy",
@ -212,9 +180,7 @@ namespace Server.Items
"under Thy roof. I can",
"feel Thine presence",
"even now. Soon,",
"Master. Soon."
)
);
"Master. Soon."));
[Constructible]
public LysanderNotebook3() : base(Utility.Random(0xFF1, 2), false)
@ -244,11 +210,9 @@ namespace Server.Items
public class LysanderNotebook7 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"Lysander's Notebook", "L. Gathenwale",
new BookPageInfo
(
new BookPageInfo(
"Day Seven :",
"",
"The Sewel woman",
@ -256,10 +220,8 @@ namespace Server.Items
"And she dares to",
"speak Thy Name,",
"Master! I wish so",
"vehemently to take a"
),
new BookPageInfo
(
"vehemently to take a"),
new BookPageInfo(
"knife to that little",
"neck of hers. She",
"struts around the",
@ -267,10 +229,8 @@ namespace Server.Items
"Sanctum with her",
"repugnant airs, her",
"scholarly conjecture",
"on this or that. That I"
),
new BookPageInfo
(
"on this or that. That I"),
new BookPageInfo(
"could peel the skin",
"from her face and",
"show her how vile and",
@ -278,10 +238,8 @@ namespace Server.Items
"unworthy of entrance",
"to Thy Sanctum. I",
"must take her,",
"Master. I must rend"
),
new BookPageInfo
(
"Master. I must rend"),
new BookPageInfo(
"that little wench to",
"pieces. I ask this gift",
"of Thee, that I might",
@ -289,10 +247,8 @@ namespace Server.Items
"of her presence. Give",
"me the Sewel woman",
"and I shall show you",
"my mastery of Death,"
),
new BookPageInfo
(
"my mastery of Death,"),
new BookPageInfo(
"Master. I shall cut",
"her to bits and scatter",
"them before the",
@ -300,10 +256,8 @@ namespace Server.Items
"I cannot stand her",
"presence, I cannot",
"abide it. And",
"Drummel! He is a"
),
new BookPageInfo
(
"Drummel! He is a"),
new BookPageInfo(
"pustule that must be",
"lanced, a sickness that",
"I must cure by blade",
@ -311,15 +265,11 @@ namespace Server.Items
"of him will be left",
"when I'm done with",
"him. Praises to Thee,",
"Master. I shall honor"
),
new BookPageInfo
(
"Master. I shall honor"),
new BookPageInfo(
"Thee with many",
"sacrifices, soon",
"enough."
)
);
"enough."));
[Constructible]
public LysanderNotebook7() : base(Utility.Random(0xFF1, 2), false)
@ -349,11 +299,9 @@ namespace Server.Items
public class LysanderNotebook8 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"Lysander's Notebook", "L. Gathenwale",
new BookPageInfo
(
new BookPageInfo(
"Day Eight - Day Ten :",
"",
"Have you taken them,",
@ -361,10 +309,8 @@ namespace Server.Items
"not have found a way",
"past the stones that",
"block our path! The",
"three workers, My"
),
new BookPageInfo
(
"three workers, My"),
new BookPageInfo(
"Master, where have",
"they gone? Curses",
"upon them! I'll cut",
@ -372,10 +318,8 @@ namespace Server.Items
"they show their faces",
"again, then burn the",
"rest alive upon a pyre,",
"for all to see, as a"
),
new BookPageInfo
(
"for all to see, as a"),
new BookPageInfo(
"warning of Thy",
"Power. How could",
"they have gotten past",
@ -383,10 +327,8 @@ namespace Server.Items
"the very walls, to",
"hear Thy Words, to",
"feel Thy Breath. I",
"can find no egress"
),
new BookPageInfo
(
"can find no egress"),
new BookPageInfo(
"from the chambers",
"that the Sewel woman",
"does not know of nor",
@ -394,10 +336,8 @@ namespace Server.Items
"excavating. Where",
"have they gone,",
"Master? Have you",
"taken them, or do they"
),
new BookPageInfo
(
"taken them, or do they"),
new BookPageInfo(
"truly flee from Thy",
"Presence? I will kill",
"them if they show",
@ -405,16 +345,12 @@ namespace Server.Items
"Give me Strength, my",
"Master, to let them",
"live a while longer,",
"until they have"
),
new BookPageInfo
(
"until they have"),
new BookPageInfo(
"fulfilled their",
"purpose and I kneel",
"before Thee, covered",
"in their blood."
)
);
"in their blood."));
[Constructible]
public LysanderNotebook8() : base(Utility.Random(0xFF1, 2), false)
@ -444,11 +380,9 @@ namespace Server.Items
public class LysanderNotebook11 : BaseBook
{
public static readonly BookContent Content = new BookContent
(
public static readonly BookContent Content = new BookContent(
"Lysander's Notebook", "L. Gathenwale",
new BookPageInfo
(
new BookPageInfo(
"Day Eleven - Day",
"Thirteen:",
"",
@ -456,10 +390,8 @@ namespace Server.Items
"Master. I come! The",
"way is clear, I have",
"found Thy path and",
"washed it in the blood"
),
new BookPageInfo
(
"washed it in the blood"),
new BookPageInfo(
"of the two workers",
"that caught sight of",
"me. Ah, how sweet it",
@ -467,10 +399,8 @@ namespace Server.Items
"to see the blood pour",
"out in great torrents, to",
"stand in it, to revel in",
"it. If only I had time"
),
new BookPageInfo
(
"it. If only I had time"),
new BookPageInfo(
"for the Sewel woman.",
"But there will be time",
"enough for her. I",
@ -478,10 +408,8 @@ namespace Server.Items
"Patience, Master. I",
"come for Thee. I walk",
"Thy halls in penance,",
"my last steps in this"
),
new BookPageInfo
(
"my last steps in this"),
new BookPageInfo(
"repulsive living",
"frame. I come for",
"Thee and Thy Gifts,",
@ -489,10 +417,8 @@ namespace Server.Items
"Unto Thee, Khal",
"Ankur, Keeper of the",
"Seventh Death,",
"Master, Leader of the"
),
new BookPageInfo
(
"Master, Leader of the"),
new BookPageInfo(
"Chosen, the Khaldun.",
"Praises in Thy",
"Name, Master of Life",
@ -500,13 +426,9 @@ namespace Server.Items
" Khal Ankur, Master,",
"Prophet, I join Thy",
"ranks this night, a",
"member of the"
),
new BookPageInfo
(
"Khaldun at last!"
)
);
"member of the"),
new BookPageInfo(
"Khaldun at last!"));
[Constructible]
public LysanderNotebook11() : base(Utility.Random(0xFF1, 2), false)

File diff suppressed because it is too large Load diff

View file

@ -25,13 +25,13 @@ namespace Server.Items
}
[CommandProperty(AccessLevel.GameMaster)]
public bool Active{ get; set; }
public bool Active { get; set; }
[CommandProperty(AccessLevel.GameMaster)]
public Point3D PointDest{ get; set; }
public Point3D PointDest { get; set; }
[CommandProperty(AccessLevel.GameMaster)]
public Map MapDest{ get; set; }
public Map MapDest { get; set; }
public override int LabelNumber =>
1016511; // the floor of the cavern seems to have collapsed here - a faint light is visible at the bottom of the pit

View file

@ -12,7 +12,7 @@ namespace Server.Mobiles
Hue = 0x8596;
Body = 0x190;
HairItemID = 0x204A; //Krisna
HairItemID = 0x204A; // Krisna
Bow bow = new Bow();
bow.Movable = false;
@ -59,10 +59,10 @@ namespace Server.Mobiles
PackItem(new Arrow(40));
if (3 > Utility.Random(100))
if (Utility.Random(100) < 3)
PackItem(new FireHorn());
if (1 > Utility.Random(3))
if (Utility.Random(3) < 1)
PackItem(Loot.RandomGrimmochJournal());
}

View file

@ -47,7 +47,7 @@ namespace Server.Items
int version = reader.ReadEncodedInt();
int length = reader.ReadEncodedInt();
for (int i = 0;; i++)
for (int i = 0; ; i++)
if (i < length)
{
PuzzleChestCylinder cylinder = (PuzzleChestCylinder)reader.ReadInt();
@ -65,7 +65,7 @@ namespace Server.Items
}
}
public PuzzleChestCylinder[] Cylinders{ get; } = new PuzzleChestCylinder[Length];
public PuzzleChestCylinder[] Cylinders { get; } = new PuzzleChestCylinder[Length];
public PuzzleChestCylinder First
{
@ -162,7 +162,7 @@ namespace Server.Items
When = reader.ReadDeltaTime();
}
public DateTime When{ get; }
public DateTime When { get; }
public override void Serialize(IGenericWriter writer)
{
@ -179,7 +179,7 @@ namespace Server.Items
public const int HintsCount = 3;
public readonly TimeSpan CleanupTime = TimeSpan.FromHours(1.0);
private Dictionary<Mobile, PuzzleChestSolutionAndTime> m_Guesses =
private readonly Dictionary<Mobile, PuzzleChestSolutionAndTime> m_Guesses =
new Dictionary<Mobile, PuzzleChestSolutionAndTime>();
private PuzzleChestSolution m_Solution;
@ -202,7 +202,7 @@ namespace Server.Items
}
}
public PuzzleChestCylinder[] Hints{ get; private set; } = new PuzzleChestCylinder[HintsCount];
public PuzzleChestCylinder[] Hints { get; private set; } = new PuzzleChestCylinder[HintsCount];
public PuzzleChestCylinder FirstHint
{
@ -295,44 +295,44 @@ namespace Server.Items
switch (Utility.Random(4))
{
case 0:
{
Effects.SendLocationEffect(to, to.Map, 0x113A, 20, 10);
to.PlaySound(0x231);
to.LocalOverheadMessage(MessageType.Regular, 0x44, 1010523); // A toxic vapor envelops thee.
{
Effects.SendLocationEffect(to, to.Map, 0x113A, 20, 10);
to.PlaySound(0x231);
to.LocalOverheadMessage(MessageType.Regular, 0x44, 1010523); // A toxic vapor envelops thee.
to.ApplyPoison(to, Poison.Regular);
to.ApplyPoison(to, Poison.Regular);
break;
}
break;
}
case 1:
{
Effects.SendLocationEffect(to, to.Map, 0x3709, 30);
to.PlaySound(0x54);
to.LocalOverheadMessage(MessageType.Regular, 0xEE, 1010524); // Searing heat scorches thy skin.
{
Effects.SendLocationEffect(to, to.Map, 0x3709, 30);
to.PlaySound(0x54);
to.LocalOverheadMessage(MessageType.Regular, 0xEE, 1010524); // Searing heat scorches thy skin.
AOS.Damage(to, to, Utility.RandomMinMax(10, 40), 0, 100, 0, 0, 0);
AOS.Damage(to, to, Utility.RandomMinMax(10, 40), 0, 100, 0, 0, 0);
break;
}
break;
}
case 2:
{
to.PlaySound(0x223);
to.LocalOverheadMessage(MessageType.Regular, 0x62,
1010525); // Pain lances through thee from a sharp metal blade.
{
to.PlaySound(0x223);
to.LocalOverheadMessage(MessageType.Regular, 0x62,
1010525); // Pain lances through thee from a sharp metal blade.
AOS.Damage(to, to, Utility.RandomMinMax(10, 40), 100, 0, 0, 0, 0);
AOS.Damage(to, to, Utility.RandomMinMax(10, 40), 100, 0, 0, 0, 0);
break;
}
break;
}
default:
{
to.BoltEffect(0);
to.LocalOverheadMessage(MessageType.Regular, 0xDA, 1010526); // Lightning arcs through thy body.
{
to.BoltEffect(0);
to.LocalOverheadMessage(MessageType.Regular, 0xDA, 1010526); // Lightning arcs through thy body.
AOS.Damage(to, to, Utility.RandomMinMax(10, 40), 0, 0, 0, 0, 100);
AOS.Damage(to, to, Utility.RandomMinMax(10, 40), 0, 0, 0, 0, 100);
break;
}
break;
}
}
}
@ -404,7 +404,7 @@ namespace Server.Items
foreach (Item gem in gems)
DropItem(gem);
if (0.2 > Utility.RandomDouble())
if (Utility.RandomDouble() < 0.2)
DropItem(new BagOfReagents());
for (int i = 0; i < 2; i++)
@ -538,9 +538,9 @@ namespace Server.Items
private class PuzzleGump : Gump
{
private PuzzleChest m_Chest;
private Mobile m_From;
private PuzzleChestSolution m_Solution;
private readonly PuzzleChest m_Chest;
private readonly Mobile m_From;
private readonly PuzzleChestSolution m_Solution;
public PuzzleGump(Mobile from, PuzzleChest chest, PuzzleChestSolution solution, int check) : base(50, 50)
{

View file

@ -50,13 +50,13 @@ namespace Server.Items
}
[CommandProperty(AccessLevel.GameMaster)]
public int MoveSound{ get; set; }
public int MoveSound { get; set; }
[CommandProperty(AccessLevel.GameMaster)]
public int StopSound{ get; set; }
public int StopSound { get; set; }
[CommandProperty(AccessLevel.GameMaster)]
public TimeSpan CloseDelay{ get; set; }
public TimeSpan CloseDelay { get; set; }
public bool IsRaisable => m_RaiseTimer == null;
@ -100,8 +100,8 @@ namespace Server.Items
private class RaiseTimer : Timer
{
private DateTime m_CloseTime;
private RaisableItem m_Item;
private readonly DateTime m_CloseTime;
private readonly RaisableItem m_Item;
private int m_Step;
private bool m_Up;

View file

@ -16,7 +16,7 @@ namespace Server.Items
}
[CommandProperty(AccessLevel.GameMaster)]
public RaisableItem RaisableItem{ get; set; }
public RaisableItem RaisableItem { get; set; }
public override void OnDoubleClick(Mobile m)
{
@ -110,7 +110,7 @@ namespace Server.Items
private class ResetTimer : Timer
{
private RaiseSwitch m_RaiseSwitch;
private readonly RaiseSwitch m_RaiseSwitch;
public ResetTimer(RaiseSwitch raiseSwitch, TimeSpan delay) : base(delay)
{