

Description
Making sure you set the price of your products is an important part of turning a profit. Often this means using a community made spreadsheet that ends up useless on modified servers as now you would need to edit all the recipes to make it work. Modded items may even need to be added laboriously by hand. Or maybe you have a complex chain of production and manually working that out ends up way too tedious and even spreadsheets can easily meet their limits.
How about instead you could use something more streamlined and easier to understand? Well, this mod may be the solution to that problem!
This is a webpage mod that adds a new section to your Eco server: the Cost Calculator. The cost calculator page provides a node based interface for you to design your particular production flow for cost and ingredients calculations.
THE COST CALCULATOR SUPPORTS THE FOLLOWING MAIN FEATURES:
* Items, tables and recipes get pulled directly from the server. No need for custom entries to use modded items or modified recipes.
* Multiple currency support. No global currency that everyone uses? No problem! Set values to the currency it actually is instead of having to convert.
* Fuel costs are taken into account. Crafting a bunch of stuff in the kiln but don’t know how much wood you need to burn? Not here, set your fuel and it gets added to the bill of materials.
- Labor costs can be included. Need to charge for the food you're chowing through? You can easily apply a value your labor, which changes depending on your skill reductions.
* Bill Of Materials. A node that gives you all the ingredients you will need to craft something, spanning as many crafts as you like.
* Saving. This is an obvious feature, but logging into the server webpage from Eco allows you to save your graph to the server under your character.
* Import and Export graphs. The server keeps your graph in its own storage, but you can also export your setup and save it to your own computer. That way you can easily transfer your graph to a new server or share it with your friends!
ADDITIONAL CONSIDERATIONS:
This mod replaces some data in the Server/WebClient/WebBin/js/app.[hex number].js file at runtime in order to add itself to the webpage. Editing this file may cause the Cost Calculator to fail to add itself to the site, so make sure your changes still allow the mod to work. The content of the Server/WebClient/WebBin/js/app.[hex number].js file is not edited directly and the additional data added to it is only served to users of the webpage.
As this mod pulls all item, recipe and table information from the server and uses the localized names, however the interface itself does not have localizations itself.
INSTALLATION:
To install, simply place the included .dll file anywhere into your Mods directory. If the server starts up correctly and you don't see the new tab, you may have to clear your cache or try incognito mode. If it still doesn't show up, try deleting the Server/WebClient/WebBin folder and verifying files on steam or replacing the directory from a fresh copy of the Eco server.
UNINSTALLING:
Uninstalling is just as simple as deleting the mod .dll from your Mods directory.
BUG REPORTING:
If you don't mind using github, then please report bugs here. Otherwise, you can mention "cemeceme" on the Eco discord, and I'll see what I can do.
Please include any stack traces or errors that get printed into your browsers console.
Development will most likely be slow however.
DONATIONS:
Like the mod and want to show your support? Consider buying me a coffee.
Ratings & reviews
Sign in to leave a rating or comment.