3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 1035|回复: 1
打印 上一主题 下一主题

[原创] 咸乳相关建筑修改

[复制链接]

141

主题

857

帖子

2871

积分

游戏达人

Rank: 7Rank: 7Rank: 7

贡献度
270
金元
17914
积分
2871
精华
0
注册时间
2014-11-30
跳转到指定楼层
主题
发表于 2023-8-9 00:45 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 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就你们自行更改输入输出了








回复

使用道具 举报

141

主题

857

帖子

2871

积分

游戏达人

Rank: 7Rank: 7Rank: 7

贡献度
270
金元
17914
积分
2871
精华
0
注册时间
2014-11-30
舒服的沙发
 楼主| 发表于 2023-8-9 22:18 | 只看该作者

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-3-27 15:41 , Processed in 0.028915 second(s), 18 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表