Modding Help Custom NPC in Custom House

Discussion in 'Mods' started by tnw, Jan 17, 2020.

  1. tnw

    tnw Space Spelunker

    So I've got my basic ContentPatcher NPC and my house for the NPC that is on a custom Forest map.

    I've added the interior of the house using this guide: https://stardewvalleywiki.com/Modding:Maps#Custom_map

    I can warp to the inside of the house from my custom forest map no problem, so long as the house is empty. But if I make this my NPC's home location, I get an error when I click on the door to try and warp (and the player is not warped to the interior anymore):

    I'm guessing the data for the new map location isn't loaded when the NPC is being assigned that place as their home? I'm not 100% sure though...

    I've currently got the house and the NPC as 2 separate mods as it would not let me combine the .dll and ContentPatcher in 1 manifest file.

    Does anyone have any ideas how to overcome this issue?
     
    • minervamaga

      minervamaga Pangalactic Porcupine

      Adding custom NPCs requires using TMX Loader for the maps and Custom NPC Fixes for spawning them! You can check some examples here and here, as well as a template here.
       

      Share This Page