aliens

Author Topic: [Rejected] Dynamic prices  (Read 3542 times)

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
[Rejected] Dynamic prices
« 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.
« Last Edit: February 19, 2023, 02:05:46 pm by Meridian »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: [SUGGESTION] Base Func Affect buy and sell
« Reply #1 on: April 08, 2021, 01:46:03 pm »
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.

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
Re: [SUGGESTION] Base Func Affect buy and sell
« Reply #2 on: April 08, 2021, 04:11:12 pm »
ho well , if its that complicated is really not worth the trouble

Offline krautbernd

  • Commander
  • *****
  • Posts: 1108
    • View Profile
Re: [SUGGESTION] Base Func Affect buy and sell
« Reply #3 on: April 11, 2021, 01:56:42 pm »
@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)?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: [SUGGESTION] Base Func Affect buy and sell
« Reply #4 on: April 11, 2021, 02:14:59 pm »
That's already available.

For buy, not for sell.

Offline krautbernd

  • Commander
  • *****
  • Posts: 1108
    • View Profile
Re: [SUGGESTION] Base Func Affect buy and sell
« Reply #5 on: April 11, 2021, 03:53:39 pm »
Code: [Select]
requiresBuyBaseFuncI somehow totally missed that, I only remember requiresBuy being a thing.

Thanks for the heads-up, that answers my question :)