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

注册 登录

QQ登录

只需一步,快速开始

查看: 1520|回复: 3
打印 上一主题 下一主题

[原创] 废物香料研磨变全能,照猫画虎还是可以的

[复制链接]

141

主题

857

帖子

2872

积分

游戏达人

Rank: 7Rank: 7Rank: 7

贡献度
270
金元
17919
积分
2872
精华
0
注册时间
2014-11-30
跳转到指定楼层
主题
发表于 2023-3-4 00:02 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 fanvalen 于 2023-11-8 21:25 编辑


先看效果图的
Database.Spices下添加
为了方便我把所有的材料都改成了米虱还不需要额外的其他材料
public Spices(ResourceSet parent) : base("Spices", parent)
                {
                        this.PreservingSpice = new Spice(this, "PRESERVING_SPICE", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.961f, 0.827f, 0.29f), Color.white, new AttributeModifier("RotDelta", 5f, "Spices", false, false, true), null, "spice_recipe1", null);
                        this.PilotingSpice = new Spice(this, "PILOTING_SPICE", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.039f, 0.725f, 0.831f), Color.white, null, new AttributeModifier("SpaceNavigation", 100f, "Spices", false, false, true), "spice_recipe2", DlcManager.AVAILABLE_EXPANSION1_ONLY);
                        this.StrengthSpice = new Spice(this, "STRENGTH_SPICE", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.588f, 0.278f, 0.788f), Color.white, null, new AttributeModifier("Strength", 100f, "Spices", false, false, true), "spice_recipe3", null);
                        this.MachinerySpice = new Spice(this, "MACHINERY_SPICE", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Machinery", 100f, "Spices", false, false, true), "spice_recipe4", null);
                        this.MachinerySpice = new Spice(this, "dig", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Digging", 100f, "Spices", false, false, true), "spice_recipe1", null);
                        this.MachinerySpice = new Spice(this, "Construction", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Construction", 100f, "Spices", false, false, true), "spice_recipe2", null);
                        this.MachinerySpice = new Spice(this, "Athletics", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Athletics", 100f, "Spices", false, false, true), "spice_recipe3", null);
                        this.MachinerySpice = new Spice(this, "Learning", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Learning", 100f, "Spices", false, false, true), "spice_recipe4", null);
                        this.MachinerySpice = new Spice(this, "Cooking", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Cooking", 100f, "Spices", false, false, true), "spice_recipe1", null);
                        this.MachinerySpice = new Spice(this, "Art", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Art", 100f, "Spices", false, false, true), "spice_recipe2", null);
                        this.MachinerySpice = new Spice(this, "Botanist", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Botanist", 100f, "Spices", false, false, true), "spice_recipe3", null);
                        this.MachinerySpice = new Spice(this, "Ranching", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Ranching", 100f, "Spices", false, false, true), "spice_recipe4", null);
                        this.MachinerySpice = new Spice(this, "Caring", new Spice.Ingredient[]
                        {
                                new Spice.Ingredient
                                {
                                        IngredientSet = new Tag[]
                                        {
                                                "BasicSingleHarvestPlantSeed"
                                        },
                                        AmountKG = 0.1f
                                }
                        }, new Color(0.788f, 0.443f, 0.792f), Color.white, null, new AttributeModifier("Caring", 100f, "Spices", false, false, true), "spice_recipe4", null);
                }

汉化
STRINGS.ITEMS.SPICES
public class CONSTRUCTION
                        {
                                public static LocString NAME = UI.FormatAsLink("建造", "Construction");

                                public static LocString DESC = "临时增加建造属性.";
                        }

                        public class DIG
                        {
                                public static LocString NAME = UI.FormatAsLink("挖掘", "DIG");

                                public static LocString DESC = "临时增加挖掘属性.";
                        }

                        public class ATHLETICS
                        {
                                public static LocString NAME = UI.FormatAsLink("运动", "Athletics");

                                public static LocString DESC = "临时增加运动属性.";
                        }

                        public class LEARNING
                        {
                                public static LocString NAME = UI.FormatAsLink("科学", "Learning");

                                public static LocString DESC = "临时增加科学属性.";
                        }

                        public class COOKING
                        {
                                public static LocString NAME = UI.FormatAsLink("烹饪", "Cooking");

                                public static LocString DESC = "临时增加烹饪属性.";
                        }

                        public class CARING
                        {
                                public static LocString NAME = UI.FormatAsLink("医疗", "Caring");

                                public static LocString DESC = "临时增加医疗属性.";
                        }

                        public class ART
                        {
                                public static LocString NAME = UI.FormatAsLink("艺术", "Art");

                                public static LocString DESC = "临时增加艺术属性.";
                        }

                        public class BOTANIST
                        {
                                public static LocString NAME = UI.FormatAsLink("农业", "Botanist");

                                public static LocString DESC = "临时增加农业属性.";
                        }

                        public class RANCHING
                        {
                                public static LocString NAME = UI.FormatAsLink("照料", "Ranching");

                                public static LocString DESC = "临时增加畜牧属性.";
                        }

SpiceGrinderWorkable.OnStartWork改一下研磨时间
base.SetWorkTime(num * 5f);改成
base.SetWorkTime(1f);//只需1秒



评分

1

查看全部评分

回复

使用道具 举报

498

主题

5万

帖子

13万

积分

游戏终结者

Rank: 14Rank: 14Rank: 14Rank: 14

贡献度
4909
金元
1161234
积分
135759
精华
0
注册时间
2009-11-23

龙年勋章3DMer(永久)

舒服的沙发
发表于 2023-3-4 11:59 | 只看该作者
感谢分享
回复 支持 反对

使用道具 举报

163

主题

1万

帖子

1万

积分

资深玩家

Rank: 9Rank: 9Rank: 9

贡献度
91
金元
125939
积分
12958
精华
0
注册时间
2015-3-18
硬硬的板凳
发表于 2023-3-5 13:02 | 只看该作者

感谢分享
回复 支持 反对

使用道具 举报

0

主题

903

帖子

1024

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
10235
积分
1024
精华
0
注册时间
2012-1-6
冰凉的地板
发表于 2023-11-7 19:47 | 只看该作者
所以怎么改 或者上传创意工坊?
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-3-28 02:22 , Processed in 0.032199 second(s), 19 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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