Releases: richardwilkes/gcs
Releases · richardwilkes/gcs
v5.42.0
New Features
- Added a toolbar button to bring up the Markdown Guide in the Markdown Editor.
- Added support for opening SVG files. Note that not all SVG features are supported, but the most common ones are.
Bug Fixes
v5.41.1
Bug Fixes
- Trait Modifiers can now multiply by 0 again.
Other
- GCS will start using the new User Guide content in Master Library v5.11.0. If you have not updated to that release of the Master Library yet, internal help links will likely be broken until you do.
v5.41.0
New Features
- Scripting updates:
- A more uniform approach to what is/isn't a property vs a method. Specifically, if something was a method in the previous release, but it took no arguments and produced no side-effects (such as
self.children()), it is now a property instead. This does mean that you should check any of your custom scripts against the updated Scripting Guide to verify they still do what you expect. - Weapon entries are now accessible.
- Weapon damage fields (base, leveled, and fragmentation) are now scriptable. (#999)
- Weapon notes are now scriptable. (#973)
- Attribute pool threshold state explanations are now scriptable. (#980)
- A more uniform approach to what is/isn't a property vs a method. Specifically, if something was a method in the previous release, but it took no arguments and produced no side-effects (such as
- You can now adjust Trait levels via a Feature. (#998)
- Frequency of Appearance Rolls are now directly supported in Traits, rather than having to be done through modifiers. The Master Library has not yet been updated to take advantage of this, however. (#992)
- Added a Sheet Setting to display all weapons, even if not carried or equipped. If enabled, those weapon entries that come from equipment not carried or equipped will be marked as such, however. (#993)
- Changed the weapon entry displays on the sheet to no longer include the owning item's notes in their notes.
- Double-clicking on entries in the melee and ranged weapon tables on a sheet now opens the appropriate editor.
- Trait modifier costs can now be multiplied by a fraction. This can give more accurate results for things like x2/3, where multiplying by x0.67 might give a value that was slightly different than expected. (#969)
- Unequipping an equipment container now also causes all contained items to be considered to be unequipped as well (i.e. they will no longer contribute any Features). (#975)
- You can now add negative study hours, which can be used to reflect conversion to points while keeping a history.
- Markdown support updates:
- Adjusted default header sizes and weights to better match relative sizing on GitHub.
- Adjusted spacing between blocks.
- Adjusted indention of lists.
- Added support for GitHub-style "alert" block quotes.
- Added support for showing SVG images.
- Added a separator below level 1 and 2 headings to better match GitHub styling.
Bug Fixes
- Fixed markdown preview scaling in the notes editor.
- Links in markdown are now considered when wrapping text, however they will not be split and will instead just be moved to the next line. Previously, they weren't considered at all, which meant that they would often extend past the viewable area without any way to scroll to see them.
v5.40.2
Bug Fixes
- Reworked scripting (yet again!) to defer resolving every field until accessed. This allows more freedom to access parts of a data item without indirectly incurring a circular reference error.
- Markdown can now be present in the Reaction and Condition lists on a sheet.
- The color of links in markdown when a row is selected is now different than the rest of the text so that they can be seen.
v5.40.1
Bug Fixes
- Defer resolving the entity object until first use to allow basing ST off of other attributes. Previously, the entity would be resolved immediately, which in turn would require resolving things like Lifting ST, which required resolving ST, which if it was based on another attribute, would cause recursion and cause GCS to crash. Also added additional guardrails so that more forms of recursion are detected and prevented, hopefully eliminating crashes due to such things.
- Normalized page scaling so that 100% should show the size of the page correctly, rather than needing to set it to 150% to compensate for the resolution difference. If your primary monitor does not report its resolution correctly, you may need to explicitly set the Monitor Resolution field in General Settings to compensate.
- Equipment with a quantity of zero no longer contribute weapon entries to the weapon table.
- Fixed required space calculation for an image canvas when displaying an image in the image viewer. Previously it would use a canvas twice the size required to display the image.
v5.40.0
New Features
- Replaced the app icon (thank you to GriffinLore on the GCS Discord for the contribution!) and tweaked the shape to match the new requirements on macOS 26.
- The ".md" extension can now be omitted in internal markdown links, which matches the way the github wiki pages work.
- Added lifting, striking, and throwing ST values to the script entity.
- Equipment cost modifiers can now be multiplied by the equipment's final weight in pounds. All weight are pushed to the next whole number for this calculation, with a minimum of 1.
Bug Fixes
- Fixed an edge case with the height, weight, and age randomizers if the script compressed the results range significantly.
v5.39.0
New Features
- Markdown is now supported in the notes field of the various data types and is now used by the spell description
auto-generated notes. - A new prerequisite type is now supported: a script whose expected result is an empty string if the prerequisite it is
checking has been met or a string describing what is missing if it has not. There are a handful of spells that could
benefit from this support. In general, it is better to use the other prerequisite types, as they are evaluated much,
much faster than a script, but this provides a way to handle exotic prerequisites that can't be expressed with the
other types available. - Added scripting access to the notes field of the various data types. Note that this can result in a circular reference
error if you attempt to access the notes field from the notes field, even indirectly. - Spells now have an additional field for tracking the "item" information from Magic. Obviously, this isn't currently
filled in for any of the data in the Master Library. - The spell fields 'Casting Cost', 'Maintenance Cost', 'Casting Time', 'Duration', along with the new 'Item' field, now
support multi-line text. - The 'Prerequisite Count' field can now be filled in for all spells, not just Ritual Magic ones.
- Tooltips can now support markdown content. I've updated some of them to use this capability and improve the overall
readability of the content. More will likely follow over time. - Added formatNum() to the exported global script functions.
- Added an option to use the latest commit from library repos instead of a tagged version. Note that using this
capability bypasses GCS's normal high-level data version compatibility check for the library, which means if you have
it enabled, you may end up getting pre-release data that isn't compatible with your version of GCS, so use with
caution. - Traits with a CR rating now show it in parenthesis next to their name, similar to how official Steve Jackson Game
trait listings typically do. This is in addition to the more detailed information found in the note area, but now
makes the data visible even when notes have been collapsed. - Added a new sheet option to hide the page reference column on sheets.
- Moved the "Uses" column content on equipment into the description column for display.
- Markdown page references will now check the root of each library for the content after first checking the Markdown
folders in each library. Previously, only markdown files located in the Markdown folder of each library could be
found.
Bug Fixes
- Tab rearrangement should no longer behave oddly after they've been restored from a previous session (#971).
- Table scroll position should no longer jump about when clicking on them or dragging to them when a selection exists in
the table and that selection is not fully in view. - The note open/closed state is now propagated when transferring data from one spot to another.
- Improved circular reference detection in scripts.
- Fixed a case where markdown content in notes would trigger constant redrawing of the display.
v5.38.1
v5.37.1
v5.37.0
New Features
- Added treasure generation from Loot Sheets.
- Weapon entries that specify the use of "telekinetic sw", "telekinetic thr", "iq sw", or "iq thr" for their damage base
now use telekinesis (or IQ, as appropriate) to determine the user's effective ST for purposes of minimum ST and range
(for muscle-powered weapons) calculations (#961) - Template sheets can now be printed and exported to various formats (pdf, webp, png, jpeg) (#932)
Bug Fixes
- Equipment containers that had their quantity set to zero would reset themselves to a quantity of one on loading (#958)