Skip to content

Latest commit

 

History

History
157 lines (98 loc) · 8.14 KB

CHANGELOG.md

File metadata and controls

157 lines (98 loc) · 8.14 KB

Changelog

  • Update all ModLoader methods for v6 (game version v1.0.0.3)
  • Git Changelog: v6.2.0...v6.2.1
  • Adds 2 new API methods, which allow modders to load content data programatically, without needing a ContentData resource file:
    • load_data_by_dictionary(content_data_dict: Dictionary, mod_name: String)
    • load_data_by_content_data(content_data, mod_name: String)
  • Delays adding content until the last autoload has initialised.
    • ContentLoader now adds its content after Brotato's last autoload (DebugService) has initialised, rather than ProgressData. This makes it possible for modders to interact with other singletons (eg. ItemService) before they add content with ContentLoader.
  • See PR #1 for full details of this release.
  • Git changelog: v6.1.0...v6.2.0
  • Adds support for custom difficulties
    • This could be used to create custom challenges
    • I haven't tested unlockable difficulties, but in theory it could work
    • You could also award actual challenges (ie. the ones shown in the Progress screen) upon completion of your custom difficulty
    • The difficulties GUI wraps and scrolls just like the character GUI, so you have unlimited space for your own challenge mods.
    • Example mod: Darkly77-CustomDifficultyModes
  • Git Changelog: v6.0.1...v6.1.0

image

  • Remove old custom challenge code (CLChallengeData) - 94a3e73
  • Remove redundant .import dir - 4252668
  • This update has breaking changes, as it removes the custom challenge code, which has now been moved to ExpandedChallenges.
  • Git Changelog: v5.3.0...v6.0.0

Major Features

  • Support for adding upgrades
    • Upgrades have been tested and confirmed as working, consumables/elites have not.
  • Support for adding consumables
  • Support for adding elites
  • Store mod data, to retrieve the mod ID using content's my_id
  • Add 2 API methods for accessing the stored data
  • Git Changelog: v5.2.0...v5.3.0

New Func Details

ContentLoader now stores the names of mods when they add content, and provides 2 new funcs to get this data:

lookup_modname_by_itemid(item_id:String, type:String)

Gets the ID of a mod from an item ID ("item" being any content added via ContentLoader).

  • item_id is always my_id.
  • type is either: character / challenge / elite / item / set / upgrade / weapon
lookup_modname_by_itemdata(item_data)
  • item_data is the resource object
  • Remove the code that makes the character select screen wider, it's been moved to a standalone mod instead (WiderCharacterSelect)
  • Add an EXAMPLE.tres file that can be duplicated to create a new ContentData file (as Godot may not show it in the "new resource" list, which is a bug I've been unable to fix)
  • Check if a file exists before trying to load it with load_data (logs a fatal error if it doesn't)
  • Git Changelog: v5.0.2...v5.1.0
  • Fix clean_up_room args, since vanilla's 0.8.0.1 patch
  • Git Changelog: v5.0.1...v5.0.2
  • Fix unnecessary _ready call in progress_data.gd
  • Update to be compatible with the latest beta patch (0.8.0.0-v3).
  • Remove all code related to the custom weapon sets enum hack (including the custom weapon & set classes).
    • This is a breaking change.
    • Create custom sets and add them to your weapons as per the current vanilla beta patch instead.
    • Add the sets as before.
  • Remove challenge code related to stat checks.
    • Vanilla now fully supports using custom stats for challenges.
  • Update docs to remove mentions of the old custom set classes
  • Git Changelog: v4.0.0...v5.0.0
  • Updates and fixes for the latest beat patch (v0.8.0.0-v1).
  • Adds debug_weapons, which works like debug_items.
  • Increases the number of columns on the character select screen, from 12 > 17.
    • This lets you use up to 16 custom characters, before they get cut off by the GUI.
    • This is a hotfix, to show the extra characters from the recent Assassin port to ModLoader. A more flexible fix will be added later.
  • Fix translations
    • The translation file was using the wrong name
  • Fix custom characters
    • Adds a fix that's necessary to make custom characters work.
    • Without this, using custom characters will cause a crash on the character selection screen.
  • Fix custom characters causing a crash
  • Fix translation file was using the wrong name
  • Add Support for custom weapon sets
  • Add Support for custom challenges
    • Support all danger levels above 0 (1, 2, 3, 4, 5)
    • Support for holding specific items/weapons
    • Support for reaching certain stats
    • Support for requiring a certain character for all of the above