Die4Ever / rollercoaster-tycoon-randomizer

RollerCoaster Tycoon Randomizer mod for RCT1 and RCT2 inside of OpenRCT2
https://discord.gg/jjfKT9nYDR
GNU General Public License v3.0
13 stars 3 forks source link

don't disallow charging for rides when the goal is the get a certain income from rides #26

Closed Die4Ever closed 1 year ago

Die4Ever commented 1 year ago

you cannot charge for rides if you have unlockAllPrices disabled, and you also have freeParkEntry disabled?

https://github.com/OpenRCT2/OpenRCT2/blob/6aa7e91917b778db09d6b2e08d0b8273e3ac77cf/src/openrct2/world/Park.cpp#L207-L218

looks like I already fixed this recently

            if(rng_bool())
                this.RandomizeParkFlag("freeParkEntry", 1);
            else
                this.RandomizeParkFlag("unlockAllPrices", -1);

so the randomizer won't break this, you will only be unable to charge for rides if that's how the scenario was originally built