v1.0.38 available

Version 1.0.38 of Adventurebook is now available. It has been a while since the last announcement, so this post summarises everything that has changed since v1.0.20.

Geo Map (Premium)

Adventurebook pages can now store real-world coordinates. The new shortcode

shows an interactive OpenStreetMap with one marker per page.

  • Places the current character has already visited are shown in green, all others in blue.
  • Routes between places are drawn as connecting lines.
  • A golden star marks places that award a stamp, and a euro badge marks shops.
  • Leaflet is bundled with the plugin, so no API key or external CDN is needed.

Pilgrim Passport (Premium)

Characters can now collect stamps on their journey. The script command collect_stamp awards a stamp, and if_stamp_goto branches on stamps a character already owns. The shortcode

Log in and start a character to see your Passport.

displays the collected stamps with name, date and motif. They also appear in the character overview.

Effects

Scripts can now apply timed effects to a character with add_effect, remove_effect and if_effect_goto. Three effect types are available: drunk (reduces combat stats), heal and poison (both act every round). Active effects are listed in the character overview.

Recipes (Premium)

Items can now be crafted from other items. A recipe is defined in the item stat “UseData”, for example wood:1;club:1, and is used through the new script commands if_has_recipe_ingredients_goto and use_recipe.

Bank

The new page type “Bank” lets characters deposit and withdraw money. Buying items and training skills also work with money held in the bank.

Further gameplay additions

  • Items can have unlimited uses by setting the “Charges” stat to -1.
  • Enemies can set a game variable when defeated, so decisions can depend on whether an enemy has been beaten.

Layout and translation

  • The game view uses a two-column grid: title across the top, page image and text on the left, character card on the right.
  • On narrow screens the page content uses the full width.
  • The German translation of the character overview and the Pilgrim Passport is complete.

Fixes and maintenance

  • Stylesheets are versioned with the plugin, so browsers load the current CSS after an update.
  • Character overview icons display correctly.
  • The drop-cap initial is applied only to the first paragraph of a page.
  • A bug in the Quick Access meta box on the book edit screen is fixed.
  • Compatibility with WordPress 7.1 is verified.

The free version is available on wordpress.org. The full changelog is included in the plugin’s readme.