112 lines
3.0 KiB
C#
112 lines
3.0 KiB
C#
using RimWorld;
|
|
using Verse;
|
|
|
|
namespace ArachnaeSwarm
|
|
{
|
|
// 将 DefOf 类放在这里,以便在命名空间内共享
|
|
[DefOf]
|
|
public static class ARA_TrainableDefOf
|
|
{
|
|
public static TrainableDef ARA_Sowing;
|
|
public static TrainableDef ARA_Cleaning;
|
|
|
|
static ARA_TrainableDefOf()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ARA_TrainableDefOf));
|
|
}
|
|
}
|
|
[DefOf]
|
|
public static class ARA_HediffDefOf
|
|
{
|
|
public static HediffDef ARA_HiveMindMaster;
|
|
public static HediffDef ARA_HiveMindDrone;
|
|
public static HediffDef ARA_HiveMindWorker;
|
|
public static HediffDef ARA_GestaltNetworkOverload;
|
|
public static HediffDef ARA_SwarmSpell_Overdrive;
|
|
|
|
static ARA_HediffDefOf()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ARA_HediffDefOf));
|
|
}
|
|
}
|
|
[DefOf]
|
|
public static class ARA_JobDefOf
|
|
{
|
|
public static JobDef ARA_OperateIncubator;
|
|
public static JobDef ARA_OperateEquipmentIncubator;
|
|
public static JobDef ARA_SwarmMaintain;
|
|
public static JobDef ARA_ExtractHoney;
|
|
public static JobDef ARA_StripChitin;
|
|
public static JobDef ARA_FeedWithHoney;
|
|
public static JobDef ARA_Job_Launch_Proj;
|
|
|
|
static ARA_JobDefOf()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ARA_JobDefOf));
|
|
}
|
|
}
|
|
[DefOf]
|
|
public static class ARA_EffecterDefOf
|
|
{
|
|
public static EffecterDef EatVegetarian;
|
|
|
|
static ARA_EffecterDefOf()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ARA_EffecterDefOf));
|
|
}
|
|
}
|
|
[DefOf]
|
|
public static class ARA_SoundDefOf
|
|
{
|
|
public static SoundDef AcidSpray_Resolve;
|
|
|
|
static ARA_SoundDefOf()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ARA_SoundDefOf));
|
|
}
|
|
}
|
|
|
|
[DefOf]
|
|
public static class ARA_PawnRelationDefOf
|
|
{
|
|
public static PawnRelationDef ARA_GestaltOverseer;
|
|
|
|
static ARA_PawnRelationDefOf()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ARA_PawnRelationDefOf));
|
|
}
|
|
}
|
|
|
|
[DefOf]
|
|
public static class ARA_ThoughtDefOf
|
|
{
|
|
//public static ThoughtDef ARA_GestaltNetworkOverload;
|
|
|
|
static ARA_ThoughtDefOf()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ARA_ThoughtDefOf));
|
|
}
|
|
}
|
|
|
|
[DefOf]
|
|
public static class ARA_StatDefOf
|
|
{
|
|
public static StatDef ARA_GestaltBandwidth;
|
|
public static StatDef ARA_GestaltBandwidthCost;
|
|
public static StatDef ARA_SwarmSpell_Cooldown_Delay;
|
|
public static StatDef ARA_SwarmSpell_Level;
|
|
static ARA_StatDefOf()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ARA_StatDefOf));
|
|
}
|
|
}
|
|
[DefOf]
|
|
public static class ARA_ThingDefOf
|
|
{
|
|
public static ThingDef Mote_SparkSimple;
|
|
static ARA_ThingDefOf()
|
|
{
|
|
DefOfHelper.EnsureInitializedInCtor(typeof(ARA_ThingDefOf));
|
|
}
|
|
}
|
|
} |