Author Topic: Selling prices equal 0 mod  (Read 2294 times)

Offline FlayedOne

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Selling prices equal 0 mod
« on: March 13, 2022, 09:19:57 am »
Hello,

I'm trying to make a mod for myself that will change all the prices of all items to 0 to force the XCom to rely on Council funding only.

Is there an option I'm missing for creating a rule working for all items, or do I have to create a rule for each an every object?

Is there any way to make it compatible with mods adding more items?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Selling prices equal 0 mod
« Reply #1 on: March 13, 2022, 03:40:19 pm »
Hello,

I'm trying to make a mod for myself that will change all the prices of all items to 0 to force the XCom to rely on Council funding only.

Is there an option I'm missing for creating a rule working for all items, or do I have to create a rule for each an every object?

Is there any way to make it compatible with mods adding more items?

You have to do it for every item. Luckily vanilla has very little items, not worth worrying about.

I don't think there's a way to reset all prices globally, so nothing to do about other mods.

Offline FlayedOne

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Selling prices equal 0 mod
« Reply #2 on: March 13, 2022, 11:01:54 pm »
Thank you for the response.

That's what I was afraid of.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9093
    • View Profile
Re: Selling prices equal 0 mod
« Reply #3 on: March 13, 2022, 11:06:27 pm »
You can set it globally (in OXCE) using:

Code: [Select]
sellPriceCoefficient: [0, 0, 0, 0, 0]

Offline FlayedOne

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Selling prices equal 0 mod
« Reply #4 on: March 14, 2022, 07:22:30 pm »
Thats exactly what I've been looking for. Thanks!