Currency change modification is broken after todays updateSolved

Error while compiling: TechTreeControl.cs(61,26): error CS1501: No overload for method `Take' takes `4' arguments

There was changes to the tech tree in this latest update. This plugin will need to be updated to reflect those changes. Kindly wait for a plugin update from White Thunder.

Thanks for the report. I didn't see (and currently don't see) the compilation error when I started my test server so I missed this. Will take a look and release an update as soon as I can.

Yes I am aware thank you, ;-) Was just informing him that it was broken incase he didn't know yet.
Edit Ah thanks!

Was just informing you incase you weren't aware. :)

  1. I'm still not seeing any compilation error when updating Rust and Oxide again.
  2. The line 61 doesn't have any method call.
  3. There is no usage of any "Take" method in the plugin.
Do you have a custom modified version of the plugin, or maybe a different plugin with the same name?

Replace this:

var requiredItemAmount = _pluginConfig.GetResearchCostOverride(node.itemDef) ?? ResearchTable.ScrapForResearch(node.itemDef);

with this:

var requiredItemAmount = _pluginConfig.GetResearchCostOverride(node.itemDef)
    ?? ResearchTable.ScrapForResearch(node.itemDef, ResearchTable.ResearchType.TechTree);​
06/10 23:40:51 | TechTreeControl was compiled successfully in 1775ms
06/10 23:40:51 | Loaded plugin Tech Tree Control v0.2.0 by WhiteThunder
 
Awesome, it compiles and works thank you very much!
Locked automatically