Openapoc: [Cityscape][Economy] Supplies purchased from orgs/buildings that have been destroyed give the wrong message

Created on 28 Apr 2020  ·  3Comments  ·  Source: OpenApoc/OpenApoc

Tested under EWM v9 preview 4 by Proselyte Ethan
HOWEVER
You can replicate in normal OpenApoc by doing the following

Destroy all Arms Factories/Flyers for Marsec and Megapol
Ensure you are still allied/friendly to those factions afterwards
Attempt to purchase an item that would normally come from those buildings

Even though the organisations are friendly, the game will prompt that it cannot make the delivery as the organisations are hostile - the wrong message

We need a new prompt to tell the user that the delivery cannot be made as the supplier is rebuilding the facility (we should be able to get the exact text string from OG)

Here's an example save under EWM v9 preview 4
save_Psionic_Rebalance_Playthrough.zip

Additional error message
image

!BUG! MEDIUM PRIORITY Help Wanted Verified / Replicated

Most helpful comment

It is unclear why the buildings in that save are collapsed

Ethan reports that he was using the raids collapse buildings function, but had not raided these particular establishments in recent times - for some reason on save load it collapses them again despite them having been rebuilt since his raids

It may be worth considering that there is another issue here that savegames where buildings have been collapsed do not have the flag that it is down removed when the organisation rebuilds the facility. Thus, on loading the game, the building once more collapses.

There are also stuck vehicles at one of the arms factories

So there are a number of issues with this save

That said i have been able to replicate the order issue on Vanilla builds of OpenApoc so it is not exclusive to the EWM

All 3 comments

One of the interesting things about that save is it shows a feature i was not aware of
Because, after a few hours, the order made cannot be delivered it expires and is refunded
We obviously do not want to lose this functionality when fixing the message
image

It is unclear why the buildings in that save are collapsed

Ethan reports that he was using the raids collapse buildings function, but had not raided these particular establishments in recent times - for some reason on save load it collapses them again despite them having been rebuilt since his raids

It may be worth considering that there is another issue here that savegames where buildings have been collapsed do not have the flag that it is down removed when the organisation rebuilds the facility. Thus, on loading the game, the building once more collapses.

There are also stuck vehicles at one of the arms factories

So there are a number of issues with this save

That said i have been able to replicate the order issue on Vanilla builds of OpenApoc so it is not exclusive to the EWM

Even though the organisations are friendly, the game will prompt that it cannot make the delivery as the organisations are hostile - the wrong message

We need a new prompt to tell the user that the delivery cannot be made as the supplier is rebuilding the facility (we should be able to get the exact text string from OG)

I don't see any problem with collapsed building in this save game (aside from trapped ground vehicles). Goods from Marsec get delivered just fine. From Megapol you just have to deliver them with your own craft, since Transtellar is hostile towards Megapol and refuses transportation services for purchases made from Megapol.

Was this page helpful?
0 / 5 - 0 ratings