游戏达人
  
- 贡献度
- 270
- 金元
- 17914
- 积分
- 2871
- 精华
- 0
- 注册时间
- 2014-11-30
|
本帖最后由 fanvalen 于 2023-11-16 23:52 编辑
修改合集
https://bbs.3dmgame.com/thread-6226681-1-1.html
挤奶站
MilkingStationConfig
ranch_station.WorkTime = 20f;//挤奶时间2秒可好
植物粉碎机
MilkPressConfig
complexFabricator.duplicantOperated = true;//无需小人操作改false
new ComplexRecipe.RecipeElement(SimHashes.Water.CreateTag(), 1f)//水需要的太多了几个的都改
complexRecipe3.time = 40f;//粉碎需要的时间4秒可好
小动物直饮器
MilkFeederConfig
storage.capacityKg = 80f;//储存的容量自行修改
然后它的效果
ModifierSet
补水
Effect effect3 = new Effect("HadMilk", CREATURES.MODIFIERS.GOTMILK.NAME, CREATURES.MODIFIERS.GOTMILK.TOOLTIP, 600f, true, true, false, null, -1f, 0f, null, "");
effect3.Add(new AttributeModifier(Db.Get().CritterAttributes.Happiness.Id, 5f, CREATURES.MODIFIERS.GOTMILK.NAME, false, false, true));//这里是幸福度+5
this.effects.Add(effect3);
盛情款待
Effect effect8 = new Effect("MooWellFed", CREATURES.MODIFIERS.MOOWELLFED.NAME, CREATURES.MODIFIERS.MOOWELLFED.TOOLTIP, 1f, true, true, false, null, -1f, 0f, null, "");
effect8.Add(new AttributeModifier(Db.Get().Amounts.Beckoning.deltaAttribute.Id, MooTuning.WELLFED_EFFECT, CREATURES.MODIFIERS.MOOWELLFED.NAME, false, false, true));
effect8.Add(new AttributeModifier(Db.Get().Amounts.MilkProduction.deltaAttribute.Id, MooTuning.MILK_PRODUCTION_PERCENTAGE_PER_SECOND, CREATURES.MODIFIERS.MOOWELLFED.NAME, false, false, true));//这里改1差不多就是10倍
this.effects.Add(effect8);
红色的地方改成你需要的
目前持续时间改不了
咸乳蜡收集器
MilkFatSeparatorConfig.ConfigureBuildingTemplate的末尾加上
加自动丢出
ElementDropper elementDropper = go.AddComponent<ElementDropper>();
elementDropper.emitMass = 10f;
elementDropper.emitTag = new Tag("MilkFat");
elementDropper.emitOffset = new Vector3(0f, 1f, 0f);
漂白石料斗
ChlorinatorConfig
go.AddOrGet<BuildingComplete>().isManuallyOperated = false;//不要操作
complexFabricator.duplicantOperated = false;//不要操作
complexRecipe.time = 40f;//用时自行修改
加上氯气砖白嫖石
ChlorinatorConfig.ConfigureRecipes末尾加
ComplexRecipe.RecipeElement[] array3 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement(SimHashes.ChlorineGas.CreateTag(), 10f)
};
ComplexRecipe.RecipeElement[] array4 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement(ChlorinatorConfig.BLEACH_STONE_TAG, 10f)
};
ComplexRecipe complexRecipe2 = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("Chlorinator", array3, array4), array3, array4);
complexRecipe2.time = 4f;
complexRecipe2.description = string.Format(STRINGS.BUILDINGS.PREFABS.EGGCRACKER.RECIPE_DESCRIPTION, ElementLoader.FindElementByHash(SimHashes.ChlorineGas).name, ElementLoader.FindElementByHash(SimHashes.BleachStone).name);
complexRecipe2.fabricators = new List<Tag>
{
TagManager.Create("Chlorinator")
};
complexRecipe2.nameDisplay = ComplexRecipe.RecipeNameDisplay.Result;
两个10就你们自行更改输入输出了
|
|