1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 10:15:36 +01:00

Feature: [Plugin] Add bindings for missing cheats

Added the following binds for completeness:
- ignoreRidePrice
- makeAllDestructible
- forcedParkRating*

`allowSpecialColourSchemes` was missing from the type definition file so I added that as well.

\*forcedParkRating required a little more logic than the boolean cheats and I added some safeguards to prevent setting invalid values
This commit is contained in:
Cory Sanin
2025-07-08 02:18:25 -05:00
committed by GitHub
parent 263796387f
commit 65b5d86e6c
4 changed files with 46 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ namespace OpenRCT2
namespace OpenRCT2::Scripting
{
static constexpr int32_t kPluginApiVersion = 108;
static constexpr int32_t kPluginApiVersion = 109;
// Versions marking breaking changes.
static constexpr int32_t kApiVersionPeepDeprecation = 33;