using System.Collections.Generic;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
public static void Main()
blueprintname: Data Analyzer I Blueprint
maxProductionLimit: 100";
var deserializer = new Deserializer();
deserializer.Deserialize<Dictionary<int, Blueprint>>(yaml);
[YamlMember(typeof(Activities), Alias = "activities")]
public Activities Activities { get; set; }
[YamlMember(typeof(Copying), Alias = "copying")]
public Copying Copying { get; set; }
[YamlMember(typeof(Copying), Alias = "invention")]
public Invention Invention { get; set; }
[YamlMember(typeof(int), Alias = "time")]
public int Time { get; set; }
[YamlMember(typeof(List<Materials>), Alias = "quantity")]
public List<Materials> Materials { get; set; }
public List<Products> Products { get; set; }
public List<Skills> Skils { get; set; }
[YamlMember(typeof(int), Alias = "quantity")]
public int Quantity { get; set; }
[YamlMember(typeof(string), Alias = "name")]
public string Name { get; set; }
[YamlMember(typeof(int), Alias = "quantity")]
public int Quantity { get; set; }
[YamlMember(typeof(string), Alias = "name")]
public string Name { get; set; }
[YamlMember(typeof(double), Alias = "probability")]
public double Probability { get; set; }
[YamlMember(typeof(int), Alias = "levels")]
public int Levels { get; set; }
[YamlMember(typeof(string), Alias = "name")]
public string Name { get; set; }