Patch 1.1.0

Updates, hot from the press.
Post Reply
User avatar
Nuntis
Game Creator
Posts: 35
Joined: 11 Nov 2023, 13:27
Contact:

Patch 1.1.0

Post by Nuntis »

This is a maintenance release that implements several new editor features and fixes bugs. It does not include new game content.

Breaking changes

  • The Combat2 Lua function has been renamed to CombatSession. The old Combat2 name still works for backwards compatibility, but it is deprecated, and may eventually be removed.

What's new

New features

  • The Scene patching system has been completely revamped. Adding nodes is more flexible, and you can now also replace nodes or delete nodes.
  • The Scene Editor has new clipboard tools: you can ✂️ Cut, 📄 Copy and 📋 Paste nodes in or between Scenes now.
  • Added support for inserting string table entries into each other with the {@OTHER_SET} syntax. See the updated String Table documentation for details.
  • Added the bit32 Lua library, backported from later Lua versions. This gives modules access to proper bitwise-OR, AND, NOT and other such functions.
  • Added the Effect Lua library, which lets you play custom dice animations outside combat. Useful for animating skill checks or simulated combat-like interactions.
  • Added the Content Lua library, which lets you test whether specific modules or assets are loaded. Useful to adjust behavior depending on other loaded modules, without establishing a full dependency.

Quality of life

  • The editor now has keyboard shortcuts. In particular, the Scene Editor has a lot of useful shortcuts now for adding, moving or duplicating nodes.
  • You can now duplicate assets in the asset list, so you can reuse the same kind of asset easily.
  • Added a CLI program for working with modules. This is primarily intended for build scripts in this repository, but you can also use it yourself to pack, unpack, merge or inspect modules from a shell.

Bug fixes

  • Fixed problem where the ClearLog, Log and LogSplit functions could race, causing inconsistent window clearing behavior in-game.
  • Fixed rare data loss error that could occur when creating assets, opening and closing tabs in a specific way.
  • Fixed a game crash that would occur when loading a save game that's referencing a Scene that has been deleted from its module.

Side notes

  • Starting with this release, .furball files are gzip-compressed and a lot more space-efficient in general. The format remains fully backwards-compatible, so no worries about old modules, but new files will be a lot smaller. Thanks a lot to @SyntacticKitsune for implementing big chunks of this.
Post Reply