From 978160631609c017626e51b0ac86649647844be7 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Tue, 15 Mar 2016 20:21:27 +0100 Subject: [PATCH] Quotes and rocket paperclip scissors added --- NadekoBot/Classes/JSONModels/Configuration.cs | 10 + NadekoBot/Modules/Games.cs | 46 + NadekoBot/Modules/Searches.cs | 20 +- NadekoBot/NadekoBot.cs | 18 + NadekoBot/bin/Debug/data/config_example.json | 4 +- NadekoBot/bin/Debug/data/quotes.json | 874 ++++++++++++++++++ 6 files changed, 958 insertions(+), 14 deletions(-) create mode 100644 NadekoBot/bin/Debug/data/quotes.json diff --git a/NadekoBot/Classes/JSONModels/Configuration.cs b/NadekoBot/Classes/JSONModels/Configuration.cs index ba2ba256..b343ef26 100644 --- a/NadekoBot/Classes/JSONModels/Configuration.cs +++ b/NadekoBot/Classes/JSONModels/Configuration.cs @@ -9,6 +9,7 @@ namespace NadekoBot.Classes.JSONModels { public bool DontJoinServers { get; set; } = false; public bool ForwardMessages { get; set; } = true; public bool IsRotatingStatus { get; set; } = false; + public List Quotes { get; set; } = new List(); public HashSet ObservingStreams { get; set; } = new HashSet(); public List RotatingStatuses { get; set; } = new List(); public CommandPrefixesModel CommandPrefixes { get; set; } = new CommandPrefixesModel(); @@ -59,6 +60,7 @@ namespace NadekoBot.Classes.JSONModels { public string Games { get; set; } = ">"; public string Gambling { get; set; } = "$"; public string Permissions { get; set; } = ";"; + public string Programming { get; set; } = "%"; } public static class ConfigHandler { @@ -102,4 +104,12 @@ namespace NadekoBot.Classes.JSONModels { return (int)((int)ServerId + Username.Length + (int)Type); } } + + public class Quote { + public string Author { get; set; } + public string Text { get; set; } + + public override string ToString() => + $"{Text}\n\t*-{Author}*"; + } } diff --git a/NadekoBot/Modules/Games.cs b/NadekoBot/Modules/Games.cs index c8fadda4..55fd9d7a 100644 --- a/NadekoBot/Modules/Games.cs +++ b/NadekoBot/Modules/Games.cs @@ -89,6 +89,43 @@ namespace NadekoBot.Modules { var t = GetType(usr.Id); await e.Channel.SendMessage($"{usr.Name}'s type is {GetImage(t)} {t}"); }); + cgb.CreateCommand(Prefix + "rps") + .Description("Play a game of rocket paperclip scissors with nadkeo.\n**Usage**: >rps scissors") + .Parameter("input", ParameterType.Required) + .Do(async e => { + var input = e.GetArg("input").Trim(); + int pick; + switch (input) { + case "r": + case "rock": + case "rocket": + pick = 0; + break; + case "p": + case "paper": + case "paperclip": + pick = 1; + break; + case "scissors": + case "s": + pick = 2; + break; + default: + return; + } + var nadekoPick = new Random().Next(0, 3); + var msg = ""; + if (pick == nadekoPick) + msg = $"It's a draw! Both picked :{GetRPSPick(pick)}:"; + else if ((pick == 0 && nadekoPick == 1) || + (pick == 1 && nadekoPick == 2) || + (pick == 2 && nadekoPick == 0)) + msg = $"{NadekoBot.BotMention} won! :{GetRPSPick(nadekoPick)}: beats :{GetRPSPick(pick)}:"; + else + msg = $"{e.User.Mention} won! :{GetRPSPick(pick)}: beats :{GetRPSPick(nadekoPick)}:"; + + await e.Channel.SendMessage(msg); + }); cgb.CreateCommand(Prefix + "linux") .Description("Prints a customizable Linux interjection") @@ -194,5 +231,14 @@ There really is a {loonix}, and these people are using it, but it is just a part private enum PokeType { WATER, GRASS, FIRE, ELECTRICAL } + + private string GetRPSPick(int i) { + if (i == 0) + return "rocket"; + else if (i == 1) + return "paperclip"; + else + return "scissors"; + } } } diff --git a/NadekoBot/Modules/Searches.cs b/NadekoBot/Modules/Searches.cs index da8b328d..5e040e12 100644 --- a/NadekoBot/Modules/Searches.cs +++ b/NadekoBot/Modules/Searches.cs @@ -219,22 +219,16 @@ namespace NadekoBot.Modules { await e.Channel.SendMessage("馃挗 Failed finidng a definition for that tag."); } }); - //todo when moved from parse - /* - cgb.CreateCommand(Prefix + "osubind") - .Description("Bind discord user to osu name\n**Usage**: ~osubind My osu name") - .Parameter("osu_name", ParameterType.Unparsed) + + cgb.CreateCommand(Prefix + "quote") + .Description("Shows a random quote.") .Do(async e => { - var userName = e.GetArg("user_name"); - var osuName = e.GetArg("osu_name"); - var usr = e.Server.FindUsers(userName).FirstOrDefault(); - if (usr == null) { - await e.Channel.SendMessage("Cannot find that discord user."); - return; - } + await + e.Channel.SendMessage( + NadekoBot.Config.Quotes[new Random().Next(0, NadekoBot.Config.Quotes.Count)].ToString()); }); - */ }); } } } + diff --git a/NadekoBot/NadekoBot.cs b/NadekoBot/NadekoBot.cs index 52b04cbc..bfb8d5fa 100644 --- a/NadekoBot/NadekoBot.cs +++ b/NadekoBot/NadekoBot.cs @@ -1,5 +1,7 @@ 锘縰sing Discord; using System; +using System.Collections.Generic; +using System.Dynamic; using System.IO; using Newtonsoft.Json; using Discord.Commands; @@ -10,6 +12,7 @@ using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; +using Manatee.StateMachine.Exceptions; using NadekoBot.Classes.JSONModels; using NadekoBot.Commands; @@ -26,6 +29,20 @@ namespace NadekoBot { private static void Main() { Console.OutputEncoding = Encoding.Unicode; + //var lines = File.ReadAllLines("data/input.txt"); + //HashSet list = new HashSet(); + //for (int i = 0; i < lines.Length; i += 3) { + // dynamic obj = new ExpandoObject(); + // obj.Text = lines[i]; + // obj.Author = lines[i + 1]; + // if (obj.Author.StartsWith("-")) + // obj.Author = obj.Author.Substring(1, obj.Author.Length - 1).Trim(); + // list.Add(obj); + //} + + //File.WriteAllText("data/quotes.json", Newtonsoft.Json.JsonConvert.SerializeObject(list, Formatting.Indented)); + + //Console.ReadKey(); // generate credentials example so people can know about the changes i make try { File.WriteAllText("credentials_example.json", JsonConvert.SerializeObject(new Credentials(), Formatting.Indented)); @@ -36,6 +53,7 @@ namespace NadekoBot { try { Config = JsonConvert.DeserializeObject(File.ReadAllText("data/config.json")); + Config.Quotes = JsonConvert.DeserializeObject>(File.ReadAllText("data/quotes.json")); } catch { Console.WriteLine("Failed loading configuration."); } diff --git a/NadekoBot/bin/Debug/data/config_example.json b/NadekoBot/bin/Debug/data/config_example.json index e4258799..7e0b54a4 100644 --- a/NadekoBot/bin/Debug/data/config_example.json +++ b/NadekoBot/bin/Debug/data/config_example.json @@ -2,6 +2,7 @@ "DontJoinServers": false, "ForwardMessages": true, "IsRotatingStatus": false, + "Quotes": [], "ObservingStreams": [], "RotatingStatuses": [], "CommandPrefixes": { @@ -15,7 +16,8 @@ "Trello": "trello", "Games": ">", "Gambling": "$", - "Permissions": ";" + "Permissions": ";", + "Programming": "%" }, "ServerBlacklist": [], "ChannelBlacklist": [], diff --git a/NadekoBot/bin/Debug/data/quotes.json b/NadekoBot/bin/Debug/data/quotes.json new file mode 100644 index 00000000..47f3e1ab --- /dev/null +++ b/NadekoBot/bin/Debug/data/quotes.json @@ -0,0 +1,874 @@ +[ + { + "Text": "Kill them all, God will recognise his own.", + "Author": "Arnaud Amaury, Abbot of Citeaux" + }, + { + "Text": "Nothing is to be feared but fear.", + "Author": "Francis Bacon" + }, + { + "Text": "In order for a war to be just, three things are necessary. First, the authority of the sovereign. Secondly, a just cause. Thirdly, a rightful intention.", + "Author": "Thomas Aquinas" + }, + { + "Text": "The fields have eyes, and the woods have ears.", + "Author": "Geoffrey Chaucer, Canterbury Tales, The Knights Tale" + }, + { + "Text": "Following the light of the sun, we left the Old World.", + "Author": "Christopher Columbus" + }, + { + "Text": "War is delightful to those who have had no experience of it.", + "Author": "Erasmus" + }, + { + "Text": "Fortune favours the audacious.", + "Author": "Erasmus" + }, + { + "Text": "The most disadvantageous peace is better than the most just war.", + "Author": "Erasmus" + }, + { + "Text": "If you do not leave this pasturage, Saladin will come and attack you here. And if you retreat from this attack the shame and reproach will be very great.", + "Author": "Gerard of Ridefort, letter written to King Guy" + }, + { + "Text": "The strength of God will enable us, a small but faithful band, to overcome the multitude of the faithless.", + "Author": "Robert Guiscard" + }, + { + "Text": "It is better to live one day as a lion than a hundred years as a sheep.", + "Author": "Italian proverb" + }, + { + "Text": "Do you know, my son, with what little understanding the world is ruled?", + "Author": "Pope Julius III" + }, + { + "Text": "A safe stronghold our God is still. A trusty shield and weapon.", + "Author": "Martin Luther" + }, + { + "Text": "Faith must trample under foot all reason, sense, and understanding.", + "Author": "Martin Luther" + }, + { + "Text": "Nothing good ever comes of violence.", + "Author": "Martin Luther" + }, + { + "Text": "War is the greatest plague that can affect humanity; it destroys religion, it destroys states, it destroys families. Any scourge is preferable to it.", + "Author": "Martin Luther" + }, + { + "Text": "Since love and fear can hardly coexist together, if we must choose between them, it is far safer to be feared than loved.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "The princes who have done great things are the ones who have taken little account of their promises.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "So far as he is able, a prince should stick to the path of good but, if the necessity arises, he should know how to follow evil.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "Men should either be treated generously or destroyed, because they take revenge for slight injures - for heavy ones they cannot.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "The prince must be a fox... to recognize the traps and a lion to frighten the wolves.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "The sinews of war are not gold, but good soldiers.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "Among other evils which being unarmed brings you, it causes you to be despised.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "The best fortress which a prince can possess is the affection of his people.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "No enterprise is more likely to succeed than one concealed from the enemy until it is ripe for execution.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "A prince should therefore have no other aim or thought... but war and its organisation and discipline.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "Whoever conquers a free town and does not demolish it commits a great error and may expect to be ruined himself.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "Good order and discipline in any army are to be depended upon more than courage alone.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "Good order makes men bold, and confusion, cowards.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "He who wishes to be obeyed must know how to command.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "One should never risk one's whole fortune unless supported by one's entire forces.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "It is not titles that honour men, but men that honour titles.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "To ensure victory the troops must have confidence in themselves as well as in their commanders.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "Strike up the drum and march courageously.", + "Author": "Christopher Marlowe" + }, + { + "Text": "Better to reign in hell than serve in heav'n.", + "Author": "John Milton" + }, + { + "Text": "For what can war, but endless war, still breed?", + "Author": "John Milton" + }, + { + "Text": "Will no one revenge me of the injuries I have sustained from one turbulent priest?", + "Author": "Henry II, King of England" + }, + { + "Text": "Luck is the residue of design.", + "Author": "John Milton" + }, + { + "Text": "Peace hath her victories, no less renowned than War.", + "Author": "John Milton" + }, + { + "Text": "What does not destroy me, makes me strong.", + "Author": "John Milton" + }, + { + "Text": "If some among them are innocent, it is expedient that they should be assayed like gold in the furnace and purged by proper judicial examination.", + "Author": "Royal letter opening the enquiry into the Templar Knights" + }, + { + "Text": "He doth nothing but talk of his horse.", + "Author": "Shakespeare, The Merchant of Venice, i, 2" + }, + { + "Text": "All the world's a stage, And all the men and women merely players.", + "Author": "Shakespeare, As You Like It, ii, 7" + }, + { + "Text": "I will kill thee a hundred and fifty ways.", + "Author": "Shakespeare, As You Like It, v, 1" + }, + { + "Text": "Here I and sorrows sit; Here is my throne, bid kings come bow to it.", + "Author": "Shakespeare, King John, iii, 1" + }, + { + "Text": "Go, bid the soldiers shoot.", + "Author": "Shakespeare, Hamlet, iv, 2" + }, + { + "Text": "Come the three corners of the world in arms, and we shall shock them.", + "Author": "Shakespeare, King John, iv, 7" + }, + { + "Text": "A man can die but once.", + "Author": "Shakespeare, King Henry IV, Part:II. iii, 2" + }, + { + "Text": "Give me another horse: bind up my wounds.", + "Author": "Shakespeare, King Richard III, v, 3" + }, + { + "Text": "A horse! A horse! My kingdom for a horse!", + "Author": "Shakespeare, King Richard III, v, 4" + }, + { + "Text": "The better part of valour is discretion.", + "Author": "Shakespeare, King Henry IV, Part:I, v, 4" + }, + { + "Text": "To whom God will, there be the victory.", + "Author": "Shakespeare, King Henry the Sixth, Part:III, ii, 5" + }, + { + "Text": "A victory is twice itself when the achiever brings home full numbers.", + "Author": "Shakespeare, Much Ado About Nothing, i, 1" + }, + { + "Text": "We are ready to try our fortunes To the last man.", + "Author": "Shakespeare, King Henry IV, Part:II, iv, 2" + }, + { + "Text": "And many strokes, though with a little axe, hew down and fell the hardest-timbered oak.", + "Author": "Shakespeare, King Henry VI, Part:III, ii, 1" + }, + { + "Text": "Upon his royal face there is no note how dread an army hath enrounded him;", + "Author": "Shakespeare, King Henry V, iv prologue" + }, + { + "Text": "There's daggers in men's smiles.", + "Author": "Shakespeare, Macbeth, II, 3" + }, + { + "Text": "It is better to be on hand with ten men than absent with ten thousand.", + "Author": "Tamerlane" + }, + { + "Text": "And ye shall hear of wars and rumours of wars, see that ye be not troubled; for all these things must come to pass, but the end is not yet.", + "Author": "Matthew, ch. XXIV, V.6" + }, + { + "Text": "Blessed be the Lord my strength, which teacheth my hands to war, and my fingers to fight.", + "Author": "Psalm, CXLIV" + }, + { + "Text": "Inflict not on an enemy every injury in your power, for he may afterwards become your friend.", + "Author": "Moslih Eddin Saadi" + }, + { + "Text": "No one conquers who doesn't fight.", + "Author": "Gabriel Biel" + }, + { + "Text": "An emperor is subject to no one but God and justice.", + "Author": "Fredrick I, Barbarossa" + }, + { + "Text": "Wars begin when you will, but they do not end when you please.", + "Author": "Niccol贸 Machiavelli" + }, + { + "Text": "Let the boy win his spurs.", + "Author": "Edward III, King of England, Battle of Crecy 1345" + }, + { + "Text": "We who are the rest of the people raised our heart and eyes to heaven crying for God to have compassion upon us, and to turn away from us the power of the French.", + "Author": "Thomas Elthem, Henry V's Chaplain at Agincourt" + }, + { + "Text": "There are some defeats more triumphant than victories.", + "Author": "Michel Eyquem de Montaigne" + }, + { + "Text": "Tis so much to be a king, that he only is so by being so.", + "Author": "Michel Eyquem de Montaigne" + }, + { + "Text": "The souls of emperors and cobblers are cast in the same mould. ...The same reason that makes us wrangle with a neighbour causes a war betwixt princes.", + "Author": "Michel Eyquem de Montaigne" + }, + { + "Text": "He who knows not how to dissimulate, can not reign.", + "Author": "Louis XI, King of France" + }, + { + "Text": "So many great nobles, things, administrations, so many high chieftains, so many brave nations, so many proud princes, and power so splendid; In a moment, a twinkling, all utterly ended.", + "Author": "Jacobus de Benedictus" + }, + { + "Text": "It is more honourable to be raised to a throne than to be born to one. Fortune bestows the one, merit obtains the other.", + "Author": "Petrarch" + }, + { + "Text": "He who defends everything defends nothing.", + "Author": "Fredrick II, Holy Roman Emperor" + }, + { + "Text": "I am the King of Rome, and above grammar.", + "Author": "Sigismund, Holy Roman Emperor" + }, + { + "Text": "When you see contention amongst your enemies, go and sit at ease with your friends; but when you see them of one mind, string your bow, and place stones upon the ramparts.", + "Author": "Moslih Eddin Saadi" + }, + { + "Text": "Disasters teach us humility.", + "Author": "Saint Anselm, Archbishop of Canterbury" + }, + { + "Text": "I have loved justice and hated inequity; and therefore I die in exile.", + "Author": "Pope Gregory VII, Tuscan Pope" + }, + { + "Text": "It is easy to be brave behind a castle wall.", + "Author": "Welsh proverb" + }, + { + "Text": "In a fight, anger is as good as courage.", + "Author": "Welsh proverb" + }, + { + "Text": "Undertake this journey for the remission of your sins, with the assurance of the imperishable glory of the Kingdom of Heaven!", + "Author": "Urban II, Pope" + }, + { + "Text": "To carry on war, three things are necessary: money, money, and yet more money.", + "Author": "Gian Jacopo Trivulzio" + }, + { + "Text": "Fight to the last gasp.", + "Author": "Shakespeare, King Henry VI, part 1, i, 1" + }, + { + "Text": "I'll fight, till from my bones my flesh be hacked.", + "Author": "Shakespeare, Macbeth, v, 3" + }, + { + "Text": "Once more unto the breach, dear friends, once more!", + "Author": "Shakespeare, King Henry V, iii, 1" + }, + { + "Text": "Let the world tremble as it senses all you are about to accomplish.", + "Author": "Luis Cam贸es, The Lus贸ads, canto 1:15" + }, + { + "Text": "Having done everything practical to make ready for so long a voyage, we prepared our souls to meet death, which is always on a sailor's horizon.", + "Author": "Luis Cam贸es, The Lus贸ads, canto 4:86" + }, + { + "Text": "I speak Spanish to God, Italian to women, French to men, and German to my horse.", + "Author": "King Charles V King of France" + }, + { + "Text": "Had I been present at the creation, I would have given some useful hints for the better ordering of the universe.", + "Author": "Alfonso X, the Wise, King of Castile" + }, + { + "Text": "Every man should arm himself as quickly as he could, and come to the King.", + "Author": "Charles Oman" + }, + { + "Text": "Let those who once fought against brothers and relatives now rightfully fight against barbarians.", + "Author": "Pope Urban II" + }, + { + "Text": "On both sides the troops were commanded by royal princes and they massacred each other mercilessly.", + "Author": "Matthew of Edessa" + }, + { + "Text": "The fighting was fierce and lasted for the greater part of a day; blood ran in rivers.", + "Author": "Matthew of Edessa" + }, + { + "Text": "Many of the common people in the armies were desolate, fearing future poverty; and so they sold their bows and the cowards returned to their own homes.", + "Author": "Fulcher of Chartres" + }, + { + "Text": "Let anyone who has zeal for God come with me! Let us fight for our brothers! Let Heaven's will be done!", + "Author": "Conrad III, ruler of the Holy Roman Empire" + }, + { + "Text": "God has aroused the spirit of kings and princes to root up from the earth the enemies of the Christian name.", + "Author": "Bernard of Clairvaux" + }, + { + "Text": "Whoever devotedly undertakes and performs this most holy journey...shall have the enjoyment of eternal reward from the repayer of all men.", + "Author": "Pope Eugenius III" + }, + { + "Text": "Surrender before you all die by the sword, for I do not wish you to perish.", + "Author": "Imad ad-Din Zanghi" + }, + { + "Text": "We shall not surrender.", + "Author": "Archbishop Hugh" + }, + { + "Text": "Come on soldiers! Guardians and agents of the supreme law! Here is a sacrifice of dogs ready for your swords!", + "Author": "Il-Ghazi" + }, + { + "Text": "At the first sound of the bugle, everyone should make haste to put on arms and armour.", + "Author": "Walter, Chancellor to Roger of Salerno" + }, + { + "Text": "Put an end to so great an evil and arrive at a peace settlement whatever the outcome, and whatever the conditions.", + "Author": "William of Tyre" + }, + { + "Text": "Take up the weapons of the glorious army for the salvation of many thousands.", + "Author": "Adela, wife of Stephen of Blois" + }, + { + "Text": "If they wish to fight today, let them come like men.", + "Author": "Bohemund" + }, + { + "Text": "They assembled from all sides, one after another, with arms and horses and all the panoply of war...", + "Author": "Anna Comnenus, The Alexiad" + }, + { + "Text": "Alas! How many noble and valiant knights we lost.", + "Author": "Fulcher of Chartres" + }, + { + "Text": "There is now no hope of escaping. If you fight you will conquer, but if you flee you will fall.", + "Author": "Fulcher of Chartres" + }, + { + "Text": "When he caught sight of their army, he was terrified and groaned in his mind.", + "Author": "Fulcher of Chartres" + }, + { + "Text": "The Frankish duke wept bitterly to see his soldiers massacred.", + "Author": "Matthew of Edessa" + }, + { + "Text": "He withdrew, himself wounded, and was compelled to return home inglorious, weeping - he who had once vainly hoped for the glory of a triumph.", + "Author": "William of Apulia" + }, + { + "Text": "Therefore gird yourselves manfully and take up joyful arms for the name of Christ.", + "Author": "Bernard of Clairvaux" + }, + { + "Text": "Set out on pilgrimage and triumph gloriously over the infidels in the East.", + "Author": "Orderic Vitalis" + }, + { + "Text": "Following the light of the sun, we left the Old World.", + "Author": "Christopher Columbus" + }, + { + "Text": "You can't wake a person who is pretending to be asleep.", + "Author": "Navajo proverb" + }, + { + "Text": "You can't win them all.", + "Author": "Navajo proverb" + }, + { + "Text": "There is nothing as eloquent as a rattlesnake's tail.", + "Author": "Navajo proverb" + }, + { + "Text": "Wisdom comes only when you stop looking for it and start living the life the Creator intended for you.", + "Author": "Hopi proverb" + }, + { + "Text": "You cannot see the future with tears in your eyes.", + "Author": "Navajo proverb" + }, + { + "Text": "The one who tells the stories rules the world.", + "Author": "Hopi proverb" + }, + { + "Text": "One finger cannot lift a pebble.", + "Author": "Hopi proverb" + }, + { + "Text": "In death, I am born.", + "Author": "Hopi proverb" + }, + { + "Text": "Walk lightly in the spring; Mother Earth is pregnant.", + "Author": "Kiowa proverb" + }, + { + "Text": "After dark all cats are leopards.", + "Author": "Zuni proverb" + }, + { + "Text": "A good man does not take what belongs to someone else.", + "Author": "Pueblo proverb" + }, + { + "Text": "Cherish youth, but trust old age.", + "Author": "Pueblo proverb" + }, + { + "Text": "Force, no matter how concealed, begets resistance.", + "Author": "Lakota proverb" + }, + { + "Text": "The weakness of the enemy makes our strength.", + "Author": "Cherokee proverb" + }, + { + "Text": "All who have died are equal.", + "Author": "Comanche proverb" + }, + { + "Text": "We dared not charge them except all together... For they were so numerous that they could have blinded us with clods of earth if God, of His great mercy, had not aided and protected us.", + "Author": "Bernal D铆az del Castillo" + }, + { + "Text": "Then Cort茅s told them that the King's laws decreed such treachery should not go unpunished, and that they must die for their crime.", + "Author": "Bernal D铆az del Castillo" + }, + { + "Text": "...Then he ordered a musket to be fired, which was the signal we had agreed on; and they received a blow they will remember for ever, for we killed many of them, and the promises of their false idols were of no avail.", + "Author": "Bernal D铆az del Castillo" + }, + { + "Text": "And when we saw all those cities and villages built in the water, and other great towns on dry land, and that straight and level causeway leading to Mexico, we were astounded...", + "Author": "Bernal D铆az del Castillo" + }, + { + "Text": "It was all so wonderful that I do not know how to describe this first glimpse of things never heard of, seen or dreamed of before...", + "Author": "Bernal D铆az del Castillo" + }, + { + "Text": "As for us, we were scarcely four hundred strong, and we well remembered the word and warning...we had received to beware of entering the city of Mexico, since they would kill us as soon as they had us inside.", + "Author": "Bernal D铆az del Castillo" + }, + { + "Text": "What men in all the world have shown such daring?", + "Author": "Hernan Cortes" + }, + { + "Text": "For I assure Your Majesty that if God had not mysteriously assisted us and the victory had gone to Narv谩ez, it would have been the greatest harm that Spaniards had done to each other for a long time past.", + "Author": "Hernan Cortes" + }, + { + "Text": "Furthermore, they had calculated that if 25,000 of them died for every one of us, they would finish with us first, for they were many and we were but few.", + "Author": "Hernan Cortes" + }, + { + "Text": "These Aztecs then came and I told them to observe how they could not triumph, and how each day we did them great harm and killed many of them and we were burning and destroying their city.", + "Author": "Hernan Cortes" + }, + { + "Text": "They no longer had nor could find any arrows, javelins or stones with which to attack us...", + "Author": "Hernan Cortes" + }, + { + "Text": "...and our allies fighting with us were armed with swords and bucklers, and slaughtered so many of them on land and in the water that more than forty thousand were killed or taken that day.", + "Author": "Hernan Cortes" + }, + { + "Text": "So loud was the wailing of the women and children that there was not one man among us whose heart did not bleed at the sound...", + "Author": "Hernan Cortes" + }, + { + "Text": "We went there to serve God, and also to get rich.", + "Author": "Bernal D铆az del Castillo" + }, + { + "Text": "It is not good to look at the clouds or your work will not progress.", + "Author": "Mayan proverb" + }, + { + "Text": "A certain bloody man ... who had been chief of brigands in Scotland", + "Author": "Lanercost the chronicler on William Wallace" + }, + { + "Text": "Evil priests are the cause of the people's ruin, so the ruin of the realm of Scotland had its source within the bosom of its own church", + "Author": "Lanercost the chronicler" + }, + { + "Text": "The common folk of the land followed him as their leader and ruler; the retainers of the great lords adhered to him...", + "Author": "Walter of Guisborough on the leadership of William Wallace" + }, + { + "Text": "... and even though the lords themselves were present with the English king in body, at heart they were on the opposite side.", + "Author": "Walter of Guisborough on the leadership of William Wallace" + }, + { + "Text": "From that time there gathered to him all who were of bitter heart and were weighed down beneath the burden of bondage under the intolerable rule of English domination and he became their leader.", + "Author": "Scottish chronicler Fordun on William Wallace" + }, + { + "Text": "My lord if we cross the bridge we are dead men.", + "Author": "Traitorous Scottish knight Richard Lundie at the battle of Stirling Bridge" + }, + { + "Text": "They flayed him and divided pieces of his skin between them, not as keepsakes but out of hatred of him.", + "Author": "Guisborough on the demise of Hugh Cressingham, treasurer of Scotland, at the hands of the Scots'" + }, + { + "Text": "We shall then defeat the whole lot of them in one go!", + "Author": "King Edward I of England upon hearing of his Welsh allies threats to desert to the Scots'" + }, + { + "Text": "I have brought you to the revel, now dance if you can!", + "Author": "William Wallace, rallying his men before the battle of Falkirk" + }, + { + "Text": "Before them and on every hand foul lanes and deep dykes and many hedges with hills and valleys: a right evil place to approach, as could have been devised.", + "Author": "from the 'Arrivall' on the land near Tewkesbury" + }, + { + "Text": "...Henry seeing he could not resist the multitude of the Scots, turned his horse with the intention of returning to his companions; but Robert opposed him and struck him on the head with an axe.", + "Author": "Account of the duel between Robert the Bruce King of Scotland and English knight Henry de Bohun" + }, + { + "Text": "That field hath eyen, and the wood hath ears.", + "Author": "Geoffrey Chaucer, Canterbury Tales. The Knightes Tale." + }, + { + "Text": "Yet in our ashen cold is fire yreken.", + "Author": "Geoffrey Chaucer, Canterbury Tales. The Reves Prologue." + }, + { + "Text": "In his owen grese I made him frie.", + "Author": "Geoffrey Chaucer, Canterbury Tales. The Reves Tale." + }, + { + "Text": "Once more unto the breach, dear friends, once more; Or close the wall up with our English dead!", + "Author": "William Shakespeare, Henry V, scene i." + }, + { + "Text": "Cry 'God for Harry! England and Saint George!", + "Author": "William Shakespeare, Henry V, scene i." + }, + { + "Text": "Will no one revenge me of the injuries I have sustained from one turbulent priest?", + "Author": "Henry II, King of England" + }, + { + "Text": "O, Thou hast damnable iteration; and art, indeed, able to corrupt a saint.", + "Author": "William Shakespeare, Henry IV, part:I, act i, scene ii" + }, + { + "Text": "There live not three good men unhanged in England; and one of them is fat and grows old.", + "Author": "William Shakespeare, Henry IV, part:I, act ii, scene iv" + }, + { + "Text": "We come here with no peaceful intent, but ready for battle, determined to avenge our wrongs and set our country free.", + "Author": "William Wallace, rallying his men before the battle of Stirling Bridge" + }, + { + "Text": "If you're lucky enough to be Irish, then you're lucky enough.", + "Author": "Irish quote" + }, + { + "Text": "It is easy to be brave behind a castle wall.", + "Author": "Welsh proverb" + }, + { + "Text": "In a fight, anger is as good as courage.", + "Author": "Welsh proverb" + }, + { + "Text": "The better part of valour is discretion.", + "Author": "William Shakespeare, Henry IV, part:I, act v, scene iv" + }, + { + "Text": "Castles were built a stone at a time.", + "Author": "Irish proverb" + }, + { + "Text": "A king's son is not nobler than his food.", + "Author": "Irish proverb" + }, + { + "Text": "Drink is the curse of the land. It makes you fight with your neighbour. It makes you shoot at your landlord and it makes you miss him.", + "Author": "Irish proverb" + }, + { + "Text": "A man is a lion in his own cause.", + "Author": "Scottish proverb" + }, + { + "Text": "Twelve highlanders and a bagpipe make a rebellion", + "Author": "Scottish proverb" + }, + { + "Text": "Tuitio Fidei et Obsequium Pauperum - Support the faithful and serve the poor.", + "Author": "Motto of the Knights Hospitaller" + }, + { + "Text": "A mighty persecutor of the Christian name and faith, a just prince, valiant and wise, and according to the traditions of his race, a religious man.", + "Author": "William of Tyre speaking of Nur ad-Din" + }, + { + "Text": "We should sympathize with their grief and in pity spare them, because they have lost a prince such as the rest of the world does not possess today.", + "Author": "Nur ad-Din on the death of King Baldwin III of Jerusalem" + }, + { + "Text": "After Jerusalem had been captured, Saladin had the cross taken down from the Temple of the Lord and, beating it with clubs, had it carried on display for two days throughout the city.", + "Author": "Letter written by Terricus, acting commander of the Templars to Henry II in 1188" + }, + { + "Text": "If some among them are innocent, it is expedient that they should be assayed like gold in the furnace and purged by proper judicial examination.", + "Author": "Royal letter opening the Enquiry into the Templars 1307" + }, + { + "Text": "After entering Asia Minor, the crusaders experienced the treachery of the Greek emperor. Our forces, however, had indulged in certain excesses and had incurred his displeasure.", + "Author": "William of Newburgh On the failure of the 2nd Crusade" + }, + { + "Text": "And in this battle, brother William, Master of the Templars, lost an eye; and he had lost the other on the previous Shrove Tuesday; and that lord died as a consequence, may God absolve him!", + "Author": "John of Joinville 11th February 1250" + }, + { + "Text": "Then he caused the Temple of the lord to be washed with rose water, inside and out, above and below, and, with an astonishing commotion, had his law acclaimed from on high in four places.", + "Author": "Letter written by Terricus, acting commander of the Templars, speaking of Saladins capture of Jerusalem in 1187" + }, + { + "Text": "On this morning of May 17 rabi II, two days after the victory, the Sultan sought out the Templars and Hospitallers who had been captured and said \"I shall purify the land of these two impure races\".", + "Author": "Recorded by Imad-ad-Din, Secretary and Chancellor to Saladin 1187" + }, + { + "Text": "When the Saracens came to attack ... they threw Greek fire onto the barrier ... and the fire caught easily ... the Turks did not wait for the fire to burn itself out, but rushed upon the Templars among the scorching flames.", + "Author": "John of Joinville 11th February 1250" + }, + { + "Text": "Deus lo vult! - God wills it!", + "Author": "Pope Urban II, speaking about the first Crusade" + }, + { + "Text": "And you should know that there was at least an acre of land behind the Templars, which was so covered with arrows fired by the Saracens, that none of the ground could be seen.", + "Author": "John of Joinville 11th February 1250" + }, + { + "Text": "And by their arrogant and uncontrolled behavior, they had fired the anger of Almighty God as well against them.", + "Author": "William of Newburgh On the failure of the 2nd Crusade" + }, + { + "Text": "If you do not leave this pasturage, Saladin will come and attack you here. And if you retreat from this attack the shame and reproach will be very great.", + "Author": "Gerard of Ridefort, letter written to King Guy" + }, + { + "Text": "The strength of God will enable us, a small but faithful band, to overcome the multitude of the faithless.", + "Author": "Robert Guiscard" + }, + { + "Text": "Let anyone who has zeal for God come with me! Let us fight for our brothers! Let Heaven's will be done!", + "Author": "Conrad III, ruler of the Holy Roman Empire" + }, + { + "Text": "God has aroused the spirit of kings and princes to root up from the earth the enemies of the Christian name.", + "Author": "Bernard of Clairvaux" + }, + { + "Text": "Whoever devotedly undertakes and performs this most holy journey...shall have the enjoyment of eternal reward from the repayer of all men.", + "Author": "Pope Eugenius III" + }, + { + "Text": "Surrender before you all die by the sword, for I do not wish you to perish.", + "Author": "Imad ad-Din Zanghi" + }, + { + "Text": "Come on soldiers! Guardians and agents of the supreme law! Here is a sacrifice of dogs ready for your swords!", + "Author": "Il-Ghazi" + }, + { + "Text": "Put an end to so great an evil and arrive at a peace settlement whatever the outcome, and whatever the conditions.", + "Author": "William of Tyre" + }, + { + "Text": "Take up the weapons of the glorious army for the salvation of many thousands.", + "Author": "Adela, wife of Stephen of Blois" + }, + { + "Text": "If they wish to fight today, let them come like men.", + "Author": "Bohemund" + }, + { + "Text": "They assembled from all sides, one after another, with arms and horses and all the panoply of war...", + "Author": "Anna Comnenus, The Alexiad" + }, + { + "Text": "Therefore gird yourselves manfully and take up joyful arms for the name of Christ.", + "Author": "Bernard of Clairvaux" + }, + { + "Text": "Set out on pilgrimage and triumph gloriously over the infidels in the East.", + "Author": "Orderic Vitali" + }, + { + "Text": "hospitale sancte Marie Theutonicorum Jerosolimitanum - the Hospital of St. Mary of the Germans of Jerusalem", + "Author": "The Teutonic Order" + }, + { + "Text": "The forces of the Polish king were so numerous that there is no number high enough in the human language.", + "Author": "Prussian chronicles" + }, + { + "Text": "And they went against the godless Lithuanians, and thus for our sins they were defeated by the godless pagans, and only one man in ten came back to his home.", + "Author": "The Chronicle of Novgorod, 1237 on the Nemtsii" + }, + { + "Text": "The two armies met, and there was terrible carnage, and the crash of spears and their breaking and the clash of swords smiting as they moved over the frozen sea, and you could not see the ice, it was covered with blood.", + "Author": "Life of Alexandre Nevskii, The Battle of Lake Peipus, 1242" + }, + { + "Text": "With God's help he vanquished them, and the enemy forces turned and fled. But they [Alexandre's army] smote and pursued as if from the air; there was no place to which they [the Crusaders] could flee.", + "Author": "Life of Alexandre Nevskii, The Battle of Lake Peipus, 1242" + }, + { + "Text": "The brothers [Teutonic Knights] fought well enough, but they were nevertheless cut down. Some of those from Dorpat escaped from the battle, and it was their salvation that they had been forced to flee.", + "Author": "Livonian Rhymed Chronicle, The Battle of Lake Peipus, 1242" + }, + { + "Text": "throughout the battle galloped amidst the banners, replacing the exhausted and the fallen by new forces, he watched with utmost alertness as fortunes swayed between the combatants", + "Author": "Dlugosz on Grand Duke Alexander Vytautas, The Battle of Tannenburg, 1410" + }, + { + "Text": "A hundred picked men to plunder and harass the pagans... entering four villages that were not warned of their coming and putting to the sword whoever they find beginning their nights' sleep.", + "Author": "The actions of a Teutonic raider, 1372" + }, + { + "Text": "Hochmeister (Grand Master) head of the Order, elected for life by a General Conclave.", + "Author": "Ranks of the Teutonic Order" + }, + { + "Text": "Grosskomtur (Grand Commander) responsible for much of the administrative side of the Order.", + "Author": "Ranks of the Teutonic Order" + }, + { + "Text": "OrdenMarschall (Order Marshal) also known as the Grand Marshal. Usually resides at the castle of Konigsberg and is responsible for all military operations on the Lithuanian borders.", + "Author": "Ranks of the Teutonic Order" + }, + { + "Text": "Gross Hospittler (Hospitaller) responsible for organising and running the hospices and alm-houses of the Order.", + "Author": "Ranks of the Teutonic Order" + }, + { + "Text": "GrossTressler (Grand Treasurer) resides with the Hochmeister and is responsible for the 'state' treasury of the Order and almost all of their finances.", + "Author": "Ranks of the Teutonic Order" + }, + { + "Text": "OberstTrappier (Quartermaster) governs areas regarded as pacified.", + "Author": "Ranks of the Teutonic Order" + }, + { + "Text": "Landmeister (provincial Master) subordinate to the OrdenMarschall, the Landmeister is responsible for the administration and military operations of his Province.", + "Author": "Ranks of the Teutonic Order" + }, + { + "Text": "Komturei (the commandery) are the basic Order organisational unit. Each Komturei controls a district and Castle.", + "Author": "Ranks of the Teutonic Order" + }, + { + "Text": "He would water his horses in the Rhine", + "Author": "Boast attributed to Grand Duke Vytautus of Lithuania" + }, + { + "Text": "Spurning honesty and God, went against the Christians to destroy the lands of Prussia.", + "Author": "Posilge, the chronicler of the Teutonic Order on Bohemian mercenaries" + }, + { + "Text": "The Grand Duke instilled so much terror in all the knights that they shook like leaves before him.", + "Author": "Dlugosz on Grand Duke Alexander Vytautas" + }, + { + "Text": "At this very moment both armies, giving their war cries, met right in the middle of the valley...", + "Author": "Dlugosz on the battle of Tannenberg" + }, + { + "Text": "But you may rest assured that your childrens children will bewail your deeds.", + "Author": "Heinrich Reuss von Plauen 32nd Grand master of the Teutonic order" + } +] \ No newline at end of file