Releases: Raytwo/Cobalt
Version v0.17.0
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):
- PID (
string
): PID of the target unit - JID (
string
): JID of the job to set - 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):
- PID (
string
): PID of the target unit - 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):
- 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
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):
- 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):
- PID (
string
): PID of the receiving unit - IID (
string
): IID of the item to give
Example:
-- Silently add the Lollichop to Alear's inventory
ItemGainSilent("PID_リュール", "IID_ロリポップ斧")
Version v0.15.1
Bugfix(es)
- Fix an issue where various popups would be glitched when adding units or emblems from custom lua scripts.
Version v0.15.0
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).- These files need to be unbundled, and the filename of your script will be used to call the function (Example:
mymod.lua
will callfunction mymod()
in your script). - The function HAS to be present, with the same capitalization.
- Include() and all other commands are allowed
- Separate functions in the file being called by your main function are allowed
- Try to come up with a unique name, as conflicts are not allowed/handled
- These files need to be unbundled, and the filename of your script will be used to call the function (Example:
Version v0.14.0
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
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
Bugfix(es)
- Fix a bug with merging Calculator.xml
New feature(s)
- 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
- Item (partially)
- Animal
- Calculator
Newly supported
- Cook
- Achieve
Version v0.11.0
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
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'sfe_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
Bugfix(es)
- (Hopefully) improve AssetTable merging.