* feat: add PathNavigator
* separate PathConnection from PathNavigator
* add PathNavigationOptions for PathNavigator
* make PathNavigationOptions positive instead of double-negative
* [skip ci] fix typo
* [skip ci] revert formatting
* align branch with develop after merge
* Address PR feedback
* Adapt PathNavigator to lowerCamelCase renames in develop
Upstream renamed TileElementType members and PathElement/BannerElement
accessors to lowerCamelCase (#26608, #26626 and follow-ups).
* Name PathNavigator/PathConnection Register and New
Use the same names as every other scripting engine class for these two
functions, so they don't read as doing something different.
* [Plugin API] Add automation helpers for park directors and ride building
Expose ride maintenance metrics, context.gameSpeed, map bulk queries,
riderefurbish action alias, FootpathElement.isAdditionFull, and
TrackSegment.getNextValidSegments. Bump plugin API version to 115.
Includes TrackPieceSelection from markusklock's work (#25840).
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add PR #26675 to distribution/changelog.txt
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix CI: clang-format and changelog ordering
Reorder 0.5.3 changelog entries and apply format-changelog.js output.
Apply clang-format fixes to ScriptEngine.cpp and ScMap.cpp.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix contributor name to Ben Spurlock (BenDaSpur)
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix changelog EOF for CI check-changelog-formatting
Remove trailing blank line so the file matches formatter output via
echo (bash strips trailing newlines from command substitution).
Also correct contributor name to Ben Spurlock (BenDaSpur).
Co-authored-by: Cursor <cursoragent@cursor.com>
* Remove #25840 TrackPieceSelection overlap from PR #26675
Per maintainer feedback, drop TrackSegment.getNextValidSegments and the
TrackPieceSelection implementation copied from markusklock's open PR #25840
so this change set can be reviewed independently. Those additions will be
picked up when #25840 lands.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Simplify plugin API per maintainer review
Drop the riderefurbish alias and bulk map query APIs in favor of existing
primitives, and consolidate the changelog entry.
* Fix isAdditionFull to only report visibly full / emptiable bins
Per review feedback, a litter bin slot is only "full" (shows the full
sprite and can be emptied by a handyman) once its 2-bit edge slot reaches
0, not whenever the status byte is below 255. Mirror the engine's own
Staff::updatePatrollingFindBin logic and require the addition to be a bin.
* Remove unused includes left over from dropped APIs
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add context.saveGame() binding in plugin API.
* Add option to save games to a specific path via the plugin API.
* Alter documentation for SaveGameOptions.
* Bump kPluginApiVersion to 116.
* Use IsFilenameValid to disallow saving files with invalid characters
* Add changelog entry
Clarify that items is string[][] (one string[] row per entry) when
columns are used, not a flat string[], per confusion reported in #17855.
Co-authored-by: 73chn1c <73chn1c@users.noreply.github.com>
* Rename enums in LoadOrQuitAction.h
* Rename enums in ScenarioSetSettingAction.h
* Rename enums in TileModifyAction.h
* Rename enums in NetworkModifyGroupAction.h
* Rename enums in LandBuyRightsAction.h
* Rename enums in LandSetRightsAction.h
* Rename enums in ParkSetParameterAction.h
* Rename enums in PeepPickupAction.h
* Rename enums in StaffSetPatrolAreaAction.h
* Rename enums in RideFreezeRatingAction.h
* Rename enums in RideSetAppearanceAction.h
* Rename enums in RideSetSettingAction.h
* Rename enums in RideSetVehicleAction.h
* Rename enums in BannerSetStyleAction.h
* add workflow and package.json for publishing plugin TypeScript types
* move scripting-related files to scripting folder
* add support for trusted publishers
* fix path to scripting readme
* rename scripting README.md back to scripting.md
* support tagged/dev releases
* add workflow for development versions
* Update package.json website
* change dependencies in publish-plugin-types
* add timestamp to dev plugin versions
* note ScriptEngine.h grep dependency from CI
* use gh-describe to track release version for dev plugin types