Stardew Valley

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

Tags for this mod

About this mod

Allows you to add decoratable upper floors to your farmhouse and create content packs with custom floor maps.

Requirements
Permissions and credits
Changelogs
TL;DR:

Install this mod and its content pack and you will get two new floors for your farmhouse. You can choose which floors to use and their order in the mod's config.json file.



Details:

This mod is a framework that allows you to create and install content packs that define farmhouse floor types, to then add as extra floors to your farmhouse using this mod's config file.

There is an example content pack that contains two ready-made floor types, one that has many rooms and is based on the fully upgraded farmhouse main floor, and another that is just one big room about the size of the entire farmhouse main floor.


Content Packs:

Content packs include a content.json with a list of at least one farmhouse floor type.

Each farmhouse floor type does the following:
  • provides a unique name for the floor type
  • points to a map file that must be included in the content pack
  • indicates the tile position to draw the staircases
  • defines wall and floor rectangles for decorating

Once you've installed a content pack, you can setup your farmhouse floors in this mod's config.json file (created once you load the game with this mod):

{
  "EnableMod": true,
  "FloorNames": [
    "ManyRooms",
    "EmptyHall"
  ]
}

This tells the mod that your first extra floor will be of the "ManyRooms" type, and your second extra floor will be of the "EmptyHall" type. These are the two types I've created as an example in the example content pack. You can add as many entries to the "FloorNames" key as you like, and they will be added to the farmhouse in the order they appear there.

If you're happy with my two floor types, you can just install this mod and its example content pack, and you will immediately have two extra floors in your farmhouse, one of each type, and you can edit the order and floor types in the config file as you like.


Notes:
  • If you install only the main mod without the example content pack, the mod will throw an error because by default it expects to load both floor types in the example content pack. You can edit the config to switch to your own floor types, and the error will go away.
  • Floor maps must have the indoors and untitled tile sheet tile sheets from the farm house, in order to properly show the stairs. I recommend starting off with one of the example floors as a base and editing it using Tiled as you like (provided you know what your doing).
  • This mod hasn't been tested rigorously. It may be that placing certain things on the new floors causes problems I haven't thought of. I can confirm that it saves wallpaper, flooring, and objects that you place on the floors, so all seems well! Still, this is a mod, so as always backup your save if you're afraid of the unexpected.
  • Changing your floor layout does not move things you place on that floor. I'd recommend removing everything from a floor before you change the floor type for a floor.


Technical:

Requires SMAPI, uses Harmony.

Compatible with Mod Updater for automatic updates.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.