<commit_before>﻿using System;
using spaar.ModLoader;
using UnityEngine;
using spaar.Mods.Automatron;
using spaar.Mods.Automatron.Actions;

namespace Sylver.AutomatronExtention
{

    // If you need documentation about any of these values or the mod loader
    // in general, take a look at https://spaar.github.io/besiege-modloader.

    public class AutomatronBlockSpawn : Mod
    {
        public override string Name { get; } = "AutomatronBlockSpawn";
        public override string DisplayName { get; } = "AutomatronBlockSpawn";
        public override string Author { get; } = "Sylver/SSsylver (thank's to wang_w571 and spaar for help and code re-use)";
        public override Version Version { get; } = new Version(0, 1, 0);

        // You don't need to override this, if you leavie it out it will default
        // to an empty string.
        public override string VersionExtra { get; } = "";

        // You don't need to override this, if you leave it out it will default
        // to the current version.
        public override string BesiegeVersion { get; } = "v0.45";

        // You don't need to override this, if you leave it out it will default
        // to false.
        public override bool CanBeUnloaded { get; } = false;

        // You don't need to override this, if you leave it out it will default
        // to false.
        public override bool Preload { get; } = false;


        public override void OnLoad()
        {
            spaar.Mods.Automatron.Action.ActionTypes.Add("Spawn Block", typeof(ActionBlockSpawner));
        }

        public override void OnUnload()
        {
            // Your code here
            // e.g. save configuration, destroy your objects if CanBeUnloaded is true etc
        }
    }
}
<commit_msg>0.2.0 release<commit_after>﻿using System;
using spaar.ModLoader;
using UnityEngine;
using spaar.Mods.Automatron;
using spaar.Mods.Automatron.Actions;

namespace Sylver.AutomatronExtention
{

    // If you need documentation about any of these values or the mod loader
    // in general, take a look at https://spaar.github.io/besiege-modloader.

    public class AutomatronBlockSpawn : Mod
    {
        public override string Name { get; } = "AutomatronBlockSpawn";
        public override string DisplayName { get; } = "AutomatronBlockSpawn";
        public override string Author { get; } = "Sylver/SSsylver (thank's to spaar, ITR and wang_w571  for help and code re-use)";
        public override Version Version { get; } = new Version(0, 2, 0);

        // You don't need to override this, if you leavie it out it will default
        // to an empty string.
        public override string VersionExtra { get; } = "";

        // You don't need to override this, if you leave it out it will default
        // to the current version.
        public override string BesiegeVersion { get; } = "v0.45";

        // You don't need to override this, if you leave it out it will default
        // to false.
        public override bool CanBeUnloaded { get; } = false;

        // You don't need to override this, if you leave it out it will default
        // to false.
        public override bool Preload { get; } = false;


        public override void OnLoad()
        {
            spaar.Mods.Automatron.Action.ActionTypes.Add("Spawn Block", typeof(ActionBlockSpawner));
        }

        public override void OnUnload()
        {
            // Your code here
            // e.g. save configuration, destroy your objects if CanBeUnloaded is true etc
        }
    }
}

{'fraction_non_alphanumeric': 0.08554488989271598, 'fraction_numerical': 0.005928853754940711, 'mean_word_length': 2.329887218045113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4729565', 'n_tokens_mistral': 1028, 'n_tokens_neox': 989, 'n_words': 380}