Skip to content

Rhoenicx/HairLoader

Repository files navigation

HairLoader mod for Terraria 1.4

This mod acts as a framework for other mods to add their custom hairstyles to the game using simple Mod Calls.

Current features:

  • Replaces the Stylist's NPC hairwindow with a custom hairwindow UI.
  • Hairwindow is sorted based on mod name(s).
  • Custom currency support by specifying the item's ID.
  • Option to specify the price of the hairstyle and re-color.
  • Option to add the Hairstyle to the character creation window.
  • Option to add custom unlock conditions for each hairstyle (requires additional Mod Calls)
  • Utilizes a custom way to save the selected hair, based on mod (class) name and hair name.
  • Reverts the players last selected vanilla hair if the custom hairstyle is no longer available (e.g. disabled mod).
  • Hair offset X to move the hair along the X-axis, useful for hairstyles that exceed the vanilla hair texture width.
  • Currently requires spritesheets to be same height as vanilla's.

Github: https://github.com/Rhoenicx/HairLoader

Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=2819428494

Please leave your suggestions, bugs and other notices in the Steam Workshop comments.

Changelog:

  • 0.2.0.1 : Updated description file
  • 0.2.0.0 : Now using IL patches instead of detours.
  • 0.1.0.5 : Added extra button to show locked hairstyles.
  • 0.1.0.4 : Fixed an issue with changing hairstyles.
  • 0.1.0.3 : Added color copy/paste/randomize buttons and HEX code display.
  • 0.1.0.2 : Fixed an issue with displaying highlight text.
  • 0.1.0.1 : Reworked mod calls and added example code.
  • 0.1.0.0 : Initial release.

About

Terraria HairLoader mod - Adds the possibility to add custom hairstyles

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages