1. Welcome to the official Starbound Mod repository, Guest! Not sure how to install your mods? Check out the installation guide or check out the modding help thread for more guides.
    Outdated Mods have been moved to their own category! If you update your mod please let a moderator know so we can move it back to the active section.
    Dismiss Notice

Portrait Restorer 3.0

Consistently displays NPC portraits

  1. SpaceDonkeyKong
    COMPATIBILITY WARNING: Not compatible with anything that modifies dialog.lua.

    Through some programming oddity, the portrait of an NPC isn't displayed in the sayToEntity function of dialog.lua.


    This mod fixes that. The implication is that you can give your mod's tenants a portrait, by messing with their .npctype file:

    "scriptConfig" : {
    "chatPortrait" : "/interface/chatbubbles/PUTPORTRAITHERE.png:<frame>",

    If the chatPortrait line isn't there, the speech bubble will just be normal, small, portrait-less, as it is in vanilla.
    Special thanks to Kawa for figuring this out, uploaded with his permission.
    Mod Pack Permissions:
    Anyone can use this mod in their mod compilation without the author's consent.
    Mod Assets Permissions:
    You must get the author's consent before altering/redistributing any assets included in this mod.