OpenXcom Forum
Modding => OXCE Suggestions NEW => OpenXcom Extended => OXCE Suggestions Rejected => Topic started by: bulletdesigner on April 08, 2021, 01:26:22 pm
-
Rejection reason: this is beyond/outside the scope of OXCE
So basically a request that building affect the buy and sell price of items.
EX:
- type: STR_MARKET
provideBaseFunc: [MARKET]
- type: STR_RIFLE
costBuy: 5000
costSell: 2750
PRICEBaseFunc: [MARKET]
costBuyBaseFunc: 4500
costSellBaseFunc: 3000
By this we can get like a new maket building, or a new reciclatron that can sell specific itens for a new price crazy price.
Hope is note a great deal of work to insert this options.
-
It is a lot of work.
But more importantly, it is a stupendously large amount of overhead... calculating a price for every item on-the-fly, and based on arbitrary combination of arbitrary base services, will not perform... unless you're willing to wait a couple of seconds each time you open a Purchase GUI, Sell GUI, etc.
Not worth it at this complexity/granularity.
-
ho well , if its that complicated is really not worth the trouble
-
@Meridian
Purely out of interest, would the overhead and complexity be comparable in regards to base services (WORKS, PSILAB etc.) affecting item availability (only buy/sell, not price)?
-
That's already available.
For buy, not for sell.
-
requiresBuyBaseFunc
I somehow totally missed that, I only remember requiresBuy being a thing.
Thanks for the heads-up, that answers my question :)