From 58da2381f8db1be72c8a29213d22b60743eae0e7 Mon Sep 17 00:00:00 2001 From: Harry Hopkinson Date: Wed, 24 Apr 2024 15:57:15 +0100 Subject: [PATCH] Add image to README and display current guest cap. --- README.md | 6 ++++++ image.png | Bin 0 -> 11664 bytes src/main.ts | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 image.png diff --git a/README.md b/README.md index 16cad58..7543d6e 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/image.png b/image.png new file mode 100644 index 0000000000000000000000000000000000000000..c7e19da1082e32869cd7535edd2cb05dbb43bfe0 GIT binary patch literal 11664 zcmb`s2UJsA*Df4Djg{Czr70>N@BmgIgaieRiV~3$q$?s)q!?lnN&usxf)tUWl!#G* zP$D9Nw9rvNigcuR5^5lUG;()1@B4l4|KB^t9ruo#F?ROad(HVgbIrB(Ggo$=UpGc> z+q{1>2n5=8`I6xc5J(~nXjg6A0DOmC*ee2ow(7eW7+k+>V4!sUf#+QpcP9|&((@QJ z*wXap-el`nk^1)})_r)~zi!805+5EnpP##Cc7CVQYgwst)#2)@1rKwAw%P76`TYC% zvD?lj(*Zf}-ercaFJc{C@6(4a)f&*kt@4}Rh!S;h~H>5}N2%A)7nsmix< z#^ai?O&2U)3)XYr+cYkTPRWakM#ru^^|!2`zB(cu9@V&Se8!@2^!i^G!3C&zg&mu6 zj#eqIgT2wKI(Ecpr<_JUa$5oSc>Jk%QaQ>IBZ`}IB&vcddY@^oCnq1=c*kHXdL#7O z^|El1rOfaJfgs58$*;W&qq0v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s zwo7lgNW5$&RizOYQgAjQvg|wX6euhb=pB0lcs?jkhsdj@p*g0W%td51^;1E`ZDl>h($ literal 0 HcmV?d00001 diff --git a/src/main.ts b/src/main.ts index 98d4da9..a243413 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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); },