New project to manage La Mimine frigate

This commit is contained in:
Greg Burri 2025-09-14 17:19:16 +02:00
parent d0be374ca8
commit 3236ccb05f
10 changed files with 873 additions and 0 deletions

37
Mimine/Components.cs Normal file
View file

@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VRage;
using VRage.Game;
using VRage.Game.ModAPI.Ingame;
namespace IngameScript
{
class ComponentType
{
public readonly MyItemType ItemType;
public readonly MyDefinitionId BlueprintId;
public ComponentType(MyItemType itemType, MyDefinitionId blueprintId)
{
this.ItemType = itemType;
this.BlueprintId = blueprintId;
}
}
class ComponentQuantity
{
public readonly ComponentType ComponentType;
public readonly MyFixedPoint Quantity;
public ComponentQuantity(MyItemType itemType, MyDefinitionId blueprintId, MyFixedPoint quantity)
{
this.ComponentType = new ComponentType(itemType, blueprintId);
this.Quantity = quantity;
}
}
}