Skip to content

Releases: MSUTeam/MSU

1.8.0

14 Apr 20:07

Choose a tag to compare

CHANGES

  • feat: add function for stable sorting arrays (#456)
  • feat: add clamp function to msu math library (#468)
  • feat: return removed item when removing from weighted container (#476)
  • feat: add toPrecision based on step to avoid floating point weirdness in Range Setting display (#487)
  • perf: cache frameUpdate with bound environment (#469)

VANILLA FIXES

  • fix(vanilla): error during item unequip if any skill accesses item skill (ae825b7)
  • feat: apply vanilla fixes for barbute and sallet plainVariant for vanilla <= 1.5.0.15 only (#467)

FIXES

  • fix: expanding factions array by reference (#481)
  • fix: weighted container rand function not working (#471)
  • fix: wait until behavior finishes executing before removing it by stack (a5a1a3a)
  • fix: trying to reset fields on unadded skills of weapon or shield (#480)
  • fix: reversed param order causing IsHeadless check to not work (#475)
  • fix: colorizeValue not being guaranteed to return a string (#484)
  • fix: weapontype and itemtype not handling 0 case properly (#486)
  • fix: mistyped function name for printing error to log (b239d58)
  • fix: msu bold and italic css not applying (50652f0)
  • fix: greedy markdown -> html link parsing failing when brackets or parentheses are involved (ed77358)

1.8.0-beta.1

02 Apr 17:04

Choose a tag to compare

1.8.0-beta.1 Pre-release
Pre-release

CHANGES

  • feat: add function for stable sorting arrays (#456)
  • feat: add clamp function to msu math library (#468)
  • feat: return removed item when removing from weighted container (#476)
  • perf: cache frameUpdate with bound environment (#469)

VANILLA FIXES

  • fix(vanilla): error during item unequip if any skill accesses item skill (ae825b7)
  • feat: apply vanilla fixes for barbute and sallet plainVariant for vanilla <= 1.5.0.15 only (#467)

FIXES

  • fix: expanding factions array by reference (#481)
  • fix: weighted container rand function not working (#471)
  • fix: wait until behavior finishes executing before removing it by stack (a5a1a3a)
  • fix: trying to reset fields on unadded skills of weapon or shield (#480)
  • fix: reversed param order causing IsHeadless check to not work (#475)
  • fix: colorizeValue not being guaranteed to return a string (#484)
  • fix: weapontype and itemtype not handling 0 case properly (#486)
  • fix: mistyped function name for printing error to log (b239d58)
  • fix: msu bold and italic css not applying (50652f0)
  • fix: greedy markdown -> html link parsing failing when brackets or parentheses are involved (ed77358)

1.7.2

02 Apr 01:54

Choose a tag to compare

  • Hotfix build. Check the release notes of 1.7.0.
  • fix: missing onMovementFinished event for skills with vanilla 1.5.0 (4032ad9)

1.7.1

01 Apr 23:01

Choose a tag to compare

  • Hotfix build. Check the release notes of 1.7.0.
  • fix: crashing with vanilla 1.5.0 (1e450a8)

1.7.0

01 Apr 17:30

Choose a tag to compare

Now compatible with vanilla 1.5.1.6.

NEW FEATURES

  • add: unique id to entity that is serialized (#430) (documentation)
  • add: ability to get entity by UID globally (#454) (documentation)
  • add: redirect vanilla SkillCostAdjustments system to use MSU Base Values system for skills (#449) (documentation)
  • add: onAnyBroHired event for skills (#434) (documentation)
  • add: functions to check if game is being saved or loaded (#438) (documentation)
  • add: function to get all actors adjacent to a given tile (41a1175) (documentation)
  • add: update checker improvements (#429)
    • remember if the user has already seen an update
      • if the user has not yet seen an update, mark it with a little star and sort it up top
    • prettify patch notes by parsing headers and links
    • add click handler to collapse entry and hide patchnotes
    • if enabled, clicking on the github icon will now directly download the .zip of the release via their browser (documentation)
      • for modders: to disable this behavior, pass {DirectDownload = false} while setting up the github mod source
    • differentiate between base URL (what the user passes), update URL (where we check for updates) and target URL (where we point the player to) for ModSource
    • make the msu mods update screen appear above the modern hooks issue one if necessary (c0b3ef8)
  • add: ability to get keybind from keybinds mod addon (#441) (documentation)
  • add: ability to get first letter capitalized key combinations from keybind (#441) (documentation)

CHANGES

  • change: deprecate MSU-added onMovementFinished skills event and adjust for vanilla 1.5.1.4 (#448)
  • change: improve error message for defparams in ::MSU.Skills.addEvent (#424)
  • change: add info about desired type to ::MSU.Exception.InvalidType (47d1f5f)
  • change: improve how invalid data type errors are shown for msu emulated serialization containers (#410)
  • change: convert floats to ints if they are the same value and should be ints in serialization emulator write functions (#444)
    • This fixes certain exceptions thrown when using MSU emulators to serialize/deserialize certain vanilla bb classes which pass floats to write integer type functions.
  • change: optimize the MSU-added ::Tactical.Entities.getXYZActors functions for the case of 1-tile distance (#442)

FIXES

  • fix: allow null in writeString of serialization emulator (#443)
    • This fixes exceptions thrown when using MSU emulators to serialize an ::MSU.Class.SerializationData when outside a game save process.
  • fix(vanilla): tooltips having a jagged line in their background-image if their height increases too much (#445)
  • fix: add handling in ::MSU.Log. functions for tables with defined len key (#409)

v1.6.0

17 Sep 15:29

Choose a tag to compare

New features

GitHubTags as an alternative mod source #416

1.5.1

25 Aug 16:13

Choose a tag to compare

FIXES

  • fix: Quickhands not working for AI

1.5.0

05 Aug 23:03

Choose a tag to compare

NEW FEATURES

  • add: functions in ::MSU.Text to colorize values, percentages and multipliers (#401) (documentation)
  • add: ::MSU.Utils.benchmark function to benchmark and compare performance of different functions (#398) (documentation)
  • add: ::MSU.Array.removeValues function (#399) (documentation)
  • add: onCombatStarted function in starting_scenario (#392) (documentation)
  • add: ::MSU.Text.colorDamage function (#403) (documentation)
  • add: getMaxMoraleState() function in actor (vanilla only has setMaxMoraleState but no getter) (#407) (documentation)

FIXES

  • fix: a bug introduced in MSU 1.4.0 causing shields' FatigueOnSkillUse not being properly included in the base cost of their skills (#408)
  • fix: an edge case where the FatigueOnSkillUse for skills added by weapons/shields would not immediately update for the last added skill (#408)
  • fix: add a general solution to our handling of the vanilla case of paying for item action during certain AI behaviors. This fixes the issue of the ai being able to pick up a weapon for free (#406)
  • fix: ::MSU.Injury.ExcludedInjuries.get extending the original injuries array (#404)
  • fix: ::MSU.Injury.ExcludedInjuries.get not including extra injuries of included ones (#404)
  • fix: some msu exceptions in screens bb classes not throwing properly (#400)
  • fix: being unable to start scenario battles from the main menu without first having loaded a saved game (ea731fe)
  • fix: events added via ::MSU.Skills.addEvent not working when a custom function was declared (8ceed69)
  • fix: potential naming collision of msu world brush with other brushes of the same name (942385d)

1.4.2

16 Jul 20:32

Choose a tag to compare

FIXES

  • fix: serialization metadata used for serialization emulators becoming invalid after making a save game (#396)
  • fix: vanilla bb code toggle not applying to text bolded using JS (#395)

1.4.1

14 Jul 18:49

Choose a tag to compare

Hotfix build. See release notes of 1.4.0.

  • fix: update checker showing with 0 updates (312bcdb)