Is it possible to get quick smelt and furnace splitter to be working together? As the furnace splitter shows one thing and quick smelt then makes it go faster and then the numbers are not correct.
Compatibility with Quick Smelt pluginSuggestion
This already works together with each other I use it on 30 of my servers. It is not perfect because of how Quick Smelt can be changed on values but they do work together
Okay, thanks
Can you PM me the modified Version ? @ccdog
Was is possible to get some modified files in pm? :) So i can fix my issues.
I'd also like to get the modified version @ccdog :)
yeah I never got the patch !
Ah I see, it's been quite some time since those posts.
anyone have the patch?
nope!
I made some code changes to optionally enable QuickSmelt compatibility. In particular, I added configurable FuelUsage and FuelSpeed parameters. By default, QuickSmelt will need 0.5 for FuelUsage and 1.0 for FuelSpeed. If you change any multipliers in your QuickSmelt config, you will need to update the FurnaceSplitter config accordingly. For example, if you increase the QuickSmelt global speed multiplier to 2, you will need to increase FuelSpeed to 2 in the FurnaceSplitter config.
Here are the parts of the plugin code that I modified.
Here are the parts of the plugin code that I modified.
private class PluginConfig
{
//[JsonRequired]
public Vector2 UiPosition { get; set; } = new Vector2(0.6505f, 0.022f);
//[JsonRequired]
public float FuelUsage { get; set; } = 1.0f;
//[JsonRequired]
public float FuelSpeed { get; set; } = 1.0f;
}
public OvenInfo GetOvenInfo(BaseOven oven)
{
OvenInfo result = new OvenInfo();
var smeltTimes = GetSmeltTimes(oven);
if (smeltTimes.Count > 0)
{
var longestStack = smeltTimes.OrderByDescending(kv => kv.Value).First();
float fuelUnits = oven.fuelType.GetComponent<ItemModBurnable>().fuelAmount;
float neededFuel = (float)Math.Ceiling(config.FuelSpeed * longestStack.Value * (oven.cookingTemperature / 200.0f) / fuelUnits);
result.FuelNeeded = neededFuel;
result.ETA = longestStack.Value;
}
return result;
}
private float GetSmeltTime(ItemModCookable cookable, int amount)
{
float smeltTime = cookable.cookTime * amount * config.FuelUsage / config.FuelSpeed;
return smeltTime;
} Trying to see if the time can be adjusted while using quick smelt?
If anyone has a modded version please pm me. Thanks
@FastBurst , Thanks for your plugin,
don't you want to add the option ppl asked for here ? it could be great :)
so much ppl asking for the unknown "modded" version, it's not very safe imho
Hi,
could someone send me the modified plugin please? thanks in advance