You are viewing a potentially older version of this package. View all versions.
TheMysticSword-MysticsRisky2Utils-1.0.0 icon

MysticsRisky2Utils

Library for TheMysticSword's mods

Date uploaded 2 years ago
Version 1.0.0
Download link TheMysticSword-MysticsRisky2Utils-1.0.0.zip
Downloads 32169
Dependency string TheMysticSword-MysticsRisky2Utils-1.0.0

This mod requires the following mods to function

bbepis-BepInExPack-5.4.1905 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.1905
RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
RiskofThunder-R2API_Core-5.0.10 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.0.10
RiskofThunder-R2API_Elites-1.0.3 icon
RiskofThunder-R2API_Elites

API for adding custom elite types

Preferred version: 1.0.3
RiskofThunder-R2API_Networking-1.0.2 icon
RiskofThunder-R2API_Networking

Networking API around the Unity UNet Low Level API (LLAPI)

Preferred version: 1.0.2
RiskofThunder-R2API_Language-1.0.1 icon
RiskofThunder-R2API_Language

API for modifying the language localisation of the game

Preferred version: 1.0.1
RiskofThunder-R2API_Prefab-1.0.3 icon
RiskofThunder-R2API_Prefab

API for Prefab creation, networking and duplication

Preferred version: 1.0.3
RiskofThunder-R2API_RecalculateStats-1.2.0 icon
RiskofThunder-R2API_RecalculateStats

API for manipulating Character Stats

Preferred version: 1.2.0
RiskofThunder-R2API_Sound-1.0.2 icon
RiskofThunder-R2API_Sound

API for adding custom sounds or musics

Preferred version: 1.0.2

README

Mystic's Risky 2 Utils

This is a library required by some of TheMysticSword's mods. Does not add any content on its own.

CHANGELOG

2.0.15:

  • Fixed this mod breaking Starstorm 2's Fear execution

2.0.14:

  • Fixed ConfigurableValues ignoring the useDefaultValueConfigEntry option and calling onChanged with the actual value
  • Removed ConCommandHelper

2.0.13:

  • Added GenericGameEvents.OnApplyDamageExecutions
  • Fixed DirectorCards added by BaseCharacterMaster.AddDirectorCard appearing in family event spawn selections

2.0.12:

  • Fixed BaseItemLike item displays being overwritten by newest ones if two bodies share the same ItemDisplayRuleSet

2.0.11:

  • Fixed DirectorCards added by BaseCharacterMaster.AddDirectorCard not actually being added to in-game monster pools

2.0.10:

  • Fixed BaseElite throwing NREs every frame if a BaseElite doesn't have a model effect assigned to it

2.0.9:

  • Changed HurtBoxSetUpInfo from struct to class
  • Changed characterSpawnCards from a List to a Dictionary
  • Added BaseBuff.refreshable
  • Added isSniperTarget to HurtBoxSetUpInfo
  • Added a static BaseItemLike.AddDisplayRule. All the instance-specific ones refer to it now
  • Added an overload for BaseItemLike.AddDisplayRule that takes the itemDisplayPrefab argument before childName
  • Added BaseCharacterBody.onSetupIDRS and BaseCharacterBody.AddItemDisplay
  • Added EliteDisplays
  • Removed debug warning message about a body not being found for BaseItemLike IDRS set-up
  • Removed unused BaseItemLike.itemDisplayRuleDict
  • Removed DebugTools
  • Removed BaseElite recolour ramp functionality in favour of using R2API.EliteAPI's implementation
  • Removed MysticsRisky2UtilsCustomEliteFields
  • Updated dependencies to use only some R2API modules
  • Optimized BaseElite modelEffect handling
  • Optimized CustomTempVFXManagement

2.0.8:

  • Added string ConfigOption creation
  • Fixed elites derived from BaseElite being pushed into wrong elite tiers
  • Renamed BaseElite tier field to vanillaTier
  • Added BaseElite isHonor field
    • Tier 1 elites are no longer auto-added to Honor tiers, and use this new field for that instead
  • Added some more generic ChildLocator additions

2.0.7:

  • Marked the mod as client-side

2.0.6:

  • Fixed CopyChildren setting the children positions to wrong values
  • BaseItem deprecatedTier is now set immediately

2.0.5:

  • Fix the mod not reloading the logbook on ConfigurableValue creation

2.0.4:

  • Added ConfigOptions
  • Added SoftDependencyManager
  • Added Risk of Options soft dependency
  • Converted BaseInteractable.AddDirectorCardTo to static
  • Added BaseInteractable.RemoveDirectorCardFrom

2.0.3:

  • Recompiled against the 1.2.3 version of the game to update certain references
  • Removed BaseAssetTypes.BaseAchievement
    • Dependent mods should migrate to the RoR2.RegisterAchievement attribute
  • Added BrotherInfection static class
  • Added BaseItem.SetItemTierWhenAvailable method
  • Fixed GenericGameEvents.OnPopulateScene crashing the game

2.0.2:

  • Standard CameraTargetParams and PlainHologram are no longer loaded on plugin Awake
    • This fixes an issue with the game hanging up for a few seconds before the rest of the game content starts loading
  • Added MysticsRisky2UtilsObjectTransformCurveLoop MonoBehaviour
  • Removed StateSerializerFix as it's no longer needed

2.0.1:

  • Updated project references to work with the 1st March 2022 version of the game
  • Removed the mr2u_notification console command

2.0.0:

  • Added XML documentation for fields that can be used by mods that soft-depend on this mod
  • Removed CharacterStats class in favour of R2API's RecalculateStatsAPI
  • Added RetrieveCharacterBodyList to MysticsRisky2UtilsColliderTriggerList component
  • Added a static loadedDictionary (string -> BaseItem/BaseEquipment) for BaseItem and BaseEquipment
  • BaseItemLike now has a followerModels dictionary that can be used to store and retrieve multiple item display objects
    • The old followerModel field is now a property that points to followerModels["default"]
  • Added OnPlayerCharacterDeath generic game event hook
  • Added Utils.AddItemIconBackgroundToSprite
  • Added Utils.FormatStringByDict
  • Added CharacterModelMaterialOverrides
  • Removed BaseLoadableAsset.TokenPrefix and ContentLoadHelper.AddPrefixToAssets
  • Removed several methods from BaseItemLike:
    • IsDisabledByConfig
    • LoadModel
    • FollowerModelExists
    • LoadFollowerModel
    • LoadIconSprite
    • SetAssets
    • SetIcon
    • AfterTokensPopulated
    • PreLoad
  • Removed BaseItem.ModifierTimesFunction