Author Topic: Is the "Paying For Dirt" bug from the original X-Com present in OpenXcom?  (Read 4247 times)

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Is the "Paying For Dirt" bug from the original X-Com present in OpenXcom or has it been patched out?

Quote
Details of the "Paying For Dirt" bug:
https://www.ufopaedia.org/index.php/Known_Bugs#Paying_For_Dirt

If you take down any facility in any base that you own and leave bare dirt, then you will continue to pay maintenance on it. But not at the old rate of whatever the facility cost per month, filling the hole back with dirt means it needs special attention at all times by specialists. In fact for every square of dirt you have that used to be a facility you will pay 80k per month. Thats 320k per hangar you take down. There are only two known ways to stop paying this premium - if you completely dismantle the base you stop paying any money for it, or if you build over all the spaces that you have vacated. In fact as soon as you start building the new facility you stop paying the premium, as well as not having to pay the cost of the new facility until it is complete.

It is also possible to stop the 80k per month charge by hex editing the base.dat file in the save game. If you change the byte that indicates the number of days until the destroyed module from 00 to ff, you no longer pay for the dirt.

If you start a facility and change your mind before it is complete, after the time when it would have completed you will start paying this 80k premium on that land as well.

Note that this also applies to facilities that have been destroyed due to battle damage in Base Defence missions. If you have lost a facility in a base defence mission and you cannot afford to replace the original facility, consider building something cheap here to keep down this bug.

Offline yrizoud

  • Commander
  • *****
  • Posts: 1014
    • View Profile
It's "fixed", in the sense that there was no reason to re-implement it in OpenXcom.

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Thank you for the information. ^_^

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Just FYI: one of the primary goals of the OpenXcom project was to ensure that all of the "Known Bugs" in the Ufopaedia.org site were fixed or addressed in this project.  During the course of the project new bugs were discovered in the originals that had been missed up to that point.   OXC does end up with its own bugs, but as these are reported in the bugtracker, they are addressed in a very efficient manner.