Tag name:plugin

En Garde Plugin details

This plugin adds support for my En Garde game by:

  • adding a shortcode, nGardeCharacter, to allow a character table to be generated. Examples of use:
    [enGardeCharacter id="C"]
    [str is="9" initial="9"]
    [rapier is="12" initial="12"]
    [sabre is="12" initial="12"]
    [cutlass is="12" initial="12"]
    [con is="15" initial="15"]
    [end is="135 of 135" initial="135"]
    [ma is="1" initial="1"]
    [cash is="32" initial="44"]
    [allowance is="12" initial="0"]
    [regiment is="Royal Foot Guards, Private"]
    [club is="Hunter's"]
    [mentions is="1"]
    [stable has="1 horse"]
    [appointment is="Trooper, King's Escort"]
    [mistress is="Catherine de Borgonne"]
    [level is="11" initial="12"]
    [location is="In Paris"]
    [/enGardeCharacter]
    
  • adding a shortcode to display a form to allow the submission of orders for a character. Examples of use:
    [enGardeOrderTemplate id="C"]
    

    The id used must match one of those from a character on the same page (the javascript used for validation needs to look up information from the table).

Version: 20171013-1012

Author: David Vines

Last Updated:13th October 2017

Requires WordPress version: 4.0

Compatible up to: 4.8

License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Change Log: Details

Change Log

20th January 2015 / No Comments on Change Log

To-Dos

  • Linking into the Spider Caves!

Version 2.0.0.20170728-0830

  • Make the movement table vary based on Agility (rather than being fixed)
  • Add note for area and multiple hit weapons if used by the character.

Version 2.0.0.20170717-1729

  • Default language for new character is now that of the character's genre rather than Athionic.
  • Allow unlisted Intrigue skills

Version 2.0.0.20160808-1454

  • The plugin modifies searches so that all post types are included. This is now fixed so that it only affects the search, tag and category pages and not every query (including those on widgets on those pages)
  • A zero width space is used after the '/' character in the buttons for skills to improve word wrapping on the buttons

Version 2.0.0.20160219-1028

  • Character export on linrodeth characters is exporting the entire character array, not just the current character
  • Update compatible wordpress version to 4.4.2

Version 2.0.0.20160105-1700

  • Correct inheritance used for construction of the widget to the current (PHP7 supporting) idiom
  • Change the size of the box used for viewing and editing to 67% of the height of the viewport - this is much friendly for various display sizes and seems to help chrome on mobile devices to render the box correctly

Version 2.0.0.20151103-1328

  • Add modifier for extra opponents

Version 2.0.0.20151017-1159

  • Add documentation for the shortcodes (no functional changes)

Version 2.0.0.20150906-0822

  • Get the PDF to show the correct value for will

Version 2.0.0.20150720-1423

  • Skill plus/minus buttons now work
  • Skill list now appears in the correct place (rather than being underlaid beneath the rest of the page text

Version 2.0.0.20150426-1426

  • Performance issues on waylands resolved (conflict with the Infinite SEO plugin resolved)
  • Multiple character sheets can be added to a single page (e.g. search or tag results)
  • Excerpts now generated if not overridden by a manual excerpt.
  • Summary pages added to PDF
  • Player name added to slug at the bottom of each PDF page

Version 2.0.0.20150119-1114

  • Update metadata

Version 2.0.0.20150116-1034

  • Added support to display the night sky

Version 1.9.0.20150107-1800

  • Stopped the newSkills growing on each edit

Version 0.9.9 (23rd September 2014)

  • Fix date display (particularly for Luna Romana).

Version 0.9.8.1 (8th July 2014)

  • Minor bug fix to the performance tables (there was a long tail to the left of the table, now removed).

Version 0.9.8 (2nd July 2014)

  • Changing the birthdate moves all periods along (shrinking the last period).
  • Added (simple, combat-related) Equipment page.
  • Added printing.

Version 0.9.7 (8th June 2014)

  • Refactoring the javascript code.
  • Only increment the version number/edit date of the character on save or upload.

Version 0.9.6 (7th June 2014)

  • Fix game date display when changing genres (or loading old characters with a non-Linrodeth genre).
  • Hide the JSON panel by default.
  • Allow editing of the attributes (disabled by default).
  • Allow the addition of unknown skills.

Version 0.9.5 (6th June 2014)

  • Upload button added - note this POSTs to process.php to the host that delivered the page.
  • Fixed bug when the last period becomes shorter than 13 months (tried to disable buttons that didn't exist!).

Version 0.9.4 (5th June 2014)

  • Correctly disable ip adjust buttons.
  • Birthday locked once the stats are locked.
  • Genre locked once the stats are locked.
  • Added a stats reroll button (rather than forcing the user to page reload!). Obviously this disappears when the stats are locked.
  • Played with the layout a little - Still can't get the button to vertically fill their cell - this seems to be a CSS rendering limitation.
  • Locking the character would break adding a period.
  • Trying to change dates with a period with more than one interest caused a break.
  • Set the value of the name to that in the JSON.
  • Added Herbalism.
  • Fixed bug: When the title was updated, the next change would cause the Stats tab to reappear.
  • Disabled the -date buttons for a period when the period is already too short to allow the period to shrink by that much.

Version 0.9.3 (4th June 2014)

  • Added a schema version to the JSON to allow smooth upgrading of old characters for program updates.
  • Added a rules version to the JSON to hopefully allow upgrading of old characters when there are rules changes.
  • Added a character version and last edit date.
  • Changing interest points changed to <, > buttons instead of pull-down.
  • Periods now show the age range rather than the dates (the dates are available as tooltips on those ages).
  • Added a character description field.
  • Added a game date to the Stats panel, which anchors the end date of the last period.
  • Added the ability to lock the stats - once locked the only way to unlock it is via the JSON.

Version 0.9.2 (unreleased)

  • Changing the genre now updates the childhood fluency fields.
  • Added contemporary fluencies and literacies - no other contemporary skills at this time.
  • Added Math.floor to the morale calculation AND fixed the logic for the wound points (previously treated as having a con in the range 0-4!)).

Version 0.9.1 (3rd June 2014)

  • textarea (except for the JSON update) no longer need (or have) submit buttons.
  • A stat of 21.0 is now impossible (20.9 is still possible, if unlikely at 1 in 10,000).
  • Used Math.floor instead of Math.round(x-0.5).
  • Added Save and Load JSON buttons (These are local to the browser).
  • Added a Genre pull down.
  • Added a statement on the rule set used.

Last updated: October 13, 2017 at 11:57 am

Character Sheet Plugin details

This plugin adds a new post type for linrodeth characters (called 'Characters' in the user interface). In support of this, the plugin provides:

  • The new post type (note, revisions of the character sheet are preserved, so old versions can be viewed (though not in that friendly a format))
  • Two options (accessed either from the 'Settings' link on the plugin itself, or from the 'Settings' admin menu). The two options allow the preamble text shown when a character sheet is viewed and the preamble text shown when a character is editted. You can also change the default genre and the default date (game date) used by the character sheets.
  • A widget that will list the recently added character sheets - this is managed from the 'Widgets submenu of the 'Appearance' admin menu. You can change the title shown by the widget and how many recent characters it will display.
  • It adds a new shortcode that allows links to characters to be added to posts and pages. It can also be used to generate tables of characters.Examples of use:
    [linchar /]
    Show a link to the first character sheet found in the database
    [linchar type="table" /]
    Show a table listing all the character sheets found in the database
    [linchar name="Dermot Foulkes" /]/
    Show a link to a specific character sheet. Note that the name is that used on the character sheet NOT the title of the character sheet
    [linchar player="David" type="table" /]
    Show a table listing all the character sheets with the given player name (NOT the author of the character sheet)
    [linchar genre="Linrodeth" type="table" /]
    Show a table listing all the characters for the specified genre
    [linchar author="djvines" type="table" /]
    Show a table listing all the characters authored by a specified author
    [linchar type="table" orderby="name" /]
    Show a table of all characters ordered by the character name
    [linchar genre="Linrodeth" type="table" orderby="date" /]
    Show a table of all characters for a specific genre ordered by the last modification time of the character sheet
    [linchar name="Dermot Foulkes" type="link" text="Dermot" /]
    Show a link to a specific character sheet with the text of the link specified.
    [linchar name="Dermot Foulkes" type="link"]Embedded Dermot[/linchar]
    Show a link to a specific character sheet with the text of the link specified by enclosing the text with the shortcode
  • It also adds a shortcode to display the night sky. Examples of use:
    [linsky time="now" showbuttons="true"]
    Show the night sky as it is "now", include the buttons to allow the time to be changed
    [linsky time="gamedate"]
    Show the night sky as it is at 11pm on the game date chosen on the settings page
Version: 2.0.0.20170728-0830

Author: David Vines

Last Updated:28th July 2017

Requires WordPress version: 4.0

Compatible up to: 4.8

License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Change Log: Details