0 of 0

File information

Last updated

Original upload

Created by

CyanFire

Uploaded by

CyanFire

Virus scan

Some manually verified files

About this mod

Makes the cellar available for all FarmHouse/Cabin sizes, can be made compatible with custom FarmHouse/Cabin maps too!

Requirements
Permissions and credits
Changelogs
This mod is heavily based on Cellar Available but i realised that mod has it's limitations such as it doesn't work for Cabins and it's not compatible with custom maps. In multiplayer only the host player can see the entrance also, so i thought i would take a stab at making my own that is more modder & multiplayer friendly.


This mod uses the vanilla game's way of applying the cellar entrance so each house size has it's own patch map which i have made targetable with Content Patcher so modders can alter them for custom maps. The mod already comes pre-configured for vanilla though.

"Maps/FarmHouse_Cellar0" is for the smallest size.

"Maps/FarmHouse_Cellar1" is for the medium size

and then just like vanilla the default "Maps/FarmHouse_Cellar" is used for the largest size


Then came the issue of how to handle return warps as using Content Patcher to set them up would be way to confusing for most, especially for Cabins. So i have made it super simple, I have created a new Map Property called "CellarExit" which can be added to the entrance patch map via Tiled or CP. This is the point that the player will be warped to when leaving the Cellar, you can provide a maximum of 2 exit points. This of course is entirely optional. Format is below:


For 1 exit point:

"CellarExit":  "7 10"

for 2 exit points:

"CellarExit": "4 10 5 10"


Feel free to take a look at the .tmx files for reference


The Map Property only works for "Maps/FarmHouse_Cellar0" & "Maps/FarmHouse_Cellar1" as the vanilla game handles everything after the first upgrade. I will be adding that functionality to the vanilla "Maps/FarmHouse_Cellar" via my Farmhouse Fixes mod as i thought it would be better to split it as some users may find it useful but may not want a permanent Cellar.


The config file should look VERY familiar!:

ShowCommunityUpgrade - Show community upgrade in the carpenter's menu. This disables the upgrade option of your farmhouse so don't set it
before you're satisfied with your house size. This setting is only available for the host player.
RemoveCellarCasks - Removes all casks from your own cellar. Note that this option resets itself, otherwise casks would be removed every time the save is loaded. I recommend only using this option initially to remove the Casks that are automatically added by the game as this option will also remove any crafted Casks that are placed in the cellar.
AddCellarCasks - Reverse of the above option, adds the default casks to your own cellar if they've been removed. Note that this option resets itself, otherwise casks would be added every time the save is loaded and you would end up with an infinite amount.


Show Community Upgrade, Remove Cask & some warp code is used from candidus42's Cellar Available mod. Huge thanks to them!


Source Code