djmango / BlackMarket2

A mod for Factorio economics
https://mods.factorio.com/mod/BlackMarket2
GNU General Public License v3.0
17 stars 7 forks source link

Automatic trade #29

Open MrOkolbas opened 3 years ago

MrOkolbas commented 3 years ago

Hello! I would like to use an automated buy / sell based on the current price. How to get the current price for a resource in logic elements, please tell me.

MrOkolbas commented 3 years ago

Is it possible to get the price into the logical network? Or maybe it is possible to build into the logic of the mod itself the setting that the sale is only at a price not less than the established one?

djmango commented 3 years ago

I'd like to add circuit network integration, but I do not currently have the time to do so unfortunately. If you want to develop the feature, submit it in a pull request and I'll integrate it into the official mod.

xsirh925 commented 1 year ago

Hi, would you still be open to reviewing a PR that implements a way to use the circuit network to control trading chests and check the current prices for items?

djmango commented 1 year ago

Hi, would you still be open to reviewing a PR that implements a way to use the circuit network to control trading chests and check the current prices for items?

Absolutely! I don't play actively anymore but can test once you open the request and if everything looks good I'll merge and release a new version