<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Grauenwolf.TravellerTools.Characters
{
    public class PatronBuilder
    {
        string PickMission(Dice dice)
        {
            switch (dice.D66())
            {
                case 11: return "Assassinate a " + PickTarget(dice);
                case 12: return "Frame a " + PickTarget(dice);
                case 13: return "Destroy a " + PickTarget(dice);
                case 14: return "Steal from a " + PickTarget(dice);
                case 15: return "Aid in a burglary";
                case 16: return "Stop a burglary";
                case 21: return "Retrieve data or an object from a secure facility";
                case 22: return "Discredit a " + PickTarget(dice);
                case 23: return "Find a lost cargo";
                case 24: return "Find a lost person";
                case 25: return "Deceive a " + PickTarget(dice);
                case 26: return "Sabotage a " + PickTarget(dice);
                case 31: return "Transport goods";
                case 32: return "Transport a person";
                case 33: return "Transport data";
                case 34: return "Transport goods secretly";
                case 35: return "Transport goods quickly";
                case 36: return "Transport dangerous goods";
                case 41: return "Investigate a crime";
                case 42: return "Investigate a theft";
                case 43: return "Investigate a murder";
                case 44: return "Investigate a mystery";
                case 45: return "Investigate a " + PickTarget(dice);
                case 46: return "Investigate an event";
                case 51: return "Join an expedition";
                case 52: return "Survey a planet";
                case 53: return "Explore a new system";
                case 54: return "Explore a ruin";
                case 55: return "Salvage a ship";
                case 56: return "Capture a creature";
                case 61: return "Hijack a ship";
                case 62: return "Entertain a noble";
                case 63: return "Protect a " + PickTarget(dice);
                case 64: return "Save a " + PickTarget(dice);
                case 65: return "Aid a " + PickTarget(dice);
                case 66: return "It is a trap – the Patron intends objectbetray the Traveller";
            }
            return "";
        }
        string PickTarget(Dice dice)
        {
            switch (dice.D66())
            {
                case 11: return "Common Trade Goods";<commit_msg>Patrons work in progress<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Grauenwolf.TravellerTools.Characters
{
    public class PatronBuilder
    {
        string PickMission(Dice dice)
        {
            switch (dice.D66())
            {
                case 11: return "Assassinate a " + PickTarget(dice);
                case 12: return "Frame a " + PickTarget(dice);
                case 13: return "Destroy a " + PickTarget(dice);
                case 14: return "Steal from a " + PickTarget(dice);
                case 15: return "Aid in a burglary";
                case 16: return "Stop a burglary";
                case 21: return "Retrieve data or an object from a secure facility";
                case 22: return "Discredit a " + PickTarget(dice);
                case 23: return "Find a lost cargo";
                case 24: return "Find a lost person";
                case 25: return "Deceive a " + PickTarget(dice);
                case 26: return "Sabotage a " + PickTarget(dice);
                case 31: return "Transport goods";
                case 32: return "Transport a person";
                case 33: return "Transport data";
                case 34: return "Transport goods secretly";
                case 35: return "Transport goods quickly";
                case 36: return "Transport dangerous goods";
                case 41: return "Investigate a crime";
                case 42: return "Investigate a theft";
                case 43: return "Investigate a murder";
                case 44: return "Investigate a mystery";
                case 45: return "Investigate a " + PickTarget(dice);
                case 46: return "Investigate an event";
                case 51: return "Join an expedition";
                case 52: return "Survey a planet";
                case 53: return "Explore a new system";
                case 54: return "Explore a ruin";
                case 55: return "Salvage a ship";
                case 56: return "Capture a creature";
                case 61: return "Hijack a ship";
                case 62: return "Entertain a noble";
                case 63: return "Protect a " + PickTarget(dice);
                case 64: return "Save a " + PickTarget(dice);
                case 65: return "Aid a " + PickTarget(dice);
                case 66: return "It is a trap – the Patron intends to betray the Traveller. Fake mission: " + PickMission(dice);
            }
            return "";
        }
        string PickTarget(Dice dice)
        {
            switch (dice.D66())
            {
                case 11: return "Common Trade Goods";
{'fraction_non_alphanumeric': 0.0844204248975028, 'fraction_numerical': 0.029071934401789044, 'mean_word_length': 1.621885686370298, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1793148', 'n_tokens_mistral': 1577, 'n_tokens_neox': 1320, 'n_words': 536}