Script Summary: Improves 'Pirates: Rule The Caribbean' experience by helping identify the next best buy for your island properties. This is based on my Mob Wars and Mafia Wars scripts.
Version: 0.01
Notes
- The script works better than the 'Mafia Wars' script since 'Pirates: Rule the Caribbean' does less Ajax. However, when you buy property, the page seems to use Ajax there, so the Next Best Buy code doesn't fire again. Just click the 'Islands' menu button to reload the page, and you'll get the Next Best Buy table.
- As with the other scripts, clicking the right-column's header will toggle between amount-of-cash-needed to time-until-cash-available.
- I haven't played the game very long, but noticed that the special properties that are mob-size driven can be retired and new ones introduced. I think I've addressed this (i.e., the retired property don't show up on the table). Also, the active mob-size-driven property should also only be listed in the table if you actually have a mob size big enough to buy it.
History
2/8/09
- Fixed bug where the next-best-buy table wouldn't show up after buying/selling property. The page displayed an extra indicating what was bought/sold, and that was throwing things off
2/7/09
- Added dependency initials next to property name
2/2/09
- Created



