SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Eco

Eco Price Calculator (EPC)

By GeneralOst

Utility commands to help you figure out what the cost of item production is for you.

Description

EPC, THE ECO PRICE CALCULATOR

This mod introduces a selection of commands to help everyone on your server on their journey to set sensible store prices.

NOTE: EPC is currently at version 0.1.1 meaning that it has not yet reached its first full release. While it has been tested and does the job, there's a few quirks still in need of ironing out.

V0.1.1 CHANGELOG:

[ADD]: /listsales command that will first check for items but fall back to interpret the provided string as a tag

[REMOVE]: /listitemsales and /listtagsales commands (replaced by the added /listsales command)

[FIX]: The input for item names or recipe names are no longer case sensitive. I.e "Mortared Stone" and "mOrTarEd StoNe" are now equivalent and will work just as well [FIX]: Error for recipe not found now correctly displays the provided recipe name instead of always saying "Recipe" [FIX]: Pluralised names now work, "Mortared Stones" and "Mortared Stone" both work

INSTALLATION:

Simply extract the mod files into [Server Directory]/Mods/UserCode/.

USAGE:

The following commands are available under the current release:


Calculate Price /EPC CalculatePrice [Item], [Recipe] OR /CalcPrice [Item], [Recipe]

Lists the price of production per craft table per item using the provided recipe. Will take installed modules into account.

Note that this requires a store somewhere to be selling each ingredient. If multiple stores are selling the required ingredient, it will pick the cheapest one.

Works for both specific items and tags as ingredients.


LIST ITEM RECPIES

/EPC ListItemRecipes [Item] OR /ListRecipes [Item]

Lists all available recipe names for the provided item.


LIST STORES

/EPC ListStores OR /ListStores

Lists all stores known to EPC (should be all stores in the world)


OBSOLETE: LIST ITEM PRICES (REMOVED IN 0.1.1)

/EPC ListItemPrices [Item] OR /ItemSales [Item]

Lists all stores selling the item and the price they take for it.


OBSOLETE: LIST TAG PRICES (REMOVED IN 0.1.1)

/EPC ListTagPrices [Tag] OR /TagSales [Tag]

Lists all stores selling items with the tag and the price they take for it.


LIST PRICES (ITEM OR TAG) (ADDED IN 0.1.1)

/EPC ListPrices [Tag] OR /ListSales [Tag]

Lists all stores selling items with the name or tag and the price they take for it.


LIST CRAFT INGREDIENTS

/EPC ListCraftIngredients [Recipe]OR /Ingredients [Recipe]

Lists the ingredients required for the recipe with the amount for each. Will list this per relevant worktable that the user owns. Takes installed modules into account.


LIST CRAFT TABLES

/EPC ListCraftTables OR /CraftStations

Lists the name and type of each craft table that the user is the owner of.


DEVELOPMENT:

If you encounter any issues or want to suggest an improvement, please feel free to do so here or open an issue on GitHub.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.