Code Monkey home page Code Monkey logo

tradeassistant's People

Contributors

beanheadza avatar filixdark avatar muzs1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

filixdark

tradeassistant's Issues

Allow an option to pass an optional store name

Use CommandsUtil.ClosestMatchingEntity to match the text the user enter to a store name. By using the util we get partial matching as well.

Split explain into two commands: explain and sendexplain. That way we don't make the command too complex with two optional parameters (whoToSendTo and storeName)

Don't add intermediate items to sell list

When adding items for sale, don't add items that are just intermediate items such as Iron Saw Blade. The Iron Saw Blade only gets used and made by smelters.

This will get tricky for items like Leavened Dough where it's an itermediate item, but it still counts as a food item.

Allow the use as requested of the nearest store in a multistore scenario

Since Version 10, most players are limited to having one plot and multiple stores on them.

As I understand most users would prefer to be able to use the command to the closest store on the current plot.

I would suggest to have a confirmation dialog for the user, asking if the nearest store is the correct one and apply the command after confirmation.

Price of Crushed Slag cannot be determined

It appears that the 0.1.7 release affected the ability to price a number of things. Another example is when doing cooking, it's often easier to set a buy order of Raw Meat, which would be used to calculate all prices instead of adding carcasses, but that no longer seems to work. Additionally, some items won't price, like crushed slag with mining.
image

Performance

A couple of things to consider:

  • Add some profiling information to see which steps take long to run

  • I have a suspicion that ModuleContext from the DynamicValue is what's taking so long. Perhaps caching it at the start would be helpful

  • It would also help the server if the updates were not on the main thread, but instead on a low priority thread in the background

Allow different profit percentages for some items

Firstly, this mod is amazing and something I've been looking for for some time! Absolutely fantastic work @BeanHeaDza

High volume, low cost commodities like crops may be 10% profit while furniture or one time purchases you may want a higher percentage. I'm suggesting the ability to set different profit margins for specific items, or possibly category.

I'm very happy to work with you in coding new features as well if wanted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.