Skip to content

Instantly share code, notes, and snippets.

Mehni

Block or report user

Report or block Mehni

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View PythagoreanTriplet.cs
using System;
using System.Collections.Generic;
public static class PythagoreanTriplet
{
public static IEnumerable<(int a, int b, int c)> TripletsWithSum(int sum)
{
for (int i = 0; i < sum; i++)
{
var thing = Triplet(i, sum);
View Dialogue.cs
private IEnumerable<DiaOption> DialogueOptions(Pawn pawn, Caravan caravan, EventDef eventDef, Faction host)
{
string annualExpoDialogueOutcome = "Something went wrong with More Faction Interaction. Contact the mod author with this year's theme. If you bring a log(press CTRL + F12 now), you get a cookie.";
DiaOption diaOption = new DiaOption(text: "MFI_AnnualExpoFirstOption".Translate())
{
action = () => DetermineOutcome(pawn: pawn, caravan: caravan, eventDef: eventDef, annualExpoDialogueOutcome: out annualExpoDialogueOutcome, host),
//linkLateBind = () => DialogueResolver(annualExpoDialogueOutcome)
};
You can’t perform that action at this time.