游戏达人
  
- 贡献度
- 270
- 金元
- 17914
- 积分
- 2871
- 精华
- 0
- 注册时间
- 2014-11-30
|
本帖最后由 fanvalen 于 2024-7-7 21:57 编辑
<this.carePackages = new CarePackageInfo[]
{
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.SandStone).tag.ToString(), 1000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Dirt).tag.ToString(), 500f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Algae).tag.ToString(), 500f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.OxyRock).tag.ToString(), 100f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Water).tag.ToString(), 2000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Sand).tag.ToString(), 3000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Carbon).tag.ToString(), 3000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Fertilizer).tag.ToString(), 3000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Ice).tag.ToString(), 4000f, () => this.CycleCondition(12)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Brine).tag.ToString(), 2000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.SaltWater).tag.ToString(), 2000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Rust).tag.ToString(), 1000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Cuprite).tag.ToString(), 2000f, () => this.CycleCondition(12) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Cuprite).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.GoldAmalgam).tag.ToString(), 2000f, () => this.CycleCondition(12) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.GoldAmalgam).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Copper).tag.ToString(), 400f, () => this.CycleCondition(24) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Copper).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Iron).tag.ToString(), 400f, () => this.CycleCondition(24) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Iron).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Lime).tag.ToString(), 150f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Lime).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Polypropylene).tag.ToString(), 500f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Polypropylene).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Glass).tag.ToString(), 200f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Glass).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Steel).tag.ToString(), 100f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Steel).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Ethanol).tag.ToString(), 100f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Ethanol).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.AluminumOre).tag.ToString(), 100f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.AluminumOre).tag)),
new CarePackageInfo("PrickleGrassSeed", 3f, null),
new CarePackageInfo("LeafyPlantSeed", 3f, null),
new CarePackageInfo("CactusPlantSeed", 3f, null),
new CarePackageInfo("MushroomSeed", 1f, null),
new CarePackageInfo("PrickleFlowerSeed", 2f, null),
new CarePackageInfo("OxyfernSeed", 1f, null),
new CarePackageInfo("ForestTreeSeed", 1f, null),
new CarePackageInfo(BasicFabricMaterialPlantConfig.SEED_ID, 3f, () => this.CycleCondition(24)),
new CarePackageInfo("SwampLilySeed", 1f, () => this.CycleCondition(24)),
new CarePackageInfo("ColdBreatherSeed", 1f, () => this.CycleCondition(24)),
new CarePackageInfo("SpiceVineSeed", 1f, () => this.CycleCondition(24)),
new CarePackageInfo("FieldRation", 5f, null),
new CarePackageInfo("BasicForagePlant", 6f, null),
new CarePackageInfo("CookedEgg", 3f, () => this.CycleCondition(6)),
new CarePackageInfo(PrickleFruitConfig.ID, 3f, () => this.CycleCondition(12)),
new CarePackageInfo("FriedMushroom", 3f, () => this.CycleCondition(24)),
new CarePackageInfo("CookedMeat", 3f, () => this.CycleCondition(48)),
new CarePackageInfo("SpicyTofu", 3f, () => this.CycleCondition(48)),
new CarePackageInfo("LightBugBaby", 1f, null),
new CarePackageInfo("HatchBaby", 1f, null),
new CarePackageInfo("PuftBaby", 1f, null),
new CarePackageInfo("SquirrelBaby", 1f, null),
new CarePackageInfo("CrabBaby", 1f, null),
new CarePackageInfo("DreckoBaby", 1f, () => this.CycleCondition(24)),
new CarePackageInfo("Pacu", 8f, () => this.CycleCondition(24)),
new CarePackageInfo("MoleBaby", 1f, () => this.CycleCondition(48)),
new CarePackageInfo("OilfloaterBaby", 1f, () => this.CycleCondition(48)),
new CarePackageInfo("LightBugEgg", 3f, null),
new CarePackageInfo("HatchEgg", 3f, null),
new CarePackageInfo("PuftEgg", 3f, null),
new CarePackageInfo("OilfloaterEgg", 3f, () => this.CycleCondition(12)),
new CarePackageInfo("MoleEgg", 3f, () => this.CycleCondition(24)),
new CarePackageInfo("DreckoEgg", 3f, () => this.CycleCondition(24)),
new CarePackageInfo("SquirrelEgg", 2f, null),
new CarePackageInfo("BasicCure", 3f, null),
new CarePackageInfo("CustomClothing", 1f, null, "SELECTRANDOM"),
new CarePackageInfo("Funky_Vest", 1f, null)
};
本体打印门能刷的和条件this.CycleCondition(24)//这种就是多少周期后出现24
this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Cuprite).tag)//这种就是发现后就出现
以上两种条件有或or且的
this.carePackages = new CarePackageInfo[]
{
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.SandStone).tag.ToString(), 1000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Dirt).tag.ToString(), 500f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Algae).tag.ToString(), 500f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.OxyRock).tag.ToString(), 100f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Water).tag.ToString(), 2000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Sand).tag.ToString(), 3000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Carbon).tag.ToString(), 3000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Fertilizer).tag.ToString(), 3000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Ice).tag.ToString(), 4000f, () => this.CycleCondition(12)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Brine).tag.ToString(), 2000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.SaltWater).tag.ToString(), 2000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Rust).tag.ToString(), 1000f, null),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Cuprite).tag.ToString(), 2000f, () => this.CycleCondition(12) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Cuprite).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.GoldAmalgam).tag.ToString(), 2000f, () => this.CycleCondition(12) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.GoldAmalgam).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Copper).tag.ToString(), 400f, () => this.CycleCondition(24) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Copper).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Iron).tag.ToString(), 400f, () => this.CycleCondition(24) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Iron).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Lime).tag.ToString(), 150f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Lime).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Polypropylene).tag.ToString(), 500f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Polypropylene).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Glass).tag.ToString(), 200f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Glass).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Steel).tag.ToString(), 100f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Steel).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.Ethanol).tag.ToString(), 100f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.Ethanol).tag)),
new CarePackageInfo(ElementLoader.FindElementByHash(SimHashes.AluminumOre).tag.ToString(), 100f, () => this.CycleCondition(48) && this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.AluminumOre).tag)),
new CarePackageInfo("PrickleGrassSeed", 3f, null),
new CarePackageInfo("LeafyPlantSeed", 3f, null),
new CarePackageInfo("CactusPlantSeed", 3f, null),
new CarePackageInfo("MushroomSeed", 1f, () => this.DiscoveredCondition(ElementLoader.FindElementByHash(SimHashes.SlimeMold).tag)),
new CarePackageInfo("PrickleFlowerSeed", 2f, () => this.DiscoveredCondition("PrickleFlowerSeed")),
new CarePackageInfo("OxyfernSeed", 1f, null),
new CarePackageInfo("ForestTreeSeed", 1f, () => this.DiscoveredCondition("ForestTreeSeed")),
new CarePackageInfo(BasicFabricMaterialPlantConfig.SEED_ID, 3f, () => this.CycleCondition(24) && this.DiscoveredCondition(BasicFabricMaterialPlantConfig.SEED_ID)),
new CarePackageInfo("SwampLilySeed", 1f, () => this.CycleCondition(24) && this.DiscoveredCondition("SwampLilySeed")),
new CarePackageInfo("ColdBreatherSeed", 1f, () => this.CycleCondition(24) && this.DiscoveredCondition("ColdBreatherSeed")),
new CarePackageInfo("SpiceVineSeed", 1f, () => this.CycleCondition(24) && this.DiscoveredCondition("SpiceVineSeed")),
new CarePackageInfo("FieldRation", 5f, null),
new CarePackageInfo("BasicForagePlant", 6f, () => this.DiscoveredCondition("BasicForagePlant")),
new CarePackageInfo("ForestForagePlant", 2f, () => this.DiscoveredCondition("ForestForagePlant")),
new CarePackageInfo("SwampForagePlant", 2f, () => this.DiscoveredCondition("SwampForagePlant")),
new CarePackageInfo("CookedEgg", 3f, () => this.CycleCondition(6)),
new CarePackageInfo(PrickleFruitConfig.ID, 3f, () => this.CycleCondition(12) && this.DiscoveredCondition(PrickleFruitConfig.ID)),
new CarePackageInfo("FriedMushroom", 3f, () => this.CycleCondition(24) && this.DiscoveredCondition("FriedMushroom")),
new CarePackageInfo("CookedMeat", 3f, () => this.CycleCondition(48)),
new CarePackageInfo("SpicyTofu", 3f, () => this.CycleCondition(48) && this.DiscoveredCondition("SpicyTofu")),
new CarePackageInfo("WormSuperFood", 2f, () => this.DiscoveredCondition("WormPlantSeed")),
new CarePackageInfo("LightBugBaby", 1f, () => this.DiscoveredCondition("LightBugEgg")),
new CarePackageInfo("HatchBaby", 1f, () => this.DiscoveredCondition("HatchEgg")),
new CarePackageInfo("PuftBaby", 1f, () => this.DiscoveredCondition("PuftEgg")),
new CarePackageInfo("SquirrelBaby", 1f, () => this.DiscoveredCondition("SquirrelEgg") || this.CycleCondition(24)),
new CarePackageInfo("CrabBaby", 1f, () => this.DiscoveredCondition("CrabEgg")),
new CarePackageInfo("DreckoBaby", 1f, () => this.CycleCondition(24) && this.DiscoveredCondition("DreckoEgg")),
new CarePackageInfo("Pacu", 8f, () => this.CycleCondition(24) && this.DiscoveredCondition("PacuEgg")),
new CarePackageInfo("MoleBaby", 1f, () => this.CycleCondition(48) && this.DiscoveredCondition("MoleEgg")),
new CarePackageInfo("OilfloaterBaby", 1f, () => this.CycleCondition(48) && this.DiscoveredCondition("OilfloaterEgg")),
new CarePackageInfo("DivergentBeetleBaby", 1f, () => this.CycleCondition(48) && this.DiscoveredCondition("DivergentBeetleEgg")),
new CarePackageInfo("StaterpillarBaby", 1f, () => this.CycleCondition(48) && this.DiscoveredCondition("StaterpillarEgg")),
new CarePackageInfo("LightBugEgg", 3f, () => this.DiscoveredCondition("LightBugEgg")),
new CarePackageInfo("HatchEgg", 3f, () => this.DiscoveredCondition("HatchEgg")),
new CarePackageInfo("PuftEgg", 3f, () => this.DiscoveredCondition("PuftEgg")),
new CarePackageInfo("OilfloaterEgg", 3f, () => this.CycleCondition(12) && this.DiscoveredCondition("OilfloaterEgg")),
new CarePackageInfo("MoleEgg", 3f, () => this.CycleCondition(24) && this.DiscoveredCondition("MoleEgg")),
new CarePackageInfo("DreckoEgg", 3f, () => this.CycleCondition(24) && this.DiscoveredCondition("DreckoEgg")),
new CarePackageInfo("SquirrelEgg", 2f, () => this.DiscoveredCondition("SquirrelEgg") || this.CycleCondition(24)),
new CarePackageInfo("DivergentBeetleEgg", 2f, () => this.CycleCondition(48) && this.DiscoveredCondition("DivergentBeetleEgg")),
new CarePackageInfo("StaterpillarEgg", 2f, () => this.CycleCondition(48) && this.DiscoveredCondition("StaterpillarEgg")),
new CarePackageInfo("BasicCure", 3f, null),
new CarePackageInfo("CustomClothing", 1f, null, "SELECTRANDOM"),
new CarePackageInfo("Funky_Vest", 1f, null)
};
dlc打印门可以出现的
修改合集
https://bbs.3dmgame.com/thread-6226681-1-1.html |
|