Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Same thing for items I want to buy, I'd like to have the different prices for buying and selling too. The more I look into the store block the more I find out how painfully limited it is.
You could freely modify this structure to allow for buy and sell prices, as well as buy and sell amounts. The logic checks that use this data should not be complicated.
Be aware that Space Engineers forces a minimum price for each item, and be also aware that this minimum price is not documented, so the function will just throw an error if you set something too low.
The quantity of the sold items should already reflect the quantity of these items in the inventories.
The idea is that you are telling the station to "only keep N of that item in your inventory", so if you have N+10, the station will try to sell 10. If you set N = 0, the station will try to sell all of its stock.
@maximeg80 That might be difficult to do for me, as I would need to add a new (programmable) block to each station, loaded up with the configured script.. Sorry
@acheaen Originally the script was coded to look for all the store blocks with a certain name, put them in a list and then apply all market operations on the stores of that list. If you want to split what is bought or sold at different stores, you could either run a second script, using a different store name, or you could edit the script to work with multiple store names.
It is not an ideal solution, but this script was cobbled up quickly.
Unfortunately Space Engineers puts a minimum price for all commodities.. This means that trying to sell uranium at 1 SC will result in the market block throwing an error.
In addition, I haven't been able to find any reference to this minimum price on the scripting API, this means that the only way of finding this lower bound is through tiral and error .