1
0
mirror of https://github.com/soarqin/DSP_Mods_TO.git synced 2025-12-19 13:03:32 +08:00

add XianTu

This commit is contained in:
2024-05-03 00:28:53 +08:00
parent 13e9a200b5
commit 8f5585081d
74 changed files with 2532 additions and 4589 deletions

View File

@@ -0,0 +1,32 @@
using System.Collections.Generic;
namespace ToolScripts
{
public static class _BlueprintBuildingExpands
{
static _BlueprintBuildingExpands()
{
BeltProtoDict.Add(2001, null);
BeltProtoDict.Add(2002, null);
BeltProtoDict.Add(2003, null);
SoltProtoDict.Add(2011, null);
SoltProtoDict.Add(2012, null);
SoltProtoDict.Add(2013, null);
SoltProtoDict.Add(2014, null);
}
public static bool IsBelt(this BlueprintBuilding bb)
{
return BeltProtoDict.ContainsKey(bb.itemId);
}
public static bool IsSlot(this BlueprintBuilding bb)
{
return SoltProtoDict.ContainsKey(bb.itemId);
}
private static readonly Dictionary<int, ItemProto> BeltProtoDict = new();
private static readonly Dictionary<int, ItemProto> SoltProtoDict = new();
}
}