Alice-ScarletDevilMansion icon

ScarletDevilMansion

Adds the Scarlet Devil Mansion from Touhou as a possible dungeon to the snow maps.

Last updated 2 weeks ago
Total downloads 1567691
Total rating 74 
Categories BepInEx Items Monsters Moons Interiors
Dependency string Alice-ScarletDevilMansion-2.0.0
Dependants 981 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Lordfirespeed-OdinSerializer-2022.11.9 icon
Lordfirespeed-OdinSerializer

Fast, robust, powerful and extendible .NET serializer built for Unity

Preferred version: 2022.11.9
Evaisa-LethalLib-0.11.0 icon
Evaisa-LethalLib

My modding tools for Lethal Company

Preferred version: 0.11.0
Evaisa-FixPluginTypesSerialization-1.1.1 icon
Evaisa-FixPluginTypesSerialization

Fix custom Serializable structs and such not properly getting deserialized by Unity.

Preferred version: 1.1.1
fumiko-CullFactory-0.9.2 icon
fumiko-CullFactory

Stops rendering faraway factory rooms - Helps with performance.

Preferred version: 0.9.2
IAmBatby-LethalLevelLoader-1.2.3 icon
IAmBatby-LethalLevelLoader

A Custom API to support the manual and dynamic integration of all forms of custom content in Lethal Company. (v50 Compatible)

Preferred version: 1.2.3
Alice-DungeonGenerationPlus-1.1.2 icon
Alice-DungeonGenerationPlus

API to expand the compatibilities of Lethal Company's dungeon generation

Preferred version: 1.1.2

README

Required by all clients

Updated for v65-66

The Scarlet Devil Mansion(紅魔館)

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の月と一緒に使うことを勧める。

How to load on vanilla or custom moons, or edit dungeon weights with Lethal Level Loader

Click here to see

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 Devil Mansion" 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:

  • March:100,Rend:200,Sanguine:50
  • Experimentation:9999
  • Custom:300
  • Vanilla:200,Custom:100

Lethal Level LoaderでオリジナルやMODの月にロードしたり、ダンジョンのウェイトを編集する方法

こちらをどうぞ

SDMダンジョンをLethalLevelLoader(LLL)コンフィグに表示するには、このMODが入ってLethal Companyを起動し、セーブをロードする必要がある。これで自動的にLLLコンフィグにSDMダンジョンがつけられる。

r2modmanでコンフィグを開くか、BepInExフォルダ内のコンフィグファイルを開く。

「Custom Dungeon: Scarlet Devil Mansion」セクションに進む。これをtrueに設定する必要がある。

一般的には、この二つのフィールドが最も重要だ。「Manual Level Names List」はダンジョンが現れる月のリストだ。「Dynamic Level Tags List 」は特別なタグのリストだ。重要なタグは、「Vanilla」(オリジナルの月に)と「Custom」(MODの月に)だ。

リストは、「(月の名前・タグ):(ウェイト),(月の名前・タグ):(ウェイト)…」のように、英語の文字で各エントリーを「,」で区切って書く。

例えば

  • March:100,Rend:200,Sanguine:50
  • Experimentation:9999
  • Custom:300
  • Vanilla:200,Custom:100

Designed for All Parties

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 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.

Dungeon Layout

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.).

Click here to see the dungeon screenshots

Dungeon Generation

This dungeon uses modified dungeon generation code to do the following:

  • Create multiple main paths (as opposed to the base game's single path), then creates branching paths like normal
  • Confines the dungeon to a relatively small box
  • Prioritizes branch paths that connects to other tiles

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.

Dungeon Features

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 deal critical damage. This will deal damage to set the player's health to 5. If the player's health is already below 10, the damage will instead kill them.

Spoiler warning. Click here to see the features
The Clock
It's a clock. Accurately tells the time but has a knack of breaking.
The Doors
Doors, regular or locked, can destroyed by both players and enemies. Some doors spawn already half destroyed. Players require a shovel or shotgun while an enemy just has to be angry.
The Painting Event
A high value scrap item. Snatching it will summon a dangerous enemy and even more scrap. A maximum of 2 can spawn. This spawned enemy will have a special dark colouring. This is only cosmetic.
The Void
Jumping puzzles can be found throughout the mansion. Falling in the pit will deal critical damage, then teleport the player to the farthest AI node. Falling in a second time will kill the player. Resets on new day.
The Treasure
The mansion holds many valuable treasures behind impassable doors. Solve that room's puzzle to unlock the door. Only spawns next to kitchen, 1f library, bedroom, and servant's quarters rooms.
The Emergency Exit
The fire exit looks a little different. The vanilla style can enabled in the config.
The Outside
Scary I know. Certain rooms and areas has naturally emitting sunlight. Dies off as the day turns to night. Visual weather effects will appear if the moon has a certain weather active.
The Jukebox
Plays songs. They serve no other purpose.
The Portraits
Stares at you. They serve no other purpose.

Dungeon Items and Enemies

The dungeon contains a few unique scrap items that can only spawn inside the mansion. They each contain a very unique interact feature.

Spoiler warning. Click here to see the items
The Decorative Crystals
An average valued scrap item with a bit of weight. Comes in many colours. Can be combined with a flashlight in your inventory to create a new decorative flashlight with a recharged and improved battery, a colored light bulb, half of the crystals original value. This leaves behind a shattered decorative crystal which has the leftover 50% value, which can also be used to create another decorative flashlight (this completely destroys the crystal).

The Maid's Knife
Acts like the kitchen knife. Drops from the Maid. You can feed the knife by dealing critical damage to yourself to power it up. When buffed, the knife can effectively one-shot any killable monster by dealing 50 damage. Loses the buff once it deals damage to anything. The attacker takes the critical damage if they attack a fellow player. Does not have the innate one-shot property towards the Butler or Maid. Kills if you stab yourself a second time. Resets on a new day.

The Doll Snowglobe
A highly valued 2-handed scrap item. Comes in many doll variants. Activate it to see it jingle.

The dungeon uses summoning sigils to summon its enemies as opposed to vents. This is only a visual change. All enemies featured in this dungeon can only spawn inside the mansion.

Spoiler warning. Click here to see the enemies
The Knight, a Coil-head variant
Acts like a regular coil-head, but is slightly slower and prefers spawning from statue props, especially ones passed by scavengers. Takes a bit longer to exit the cooldown state, and enters a brief cooldown state after hitting a player.

The Maid, a Butler variant
Acts like a regular butler, but kills very quickly. As a tradeoff, it is slower and has less health. When killed, drops the Maid's Knife and summons a revenant ghost towards the maid's killer.
The revenant deals critical damage. It is only fully visible to the maid's killer, and will only target/harm them. They can slowed down by it's target staring it down. Once the revenant deals damage, the target dies, or the target leaves the dungeon, the revenant disappears.

Mod Compatibilities

The following mods either have unique compatibilities or made to work with SDM:

  • LethalConfig (Config presets are easier to use with this mod)
  • Mimics (Custom fire exits can also be mimics. Interior name must be added to the Mimics config under Interior whitelist. Name is "SDMLevel")
  • FacilityMeltdown (Can be activated by the dungeon event. Must be enabled in the config)
  • ReservedFlashlightSlot (The decorative flashights can be placed in the flashlight slot)
  • ReservedKeySlot (The scarlet keys can be placed in the key slot)
  • Coroner (Enemies and map hazards have unique death messages)

Future Development

The development process has been halted for the unforeseeable future. Expect small to no updates for long periods of time. Updates will still be released if a game-breaking issue/mod-interaction happens.

Credits

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

3D Models/Assets

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

Portrait Art

@Schmagons (Instagram) - Remilia, Sakuya, Medicine, Hime, Kagasa, Yuyuko, Reimu
YeeHaw - Flandre, Patchy, Koakuma
World's Saddest Halo Fan - Rumia
WorthAggravating (Reddit) - Hina

Audio

peacock-roy.itch.io - Maid chase and dungeon entrance music. Various SFX
@solidstone (Discord) - Snowglobe jingle
@StasGavrik - Jukebox music

License

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.

興味があったら、ゲームアセットはもともとこの二つのファンゲーム(UtusuruGensokyo Komarunner)で使われていたんだ。

Contact

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に直接メッセージを送ることもできる。フレンド申請を送らないで、承認しないから。