

Adds the Scarlet Devil Mansion from Touhou as a possible dungeon for the snow moons (Dine, Rend, Tital). By default the chances are about 50% split between the regular mansion dungeon and the SDM dungeon. In the Lethal Level Loader config, you can edit the spawn weight for any of the snow maps as well as any vanilla or custom moon.
This dungeon blends very well with the Sanguine moon or Scarlet Devil Mansion moon. By default the chances are about 75% for the SDM dungeon to appear.
Sanguineの月やScarletDevilMansionの月と一緒に使うことを勧める。
In order for my dungeon to appear in the LethalLevelLoader (LLL) config, you need to run Lethal Company with this mod installed and load up a save file. This will automatically setup my dungeon in the LLL config.
Open the config with either r2modman or open the config file inside the BepInEx folder.
Go to "Custom Dungeon: Scarlet Foyer" or "Custom Dungeon: Scarlet Basement" section. You must set this to true.
Generally speaking, these two fields are the most important. "Manual Level Names List" is the list of moons that the dungeon will appear in. "Dynamic Level Tags List" is the list of special tags. The important tags are "Vanilla" (on vanilla moons) and "Custom" (on modded moons).
Write the list like "[MOON_NAME/TAG]:[WEIGHT],[MOON_NAME/TAG]:[WEIGHT]..." where each entry is separated by a comma.
Example:
SDMダンジョンをLethalLevelLoader(LLL)コンフィグに表示するには、このMODが入ってLethal Companyを起動し、セーブをロードする必要がある。これで自動的にLLLコンフィグにSDMダンジョンがつけられる。
r2modmanでコンフィグを開くか、BepInExフォルダ内のコンフィグファイルを開く。
「Custom Dungeon: Scarlet Foyer」、または「Custom Dungeon: Scarlet Basement」セクションに進む。これをtrueに設定する必要がある。
一般的には、この二つのフィールドが最も重要だ。「Manual Level Names List」はダンジョンが現れる月のリストだ。「Dynamic Level Tags List 」は特別なタグのリストだ。重要なタグは、「Vanilla」(オリジナルの月に)と「Custom」(MODの月に)だ。
リストは、「(月の名前・タグ):(ウェイト),(月の名前・タグ):(ウェイト)…」のように、英語の文字で各エントリーを「,」で区切って書く。
例えば
This mod adds two dungeons. These dungeons have different entrance rooms and different dungeon generation values; otherwise they are essentially the same dungeon.

Enter in a 2F foyer room with doorways to the sides and a few doorways to the front. Dungeon generation goes both upward and downward. Main paths are short but branching paths are common. Contains a clock and a few presents.
More common on Rend.

Enter in a 2F basement room with only doorways to the sides. Dungeon generation goes downwards. Main paths are slightly longer but branching paths are a bit rarer and shorter. Contains a vent and a defensive weapon.
More common on Dine.
The dungeon features a config presets to accommodate the majority of party sizes and preferences. These can be found in the _Presets section in the dungeon config. These will automatically overwrite the config settings as the preset values get updated. You can disable the automatic overwrite in the config as well. The preset feature is a lot easier to use with Lethal Config.
You must load up Lethal Company once with this mod enabled to create the config. All configs are synced by the host.

The Default preset. Designed for larger parties of 3 to 4+ players, this dungeon preset will create three main paths (as opposed to the game's single path) that's about half as big as a normal mansion. Scrap, enemy, and map hazard count are increased to fit the larger dungeon.

The Small preset. Designed for smaller parties of 1 to 3 players, this dungeon preset is a smaller variant of the Default preset. It will instead create two main paths. As well, the scrap and map hazard count are only slightly increased.

The MoreLoot and BitMoreLoot preset. Designed for parties who seek high risk, hish reward, these dungeon presets are variants of the Default and Small preset. These massively increases scrap, enemy, and map hazard count.

The Vanilla preset. Designed for parties who just want a vanilla dungeon experience. This tries to emulate Lethal Company's vanilla dungeon generation.
If tweaking is more of your style, you can still configure many of the dungeon's properties to your liking in the config. Just be sure to select the Custom preset so they don't get overwritten.
The map is a grayscale representation of what the Scarlet Devil Mansion could look like, with a mayor starting room, hallway corriders, and typical mansion rooms (bedrooms, libraries, kitchens, etc.).
This dungeon uses modified dungeon generation code to do the following:
This is all done to increase the chance of the main paths connecting and forming a circular path. Please understand that this will increase dungeon generation times by a decent margin. The Vanilla preset doesn't use most of these modifications.

Besides the dungeon's generation and tiles, the dungeon features a few unique mechanics that can shake up your scavenging adventure, or play a fun distraction.
Many mechanics/enemies marks the player for death. This will deal damage to set the player's health to 5. If the player's health is already below 10 OR if they were already marked for death, the damage will instead kill them. Resets on a new day.
The dungeon contains a few unique scrap items that can only spawn inside the mansion. They each contain a unique interact feature.
Scraps' value and spawn weight can be configured. They can also be configured to spawn on all moons or to not spawn at all.
The dungeon uses summoning sigils to summon its enemies as opposed to vents. This is only a visual change.
The dungeon contains variants of existing Lethal Company enemies that can only spawn inside the mansion. They each contain slight gameplay variations.
Enemies' health, speed, spawn weights, or even existence can be configured.
The following mods either have unique compatibilities or made to work with SDM:
We have returned.
The development process is generally split into 3 distinct parts:
Please consider supporting future development here.
Touhou owned by Team Shanghai Alice (ZUN)
ladyalice.dev - Code, Dungeon Design
@Zaggy1024 (Discord) - For their sick help in getting Deep Profiling to work
Nitori.itch.io - For their sick advice
XuXiaolan - Snowglobe code (twice)
Warmgummybear - He threatened my life, and more importantly my waifus, if I didn't include his name
MarkLi.itch.io - 3D Environment Assets (Rooms)
Vinyis.itch.io - 3D Environment Assets (Hallways)
@grandteki (Discord) - Various 3D Assets
@mauriciodm (Fiverr) - Maid Assets
@solidstone (Discord) - Snowglobe Assets
@Schmagons (Instagram) - Snowglobe Doll Assets
Flimichan - Low Poly Christmas Tree
@Schmagons (Instagram) - Remilia, Sakuya, Medicine, Hime, Kagasa, Yuyuko, Reimu
YeeHaw - Flandre, Patchy, Koakuma
World's Saddest Halo Fan - Rumia
WorthAggravating (Reddit) - Hina
Vrabius - "Scarlet" Remilia
peacock-roy.itch.io - Maid chase and dungeon entrance music. Various SFX
@solidstone (Discord) - Snowglobe jingle
@StasGavrik - Jukebox music
@silentbirdofgensokyo - Jukebox music
Released under Creative Commons Attribution License. If you'd like expand upon my work, while I would apprecite it you don't have to ask for my permission. You only have to include the text blob above, with the names and their contributions, somewhere reasonably visible in your mod page or whatever you doing.
If interested, the dungeon assets were originally used in these two fan games. Utusuru and Gensokyo Komarunner.
興味があったら、ゲームアセットはもともとこの二つのファンゲーム(UtusuruとGensokyo Komarunner)で使われていたんだ。
Any complaints or questions can asked in this discord thread. You can also dm personally at this discord, LadyRaphtalia. Please do not send a friend request, I will not accept it.
日本語がちょっとできるよ。コメントや質問やモンクがあったら、このdiscordのスレッドに書いてください。さらに、このdiscordでLadyRaphtaliaに直接メッセージを送ることもできる。フレンド申請を送らないで、承認しないから。