adipiciu / Travian-scripts

Userscripts for Travian. Resource bar plus. Wave builder. Task queue.
GNU General Public License v3.0
38 stars 23 forks source link

Market send divide into deliveries. #56

Closed kikuman closed 8 months ago

kikuman commented 8 months ago

Screenshot 2023-12-24 021028 Would it be possible to add a feature that would divide the needed resources into the selected deliveries when there isn't enough merchants? For example, I need to send 15332 and click 3 deliveries, have it divide 15332 into 3 deliveries = 5111 each. Thanks in advance!

adipiciu commented 8 months ago

Good idea, but it will work only for accounts with gold club. It's a little bit complex and currently I have some problems with the new travian reactjs code. I will first need to find a way to select the deliveries and make the changes propagate in the webpage.

kikuman commented 8 months ago

I don't have any coding knowledge but how about just adding 2 buttons? ÷2 and ÷3 and have them divide the values entered in the input boxes.

adipiciu commented 8 months ago

Something like this? image

kikuman commented 8 months ago

Perfect!

adipiciu commented 8 months ago

Added in 2.23.23