Skip to content

Commit

Permalink
Add image to README and display current guest cap.
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Hopkinson committed Apr 24, 2024
1 parent aad4312 commit 58da238
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

A plugin for OpenRCT2 that allows you to edit the soft guest cap of your park. The soft guest cap is the maximum number of guests that will spawn naturally in your park.

[Image](image.png)

## Installation

Download the Javascript file from the releases page and place it in your OpenRCT2 plugin directory. You can find the plugin directory by going to the toolbox icon in OpenRCT2 and clicking on "Open Custom Content Folder" and then navigate to the plugin folder.

## Thanks

This plugin was built using Bassie's Flex UI library. You can find it [here](https://github.com/Basssiiie/OpenRCT2-FlexUI).
Binary file added image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const allWidgets = window({
"This is the maximum number of guests that will be allowed in your park",
}),
textbox({
text: suggestedGuestMaximum.toString(),
text: currentGuestMaximum.get().toString(),
onChange: (text: string) => {
suggestedGuestMaximum = Number(text);
},
Expand Down

0 comments on commit 58da238

Please sign in to comment.