示例#1
0
        public static void ApplySettings()
        {
            BuildableDef basesettings = TerrainDef.Named("TilledSoil");

            basesettings.description = ("Tilled Soil, for planting and growing crops on.");
            basesettings.fertility   = TilledSoilMod.settings.Fertility;
            basesettings.SetStatBaseValue(StatDefOf.WorkToBuild, (float)settings.workamount);

            //ThingDef.Named(Thing.TilledSoil).SetStatBaseValue(StatDefOf.WorkToBuild, (float)thing.workProp.numInt);
        }