Skip to content

Releases: Raytwo/Cobalt

Version v0.17.0

11 Jul 20:48
59d8a92
Compare
Choose a tag to compare

New feature(s)

Added support for new Lua commands:

UnitSetJob

Sets the job of a unit without displaying the class change animation. Resets the level to 1

Argument(s):

  1. PID (string): PID of the target unit
  2. JID (string): JID of the job to set
  3. WeaponMask (number, optional): Flags to add weapon proficiencies to the Unit after the job change

Example:

-- Turns Clanne into a Mage Knight that's proficient with swords
UnitSetJob("PID_クラン", "JID_マージナイト", 2)

UnitSetLevel

Silently sets the level of the target unit, this change is cosmetic only and does not increase stats or unlock skills

Argument(s):

  1. PID (string): PID of the target unit
  2. Level(number): Level to assign to the unit

Example:

-- Set Alear's level to 7
UnitSetLevel("PID_リュール", 7)

UnitLearnJobSkill

Provide the unit with the job skill for its currently equipped job, disregarding the unit's level

Argument(s):

  1. PID (string): PID of the target unit

Example:

-- Alear will now learn their job skill regardless of their level
UnitLearnJobSkill("PID_リュール")

Version v0.16.0

10 Jul 19:54
59d8a92
Compare
Choose a tag to compare

Improvement(s)

  • Fine-tuned Chapter.xml merging

New feature(s)

Added support for new Lua commands:

CobaltNotice

Displays a notification at the top of the screen similar to when new activities are available, but does not require a MSBT entry

Argument(s):

  1. Message (string): message to display in the notification

Example:

-- Display a notice with the message "Cobalt now supports custom Lua commands!"
CobaltNotice("Cobalt now supports custom Lua commands!")

ItemGainSilent

Adds an item in the inventory of a unit without displaying the popup (similar to FE Fates)

Argument(s):

  1. PID (string): PID of the receiving unit
  2. IID (string): IID of the item to give

Example:

-- Silently add the Lollichop to Alear's inventory
ItemGainSilent("PID_リュール", "IID_ロリポップ斧")

Version v0.15.1

09 Jul 20:21
59d8a92
Compare
Choose a tag to compare

Bugfix(es)

  • Fix an issue where various popups would be glitched when adding units or emblems from custom lua scripts.

Version v0.15.0

09 Jul 20:08
59d8a92
Compare
Choose a tag to compare

New feature(s)

  • Cobalt will now load .lua files at the root of your mod and execute them when entering the Somniel (more specifically, when MapOpening is executed).
    1. These files need to be unbundled, and the filename of your script will be used to call the function (Example: mymod.lua will call function mymod() in your script).
    2. The function HAS to be present, with the same capitalization.
    3. Include() and all other commands are allowed
    4. Separate functions in the file being called by your main function are allowed
    5. Try to come up with a unique name, as conflicts are not allowed/handled

Version v0.14.0

08 Jul 21:33
59d8a92
Compare
Choose a tag to compare

Bugfix(es)

  • The Smithy button will now properly display its help message.
  • The Smithy menu on the Sortie sequence will now properly clean the previous UI and restore it.

New feature(s)

  • Introducing a new language for Cobalt. If you'd like to contribute, please head over to the localization repository.

Here's a reminder of the supported languages as-of now:

  • American English
  • European French
  • Japanese
  • German

New localization

  • American Spanish

Version v0.13.0

08 Jul 16:49
59d8a92
Compare
Choose a tag to compare

New feature(s)

  • Introduce support for localizing Cobalt. If you'd like to contribute, please head over to the localization repository.

Here are the supported languages as-of now:

  • American English
  • European French
  • Japanese
  • German

Version v0.12.0

07 Jul 16:20
3febfb9
Compare
Choose a tag to compare

Bugfix(es)

  • Fix a bug with merging Calculator.xml

New feature(s)

As a reminder, here are the supported gamedata files:

Previously supported

  • Person
  • Skill
  • Shop
  • Item
  • AssetTable
  • God
  • Job
  • AnimSet
  • Params
  • Chapter
  • Item (partially)
  • Animal
  • Calculator

Newly supported

  • Cook
  • Achieve

Version v0.11.0

07 Jul 15:22
3febfb9
Compare
Choose a tag to compare

New feature(s)

  • Prettify the patched XMLs written to sd:/engage_patches/.
  • The Log script command will now output its argument to the terminal (assuming you play on emulator with guest logs enabled)
  • Added support for merging more gamedata XMLs. Please read the instructions on the wiki.

As a reminder, here are the supported gamedata files:

Previously supported

  • Person
  • Skill
  • Shop
  • Item
  • AssetTable
  • God
  • Job
  • AnimSet
  • Params
  • Chapter

Newly supported

  • Animal
  • Calculator
  • Item (evolve data, exchange data, interaction data, engrave data, reward data, experimental)

Version v0.10.0

06 Jul 21:18
3febfb9
Compare
Choose a tag to compare

New feature(s)

  • Added support for MSBT merging. Place your unbundled MSBT file(s) in /patches/msbt/ by following the same hierarchy as the game's fe_asset_message directory (patches/msbt/message/us/usen/accessories.msbt for example).

Bugfix(es)

  • Properly support Refine (forge) merging for Item.xml.
  • God.xml merging should no longer make every entry empty.

Special thanks to @thane98 since most of these improvements rely on astra-formats.

Version 0.9.3

03 Jul 13:19
8d731bd
Compare
Choose a tag to compare

Bugfix(es)

  • (Hopefully) improve AssetTable merging.